Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrInvalidParameters = iota ErrInvalidCredentials ErrMissingToken ErrInvalidToken ErrDecryptionToken ErrInsufficientRights ErrRegistrationError ErrCreatingToken )
Variables ¶
View Source
var (
ContextKeyClaims = ContextKey("auth-claims")
)
Functions ¶
Types ¶
type AuthError ¶
type AuthError struct { Reason AuthErrorReason Err error }
AuthError containing error reason and golang's err
type AuthErrorReason ¶
type AuthErrorReason int
type AuthnRepo ¶
type AuthnRepo struct {
// contains filtered or unexported fields
}
type ContextKey ¶
type ContextKey string
func (ContextKey) String ¶
func (c ContextKey) String() string
Click to show internal directories.
Click to hide internal directories.