Method SetOAuthCrendtials
SetOAuthCrendtials(string)
Enable OAuth 2.0 authentication and extract the ClientId and ClientSecret from the supplied json.
Declaration
[Obsolete("SetOAuthCrendtials is deprecated, use SetOAuthCredentials instead. (UnityUpgrade) -> SetOAuthCredentials(*)")]
public void SetOAuthCrendtials(string credentialsJson)
Parameters
Type | Name | Description |
---|---|---|
string | credentialsJson |
SetOAuthCrendtials(string, string)
Enable OAuth 2.0 authentication and extract the ClientId and ClientSecret from the supplied json.
Declaration
[Obsolete("SetOAuthCrendtials is deprecated, use SetOAuthCredentials instead. (UnityUpgrade) -> SetOAuthCredentials(*)")]
public void SetOAuthCrendtials(string clientId, string clientSecret)
Parameters
Type | Name | Description |
---|---|---|
string | clientId | |
string | clientSecret |