Documentation
¶
Overview ¶
Package auth contains the authentication related code.
Index ¶
Constants ¶
View Source
const ( // Granted is the response when the authentication is granted. Granted = "granted" // Denied is the response when the authentication is denied. Denied = "denied" // Cancelled is the response when the authentication is cancelled. Cancelled = "cancelled" // Retry is the response when the authentication needs to be retried (another chance). Retry = "retry" // Next is the response when another MFA (including changing password) authentication is necessary. Next = "next" )
View Source
const ( // SessionModeLogin is used when the session is for user login. // TODO: We can change this to "login" once all broker installations are updated to use the new name. SessionModeLogin = "auth" // SessionModeChangePassword is used when the session is for changing the user password. // TODO: We can change this to "change-password" once all broker installations are updated to use the new name. SessionModeChangePassword = "passwd" )
Variables ¶
Replies is the list of all possible authentication replies.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.