OAuthSettings.clientSession

Obtain a new session using client credentials.

class OAuthSettings
final immutable
clientSession
(
string[] scopes = null
)
out (result) { assert (result !is null); }

Parameters

scopes string[]

An array of identifiers specifying the scope of access to be requested. (optional)

Return Value

The new session.

Throws

OAuthException if authentication fails.

Meta