Documentation ¶
Index ¶
Constants ¶
View Source
const ( TryRefreshTokenErrorStr = "TRY_REFRESH_TOKEN" TokenTheftDetectedErrorStr = "TOKEN_THEFT_DETECTED" InvalidClaimsErrorStr = "INVALID_CLAIMS" ClearDuplicateSessionCookiesErrorStr = "CLEAR_DUPLICATE_SESSION_COOKIES" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClearDuplicateSessionCookiesError ¶ added in v0.19.0
type ClearDuplicateSessionCookiesError struct {
Msg string
}
func (ClearDuplicateSessionCookiesError) Error ¶ added in v0.19.0
func (err ClearDuplicateSessionCookiesError) Error() string
type InvalidClaimError ¶ added in v0.9.0
type InvalidClaimError struct { Msg string InvalidClaims []claims.ClaimValidationError }
func (InvalidClaimError) Error ¶ added in v0.9.0
func (err InvalidClaimError) Error() string
type TokenTheftDetectedError ¶
type TokenTheftDetectedError struct { Msg string Payload TokenTheftDetectedErrorPayload }
TokenTheftDetectedError used for when token theft has happened for a session
func (TokenTheftDetectedError) Error ¶
func (err TokenTheftDetectedError) Error() string
type TryRefreshTokenError ¶
type TryRefreshTokenError struct {
Msg string
}
TryRefreshTokenError used for when the refresh API needs to be called
func (TryRefreshTokenError) Error ¶
func (err TryRefreshTokenError) Error() string
type UnauthorizedError ¶
type UnauthorizedError struct {}
UnauthorizedError used for when the user has been logged out
func (UnauthorizedError) Error ¶
func (err UnauthorizedError) Error() string
Click to show internal directories.
Click to hide internal directories.