Documentation ¶
Index ¶
- func ConvertTokenToRawIDToken(token *oauth2.Token) (string, error)
- func GenerateChallenge() (string, error)
- func IsCannotDecodeToken(err error) bool
- func IsCannotRenewToken(err error) bool
- func IsInvalidChallenge(err error) bool
- type Authenticator
- func (a *Authenticator) GetAuthSelectionURL(connectorType string) string
- func (a *Authenticator) GetAuthURL(connectorID string) string
- func (a *Authenticator) HandleIssuerResponse(ctx context.Context, challenge string, code string) (UserInfo, error)
- func (a *Authenticator) RenewToken(ctx context.Context, refreshToken string) (idToken string, rToken string, err error)
- type Claims
- type Config
- type UserInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateChallenge ¶
func IsCannotDecodeToken ¶
IsCannotDecodeToken asserts cannotDecodeTokenError.
func IsCannotRenewToken ¶
IsCannotRenewToken asserts cannotRenewTokenError.
func IsInvalidChallenge ¶
IsInvalidChallenge asserts invalidChallengeError.
Types ¶
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
func (*Authenticator) GetAuthSelectionURL ¶ added in v2.31.0
func (a *Authenticator) GetAuthSelectionURL(connectorType string) string
func (*Authenticator) GetAuthURL ¶
func (a *Authenticator) GetAuthURL(connectorID string) string
func (*Authenticator) HandleIssuerResponse ¶
func (*Authenticator) RenewToken ¶
Click to show internal directories.
Click to hide internal directories.