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
Method
SaveNonce
(_ context.Context, _ string, _ time.Duration)
idp-server/internal/infrastructure/external/oidc_provider_test.go:229
Method
SaveNonce
(ctx context.Context, nonce string, ttl time.Duration)
idp-server/internal/ports/cache/replay_protection_repository.go:15
Method
SaveRefreshToken
(ctx context.Context, entry cacheport.RefreshTokenCacheEntry, ttl time.Duration)
idp-server/internal/infrastructure/cache/redis/token_cache_repository.go:83
Method
SaveRefreshToken
(context.Context, cacheport.RefreshTokenCacheEntry, time.Duration)
idp-server/internal/application/session/service_test.go:146
Method
SaveRefreshToken
(context.Context, cacheport.RefreshTokenCacheEntry, time.Duration)
idp-server/internal/application/token/service_refresh_token_test.go:31
Method
SaveRefreshToken
(context.Context, cacheport.RefreshTokenCacheEntry, time.Duration)
idp-server/internal/application/oidc/service_test.go:87
Method
SaveRefreshToken
(context.Context, cacheport.RefreshTokenCacheEntry, time.Duration)
idp-server/internal/interfaces/http/middleware/auth_test.go:38
Method
SaveState
(ctx context.Context, state string, value map[string]string, ttl time.Duration)
idp-server/internal/infrastructure/cache/redis/replay_protection_repository.go:29
Method
SaveState
(_ context.Context, state string, value map[string]string, _ time.Duration)
idp-server/internal/infrastructure/external/oidc_provider_test.go:203
Method
SaveTOTPEnrollment
(ctx context.Context, entry cacheport.TOTPEnrollmentEntry, ttl time.Duration)
idp-server/internal/infrastructure/cache/redis/mfa_repository.go:32
Method
SaveTOTPEnrollment
(context.Context, cacheport.TOTPEnrollmentEntry, time.Duration)
idp-server/internal/application/authn/service_test.go:378
Method
SecurityWorkbench
(c *gin.Context)
idp-server/internal/interfaces/http/handler/portal_handler.go:137
Method
SetUserLock
(ctx context.Context, userID string, ttl time.Duration)
idp-server/internal/infrastructure/cache/redis/rate_limit_repository.go:104
Method
SetUserLock
(ctx context.Context, userID string, ttl time.Duration)
idp-server/internal/ports/cache/rate_limit_repository.go:21
Method
SetUserLock
(context.Context, string, time.Duration)
idp-server/internal/application/register/service_unlock_test.go:106
Method
SetUserLock
(_ context.Context, userID string, ttl time.Duration)
idp-server/internal/application/authn/service_test.go:340
Method
Start
(ctx context.Context, input StartInput)
idp-server/internal/application/device/service.go:47
Function
TestAdminConsoleHandlerHandleHTML
(t *testing.T)
idp-server/internal/interfaces/http/handler/admin_console_handler_test.go:16
Function
TestAdminUnlockUserClearsDBAndRateLimitState
(t *testing.T)
idp-server/internal/application/register/service_unlock_test.go:127
Function
TestAdminUserLogoutHandlerHandleJSON
(t *testing.T)
idp-server/internal/interfaces/http/handler/logout_handler_test.go:149
Function
TestAssignRole
(t *testing.T)
idp-server/internal/application/rbac/service_test.go:111
Function
TestAuditConsoleHandlerFiltersByActorUsername
(t *testing.T)
idp-server/internal/interfaces/http/handler/audit_console_handler_test.go:137
Function
TestAuditConsoleHandlerRendersAuditRows
(t *testing.T)
idp-server/internal/interfaces/http/handler/audit_console_handler_test.go:63
Function
TestAuthenticateFederatedAutoProvisionCreatesUser
(t *testing.T)
idp-server/internal/application/authn/service_test.go:936
Function
TestAuthenticateFederatedAutoProvisionReusesExistingBySubject
(t *testing.T)
idp-server/internal/application/authn/service_test.go:999
Function
TestAuthenticatePasswordFailureLocksIPAtThreshold
(t *testing.T)
idp-server/internal/application/authn/service_test.go:646
Function
TestAuthenticatePasswordFailureLocksUserAtThreshold
(t *testing.T)
idp-server/internal/application/authn/service_test.go:584
Function
TestAuthenticatePasswordFailureTriggersPermanentLockAfterBlacklistThreshold
(t *testing.T)
idp-server/internal/application/authn/service_test.go:698
Function
TestAuthenticatePasswordRejectsRateLimitedIPBeforeLookup
(t *testing.T)
idp-server/internal/application/authn/service_test.go:522
Function
TestAuthenticatePasswordRequiresEnrollmentWhenForcedAndNoTOTP
(t *testing.T)
idp-server/internal/application/authn/service_test.go:759
Function
TestAuthenticatePasswordRequiresMFAWhenPasskeyExistsWithoutTOTP
(t *testing.T)
idp-server/internal/application/authn/service_test.go:819
Function
TestAuthenticatePasswordSuccessfulPathUsesSingleUserLookup
(t *testing.T)
idp-server/internal/application/authn/service_test.go:552
Function
TestAuthorizeUsesSessionCacheBeforeDatabase
(t *testing.T)
idp-server/internal/application/authz/service_test.go:105
Function
TestBootstrapBuiltinRoles
(t *testing.T)
idp-server/internal/application/rbac/service_test.go:98
Function
TestBuildPushMatchCodeReturnsTwoDigitCode
(t *testing.T)
idp-server/internal/application/authn/service_test.go:919
Function
TestClientHandlerCreate
(t *testing.T)
idp-server/internal/interfaces/http/handler/client_handler_test.go:27
Function
TestClientRedirectURIHandlerHandle
(t *testing.T)
idp-server/internal/interfaces/http/handler/client_redirect_uri_handler_test.go:27
Function
TestConsentHandlerHandleGetHTMLIncludesCSRFToken
(t *testing.T)
idp-server/internal/interfaces/http/handler/consent_handler_test.go:35
Function
TestConsentHandlerHandlePostRejectsMissingCSRFToken
(t *testing.T)
idp-server/internal/interfaces/http/handler/consent_handler_test.go:104
Function
TestConsentHandlerHandlePostSuccessRedirects
(t *testing.T)
idp-server/internal/interfaces/http/handler/consent_handler_test.go:68
Function
TestCreateClientBuildsIntegratedAuthorizationCodeClient
(t *testing.T)
idp-server/internal/application/client/service_test.go:67
Function
TestCreateClientRejectsPublicClientWithoutPKCE
(t *testing.T)
idp-server/internal/application/client/service_test.go:106
Function
TestCreateMapsDuplicateCode
(t *testing.T)
idp-server/internal/application/shorturl/service_test.go:75
Function
TestCreateRejectsUnsafeTargetURL
(t *testing.T)
idp-server/internal/application/shorturl/service_test.go:63
Function
TestCreateRole
(t *testing.T)
idp-server/internal/application/rbac/service_test.go:137
Function
TestCreateShortURLWithCustomCode
(t *testing.T)
idp-server/internal/application/shorturl/service_test.go:43
Function
TestDeleteRoleRejectsSystemRole
(t *testing.T)
idp-server/internal/application/rbac/service_test.go:155
Function
TestExchangeClientCredentials
(t *testing.T)
idp-server/internal/application/token/service_client_credentials_test.go:100
Function
TestExchangePasswordGrant
(t *testing.T)
idp-server/internal/application/token/service_password_test.go:90
Function
TestExchangeRefreshTokenCachesFirstSuccessfulRotation
(t *testing.T)
idp-server/internal/application/token/service_refresh_token_test.go:168
Function
TestExchangeRefreshTokenRejectsCompromisedReplayFromCache
(t *testing.T)
idp-server/internal/application/token/service_refresh_token_test.go:100
Function
TestExchangeRefreshTokenReturnsGraceReplay
(t *testing.T)
idp-server/internal/application/token/service_refresh_token_test.go:127
Function
TestIntrospectReturnsActiveTokenMetadata
(t *testing.T)
idp-server/internal/application/oidc/service_test.go:128
Function
TestIntrospectReturnsInactiveForInvalidToken
(t *testing.T)
idp-server/internal/application/oidc/service_test.go:191
Function
TestIntrospectReturnsInactiveForRevokedToken
(t *testing.T)
idp-server/internal/application/oidc/service_test.go:172
Function
TestIntrospectionHandlerHandle
(t *testing.T)
idp-server/internal/interfaces/http/handler/introspection_handler_test.go:40
Function
TestIntrospectionHandlerRejectsUnauthenticatedClient
(t *testing.T)
idp-server/internal/interfaces/http/handler/introspection_handler_test.go:85
Function
TestIsSessionEntryActive
(t *testing.T)
idp-server/internal/ports/cache/state_mask_test.go:26
Function
TestKeyBuilderMFAChallengeState
(t *testing.T)
idp-server/internal/infrastructure/cache/redis/key_test.go:23
Function
TestKeyBuilderSessionState
(t *testing.T)
idp-server/internal/infrastructure/cache/redis/key_test.go:14
Function
TestKeyBuilderTOTPStepUsed
(t *testing.T)
idp-server/internal/infrastructure/cache/redis/key_test.go:5
Function
TestLoadConfigBuildsAddressesFromComponents
(t *testing.T)
idp-server/internal/bootstrap/config_test.go:65
Function
TestLoadConfigFromFileWithEnvOverride
(t *testing.T)
idp-server/internal/bootstrap/config_test.go:11
Function
TestLoadConfigParsesEnvStringSlices
(t *testing.T)
idp-server/internal/bootstrap/config_test.go:182
Function
TestLoadConfigParsesMySQLStrongReadFlags
(t *testing.T)
idp-server/internal/bootstrap/config_test.go:125
Function
TestLoadConfigUsesExplicitMySQLReadDSN
(t *testing.T)
idp-server/internal/bootstrap/config_test.go:100
Function
TestLoadConfigValidationFailure
(t *testing.T)
idp-server/internal/bootstrap/config_test.go:154
Function
TestLoginHandlerHandleGetFederatedCallbackRejectsExternalRedirect
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:443
Function
TestLoginHandlerHandleGetFederatedCallbackSetsSessionAndRedirects
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:406
Function
TestLoginHandlerHandleGetFederatedRedirect
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:375
Function
TestLoginHandlerHandleGetHTML
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:68
Function
TestLoginHandlerHandleGetHTMLShowsConfiguredFederatedProviderName
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:507
Function
TestLoginHandlerHandleGetHTMLShowsFederatedOIDCButton
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:486
Function
TestLoginHandlerHandleGetRejectsExternalReturnTo
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:470
Function
TestLoginHandlerHandlePostErrorRendersHTML
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:339
Function
TestLoginHandlerHandlePostRedirectsByRoleWhenReturnToMissing
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:148
Function
TestLoginHandlerHandlePostRedirectsToMFASetupWhenEnrollmentRequired
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:225
Function
TestLoginHandlerHandlePostRejectsExternalReturnTo
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:300
Function
TestLoginHandlerHandlePostRejectsMissingCSRFToken
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:267
Function
TestLoginHandlerHandlePostSuccessRedirects
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:103
Function
TestLoginHandlerHandlePostSuccessWritesAuditEvent
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_handler_test.go:185
Function
TestLoginPushHandlerGetRendersPage
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_push_handler_test.go:16
Function
TestLoginPushHandlerPostApprove
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_push_handler_test.go:39
Function
TestLoginTOTPGetRendersPushChallenge
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_totp_handler_test.go:80
Function
TestLoginTOTPPasskeyBeginReturnsOptions
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_totp_handler_test.go:113
Function
TestLoginTOTPPasskeyFinishSetsSessionCookie
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_totp_handler_test.go:147
Function
TestLoginTOTPPushDecisionRejectsApproverMismatch
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_totp_handler_test.go:57
Function
TestLoginTOTPStatusFinalizesApprovedPush
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_totp_handler_test.go:16
Function
TestLoginTOTPVerifyRedirectsByRoleWhenReturnToMissing
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_totp_handler_test.go:230
Function
TestLoginTOTPVerifyRedirectsToPasskeySetupWhenEnrollmentRequired
(t *testing.T)
idp-server/internal/interfaces/http/handler/login_totp_handler_test.go:189
Function
TestLogoutAllHandlerHandleJSON
(t *testing.T)
idp-server/internal/interfaces/http/handler/logout_handler_test.go:120
Function
TestLogoutAllRevokesSessionsAndTokens
(t *testing.T)
idp-server/internal/application/session/service_test.go:180
Function
TestLogoutHandlerHandleJSON
(t *testing.T)
idp-server/internal/interfaces/http/handler/logout_handler_test.go:41
Function
TestLogoutHandlerHandleRedirect
(t *testing.T)
idp-server/internal/interfaces/http/handler/logout_handler_test.go:70
Function
TestLogoutHandlerHandleRejectsMissingCSRFToken
(t *testing.T)
idp-server/internal/interfaces/http/handler/logout_handler_test.go:99
Function
TestLogoutMarksSessionAndClearsCache
(t *testing.T)
idp-server/internal/application/session/service_test.go:81
Function
TestMFAModeAndPushStatusFromStateMask
(t *testing.T)
idp-server/internal/ports/cache/state_mask_test.go:64
Function
TestNewKeySyncBroadcasterUsesDefaultPrefix
(t *testing.T)
idp-server/internal/infrastructure/crypto/key_rotation_test.go:93
Function
TestNewSecretCodecRejectsInvalidKeyLength
(t *testing.T)
idp-server/internal/infrastructure/security/secret_codec_test.go:49
Function
TestNormalizeMFAChallengeStateMask
(t *testing.T)
idp-server/internal/ports/cache/state_mask_test.go:43
← previous
next →
1,301–1,400 of 1,536, ranked by callers