MCPcopy Create free account

hub / github.com/arumes31/rauth / functions

Functions675 in github.com/arumes31/rauth

↓ 4 callersFunctionEncrypt2FASecret
(secret string, key string)
internal/core/security.go:175
↓ 4 callersFunctionGenerateRecoveryCodes
GenerateRecoveryCodes creates a fresh batch of single-use recovery codes, replacing any existing ones, and returns the plaintext codes for one-time di
internal/core/twofactor.go:51
↓ 4 callersFunctionGetGeoMetadata
()
internal/core/geo.go:244
↓ 4 callersFunctionGetUsernameByUID
(uid string)
internal/core/user.go:200
↓ 4 callersFunctionInitWebAuthn
(cfg *Config)
internal/core/webauthn.go:89
↓ 4 callersFunctionInvalidateUserSessions
(username string)
internal/core/redis.go:53
↓ 4 callersMethodIsCountryAllowed
(country string)
internal/core/config.go:196
↓ 4 callersFunctionJe
(t,e)
static/js/bootstrap.bundle.min.js:6
↓ 4 callersFunctionNewWebAuthnUser
(user User)
internal/core/webauthn.go:56
↓ 4 callersFunctionP
(t,e={})
static/js/bootstrap.bundle.min.js:6
↓ 4 callersFunctionParseUserAgent
(ua string)
internal/core/security.go:285
↓ 4 callersFunctionR
(t,e="hide")
static/js/bootstrap.bundle.min.js:6
↓ 4 callersFunctionSe
(t)
static/js/bootstrap.bundle.min.js:6
↓ 4 callersFunctionValidateEmail
(email string)
internal/core/security.go:36
↓ 4 callersFunctionVe
(t)
static/js/bootstrap.bundle.min.js:6
↓ 4 callersMethod_addAriaAndCollapsedClass
(t,e)
static/js/bootstrap.bundle.min.js:6
↓ 4 callersMethod_disposePopper
()
static/js/bootstrap.bundle.min.js:6
↓ 4 callersMethod_getElement
()
static/js/bootstrap.bundle.min.js:6
↓ 4 callersMethod_getTitle
()
static/js/bootstrap.bundle.min.js:6
↓ 4 callersMethod_isShown
()
static/js/bootstrap.bundle.min.js:6
↓ 4 callersMethod_onInteraction
(t,e)
static/js/bootstrap.bundle.min.js:6
↓ 4 callersMethod_resetElementAttributes
(t,e)
static/js/bootstrap.bundle.min.js:6
↓ 4 callersMethod_resolvePossibleFunction
(t)
static/js/bootstrap.bundle.min.js:6
↓ 4 callersMethodcycle
()
static/js/bootstrap.bundle.min.js:6
↓ 4 callersMethoddeactivate
()
static/js/bootstrap.bundle.min.js:6
↓ 4 callersMethodgetInstance
(t)
static/js/bootstrap.bundle.min.js:6
↓ 4 callersMethodgetWidth
()
static/js/bootstrap.bundle.min.js:6
↓ 4 callersFunctionisCommonPassword
isCommonPassword reports whether the password appears in the blocklist.
internal/core/passwords.go:44
↓ 4 callersFunctionn
()
static/js/simplewebauthn-browser.min.js:2
↓ 4 callersFunctionnext
(t,e)
static/js/bootstrap.bundle.min.js:6
↓ 4 callersMethodnext
()
static/js/bootstrap.bundle.min.js:6
↓ 4 callersMethodprev
()
static/js/bootstrap.bundle.min.js:6
↓ 4 callersFunctionr
(e)
static/js/simplewebauthn-browser.min.js:2
↓ 4 callersFunctionrecoveryCodesKey
(username string)
internal/core/twofactor.go:37
↓ 4 callersMethodrenderRedeemError
renderRedeemError re-renders the redemption form with an error message. The form is a plain HTML POST, so a JSON body here would replace the page with
internal/handlers/invite.go:110
↓ 4 callersFunctionsetupTestRedis
(t *testing.T)
internal/core/redis_sync_test.go:11
↓ 4 callersMethodvalidateTOTP
(username, otpCode, encryptedSecret string)
internal/handlers/profile.go:349
↓ 3 callersFunctionAe
()
static/js/bootstrap.bundle.min.js:6
↓ 3 callersFunctionB
static/js/bootstrap.bundle.min.js:6
↓ 3 callersFunctionCe
(t)
static/js/bootstrap.bundle.min.js:6
↓ 3 callersMethodCheck
(c echo.Context)
internal/handlers/health.go:26
↓ 3 callersFunctionD
(t,e,i,n,s)
static/js/bootstrap.bundle.min.js:6
↓ 3 callersFunctionDeleteUser
(username string)
internal/core/user.go:175
↓ 3 callersFunctionFormatUserAgent
(ua string)
internal/core/security.go:200
↓ 3 callersFunctionGetDeviceIcon
(ua string)
internal/core/security.go:228
↓ 3 callersFunctionGetGeoReaderStatus
()
internal/core/geo.go:265
↓ 3 callersFunctionIe
(t)
static/js/bootstrap.bundle.min.js:6
↓ 3 callersFunctionListUsers
()
internal/core/user.go:23
↓ 3 callersFunctionM
(t)
static/js/bootstrap.bundle.min.js:6
↓ 3 callersFunctionNewGeoLRUCache
(capacity int)
internal/core/geo.go:36
↓ 3 callersMethodRedeemPage
(c echo.Context)
internal/handlers/invite.go:45
↓ 3 callersFunctionSaveWebAuthnCredential
(username string, cred *webauthn.Credential)
internal/core/webauthn.go:145
↓ 3 callersFunctionSendAccountCreatedNotification
(email, username string)
internal/core/email.go:155
↓ 3 callersFunctionSendLoginNotification
(email, username, ip, country, device string)
internal/core/email.go:105
↓ 3 callersFunctionSendPasswordChangeNotification
(email, username, ip, device string)
internal/core/email.go:133
↓ 3 callersFunctionStartGeoUpdater
(cfg *Config)
internal/core/geo.go:119
↓ 3 callersFunctionUe
(t)
static/js/bootstrap.bundle.min.js:6
↓ 3 callersFunctionValidateRedirectURL
ValidateRedirectURL safely validates and sanitizes a redirect URL
internal/core/security.go:244
↓ 3 callersMethodWebAuthnName
()
internal/core/webauthn.go:31
↓ 3 callersFunctionXe
(t)
static/js/bootstrap.bundle.min.js:6
↓ 3 callersFunctionYe
(t)
static/js/bootstrap.bundle.min.js:6
↓ 3 callersFunctionZe
(t)
static/js/bootstrap.bundle.min.js:6
↓ 3 callersMethod_adjustDialog
()
static/js/bootstrap.bundle.min.js:6
↓ 3 callersMethod_clearTimeout
()
static/js/bootstrap.bundle.min.js:6
↓ 3 callersMethod_directionToOrder
(t)
static/js/bootstrap.bundle.min.js:6
↓ 3 callersMethod_elemIsActive
(t)
static/js/bootstrap.bundle.min.js:6
↓ 3 callersMethod_getActive
()
static/js/bootstrap.bundle.min.js:6
↓ 3 callersMethod_getChildren
()
static/js/bootstrap.bundle.min.js:6
↓ 3 callersMethod_getItemIndex
(t)
static/js/bootstrap.bundle.min.js:6
↓ 3 callersMethod_getItems
()
static/js/bootstrap.bundle.min.js:6
↓ 3 callersMethod_getTipElement
()
static/js/bootstrap.bundle.min.js:6
↓ 3 callersMethod_initializeOnDelegatedTarget
(t)
static/js/bootstrap.bundle.min.js:6
↓ 3 callersMethod_isAnimated
()
static/js/bootstrap.bundle.min.js:6
↓ 3 callersMethod_isAnimated
()
static/js/bootstrap.bundle.min.js:6
↓ 3 callersMethod_isShown
()
static/js/bootstrap.bundle.min.js:6
↓ 3 callersMethod_leave
()
static/js/bootstrap.bundle.min.js:6
↓ 3 callersMethod_mergeConfigObj
(t,e)
static/js/bootstrap.bundle.min.js:6
↓ 3 callersMethod_setElementAttributes
(t,e,i)
static/js/bootstrap.bundle.min.js:6
↓ 3 callersFunctionb
(t,e,i,n)
static/js/bootstrap.bundle.min.js:6
↓ 3 callersFunctiond
(e,t)
static/js/simplewebauthn-browser.min.js:2
↓ 3 callersFunctionge
(t)
static/js/bootstrap.bundle.min.js:6
↓ 3 callersMethodhide
()
static/js/bootstrap.bundle.min.js:6
↓ 3 callersMethodhide
()
static/js/bootstrap.bundle.min.js:6
↓ 3 callersMethodidentifyWebAuthnUser
(c echo.Context, parsedResponse *protocol.ParsedCredentialAssertionData)
internal/handlers/webauthn.go:226
↓ 3 callersMethodinvalidateSession
invalidateSession removes a session token and both its user and per-IP index entries, so HasActiveSessions does not keep seeing a stale ip_sessions en
internal/handlers/auth.go:171
↓ 3 callersFunctionmi
(t)
static/js/bootstrap.bundle.min.js:6
↓ 3 callersMethodpause
()
static/js/bootstrap.bundle.min.js:6
↓ 3 callersMethodrateLimitedUnauthorized
rateLimitedUnauthorized applies the validate rate limit and returns 429 once it is exceeded, otherwise 401. Used for every pre-authentication failure
internal/handlers/auth.go:162
↓ 3 callersFunctionreconcileIndexSets
reconcileIndexSets prunes dead token members from every index set matching pattern and returns the number of live members across those sets.
internal/core/redis.go:181
↓ 3 callersMethodvalidatePendingToken
(c echo.Context, cookieName, prefix string)
internal/handlers/auth.go:459
↓ 2 callersMethodCreate
(c echo.Context)
internal/handlers/invite.go:19
↓ 2 callersFunctionCreateIPExtractor
CreateIPExtractor returns a function that extracts the real client IP from request headers. It prioritizes explicit trust configuration but falls back
main.go:496
↓ 2 callersMethodDashboard
(c echo.Context)
internal/handlers/admin.go:19
↓ 2 callersFunctionDe
(t)
static/js/bootstrap.bundle.min.js:6
↓ 2 callersMethodDefault
()
static/js/bootstrap.bundle.min.js:6
↓ 2 callersMethodDeleteUser
(c echo.Context)
internal/handlers/admin.go:153
↓ 2 callersFunctionDeleteWebAuthnCredential
(username string, credID string)
internal/core/webauthn.go:271
↓ 2 callersFunctionEe
()
static/js/bootstrap.bundle.min.js:6
↓ 2 callersFunctionEnsureUserUIDs
EnsureUserUIDs backfills UIDs for any legacy users created before UIDs existed. Run once at startup so GetUser can remain read-only.
internal/core/user.go:89
↓ 2 callersFunctionI
(t)
static/js/bootstrap.bundle.min.js:6
← previousnext →101–200 of 675, ranked by callers