auth

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2025 License: GPL-3.0 Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL