Method Web.Auth.OAuth.Authentication()->create()


Method create

Web.Auth.OAuth.Authentication Web.Auth.OAuth.Authentication(string client_id, string client_secret, void|string redir, void|string|array(string)|multiset(string) scope)

Description

Creates an OAuth object.

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 get_request_token().

Parameter scope

Extended permissions to use for this authentication. This can be set/overridden in get_auth_uri().