OAuth2Authorizer.for_authorization_domains
Description:
[ CCode ( has_construct_function = false ) ]
public OAuth2Authorizer.for_authorization_domains (string client_id, string client_secret, string redirect_uri, List<AuthorizationDomain> authorization_domains)
public OAuth2Authorizer.for_authorization_domains (string client_id, string client_secret, string redirect_uri, List<AuthorizationDomain> authorization_domains)
Creates a new OAuth2Authorizer.
The client_id must be unique for your application, and as registered with Google, and the client_secret must be
paired with it.
Parameters:
| client_id |
your application’s client ID |
| client_secret |
your application’s client secret |
| redirect_uri |
authorisation redirect URI |
| authorization_domains |
a non-empty list of AuthorizationDomains to be authorized against by the OAuth2Authorizer |
Returns:
|
a new OAuth2Authorizer; unref with unref |