Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/benjaminsgz/sienne
/ functions
Functions
1,536 in github.com/benjaminsgz/sienne
⨍
Functions
1,536
◇
Types & classes
430
Function
TestNormalizeSessionStateMaskAndStatus
(t *testing.T)
idp-server/internal/ports/cache/state_mask_test.go:8
Function
TestOAuthWorkbenchHidesRBACLinkForOAuthAdminMask
(t *testing.T)
idp-server/internal/interfaces/http/handler/portal_handler_test.go:75
Function
TestOAuthWorkbenchRendersQuickExecuteForms
(t *testing.T)
idp-server/internal/interfaces/http/handler/portal_handler_test.go:16
Function
TestOIDCProviderAuthenticateViaIDTokenFallback
(t *testing.T)
idp-server/internal/infrastructure/external/oidc_provider_test.go:108
Function
TestOIDCProviderAuthenticateViaUserInfo
(t *testing.T)
idp-server/internal/infrastructure/external/oidc_provider_test.go:17
Function
TestPasskeySetupHandlerGetRendersHTML
(t *testing.T)
idp-server/internal/interfaces/http/handler/passkey_setup_handler_test.go:40
Function
TestPasskeySetupHandlerPostBeginReturnsOptions
(t *testing.T)
idp-server/internal/interfaces/http/handler/passkey_setup_handler_test.go:63
Function
TestPasskeySetupHandlerPostFinishReturnsRedirect
(t *testing.T)
idp-server/internal/interfaces/http/handler/passkey_setup_handler_test.go:100
Function
TestPasswordVerifierAcceptsValidBcryptHash
(t *testing.T)
idp-server/internal/infrastructure/security/password_verifier_test.go:18
Function
TestPasswordVerifierRejectsEmptyHash
(t *testing.T)
idp-server/internal/infrastructure/security/password_verifier_test.go:29
Function
TestPasswordVerifierRejectsPlainPrefixBypass
(t *testing.T)
idp-server/internal/infrastructure/security/password_verifier_test.go:10
Function
TestPasswordVerifierRejectsWrongPassword
(t *testing.T)
idp-server/internal/infrastructure/security/password_verifier_test.go:37
Function
TestPollMFAChallengeSuccess
(t *testing.T)
idp-server/internal/application/authn/service_test.go:1129
Function
TestRBACHandlerAssignRole
(t *testing.T)
idp-server/internal/interfaces/http/handler/rbac_handler_test.go:149
Function
TestRBACHandlerCreateRole
(t *testing.T)
idp-server/internal/interfaces/http/handler/rbac_handler_test.go:180
Function
TestRBACHandlerDeleteRole
(t *testing.T)
idp-server/internal/interfaces/http/handler/rbac_handler_test.go:214
Function
TestRBACHandlerListRoles
(t *testing.T)
idp-server/internal/interfaces/http/handler/rbac_handler_test.go:135
Function
TestRBACHandlerListUsersByRole
(t *testing.T)
idp-server/internal/interfaces/http/handler/rbac_handler_test.go:244
Function
TestRBACHandlerRoleUsage
(t *testing.T)
idp-server/internal/interfaces/http/handler/rbac_handler_test.go:258
Function
TestRegisterHandlerHandleGetIncludesCSRFToken
(t *testing.T)
idp-server/internal/interfaces/http/handler/register_handler_test.go:28
Function
TestRegisterHandlerHandlePostRejectsMissingCSRFToken
(t *testing.T)
idp-server/internal/interfaces/http/handler/register_handler_test.go:55
Function
TestRegisterHandlerHandlePostSuccess
(t *testing.T)
idp-server/internal/interfaces/http/handler/register_handler_test.go:77
Function
TestRegisterRedirectURIsNormalizesAndDeduplicates
(t *testing.T)
idp-server/internal/application/client/service_test.go:125
Function
TestRegisterRedirectURIsRejectsFragments
(t *testing.T)
idp-server/internal/application/client/service_test.go:168
Function
TestRegisterRedirectURIsReturnsNotFoundWhenClientMissing
(t *testing.T)
idp-server/internal/application/client/service_test.go:182
Function
TestRequireBearerTokenAllowsActiveToken
(t *testing.T)
idp-server/internal/interfaces/http/middleware/auth_test.go:92
Function
TestRequireBearerTokenRejectsCacheError
(t *testing.T)
idp-server/internal/interfaces/http/middleware/auth_test.go:111
Function
TestRequireBearerTokenRejectsRevokedToken
(t *testing.T)
idp-server/internal/interfaces/http/middleware/auth_test.go:70
Function
TestRequireSessionPermissionsAllowsPrivilegedUser
(t *testing.T)
idp-server/internal/interfaces/http/middleware/admin_session_test.go:98
Function
TestRequireSessionPermissionsRedirectsHTMLWhenSessionMissing
(t *testing.T)
idp-server/internal/interfaces/http/middleware/admin_session_test.go:207
Function
TestRequireSessionPermissionsRedirectsToTotpSetupWhenSessionWithoutOTPAndHTML
(t *testing.T)
idp-server/internal/interfaces/http/middleware/admin_session_test.go:269
Function
TestRequireSessionPermissionsRejectsInsufficientPrivilege
(t *testing.T)
idp-server/internal/interfaces/http/middleware/admin_session_test.go:132
Function
TestRequireSessionPermissionsRejectsSessionWithoutOTP
(t *testing.T)
idp-server/internal/interfaces/http/middleware/admin_session_test.go:234
Function
TestRequireSessionPermissionsShowsAlertForInsufficientPrivilegeHTML
(t *testing.T)
idp-server/internal/interfaces/http/middleware/admin_session_test.go:166
Function
TestResolveBrowserPostLoginRedirect
(t *testing.T)
idp-server/internal/interfaces/http/handler/post_login_redirect_test.go:5
Function
TestResolveConfigSearchPathsExpandsHome
(t *testing.T)
idp-server/internal/bootstrap/config_test.go:234
Function
TestResolveIncrementsClickAndReturnsTarget
(t *testing.T)
idp-server/internal/application/shorturl/service_test.go:87
Function
TestResolveReturnsExpired
(t *testing.T)
idp-server/internal/application/shorturl/service_test.go:111
Function
TestResolveTOTPIssuerPrefersExplicitDisplayName
(t *testing.T)
idp-server/internal/bootstrap/wire_test.go:5
Function
TestResolveTOTPIssuerReturnsRawIssuerWhenNotURL
(t *testing.T)
idp-server/internal/bootstrap/wire_test.go:24
Function
TestResolveTOTPIssuerUsesIssuerHostAsFallback
(t *testing.T)
idp-server/internal/bootstrap/wire_test.go:16
Function
TestRoleUsage
(t *testing.T)
idp-server/internal/application/rbac/service_test.go:169
Function
TestRotateSigningKeyNowReplacesManagerAndReturnsNewActiveKey
(t *testing.T)
idp-server/internal/infrastructure/crypto/key_rotation_test.go:14
Function
TestSanitizeRequestPathDropsSensitiveQuery
(t *testing.T)
idp-server/internal/interfaces/http/middleware/logging_test.go:13
Function
TestSanitizeRequestPathKeepsAllowlistedQuery
(t *testing.T)
idp-server/internal/interfaces/http/middleware/logging_test.go:5
Function
TestSecretCodecDecryptPlaintextCompatibility
(t *testing.T)
idp-server/internal/infrastructure/security/secret_codec_test.go:34
Function
TestSecretCodecEncryptDecryptRoundTrip
(t *testing.T)
idp-server/internal/infrastructure/security/secret_codec_test.go:8
Function
TestShortURLHandlerCreate
(t *testing.T)
idp-server/internal/interfaces/http/handler/short_url_handler_test.go:36
Function
TestShortURLHandlerRedirect
(t *testing.T)
idp-server/internal/interfaces/http/handler/short_url_handler_test.go:80
Function
TestStartRotationLoopReloadsRepositoryWithoutLocalRotation
(t *testing.T)
idp-server/internal/infrastructure/crypto/key_rotation_test.go:53
Function
TestSupportWorkbenchDoesNotRenderOAuthQuickExecuteForms
(t *testing.T)
idp-server/internal/interfaces/http/handler/portal_handler_test.go:53
Function
TestSupportWorkbenchShowsRBACLinkWhenPermissionMatches
(t *testing.T)
idp-server/internal/interfaces/http/handler/portal_handler_test.go:103
Function
TestTOTPProviderVerifyCodeWithStepMatchesWindow
(t *testing.T)
idp-server/internal/infrastructure/security/totp_test.go:10
Function
TestTOTPProviderVerifyCodeWithStepRejectsOutsideWindow
(t *testing.T)
idp-server/internal/infrastructure/security/totp_test.go:40
Function
TestTOTPRepositoryEncryptDecryptSecret
(t *testing.T)
idp-server/internal/infrastructure/persistence/totp_repo_test.go:15
Function
TestTOTPRepositoryFindSupportsLegacyPlaintextRow
(t *testing.T)
idp-server/internal/infrastructure/persistence/totp_repo_test.go:40
Function
TestTOTPSetupHandlerGetAlreadyEnabledStartsLoginTOTP
(t *testing.T)
idp-server/internal/interfaces/http/handler/totp_setup_handler_test.go:50
Function
TestTOTPSetupHandlerPostSuccessRedirectsToLoginTOTP
(t *testing.T)
idp-server/internal/interfaces/http/handler/totp_setup_handler_test.go:93
Function
TestTOTPSetupHandlerPostSuccessReturnsJSONChallenge
(t *testing.T)
idp-server/internal/interfaces/http/handler/totp_setup_handler_test.go:148
Function
TestValidateConfigRejectsNonPositiveDurations
(t *testing.T)
idp-server/internal/bootstrap/config_test.go:247
Function
TestVerifyTOTPInvalidCode
(t *testing.T)
idp-server/internal/application/authn/service_test.go:1095
Function
TestVerifyTOTPSuccess
(t *testing.T)
idp-server/internal/application/authn/service_test.go:1051
Function
Token
(response oauth2.TokenResponse)
idp-server/internal/interfaces/http/presenter/token.go:5
Method
TouchByCredentialID
(ctx context.Context, credentialID string, lastUsedAt time.Time)
idp-server/internal/infrastructure/persistence/passkey_credential_repo.go:69
Method
TouchByCredentialID
(ctx context.Context, credentialID string, lastUsedAt time.Time)
idp-server/internal/ports/repository/passkey_credential_repository.go:14
Method
TouchByCredentialID
(context.Context, string, time.Time)
idp-server/internal/application/authn/service_test.go:430
Method
TouchPoll
(ctx context.Context, deviceCode string, polledAt time.Time, minInterval time.Duration)
idp-server/internal/infrastructure/cache/redis/device_code_repository.go:103
Method
Type
()
idp-server/internal/ports/plugin/client_authenticator.go:37
Method
Type
()
idp-server/internal/ports/plugin/grant_handler.go:42
Method
Type
()
idp-server/internal/application/authn/service_test.go:474
Method
Type
()
idp-server/internal/application/authn/service_test.go:514
Method
Type
()
idp-server/internal/plugins/grant/password/handler.go:31
Method
Type
()
idp-server/internal/plugins/grant/client_credentials/handler.go:31
Method
Type
()
idp-server/internal/plugins/grant/authorization_code/handler.go:28
Method
Type
()
idp-server/internal/plugins/grant/refresh_token/handler.go:28
Method
Type
()
idp-server/internal/plugins/grant/device_code/handler.go:31
Method
Type
()
idp-server/internal/plugins/client_auth/client_secret_basic/authenticator.go:25
Method
Type
()
idp-server/internal/plugins/client_auth/none/authenticator.go:24
Method
Type
()
idp-server/internal/plugins/client_auth/client_secret_post/authenticator.go:27
Method
Type
()
idp-server/internal/plugins/authn/password/method.go:31
Method
Type
()
idp-server/internal/plugins/authn/federated_oidc/method.go:27
Method
UnlockAccount
(ctx context.Context, id int64, updatedAt time.Time)
idp-server/internal/infrastructure/persistence/user_repo.go:116
Method
UnlockAccount
(ctx context.Context, id int64, updatedAt time.Time)
idp-server/internal/ports/repository/user_repository.go:21
Method
UnlockAccount
(context.Context, int64, time.Time)
idp-server/internal/application/rbac/service_test.go:88
Method
UnlockAccount
(_ context.Context, id int64, updatedAt time.Time)
idp-server/internal/application/register/service_unlock_test.go:51
Method
UnlockAccount
(context.Context, int64, time.Time)
idp-server/internal/application/token/service_password_test.go:43
Method
UnlockAccount
(context.Context, int64, time.Time)
idp-server/internal/application/oidc/service_test.go:40
Method
UnlockAccount
(context.Context, int64, time.Time)
idp-server/internal/application/authn/service_test.go:147
Method
UnlockAccount
(context.Context, int64, time.Time)
idp-server/internal/interfaces/http/middleware/admin_session_test.go:88
Method
UnlockAccount
(context.Context, int64, time.Time)
idp-server/internal/interfaces/http/handler/audit_console_handler_test.go:53
Method
UnlockUser
(c *gin.Context)
idp-server/internal/interfaces/http/handler/admin_action_handler.go:279
Method
Unwrap
()
idp-server/internal/infrastructure/cache/redis/lua_scripts.go:109
Method
Update
(ctx context.Context, model *operatorroledomain.Model)
idp-server/internal/infrastructure/persistence/operator_role_repo.go:62
Method
Update
(_ context.Context, model *operatorroledomain.Model)
idp-server/internal/application/rbac/service_test.go:32
Method
UpdatePasswordHash
(ctx context.Context, id int64, passwordHash string, updatedAt time.Time)
idp-server/internal/infrastructure/persistence/user_repo.go:121
Method
UpdateRole
(ctx context.Context, input UpsertRoleInput)
idp-server/internal/application/rbac/service.go:205
Method
UpdateRole
(_ context.Context, input apprbac.UpsertRoleInput)
idp-server/internal/interfaces/http/handler/rbac_handler_test.go:118
Method
UpdateRole
(c *gin.Context)
idp-server/internal/interfaces/http/handler/admin_action_handler.go:111
Method
UpdateRole
(c *gin.Context)
idp-server/internal/interfaces/http/handler/rbac_handler.go:117
Method
UpdateRoleAndPrivilege
(ctx context.Context, id int64, roleCode string, privilegeMask uint32, tenantScope string)
idp-server/internal/infrastructure/persistence/user_repo.go:106
← previous
next →
1,401–1,500 of 1,536, ranked by callers