Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrEmptyOIDCIssuer = errors.New("could not continue with empty OIDC issuer") ErrEmptyOIDCClientID = errors.New("could not continue with empty OIDC client ID") ErrEmptyOIDCRedirectURL = errors.New("could not continue with empty OIDC redirect URL") ErrNotLoggedIn = errors.New("could not continue without being logged in") ErrEmptyMetricsAuthorizedEmail = errors.New("could not continue with empty metrics authorization email") )
View Source
var (
ErrClosed = errors.New("authenticator has not been opened")
)
View Source
var (
ErrEmptyOIDCClientSecret = errors.New("could not continue with empty OIDC client secret")
)
Functions ¶
This section is empty.
Types ¶
type OIDCAuthn ¶
type OIDCAuthn struct {
// contains filtered or unexported fields
}
func NewOIDCAuthn ¶
type TokenManagerAuthorizationCode ¶
type TokenManagerAuthorizationCode struct {
// contains filtered or unexported fields
}
Extended from https://github.com/pojntfx/goit/blob/main/pkg/token/token.go
func (*TokenManagerAuthorizationCode) GetIDToken ¶
func (t *TokenManagerAuthorizationCode) GetIDToken() (string, error)
func (*TokenManagerAuthorizationCode) InitialLogin ¶
func (t *TokenManagerAuthorizationCode) InitialLogin() error
type TokenManagerClientCredentials ¶
type TokenManagerClientCredentials struct {
// contains filtered or unexported fields
}
Extended from https://github.com/pojntfx/goit/blob/main/pkg/token/token.go
func (*TokenManagerClientCredentials) GetIDToken ¶
func (t *TokenManagerClientCredentials) GetIDToken() (string, error)
func (*TokenManagerClientCredentials) InitialLogin ¶
func (t *TokenManagerClientCredentials) InitialLogin() error
Click to show internal directories.
Click to hide internal directories.