ClientLoginAuthorizer


Description:

[ CCode ( has_construct_function = false ) ]
public ClientLoginAuthorizer (string client_id, Type service_type)

Creates a new ClientLoginAuthorizer.

The client_id must be unique for your application, and as registered with Google.

The AuthorizationDomains for the given service_type (i.e. as returned by get_authorization_domains) are the ones the user will be logged in to using the provided username and password when authenticate is called. Note that the same username and password will be used for all domains.

Parameters:

client_id

your application's client ID

service_type

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

Returns:

a new ClientLoginAuthorizer, or null ; unref with unref