Documentation
¶
Index ¶
- func GetHostname() string
- func NewNoAuthMethod(l *logrus.Logger, authMethodName string, msg string) authMethod
- func NewOidcAuthMethod(l *logrus.Logger, cfg *util.Config) authMethod
- func NewTokenAuthMethod(l *logrus.Logger, cfg *util.Config) authMethod
- type IDTokenClaims
- type NoAuthMethod
- type OidcAuthMethod
- type OidcTokenClaims
- type TokenAuthMethod
- type TokenClaims
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHostname ¶
func GetHostname() string
func NewNoAuthMethod ¶
Types ¶
type IDTokenClaims ¶
type IDTokenClaims struct { Sub string `json:"sub"` EmailVerified bool `json:"email_verified"` Mail string `json:"mail"` Iss string `json:"iss"` LastName string `json:"last_name"` GivenName string `json:"access_token"` Aud string `json:"aud"` UserUuid string `json:"user_uuid"` Exp int `json:"exp"` IAT int `json:"iat"` FirstName string `json:"first_name"` FamilyName string `json:"family_name"` JTI string `json:"jti"` Email string `json:"email"` }
type NoAuthMethod ¶
type NoAuthMethod struct {
// contains filtered or unexported fields
}
type OidcAuthMethod ¶
type OidcAuthMethod struct {
// contains filtered or unexported fields
}
type OidcTokenClaims ¶
type OidcTokenClaims struct { Version string `json:"version"` Sub string `json:"sub"` EmailVerified bool `json:"email_verified"` Mail string `json:"mail"` LastName string `json:"last_name"` GivenName string `json:"access_token"` Aud string `json:"aud"` UserUuid string `json:"user_uuid"` FirstName string `json:"first_name"` FamilyName string `json:"family_name"` JTI string `json:"jti"` Email string `json:"email"` jwt.RegisteredClaims }
type TokenAuthMethod ¶
type TokenAuthMethod struct {
// contains filtered or unexported fields
}
type TokenClaims ¶
type TokenClaims struct { Version string `json:"version"` jwt.RegisteredClaims }
Click to show internal directories.
Click to hide internal directories.