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
↓ 1 callers
Function
buildRedisAddr
(v *viper.Viper)
idp-server/internal/bootstrap/config.go:473
↓ 1 callers
Function
buildRedisAddrFromEnv
()
idp-server/cmd/replay_audit_dlq/main.go:99
↓ 1 callers
Function
buildRefreshReplayFingerprint
(clientID, authMethod, clientIP, userAgent string)
idp-server/internal/interfaces/http/handler/token_handler.go:175
↓ 1 callers
Function
buildShortURL
(c *gin.Context, code string)
idp-server/internal/interfaces/http/handler/short_url_handler.go:78
↓ 1 callers
Function
buildStreamArgs
(model *auditdomain.Model, dedupTTLSeconds int64)
idp-server/internal/infrastructure/auditstream/repository.go:133
↓ 1 callers
Function
buildUnsignedJWT
(t *testing.T, claims map[string]any)
idp-server/internal/infrastructure/external/oidc_provider_test.go:167
↓ 1 callers
Function
builtinRoleViews
()
idp-server/internal/application/rbac/service.go:295
↓ 1 callers
Function
candidateFederatedUsername
(result *pluginport.AuthenticateResult, userUUID string)
idp-server/internal/application/authn/service.go:729
↓ 1 callers
Function
claimContainsAudience
(raw any, expected string)
idp-server/internal/infrastructure/external/oidc_provider.go:357
↓ 1 callers
Function
claimNumberToInt64
(value any)
idp-server/internal/infrastructure/crypto/jwt.go:160
↓ 1 callers
Method
collectUserSessionIDs
(ctx context.Context, userID int64, activeSessions []*sessiondomain.Model)
idp-server/internal/application/session/service.go:128
↓ 1 callers
Method
completeAuthentication
(ctx context.Context, metadata *oidcDiscoveryDocument, input federation.OIDCAuthenticateInput, redirectURI str
idp-server/internal/infrastructure/external/oidc_provider.go:149
↓ 1 callers
Method
consumeState
(ctx context.Context, state string)
idp-server/internal/infrastructure/external/oidc_provider.go:401
↓ 1 callers
Function
contains
(values []string, expected string)
idp-server/internal/application/device/service.go:217
↓ 1 callers
Method
createMFAChallenge
(ctx context.Context, user *userdomain.Model, input AuthenticateInput)
idp-server/internal/application/authn/service.go:1038
↓ 1 callers
Function
decodeJWTClaims
(token string)
idp-server/internal/infrastructure/external/oidc_provider.go:320
↓ 1 callers
Function
decodeMessage
(message goredis.XMessage)
idp-server/internal/infrastructure/auditstream/consumer.go:253
↓ 1 callers
Function
decodeScopes
(raw string)
idp-server/internal/application/device/service.go:187
↓ 1 callers
Function
derefMask
(value *uint32, fallback uint32)
idp-server/internal/interfaces/http/handler/rbac_handler_test.go:128
↓ 1 callers
Function
deviceVerificationURI
(c *gin.Context)
idp-server/internal/interfaces/http/handler/device_authorize_handler.go:88
↓ 1 callers
Method
ensureGroup
(ctx context.Context)
idp-server/internal/infrastructure/auditstream/consumer.go:62
↓ 1 callers
Method
exchangeAuthorizationCode
(ctx context.Context, input ExchangeInput)
idp-server/internal/application/token/service.go:96
↓ 1 callers
Method
exchangeClientCredentials
(ctx context.Context, input ExchangeInput)
idp-server/internal/application/token/service.go:349
↓ 1 callers
Method
exchangeCode
(ctx context.Context, metadata *oidcDiscoveryDocument, code, redirectURI string)
idp-server/internal/infrastructure/external/oidc_provider.go:249
↓ 1 callers
Method
exchangeDeviceCode
(ctx context.Context, input ExchangeInput)
idp-server/internal/application/token/service.go:455
↓ 1 callers
Method
exchangePassword
(ctx context.Context, input ExchangeInput)
idp-server/internal/application/token/service.go:418
↓ 1 callers
Method
exchangeRefreshToken
(ctx context.Context, input ExchangeInput)
idp-server/internal/application/token/service.go:200
↓ 1 callers
Function
extractBearerToken
(authorizationHeader string)
idp-server/internal/interfaces/http/middleware/auth.go:101
↓ 1 callers
Function
extractBearerToken
(authorizationHeader string)
idp-server/internal/interfaces/http/handler/userinfo_handler.go:48
↓ 1 callers
Function
extractClientID
(authorizationHeader, bodyClientID string)
idp-server/internal/application/clientauth/service.go:99
↓ 1 callers
Method
fetchUserInfo
(ctx context.Context, endpoint, accessToken string)
idp-server/internal/infrastructure/external/oidc_provider.go:292
↓ 1 callers
Method
findActiveSession
(ctx context.Context, sessionID string)
idp-server/internal/application/authz/service.go:174
↓ 1 callers
Method
findSession
(c *gin.Context, sessionID string)
idp-server/internal/interfaces/http/middleware/admin_session.go:119
↓ 1 callers
Function
formatCreatedAt
(value time.Time)
idp-server/internal/infrastructure/auditstream/repository.go:156
↓ 1 callers
Function
formatPrivilegeComposition
(mask uint32)
idp-server/internal/interfaces/http/handler/admin_console_handler.go:185
↓ 1 callers
Function
generateCode
(length int)
idp-server/internal/application/shorturl/service.go:139
↓ 1 callers
Function
getEnvString
(key, fallback string)
idp-server/cmd/idp/main.go:46
↓ 1 callers
Function
getMockAuthenticateInput
getMockAuthenticateInput creates an AuthenticateInput with sensible defaults for testing.
idp-server/internal/application/authn/test_helpers_test.go:32
↓ 1 callers
Method
getOne
(ctx context.Context, db *sql.DB, query string, arg any)
idp-server/internal/infrastructure/persistence/session_repo.go:106
↓ 1 callers
Function
getWorkingDir
()
idp-server/internal/bootstrap/config.go:537
↓ 1 callers
Method
handleBegin
(c *gin.Context, sessionID, returnTo string)
idp-server/internal/interfaces/http/handler/passkey_setup_handler.go:85
↓ 1 callers
Method
handleFinish
(c *gin.Context, sessionID, returnTo string, req dto.PasskeySetupRequest)
idp-server/internal/interfaces/http/handler/passkey_setup_handler.go:109
↓ 1 callers
Method
handlePasskeyBegin
(c *gin.Context, req dto.LoginTOTPRequest)
idp-server/internal/interfaces/http/handler/login_totp_handler.go:157
↓ 1 callers
Method
handlePasskeyFinish
(c *gin.Context, req dto.LoginTOTPRequest)
idp-server/internal/interfaces/http/handler/login_totp_handler.go:192
↓ 1 callers
Method
handlePushDecision
(c *gin.Context, req dto.LoginTOTPRequest)
idp-server/internal/interfaces/http/handler/login_totp_handler.go:240
↓ 1 callers
Function
hostnameOrDefault
(fallback string)
idp-server/internal/bootstrap/config.go:545
↓ 1 callers
Method
incrementRetry
(ctx context.Context, eventID string)
idp-server/internal/infrastructure/auditstream/consumer.go:188
↓ 1 callers
Function
initializeApp
Injectors from wire_inject.go: go:generate wire
idp-server/internal/bootstrap/wire_gen.go:16
↓ 1 callers
Function
insertPostLogoutRedirectURIsTx
(ctx context.Context, tx *sql.Tx, clientDBID int64, redirectURIs []string)
idp-server/internal/infrastructure/persistence/client_repo.go:262
↓ 1 callers
Function
insertRedirectURIsTx
(ctx context.Context, tx *sql.Tx, clientDBID int64, redirectURIs []string)
idp-server/internal/infrastructure/persistence/client_repo.go:252
↓ 1 callers
Function
isDuplicateMySQLError
(err error)
idp-server/internal/infrastructure/persistence/short_url_repo.go:85
↓ 1 callers
Method
isServerIssuedAccessToken
(ctx context.Context, tokenSHA256 string)
idp-server/internal/application/oidc/service.go:199
↓ 1 callers
Function
isValidEmail
(email string)
idp-server/internal/application/register/service.go:218
↓ 1 callers
Method
loadDiscovery
(ctx context.Context)
idp-server/internal/infrastructure/external/oidc_provider.go:209
↓ 1 callers
Function
loadRSAPrivateKey
(ref, workingDir string)
idp-server/internal/infrastructure/crypto/key_loader.go:118
↓ 1 callers
Function
localizeLoginError
(err error)
idp-server/internal/interfaces/http/handler/login_handler.go:296
↓ 1 callers
Method
lookupUserByUsername
(ctx context.Context, username string)
idp-server/internal/application/authn/service.go:965
↓ 1 callers
Function
luaInt64
(value any)
idp-server/internal/infrastructure/cache/redis/token_cache_repository.go:283
↓ 1 callers
Function
luaString
(value any)
idp-server/internal/infrastructure/cache/redis/token_cache_repository.go:297
↓ 1 callers
Function
mapDeviceCodeEntry
(values map[string]string)
idp-server/internal/infrastructure/cache/redis/device_code_repository.go:133
↓ 1 callers
Method
mintIDToken
(client *clientdomain.Model, user *userdomain.Model, code *authorizationdomain.Model, now time.Time)
idp-server/internal/application/token/service.go:166
↓ 1 callers
Function
mustLoadAuditEventRepositorySQL
()
idp-server/internal/infrastructure/persistence/audit_event_repo_sql.go:20
↓ 1 callers
Function
mustLoadAuthorizationCodeRepositorySQL
()
idp-server/internal/infrastructure/persistence/authorization_code_repo_sql.go:21
↓ 1 callers
Function
mustLoadClientRepositorySQL
()
idp-server/internal/infrastructure/persistence/client_repo_sql.go:32
↓ 1 callers
Function
mustLoadConsentRepositorySQL
()
idp-server/internal/infrastructure/persistence/consent_repo_sql.go:21
↓ 1 callers
Function
mustLoadJWKKeyRepositorySQL
()
idp-server/internal/infrastructure/persistence/jwk_key_repo_sql.go:21
↓ 1 callers
Function
mustLoadOperatorRoleRepositorySQL
()
idp-server/internal/infrastructure/persistence/operator_role_repo_sql.go:24
↓ 1 callers
Function
mustLoadPasskeyCredentialRepositorySQL
()
idp-server/internal/infrastructure/persistence/passkey_credential_repo_sql.go:21
↓ 1 callers
Function
mustLoadSessionRepositorySQL
()
idp-server/internal/infrastructure/persistence/session_repo_sql.go:24
↓ 1 callers
Function
mustLoadShortURLRepositorySQL
()
idp-server/internal/infrastructure/persistence/short_url_repo_sql.go:21
↓ 1 callers
Function
mustLoadTOTPRepositorySQL
()
idp-server/internal/infrastructure/persistence/totp_repo_sql.go:21
↓ 1 callers
Function
mustLoadTokenRepositorySQL
()
idp-server/internal/infrastructure/persistence/token_repo_sql.go:31
↓ 1 callers
Function
mustLoadUserRepositorySQL
()
idp-server/internal/infrastructure/persistence/user_repo_sql.go:32
↓ 1 callers
Function
mustNewSQLiteTOTPDB
(t *testing.T)
idp-server/internal/infrastructure/persistence/totp_repo_test.go:70
↓ 1 callers
Function
mustParseInt64
(value string)
idp-server/internal/interfaces/http/middleware/admin_session.go:143
↓ 1 callers
Function
newCPUPool
()
idp-server/internal/application/authn/worker_pool.go:29
↓ 1 callers
Function
newConfigViper
()
idp-server/internal/bootstrap/config.go:242
↓ 1 callers
Function
newIOPool
()
idp-server/internal/application/authn/worker_pool.go:24
↓ 1 callers
Function
normalizeAuditMetadata
(raw string)
idp-server/internal/interfaces/http/handler/audit_console_handler.go:195
↓ 1 callers
Function
normalizeClientAuthMethod
(value string)
idp-server/internal/infrastructure/external/oidc_provider.go:382
↓ 1 callers
Function
normalizeClientAuthMethod
(primary string, fallbacks []string)
idp-server/internal/application/clientauth/service.go:116
↓ 1 callers
Function
normalizeClientRedirectURIs
(values, grantTypes []string)
idp-server/internal/application/client/service.go:362
↓ 1 callers
Method
normalizeClientSecret
(clientType, authMethod, secret string)
idp-server/internal/application/client/service.go:280
↓ 1 callers
Method
normalizeClientSettings
(input CreateClientInput)
idp-server/internal/application/client/service.go:233
↓ 1 callers
Function
normalizeConsumerConfig
(cfg ConsumerConfig)
idp-server/internal/infrastructure/auditstream/consumer.go:224
↓ 1 callers
Function
normalizeGrantTypes
(values []string)
idp-server/internal/application/client/service.go:302
↓ 1 callers
Function
normalizeIDTokenTTL
(value int, grantTypes []string)
idp-server/internal/application/client/service.go:431
↓ 1 callers
Function
normalizeMFAMode
(mode string)
idp-server/internal/ports/cache/state_mask.go:175
↓ 1 callers
Function
normalizeOptionalRedirectURIs
(values []string)
idp-server/internal/application/client/service.go:407
↓ 1 callers
Function
normalizeRefreshTTL
(value int, grantTypes []string)
idp-server/internal/application/client/service.go:421
↓ 1 callers
Function
normalizeScopes
(values []string)
idp-server/internal/infrastructure/external/oidc_provider.go:439
↓ 1 callers
Function
normalizeScopes
(values []string)
idp-server/internal/application/client/service.go:334
↓ 1 callers
Function
normalizeScopes
(scopes []string)
idp-server/internal/application/consent/service.go:222
↓ 1 callers
Function
normalizeScopes
(scopes []string)
idp-server/internal/application/authz/service.go:210
↓ 1 callers
Function
normalizeScopes
(scopes []string)
idp-server/internal/application/device/service.go:199
↓ 1 callers
Function
normalizeScopesLarge
(scopes []string)
idp-server/internal/application/token/service.go:728
↓ 1 callers
Function
normalizeStatus
(value string)
idp-server/internal/application/client/service.go:441
↓ 1 callers
Function
normalizeTTL
(value, fallback int)
idp-server/internal/application/client/service.go:414
↓ 1 callers
Function
normalizeTargetURL
(value string)
idp-server/internal/application/shorturl/service.go:118
↓ 1 callers
Function
nullTimePtr
(value *time.Time)
idp-server/internal/infrastructure/persistence/short_url_repo.go:78
← previous
next →
501–600 of 1,536, ranked by callers