OAuth2Authorizer


Description:

[ CCode ( has_construct_function = false ) ]
public OAuth2Authorizer (string client_id, string client_secret, string redirect_uri, Type service_type)

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

service_type

the Type of a Service subclass which the OAuth2Authorizer will be used with

Returns:

a new OAuth2Authorizer; unref with unref