Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidGrant ¶
Types ¶
type DeviceAuthorization ¶
type LoginResult ¶
type LoginResult struct {
Provider ProviderMetadata
Tokens TokenSet
Identity authstore.Identity
AuthorizationURL string
}
func DeviceLogin ¶
func DeviceLogin(ctx context.Context, cfg Config) (*LoginResult, error)
type ProviderMetadata ¶
type ProviderMetadata struct {
IssuerURL string
AuthorizationURL string
DeviceAuthorizationURL string
TokenURL string
UserInfoURL string
RevocationURL string
JWKSURL string
Algorithms []string
}
func ResolveProviderMetadata ¶
func ResolveProviderMetadata(ctx context.Context, cfg Config) (ProviderMetadata, error)
type RefreshConfig ¶
type RevokeConfig ¶
type TokenError ¶
func (*TokenError) Error ¶
func (e *TokenError) Error() string
Click to show internal directories.
Click to hide internal directories.