MCPcopy Create free account

hub / github.com/benjaminsgz/sienne / functions

Functions1,536 in github.com/benjaminsgz/sienne

MethodSaveNonce
(_ context.Context, _ string, _ time.Duration)
idp-server/internal/infrastructure/external/oidc_provider_test.go:229
MethodSaveNonce
(ctx context.Context, nonce string, ttl time.Duration)
idp-server/internal/ports/cache/replay_protection_repository.go:15
MethodSaveRefreshToken
(ctx context.Context, entry cacheport.RefreshTokenCacheEntry, ttl time.Duration)
idp-server/internal/infrastructure/cache/redis/token_cache_repository.go:83
MethodSaveRefreshToken
(context.Context, cacheport.RefreshTokenCacheEntry, time.Duration)
idp-server/internal/application/session/service_test.go:146
MethodSaveRefreshToken
(context.Context, cacheport.RefreshTokenCacheEntry, time.Duration)
idp-server/internal/application/token/service_refresh_token_test.go:31
MethodSaveRefreshToken
(context.Context, cacheport.RefreshTokenCacheEntry, time.Duration)
idp-server/internal/application/oidc/service_test.go:87
MethodSaveRefreshToken
(context.Context, cacheport.RefreshTokenCacheEntry, time.Duration)
idp-server/internal/interfaces/http/middleware/auth_test.go:38
MethodSaveState
(ctx context.Context, state string, value map[string]string, ttl time.Duration)
idp-server/internal/infrastructure/cache/redis/replay_protection_repository.go:29
MethodSaveState
(_ context.Context, state string, value map[string]string, _ time.Duration)
idp-server/internal/infrastructure/external/oidc_provider_test.go:203
MethodSaveTOTPEnrollment
(ctx context.Context, entry cacheport.TOTPEnrollmentEntry, ttl time.Duration)
idp-server/internal/infrastructure/cache/redis/mfa_repository.go:32
MethodSaveTOTPEnrollment
(context.Context, cacheport.TOTPEnrollmentEntry, time.Duration)
idp-server/internal/application/authn/service_test.go:378
MethodSecurityWorkbench
(c *gin.Context)
idp-server/internal/interfaces/http/handler/portal_handler.go:137
MethodSetUserLock
(ctx context.Context, userID string, ttl time.Duration)
idp-server/internal/infrastructure/cache/redis/rate_limit_repository.go:104
MethodSetUserLock
(ctx context.Context, userID string, ttl time.Duration)
idp-server/internal/ports/cache/rate_limit_repository.go:21
MethodSetUserLock
(context.Context, string, time.Duration)
idp-server/internal/application/register/service_unlock_test.go:106
MethodSetUserLock
(_ context.Context, userID string, ttl time.Duration)
idp-server/internal/application/authn/service_test.go:340
MethodStart
(ctx context.Context, input StartInput)
idp-server/internal/application/device/service.go:47
FunctionTestAdminConsoleHandlerHandleHTML
(t *testing.T)
idp-server/internal/interfaces/http/handler/admin_console_handler_test.go:16
FunctionTestAdminUnlockUserClearsDBAndRateLimitState
(t *testing.T)
idp-server/internal/application/register/service_unlock_test.go:127
FunctionTestAdminUserLogoutHandlerHandleJSON
(t *testing.T)
idp-server/internal/interfaces/http/handler/logout_handler_test.go:149
FunctionTestAssignRole
(t *testing.T)
idp-server/internal/application/rbac/service_test.go:111
FunctionTestAuditConsoleHandlerFiltersByActorUsername
(t *testing.T)
idp-server/internal/interfaces/http/handler/audit_console_handler_test.go:137
FunctionTestAuditConsoleHandlerRendersAuditRows
(t *testing.T)
idp-server/internal/interfaces/http/handler/audit_console_handler_test.go:63
FunctionTestAuthenticateFederatedAutoProvisionCreatesUser
(t *testing.T)
idp-server/internal/application/authn/service_test.go:936
FunctionTestAuthenticateFederatedAutoProvisionReusesExistingBySubject
(t *testing.T)
idp-server/internal/application/authn/service_test.go:999
FunctionTestAuthenticatePasswordFailureLocksIPAtThreshold
(t *testing.T)
idp-server/internal/application/authn/service_test.go:646
FunctionTestAuthenticatePasswordFailureLocksUserAtThreshold
(t *testing.T)
idp-server/internal/application/authn/service_test.go:584
FunctionTestAuthenticatePasswordFailureTriggersPermanentLockAfterBlacklistThreshold
(t *testing.T)
idp-server/internal/application/authn/service_test.go:698
FunctionTestAuthenticatePasswordRejectsRateLimitedIPBeforeLookup
(t *testing.T)
idp-server/internal/application/authn/service_test.go:522
FunctionTestAuthenticatePasswordRequiresEnrollmentWhenForcedAndNoTOTP
(t *testing.T)
idp-server/internal/application/authn/service_test.go:759
FunctionTestAuthenticatePasswordRequiresMFAWhenPasskeyExistsWithoutTOTP
(t *testing.T)
idp-server/internal/application/authn/service_test.go:819
FunctionTestAuthenticatePasswordSuccessfulPathUsesSingleUserLookup
(t *testing.T)
idp-server/internal/application/authn/service_test.go:552
FunctionTestAuthorizeUsesSessionCacheBeforeDatabase
(t *testing.T)
idp-server/internal/application/authz/service_test.go:105
FunctionTestBootstrapBuiltinRoles
(t *testing.T)
idp-server/internal/application/rbac/service_test.go:98
FunctionTestBuildPushMatchCodeReturnsTwoDigitCode
(t *testing.T)
idp-server/internal/application/authn/service_test.go:919
FunctionTestClientHandlerCreate
(t *testing.T)
idp-server/internal/interfaces/http/handler/client_handler_test.go:27
FunctionTestClientRedirectURIHandlerHandle
(t *testing.T)
idp-server/internal/interfaces/http/handler/client_redirect_uri_handler_test.go:27
FunctionTestConsentHandlerHandleGetHTMLIncludesCSRFToken
(t *testing.T)
idp-server/internal/interfaces/http/handler/consent_handler_test.go:35
FunctionTestConsentHandlerHandlePostRejectsMissingCSRFToken
(t *testing.T)
idp-server/internal/interfaces/http/handler/consent_handler_test.go:104
FunctionTestConsentHandlerHandlePostSuccessRedirects
(t *testing.T)
idp-server/internal/interfaces/http/handler/consent_handler_test.go:68
FunctionTestCreateClientBuildsIntegratedAuthorizationCodeClient
(t *testing.T)
idp-server/internal/application/client/service_test.go:67
FunctionTestCreateClientRejectsPublicClientWithoutPKCE
(t *testing.T)
idp-server/internal/application/client/service_test.go:106
FunctionTestCreateMapsDuplicateCode
(t *testing.T)
idp-server/internal/application/shorturl/service_test.go:75
FunctionTestCreateRejectsUnsafeTargetURL
(t *testing.T)
idp-server/internal/application/shorturl/service_test.go:63
FunctionTestCreateRole
(t *testing.T)
idp-server/internal/application/rbac/service_test.go:137
FunctionTestCreateShortURLWithCustomCode
(t *testing.T)
idp-server/internal/application/shorturl/service_test.go:43
FunctionTestDeleteRoleRejectsSystemRole
(t *testing.T)
idp-server/internal/application/rbac/service_test.go:155
FunctionTestExchangeClientCredentials
(t *testing.T)
idp-server/internal/application/token/service_client_credentials_test.go:100
FunctionTestExchangePasswordGrant
(t *testing.T)
idp-server/internal/application/token/service_password_test.go:90
FunctionTestExchangeRefreshTokenCachesFirstSuccessfulRotation
(t *testing.T)
idp-server/internal/application/token/service_refresh_token_test.go:168
FunctionTestExchangeRefreshTokenRejectsCompromisedReplayFromCache
(t *testing.T)
idp-server/internal/application/token/service_refresh_token_test.go:100
FunctionTestExchangeRefreshTokenReturnsGraceReplay
(t *testing.T)
idp-server/internal/application/token/service_refresh_token_test.go:127
FunctionTestIntrospectReturnsActiveTokenMetadata
(t *testing.T)
idp-server/internal/application/oidc/service_test.go:128
FunctionTestIntrospectReturnsInactiveForInvalidToken
(t *testing.T)
idp-server/internal/application/oidc/service_test.go:191
FunctionTestIntrospectReturnsInactiveForRevokedToken
(t *testing.T)
idp-server/internal/application/oidc/service_test.go:172
FunctionTestIntrospectionHandlerHandle
(t *testing.T)
idp-server/internal/interfaces/http/handler/introspection_handler_test.go:40
FunctionTestIntrospectionHandlerRejectsUnauthenticatedClient
(t *testing.T)
idp-server/internal/interfaces/http/handler/introspection_handler_test.go:85
FunctionTestIsSessionEntryActive
(t *testing.T)
idp-server/internal/ports/cache/state_mask_test.go:26
FunctionTestKeyBuilderMFAChallengeState
(t *testing.T)
idp-server/internal/infrastructure/cache/redis/key_test.go:23
FunctionTestKeyBuilderSessionState
(t *testing.T)
idp-server/internal/infrastructure/cache/redis/key_test.go:14
FunctionTestKeyBuilderTOTPStepUsed
(t *testing.T)
idp-server/internal/infrastructure/cache/redis/key_test.go:5
FunctionTestLoadConfigBuildsAddressesFromComponents
(t *testing.T)
idp-server/internal/bootstrap/config_test.go:65
FunctionTestLoadConfigFromFileWithEnvOverride
(t *testing.T)
idp-server/internal/bootstrap/config_test.go:11
FunctionTestLoadConfigParsesEnvStringSlices
(t *testing.T)
idp-server/internal/bootstrap/config_test.go:182
FunctionTestLoadConfigParsesMySQLStrongReadFlags
(t *testing.T)
idp-server/internal/bootstrap/config_test.go:125
FunctionTestLoadConfigUsesExplicitMySQLReadDSN
(t *testing.T)
idp-server/internal/bootstrap/config_test.go:100
FunctionTestLoadConfigValidationFailure
(t *testing.T)
idp-server/internal/bootstrap/config_test.go:154
FunctionTestLoginHandlerHandleGetFederatedCallbackRejectsExternalRedirect
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:443
FunctionTestLoginHandlerHandleGetFederatedCallbackSetsSessionAndRedirects
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:406
FunctionTestLoginHandlerHandleGetFederatedRedirect
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:375
FunctionTestLoginHandlerHandleGetHTML
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:68
FunctionTestLoginHandlerHandleGetHTMLShowsConfiguredFederatedProviderName
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:507
FunctionTestLoginHandlerHandleGetHTMLShowsFederatedOIDCButton
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:486
FunctionTestLoginHandlerHandleGetRejectsExternalReturnTo
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:470
FunctionTestLoginHandlerHandlePostErrorRendersHTML
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:339
FunctionTestLoginHandlerHandlePostRedirectsByRoleWhenReturnToMissing
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:148
FunctionTestLoginHandlerHandlePostRedirectsToMFASetupWhenEnrollmentRequired
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:225
FunctionTestLoginHandlerHandlePostRejectsExternalReturnTo
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:300
FunctionTestLoginHandlerHandlePostRejectsMissingCSRFToken
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:267
FunctionTestLoginHandlerHandlePostSuccessRedirects
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:103
FunctionTestLoginHandlerHandlePostSuccessWritesAuditEvent
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:185
FunctionTestLoginPushHandlerGetRendersPage
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_push_handler_test.go:16
FunctionTestLoginPushHandlerPostApprove
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_push_handler_test.go:39
FunctionTestLoginTOTPGetRendersPushChallenge
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_totp_handler_test.go:80
FunctionTestLoginTOTPPasskeyBeginReturnsOptions
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_totp_handler_test.go:113
FunctionTestLoginTOTPPasskeyFinishSetsSessionCookie
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_totp_handler_test.go:147
FunctionTestLoginTOTPPushDecisionRejectsApproverMismatch
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_totp_handler_test.go:57
FunctionTestLoginTOTPStatusFinalizesApprovedPush
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_totp_handler_test.go:16
FunctionTestLoginTOTPVerifyRedirectsByRoleWhenReturnToMissing
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_totp_handler_test.go:230
FunctionTestLoginTOTPVerifyRedirectsToPasskeySetupWhenEnrollmentRequired
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_totp_handler_test.go:189
FunctionTestLogoutAllHandlerHandleJSON
(t *testing.T)
idp-server/internal/interfaces/http/handler/logout_handler_test.go:120
FunctionTestLogoutAllRevokesSessionsAndTokens
(t *testing.T)
idp-server/internal/application/session/service_test.go:180
FunctionTestLogoutHandlerHandleJSON
(t *testing.T)
idp-server/internal/interfaces/http/handler/logout_handler_test.go:41
FunctionTestLogoutHandlerHandleRedirect
(t *testing.T)
idp-server/internal/interfaces/http/handler/logout_handler_test.go:70
FunctionTestLogoutHandlerHandleRejectsMissingCSRFToken
(t *testing.T)
idp-server/internal/interfaces/http/handler/logout_handler_test.go:99
FunctionTestLogoutMarksSessionAndClearsCache
(t *testing.T)
idp-server/internal/application/session/service_test.go:81
FunctionTestMFAModeAndPushStatusFromStateMask
(t *testing.T)
idp-server/internal/ports/cache/state_mask_test.go:64
FunctionTestNewKeySyncBroadcasterUsesDefaultPrefix
(t *testing.T)
idp-server/internal/infrastructure/crypto/key_rotation_test.go:93
FunctionTestNewSecretCodecRejectsInvalidKeyLength
(t *testing.T)
idp-server/internal/infrastructure/security/secret_codec_test.go:49
FunctionTestNormalizeMFAChallengeStateMask
(t *testing.T)
idp-server/internal/ports/cache/state_mask_test.go:43
← previousnext →1,301–1,400 of 1,536, ranked by callers