MCPcopy Create free account

hub / github.com/benjaminsgz/sienne / functions

Functions1,536 in github.com/benjaminsgz/sienne

↓ 1 callersFunctionbuildRedisAddr
(v *viper.Viper)
idp-server/internal/bootstrap/config.go:473
↓ 1 callersFunctionbuildRedisAddrFromEnv
()
idp-server/cmd/replay_audit_dlq/main.go:99
↓ 1 callersFunctionbuildRefreshReplayFingerprint
(clientID, authMethod, clientIP, userAgent string)
idp-server/internal/interfaces/http/handler/token_handler.go:175
↓ 1 callersFunctionbuildShortURL
(c *gin.Context, code string)
idp-server/internal/interfaces/http/handler/short_url_handler.go:78
↓ 1 callersFunctionbuildStreamArgs
(model *auditdomain.Model, dedupTTLSeconds int64)
idp-server/internal/infrastructure/auditstream/repository.go:133
↓ 1 callersFunctionbuildUnsignedJWT
(t *testing.T, claims map[string]any)
idp-server/internal/infrastructure/external/oidc_provider_test.go:167
↓ 1 callersFunctionbuiltinRoleViews
()
idp-server/internal/application/rbac/service.go:295
↓ 1 callersFunctioncandidateFederatedUsername
(result *pluginport.AuthenticateResult, userUUID string)
idp-server/internal/application/authn/service.go:729
↓ 1 callersFunctionclaimContainsAudience
(raw any, expected string)
idp-server/internal/infrastructure/external/oidc_provider.go:357
↓ 1 callersFunctionclaimNumberToInt64
(value any)
idp-server/internal/infrastructure/crypto/jwt.go:160
↓ 1 callersMethodcollectUserSessionIDs
(ctx context.Context, userID int64, activeSessions []*sessiondomain.Model)
idp-server/internal/application/session/service.go:128
↓ 1 callersMethodcompleteAuthentication
(ctx context.Context, metadata *oidcDiscoveryDocument, input federation.OIDCAuthenticateInput, redirectURI str
idp-server/internal/infrastructure/external/oidc_provider.go:149
↓ 1 callersMethodconsumeState
(ctx context.Context, state string)
idp-server/internal/infrastructure/external/oidc_provider.go:401
↓ 1 callersFunctioncontains
(values []string, expected string)
idp-server/internal/application/device/service.go:217
↓ 1 callersMethodcreateMFAChallenge
(ctx context.Context, user *userdomain.Model, input AuthenticateInput)
idp-server/internal/application/authn/service.go:1038
↓ 1 callersFunctiondecodeJWTClaims
(token string)
idp-server/internal/infrastructure/external/oidc_provider.go:320
↓ 1 callersFunctiondecodeMessage
(message goredis.XMessage)
idp-server/internal/infrastructure/auditstream/consumer.go:253
↓ 1 callersFunctiondecodeScopes
(raw string)
idp-server/internal/application/device/service.go:187
↓ 1 callersFunctionderefMask
(value *uint32, fallback uint32)
idp-server/internal/interfaces/http/handler/rbac_handler_test.go:128
↓ 1 callersFunctiondeviceVerificationURI
(c *gin.Context)
idp-server/internal/interfaces/http/handler/device_authorize_handler.go:88
↓ 1 callersMethodensureGroup
(ctx context.Context)
idp-server/internal/infrastructure/auditstream/consumer.go:62
↓ 1 callersMethodexchangeAuthorizationCode
(ctx context.Context, input ExchangeInput)
idp-server/internal/application/token/service.go:96
↓ 1 callersMethodexchangeClientCredentials
(ctx context.Context, input ExchangeInput)
idp-server/internal/application/token/service.go:349
↓ 1 callersMethodexchangeCode
(ctx context.Context, metadata *oidcDiscoveryDocument, code, redirectURI string)
idp-server/internal/infrastructure/external/oidc_provider.go:249
↓ 1 callersMethodexchangeDeviceCode
(ctx context.Context, input ExchangeInput)
idp-server/internal/application/token/service.go:455
↓ 1 callersMethodexchangePassword
(ctx context.Context, input ExchangeInput)
idp-server/internal/application/token/service.go:418
↓ 1 callersMethodexchangeRefreshToken
(ctx context.Context, input ExchangeInput)
idp-server/internal/application/token/service.go:200
↓ 1 callersFunctionextractBearerToken
(authorizationHeader string)
idp-server/internal/interfaces/http/middleware/auth.go:101
↓ 1 callersFunctionextractBearerToken
(authorizationHeader string)
idp-server/internal/interfaces/http/handler/userinfo_handler.go:48
↓ 1 callersFunctionextractClientID
(authorizationHeader, bodyClientID string)
idp-server/internal/application/clientauth/service.go:99
↓ 1 callersMethodfetchUserInfo
(ctx context.Context, endpoint, accessToken string)
idp-server/internal/infrastructure/external/oidc_provider.go:292
↓ 1 callersMethodfindActiveSession
(ctx context.Context, sessionID string)
idp-server/internal/application/authz/service.go:174
↓ 1 callersMethodfindSession
(c *gin.Context, sessionID string)
idp-server/internal/interfaces/http/middleware/admin_session.go:119
↓ 1 callersFunctionformatCreatedAt
(value time.Time)
idp-server/internal/infrastructure/auditstream/repository.go:156
↓ 1 callersFunctionformatPrivilegeComposition
(mask uint32)
idp-server/internal/interfaces/http/handler/admin_console_handler.go:185
↓ 1 callersFunctiongenerateCode
(length int)
idp-server/internal/application/shorturl/service.go:139
↓ 1 callersFunctiongetEnvString
(key, fallback string)
idp-server/cmd/idp/main.go:46
↓ 1 callersFunctiongetMockAuthenticateInput
getMockAuthenticateInput creates an AuthenticateInput with sensible defaults for testing.
idp-server/internal/application/authn/test_helpers_test.go:32
↓ 1 callersMethodgetOne
(ctx context.Context, db *sql.DB, query string, arg any)
idp-server/internal/infrastructure/persistence/session_repo.go:106
↓ 1 callersFunctiongetWorkingDir
()
idp-server/internal/bootstrap/config.go:537
↓ 1 callersMethodhandleBegin
(c *gin.Context, sessionID, returnTo string)
idp-server/internal/interfaces/http/handler/passkey_setup_handler.go:85
↓ 1 callersMethodhandleFinish
(c *gin.Context, sessionID, returnTo string, req dto.PasskeySetupRequest)
idp-server/internal/interfaces/http/handler/passkey_setup_handler.go:109
↓ 1 callersMethodhandlePasskeyBegin
(c *gin.Context, req dto.LoginTOTPRequest)
idp-server/internal/interfaces/http/handler/login_totp_handler.go:157
↓ 1 callersMethodhandlePasskeyFinish
(c *gin.Context, req dto.LoginTOTPRequest)
idp-server/internal/interfaces/http/handler/login_totp_handler.go:192
↓ 1 callersMethodhandlePushDecision
(c *gin.Context, req dto.LoginTOTPRequest)
idp-server/internal/interfaces/http/handler/login_totp_handler.go:240
↓ 1 callersFunctionhostnameOrDefault
(fallback string)
idp-server/internal/bootstrap/config.go:545
↓ 1 callersMethodincrementRetry
(ctx context.Context, eventID string)
idp-server/internal/infrastructure/auditstream/consumer.go:188
↓ 1 callersFunctioninitializeApp
Injectors from wire_inject.go: go:generate wire
idp-server/internal/bootstrap/wire_gen.go:16
↓ 1 callersFunctioninsertPostLogoutRedirectURIsTx
(ctx context.Context, tx *sql.Tx, clientDBID int64, redirectURIs []string)
idp-server/internal/infrastructure/persistence/client_repo.go:262
↓ 1 callersFunctioninsertRedirectURIsTx
(ctx context.Context, tx *sql.Tx, clientDBID int64, redirectURIs []string)
idp-server/internal/infrastructure/persistence/client_repo.go:252
↓ 1 callersFunctionisDuplicateMySQLError
(err error)
idp-server/internal/infrastructure/persistence/short_url_repo.go:85
↓ 1 callersMethodisServerIssuedAccessToken
(ctx context.Context, tokenSHA256 string)
idp-server/internal/application/oidc/service.go:199
↓ 1 callersFunctionisValidEmail
(email string)
idp-server/internal/application/register/service.go:218
↓ 1 callersMethodloadDiscovery
(ctx context.Context)
idp-server/internal/infrastructure/external/oidc_provider.go:209
↓ 1 callersFunctionloadRSAPrivateKey
(ref, workingDir string)
idp-server/internal/infrastructure/crypto/key_loader.go:118
↓ 1 callersFunctionlocalizeLoginError
(err error)
idp-server/internal/interfaces/http/handler/login_handler.go:296
↓ 1 callersMethodlookupUserByUsername
(ctx context.Context, username string)
idp-server/internal/application/authn/service.go:965
↓ 1 callersFunctionluaInt64
(value any)
idp-server/internal/infrastructure/cache/redis/token_cache_repository.go:283
↓ 1 callersFunctionluaString
(value any)
idp-server/internal/infrastructure/cache/redis/token_cache_repository.go:297
↓ 1 callersFunctionmapDeviceCodeEntry
(values map[string]string)
idp-server/internal/infrastructure/cache/redis/device_code_repository.go:133
↓ 1 callersMethodmintIDToken
(client *clientdomain.Model, user *userdomain.Model, code *authorizationdomain.Model, now time.Time)
idp-server/internal/application/token/service.go:166
↓ 1 callersFunctionmustLoadAuditEventRepositorySQL
()
idp-server/internal/infrastructure/persistence/audit_event_repo_sql.go:20
↓ 1 callersFunctionmustLoadAuthorizationCodeRepositorySQL
()
idp-server/internal/infrastructure/persistence/authorization_code_repo_sql.go:21
↓ 1 callersFunctionmustLoadClientRepositorySQL
()
idp-server/internal/infrastructure/persistence/client_repo_sql.go:32
↓ 1 callersFunctionmustLoadConsentRepositorySQL
()
idp-server/internal/infrastructure/persistence/consent_repo_sql.go:21
↓ 1 callersFunctionmustLoadJWKKeyRepositorySQL
()
idp-server/internal/infrastructure/persistence/jwk_key_repo_sql.go:21
↓ 1 callersFunctionmustLoadOperatorRoleRepositorySQL
()
idp-server/internal/infrastructure/persistence/operator_role_repo_sql.go:24
↓ 1 callersFunctionmustLoadPasskeyCredentialRepositorySQL
()
idp-server/internal/infrastructure/persistence/passkey_credential_repo_sql.go:21
↓ 1 callersFunctionmustLoadSessionRepositorySQL
()
idp-server/internal/infrastructure/persistence/session_repo_sql.go:24
↓ 1 callersFunctionmustLoadShortURLRepositorySQL
()
idp-server/internal/infrastructure/persistence/short_url_repo_sql.go:21
↓ 1 callersFunctionmustLoadTOTPRepositorySQL
()
idp-server/internal/infrastructure/persistence/totp_repo_sql.go:21
↓ 1 callersFunctionmustLoadTokenRepositorySQL
()
idp-server/internal/infrastructure/persistence/token_repo_sql.go:31
↓ 1 callersFunctionmustLoadUserRepositorySQL
()
idp-server/internal/infrastructure/persistence/user_repo_sql.go:32
↓ 1 callersFunctionmustNewSQLiteTOTPDB
(t *testing.T)
idp-server/internal/infrastructure/persistence/totp_repo_test.go:70
↓ 1 callersFunctionmustParseInt64
(value string)
idp-server/internal/interfaces/http/middleware/admin_session.go:143
↓ 1 callersFunctionnewCPUPool
()
idp-server/internal/application/authn/worker_pool.go:29
↓ 1 callersFunctionnewConfigViper
()
idp-server/internal/bootstrap/config.go:242
↓ 1 callersFunctionnewIOPool
()
idp-server/internal/application/authn/worker_pool.go:24
↓ 1 callersFunctionnormalizeAuditMetadata
(raw string)
idp-server/internal/interfaces/http/handler/audit_console_handler.go:195
↓ 1 callersFunctionnormalizeClientAuthMethod
(value string)
idp-server/internal/infrastructure/external/oidc_provider.go:382
↓ 1 callersFunctionnormalizeClientAuthMethod
(primary string, fallbacks []string)
idp-server/internal/application/clientauth/service.go:116
↓ 1 callersFunctionnormalizeClientRedirectURIs
(values, grantTypes []string)
idp-server/internal/application/client/service.go:362
↓ 1 callersMethodnormalizeClientSecret
(clientType, authMethod, secret string)
idp-server/internal/application/client/service.go:280
↓ 1 callersMethodnormalizeClientSettings
(input CreateClientInput)
idp-server/internal/application/client/service.go:233
↓ 1 callersFunctionnormalizeConsumerConfig
(cfg ConsumerConfig)
idp-server/internal/infrastructure/auditstream/consumer.go:224
↓ 1 callersFunctionnormalizeGrantTypes
(values []string)
idp-server/internal/application/client/service.go:302
↓ 1 callersFunctionnormalizeIDTokenTTL
(value int, grantTypes []string)
idp-server/internal/application/client/service.go:431
↓ 1 callersFunctionnormalizeMFAMode
(mode string)
idp-server/internal/ports/cache/state_mask.go:175
↓ 1 callersFunctionnormalizeOptionalRedirectURIs
(values []string)
idp-server/internal/application/client/service.go:407
↓ 1 callersFunctionnormalizeRefreshTTL
(value int, grantTypes []string)
idp-server/internal/application/client/service.go:421
↓ 1 callersFunctionnormalizeScopes
(values []string)
idp-server/internal/infrastructure/external/oidc_provider.go:439
↓ 1 callersFunctionnormalizeScopes
(values []string)
idp-server/internal/application/client/service.go:334
↓ 1 callersFunctionnormalizeScopes
(scopes []string)
idp-server/internal/application/consent/service.go:222
↓ 1 callersFunctionnormalizeScopes
(scopes []string)
idp-server/internal/application/authz/service.go:210
↓ 1 callersFunctionnormalizeScopes
(scopes []string)
idp-server/internal/application/device/service.go:199
↓ 1 callersFunctionnormalizeScopesLarge
(scopes []string)
idp-server/internal/application/token/service.go:728
↓ 1 callersFunctionnormalizeStatus
(value string)
idp-server/internal/application/client/service.go:441
↓ 1 callersFunctionnormalizeTTL
(value, fallback int)
idp-server/internal/application/client/service.go:414
↓ 1 callersFunctionnormalizeTargetURL
(value string)
idp-server/internal/application/shorturl/service.go:118
↓ 1 callersFunctionnullTimePtr
(value *time.Time)
idp-server/internal/infrastructure/persistence/short_url_repo.go:78
← previousnext →501–600 of 1,536, ranked by callers