//
pkg.gl
Category
github.com/redhatinsights/insights-operator-ldapauth
auth
package
0.0.0-20230322083140-af68207f7158
Repository:
https://github.com/redhatinsights/insights-operator-ldapauth.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
9
Dependents
1
Files
116 SLOC
#
Functions
Authenticate
Authenticate - validate user credentials and create auth token.
GetTokenPasswordFromEnv
GetTokenPasswordFromEnv tries to read token password from the environment variable.
#
Constants
NoAccessMessage
NoAccessMessage - Error message for user with no access.
#
Structs
Account
Account a struct to rep user account.
Token
Token JWT claims struct.