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

State is a token to protect the user from CSRF attacks. You must always provide a non-zero string and validate that it matches the the state query parameter on your redirect callback. See for more info.

Opts may include AccessTypeOnline or AccessTypeOffline, as well as ApprovalForce.

AuthCodeURL is referenced in 1 repository