Documentation
¶
Index ¶
- Variables
- func ExtractRawIDToken(token *oauth2.Token) string
- type Claims
- type OIDC
- func (o *OIDC) AuthCodeURL(state, redirectURL string) (string, error)
- func (o *OIDC) Exchange(ctx context.Context, code, redirectURL string) (*oauth2.Token, error)
- func (o *OIDC) RefreshToken(ctx context.Context, token string, expires time.Duration, redirectURL string) (*oauth2.Token, error)
- func (o *OIDC) Verify(ctx context.Context, rawIDToken string) (*Claims, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnregisteredRedirectURL = errors.New("oidc: unregistered redirectURL") ErrBadRequest = errors.New("oidc: bad request") )
Functions ¶
func ExtractRawIDToken ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.