endpoint returns the OAuth2 auth and token endpoints for the given provider.
()
| 615 | |
| 616 | // endpoint returns the OAuth2 auth and token endpoints for the given provider. |
| 617 | func (metadata *ProviderMetadata) endpoint() oauth2.Endpoint { |
| 618 | return oauth2.Endpoint{ |
| 619 | AuthURL: metadata.AuthorizationEndpoint, |
| 620 | TokenURL: metadata.TokenEndpoint, |
| 621 | } |
| 622 | } |
| 623 | |
| 624 | func (op *OIDCProvider) verifyToken(ctx context.Context, token string, callbackURLFunc OIDCCallbackURLFunc) (*Identity, error) { |
| 625 | // Get client for issuer |
no outgoing calls