Method SetOAuthCredentials
SetOAuthCredentials(string)
Enable OAuth 2.0 authentication and extract the ClientId and ClientSecret from the supplied json.
Declaration
public void SetOAuthCredentials(string credentialsJson)
Parameters
Type | Name | Description |
---|---|---|
string | credentialsJson |
SetOAuthCredentials(string, string)
Enable OAuth 2.0 authentication with the provided client Id and client secret.
Declaration
public void SetOAuthCredentials(string clientId, string clientSecret)
Parameters
Type | Name | Description |
---|---|---|
string | clientId | |
string | clientSecret |