(ctx context.Context, link database.ExternalAuthLink)
| 609 | } |
| 610 | |
| 611 | func (c *Config) TokenRevocationRequest(ctx context.Context, link database.ExternalAuthLink) (*http.Request, error) { |
| 612 | if c.Type == codersdk.EnhancedExternalAuthProviderGitHub.String() { |
| 613 | return c.TokenRevocationRequestGitHub(ctx, link) |
| 614 | } |
| 615 | return c.TokenRevocationRequestRFC7009(ctx, link) |
| 616 | } |
| 617 | |
| 618 | func (c *Config) TokenRevocationRequestRFC7009(ctx context.Context, link database.ExternalAuthLink) (*http.Request, error) { |
| 619 | p := url.Values{} |
no test coverage detected