Method Web.Auth.OAuth2.`()()
- Method
`()
protectedBase`()(stringclient_id,stringclient_secret,void|stringredirect_uri,void|string|array(string)|multiset(string)scope)- Description
Instantiate a generic OAuth2 Base class.
- Parameter
client_id The application ID.
- Parameter
client_secret The application secret.
- Parameter
redirect_uri Where the authorization page should redirect back to. This must be a fully qualified domain name. This can be set/overridden in Base()->get_auth_uri() and/or Base()->set_redirect_uri().
- Parameter
scope Extended permissions to use for this authentication. This can be set/overridden in Base()->get_auth_uri().