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
parseAuditLimit
(raw string)
idp-server/internal/interfaces/http/handler/audit_console_handler.go:180
↓ 1 callers
Function
parseAuthorizeReturnTo
(returnTo string)
idp-server/internal/application/consent/service.go:173
↓ 1 callers
Function
parseRSAPublicJWK
(raw string)
idp-server/internal/infrastructure/crypto/key_loader.go:83
↓ 1 callers
Function
parseSecretKey
(keyMaterial string)
idp-server/internal/infrastructure/security/secret_codec.go:84
↓ 1 callers
Method
preparePasswordAuthentication
(ctx context.Context, username, ipAddress string)
idp-server/internal/application/authn/service.go:833
↓ 1 callers
Function
provideAccountUnlocker
(service *appregister.Service)
idp-server/internal/bootstrap/providers.go:331
↓ 1 callers
Function
provideAdminMiddleware
( sessionRepo repository.SessionRepository, sessionCache cacheport.SessionCacheRepository, userRepo reposit
idp-server/internal/bootstrap/providers.go:521
↓ 1 callers
Function
provideApp
(router http.Handler)
idp-server/internal/bootstrap/providers.go:607
↓ 1 callers
Function
provideAuditEventRepository
( rdb *goredis.Client, cfg *config, keyBuilder *cacheRedis.KeyBuilder, auditStore *persistence.AuditEventR
idp-server/internal/bootstrap/providers.go:225
↓ 1 callers
Function
provideAuditStore
(databases *mysqlDatabases)
idp-server/internal/bootstrap/providers.go:145
↓ 1 callers
Function
provideAuthMiddleware
( cfg *config, tokenCache cacheport.TokenCacheRepository, jwtService *infracrypto.JWTService, )
idp-server/internal/bootstrap/providers.go:513
↓ 1 callers
Function
provideAuthnRegistry
( userRepo repository.UserRepository, passwordVerifier securityport.PasswordVerifier, federatedOIDCProvider
idp-server/internal/bootstrap/providers.go:259
↓ 1 callers
Function
provideAuthnService
( cfg *config, userRepo repository.UserRepository, sessionRepo repository.SessionRepository, sessionCache
idp-server/internal/bootstrap/providers.go:270
↓ 1 callers
Function
provideAuthorizationCodeRepository
(databases *mysqlDatabases)
idp-server/internal/bootstrap/providers.go:169
↓ 1 callers
Function
provideAuthzService
( clientRepo repository.ClientRepository, sessionRepo repository.SessionRepository, sessionCache cacheport.
idp-server/internal/bootstrap/providers.go:296
↓ 1 callers
Function
provideClientAuthRegistry
(passwordVerifier securityport.PasswordVerifier)
idp-server/internal/bootstrap/providers.go:480
↓ 1 callers
Function
provideClientAuthenticator
( clientRepo repository.ClientRepository, clientAuthRegistry *pluginregistry.ClientAuthRegistry, )
idp-server/internal/bootstrap/providers.go:488
↓ 1 callers
Function
provideClientCreator
(service *appclient.Service)
idp-server/internal/bootstrap/providers.go:342
↓ 1 callers
Function
provideClientPostLogoutRegistrar
(service *appclient.Service)
idp-server/internal/bootstrap/providers.go:350
↓ 1 callers
Function
provideClientRegistrar
(service *appclient.Service)
idp-server/internal/bootstrap/providers.go:346
↓ 1 callers
Function
provideClientRepository
(databases *mysqlDatabases)
idp-server/internal/bootstrap/providers.go:161
↓ 1 callers
Function
provideClientService
( clientRepo repository.ClientRepository, passwordVerifier securityport.PasswordVerifier, )
idp-server/internal/bootstrap/providers.go:335
↓ 1 callers
Function
provideConsentManager
( clientRepo repository.ClientRepository, sessionRepo repository.SessionRepository, sessionCache cacheport.
idp-server/internal/bootstrap/providers.go:306
↓ 1 callers
Function
provideConsentRepository
(databases *mysqlDatabases)
idp-server/internal/bootstrap/providers.go:173
↓ 1 callers
Function
provideDeviceCodeRepository
(rdb *goredis.Client, keyBuilder *cacheRedis.KeyBuilder)
idp-server/internal/bootstrap/providers.go:209
↓ 1 callers
Function
provideDeviceService
( clientRepo repository.ClientRepository, deviceCodeRepo cacheport.DeviceCodeRepository, sessionRepo reposi
idp-server/internal/bootstrap/providers.go:461
↓ 1 callers
Function
provideFederatedOIDCProvider
(cfg *config, replayCache cacheport.ReplayProtectionRepository)
idp-server/internal/bootstrap/providers.go:255
↓ 1 callers
Function
provideGrantRegistry
(tokenService *apptoken.Service)
idp-server/internal/bootstrap/providers.go:470
↓ 1 callers
Function
provideJWKRepository
(databases *mysqlDatabases)
idp-server/internal/bootstrap/providers.go:177
↓ 1 callers
Function
provideJWTService
(keyManager *infracrypto.KeyManager)
idp-server/internal/bootstrap/providers.go:433
↓ 1 callers
Function
provideKeyBuilder
(cfg *config)
idp-server/internal/bootstrap/providers.go:114
↓ 1 callers
Function
provideKeyManager
( ctx context.Context, cfg *config, jwkRepo *persistence.JWKKeyRepository, rotationConfig infracrypto.Rota
idp-server/internal/bootstrap/providers.go:417
↓ 1 callers
Function
provideKeySyncBroadcaster
(rdb *goredis.Client, cfg *config)
idp-server/internal/bootstrap/providers.go:110
↓ 1 callers
Function
provideKeysManager
( jwkRepo *persistence.JWKKeyRepository, keyManager *infracrypto.KeyManager, rotationConfig infracrypto.Rot
idp-server/internal/bootstrap/providers.go:529
↓ 1 callers
Function
provideLogoutRedirectValidator
(service *appclient.Service)
idp-server/internal/bootstrap/providers.go:354
↓ 1 callers
Function
provideMFARepository
(rdb *goredis.Client, keyBuilder *cacheRedis.KeyBuilder)
idp-server/internal/bootstrap/providers.go:213
↓ 1 callers
Function
provideMFAService
( cfg *config, sessionRepo repository.SessionRepository, sessionCache cacheport.SessionCacheRepository, us
idp-server/internal/bootstrap/providers.go:378
↓ 1 callers
Function
provideMySQLDatabases
(ctx context.Context, cfg *config)
idp-server/internal/bootstrap/providers.go:58
↓ 1 callers
Function
provideOIDCService
( cfg *config, userRepo repository.UserRepository, tokenRepo repository.TokenRepository, tokenCache cachep
idp-server/internal/bootstrap/providers.go:495
↓ 1 callers
Function
provideOperatorRoleRepository
(databases *mysqlDatabases)
idp-server/internal/bootstrap/providers.go:149
↓ 1 callers
Function
providePasskeyProvider
(cfg *config)
idp-server/internal/bootstrap/providers.go:130
↓ 1 callers
Function
providePasskeyRepository
(databases *mysqlDatabases)
idp-server/internal/bootstrap/providers.go:197
↓ 1 callers
Function
providePasskeyService
( cfg *config, sessionRepo repository.SessionRepository, sessionCache cacheport.SessionCacheRepository, us
idp-server/internal/bootstrap/providers.go:390
↓ 1 callers
Function
providePasswordResetter
(service *appregister.Service)
idp-server/internal/bootstrap/providers.go:327
↓ 1 callers
Function
providePasswordVerifier
()
idp-server/internal/bootstrap/providers.go:122
↓ 1 callers
Function
provideRBACManager
( operatorRoleRepo repository.OperatorRoleRepository, userRepo repository.UserRepository, )
idp-server/internal/bootstrap/providers.go:367
↓ 1 callers
Function
provideRateLimitRepository
(rdb *goredis.Client, keyBuilder *cacheRedis.KeyBuilder)
idp-server/internal/bootstrap/providers.go:221
↓ 1 callers
Function
provideRedis
(ctx context.Context, cfg *config)
idp-server/internal/bootstrap/providers.go:84
↓ 1 callers
Function
provideRegisterService
( userRepo repository.UserRepository, passwordVerifier securityport.PasswordVerifier, rateLimitRepo cachepo
idp-server/internal/bootstrap/providers.go:315
↓ 1 callers
Function
provideRegistrar
(service *appregister.Service)
idp-server/internal/bootstrap/providers.go:323
↓ 1 callers
Function
provideReplayProtectionRepository
(rdb *goredis.Client, keyBuilder *cacheRedis.KeyBuilder)
idp-server/internal/bootstrap/providers.go:217
↓ 1 callers
Function
provideRotationConfig
(cfg *config)
idp-server/internal/bootstrap/providers.go:405
↓ 1 callers
Function
provideRouter
( cfg *config, authzService authz.Service, consentService appconsent.Manager, registerService appregister.
idp-server/internal/bootstrap/providers.go:549
↓ 1 callers
Function
provideSecretCodec
(cfg *config)
idp-server/internal/bootstrap/providers.go:118
↓ 1 callers
Function
provideSessionCacheRepository
(rdb *goredis.Client, keyBuilder *cacheRedis.KeyBuilder)
idp-server/internal/bootstrap/providers.go:201
↓ 1 callers
Function
provideSessionManager
( sessionRepo repository.SessionRepository, sessionCache cacheport.SessionCacheRepository, tokenStore *pers
idp-server/internal/bootstrap/providers.go:358
↓ 1 callers
Function
provideSessionRepository
(cfg *config, databases *mysqlDatabases)
idp-server/internal/bootstrap/providers.go:153
↓ 1 callers
Function
provideShortURLManager
(shortURLRepo repository.ShortURLRepository)
idp-server/internal/bootstrap/providers.go:374
↓ 1 callers
Function
provideShortURLRepository
(databases *mysqlDatabases)
idp-server/internal/bootstrap/providers.go:165
↓ 1 callers
Function
provideTOTPProvider
()
idp-server/internal/bootstrap/providers.go:126
↓ 1 callers
Function
provideTOTPRepository
(databases *mysqlDatabases, codec *infrasecurity.SecretCodec)
idp-server/internal/bootstrap/providers.go:193
↓ 1 callers
Function
provideTokenCacheRepository
(rdb *goredis.Client, keyBuilder *cacheRedis.KeyBuilder)
idp-server/internal/bootstrap/providers.go:205
↓ 1 callers
Function
provideTokenRepository
(store *persistence.TokenRepository)
idp-server/internal/bootstrap/providers.go:189
↓ 1 callers
Function
provideTokenService
( cfg *config, authCodeRepo repository.AuthorizationCodeRepository, clientRepo repository.ClientRepository,
idp-server/internal/bootstrap/providers.go:437
↓ 1 callers
Function
provideTokenStore
(cfg *config, databases *mysqlDatabases)
idp-server/internal/bootstrap/providers.go:181
↓ 1 callers
Function
provideUserRepository
(databases *mysqlDatabases)
idp-server/internal/bootstrap/providers.go:141
↓ 1 callers
Method
provisionFederatedUser
(ctx context.Context, result *pluginport.AuthenticateResult)
idp-server/internal/application/authn/service.go:655
↓ 1 callers
Function
randomToken
(length int)
idp-server/internal/application/device/service.go:243
↓ 1 callers
Function
randomUserCode
()
idp-server/internal/application/device/service.go:257
↓ 1 callers
Function
readConfigSources
(v *viper.Viper)
idp-server/internal/bootstrap/config.go:295
↓ 1 callers
Method
readLoop
(ctx context.Context)
idp-server/internal/infrastructure/auditstream/consumer.go:70
↓ 1 callers
Function
readLuaScript
(name string)
idp-server/internal/infrastructure/cache/redis/lua_scripts.go:58
↓ 1 callers
Method
readRetry
(ctx context.Context, eventID string)
idp-server/internal/infrastructure/auditstream/consumer.go:204
↓ 1 callers
Method
reclaimLoop
(ctx context.Context)
idp-server/internal/infrastructure/auditstream/consumer.go:96
↓ 1 callers
Method
resetPasswordRateLimit
(ctx context.Context, username, ipAddress string)
idp-server/internal/application/authn/service.go:939
↓ 1 callers
Method
resolveActiveSessionUserID
(ctx context.Context, sessionID string)
idp-server/internal/application/authn/service.go:1128
↓ 1 callers
Function
resolveClientID
(c *gin.Context)
idp-server/internal/interfaces/http/middleware/logging.go:104
↓ 1 callers
Function
resolveHomeDir
()
idp-server/internal/bootstrap/config.go:580
↓ 1 callers
Function
resolveMethodType
(input AuthenticateInput)
idp-server/internal/application/authn/service.go:584
↓ 1 callers
Function
resolvePasskeyRPConfig
(cfg *config)
idp-server/internal/bootstrap/wire.go:62
↓ 1 callers
Function
resolvePrivateKeyRef
(ref, workingDir string)
idp-server/internal/infrastructure/crypto/key_loader.go:144
↓ 1 callers
Function
resolveRequestID
(c *gin.Context)
idp-server/internal/interfaces/http/middleware/logging.go:89
↓ 1 callers
Function
resolveSubject
(c *gin.Context)
idp-server/internal/interfaces/http/middleware/logging.go:132
↓ 1 callers
Method
revokeUserTokens
(ctx context.Context, userID int64, revokedAt time.Time)
idp-server/internal/application/session/service.go:210
↓ 1 callers
Function
routerWantsHTML
(accept string)
idp-server/internal/interfaces/http/router.go:198
↓ 1 callers
Method
runWorker
()
idp-server/internal/application/authn/worker_pool.go:50
↓ 1 callers
Function
sanitizeFederatedUsername
(value string)
idp-server/internal/application/authn/service.go:782
↓ 1 callers
Function
scanAuthorizationCode
(row scanner)
idp-server/internal/infrastructure/persistence/authorization_code_repo.go:95
↓ 1 callers
Method
scanOne
(scanner interface{ Scan(dest ...any) error })
idp-server/internal/infrastructure/persistence/passkey_credential_repo.go:74
↓ 1 callers
Function
sessionAuthContext
(methodType pluginport.AuthnMethodType)
idp-server/internal/application/authn/service.go:823
↓ 1 callers
Function
sessionHasOTP
(sessionModel *sessiondomain.Model)
idp-server/internal/interfaces/http/middleware/admin_session.go:173
↓ 1 callers
Method
setRecords
(records []persistence.JWKKeyRecord)
idp-server/internal/infrastructure/crypto/key_rotation_test.go:129
↓ 1 callers
Function
sha256Hex
(value string)
idp-server/internal/application/oidc/service.go:268
↓ 1 callers
Function
sha256Hex
(value string)
idp-server/internal/interfaces/http/middleware/auth.go:110
↓ 1 callers
Function
shortStableID
(value string)
idp-server/internal/application/authn/service.go:764
↓ 1 callers
Function
shouldIssueRefreshToken
(client *clientdomain.Model, scopes []string)
idp-server/internal/application/token/service.go:745
↓ 1 callers
Function
shouldProcessLoginGET
(req dto.LoginRequest)
idp-server/internal/interfaces/http/handler/login_handler.go:290
↓ 1 callers
Function
splitAndTrim
(s string)
idp-server/internal/bootstrap/providers.go:98
↓ 1 callers
Function
splitList
(raw string)
idp-server/internal/bootstrap/config.go:515
↓ 1 callers
Function
successMessage
(approved bool)
idp-server/internal/interfaces/http/handler/device_verification_handler.go:130
← previous
next →
601–700 of 1,536, ranked by callers