Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrAccountAlreadyExist = errors.New("account with given email or username already exist") ErrAccountNotFound = errors.New("account not found") ErrAccountNotArchived = errors.New("account cannot be archived") ErrAccountIncorrectEmailOrPassword = errors.New("incorrect email or password") ErrAccountPasswordNotGenerated = errors.New("password generation error") ErrAccountIncorrectPassword = errors.New("incorrect password") ErrAccountContextNotFound = errors.New("account not found in context") )
View Source
var ( ErrAuthAccessDenied = errors.New("access denied") ErrAuthProviderNotFound = errors.New("provider query parameter is missing") ErrAuthGitHubUserNotReceived = errors.New("cannot receive user from github api") )
View Source
var ( ErrCSRFTokenPublicNotFound = errors.New("csrf token not found in request headers or query") ErrCSRFTokenCookieNotFound = errors.New("csrf token not found in cookies") ErrCSRFDetected = errors.New("csrf tokens in headers and cookies are not the same") )
View Source
var ( ErrSessionNotFound = errors.New("session not found") ErrSessionExpired = errors.New("session expired") ErrSessionNotCreated = errors.New("error occured during session creation") ErrSessionNotTerminated = errors.New("current session cannot be terminated, use logout instead") ErrSessionDeviceMismatch = errors.New("device doesn't match with device of current session") ErrSessionContextNotFound = errors.New("session not found in context") )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.