MCPcopy Index your code
hub / github.com/coder/coder / TokenRevocationRequest

Method TokenRevocationRequest

coderd/externalauth/externalauth.go:611–616  ·  view source on GitHub ↗
(ctx context.Context, link database.ExternalAuthLink)

Source from the content-addressed store, hash-verified

609}
610
611func (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
618func (c *Config) TokenRevocationRequestRFC7009(ctx context.Context, link database.ExternalAuthLink) (*http.Request, error) {
619 p := url.Values{}

Callers 1

RevokeTokenMethod · 0.95

Calls 3

StringMethod · 0.45

Tested by

no test coverage detected