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

Method AuthCodeURL

coderd/promoauth/oauth2.go:212–215  ·  view source on GitHub ↗
(state string, opts ...oauth2.AuthCodeOption)

Source from the content-addressed store, hash-verified

210}
211
212func (c *Config) AuthCodeURL(state string, opts ...oauth2.AuthCodeOption) string {
213 // No external requests are made when constructing the auth code url.
214 return c.underlying.AuthCodeURL(state, opts...)
215}
216
217func (c *Config) Exchange(ctx context.Context, code string, opts ...oauth2.AuthCodeOption) (*oauth2.Token, error) {
218 return c.underlying.Exchange(c.wrapClient(ctx, SourceExchange), code, opts...)

Callers

nothing calls this directly

Calls 1

AuthCodeURLMethod · 0.65

Tested by

no test coverage detected