Function OAuthSettings.clientSession
Obtain a new session using client credentials.
Parameters
Name | Description |
---|---|
scopes | An array of identifiers specifying the scope of access to be requested. (optional) |
Returns
The new session.
Throws
OAuthException if authentication fails.