MCPcopy Index your code
hub / github.com/pocketbase/pocketbase / BuildAuthURL

Method BuildAuthURL

tools/auth/auth.go:119–119  ·  view source on GitHub ↗

BuildAuthURL returns a URL to the provider's consent page that asks for permissions for the required scopes explicitly.

(state string, opts ...oauth2.AuthCodeOption)

Source from the content-addressed store, hash-verified

117 // BuildAuthURL returns a URL to the provider's consent page
118 // that asks for permissions for the required scopes explicitly.
119 BuildAuthURL(state string, opts ...oauth2.AuthCodeOption) string
120
121 // FetchToken converts an authorization code to token.
122 FetchToken(code string, opts ...oauth2.AuthCodeOption) (*oauth2.Token, error)

Callers 1

recordAuthMethodsFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected