PolyToolkit.PolyAuthConfig

Holds authentication configuration information.

Summary

Constructors and Destructors

PolyAuthConfig(string apiKey, string clientId, string clientSecret)
Creates a new PolyAuthConfig with the given settings.

Public attributes

additionalScopes
string[]
Additional scopes required by your project (separated by spaces).
apiKey
string
API key used to access the Poly API.
clientId
string
Your project's Client ID as supplied by Google Cloud Console.
clientSecret
string
Your project's client secret as supplied by Google Cloud Console.
serviceName
string
(For internal Poly Toolkit use only).

Public functions

ToString()
override string

Public attributes

additionalScopes

string[] PolyToolkit::PolyAuthConfig::additionalScopes

Additional scopes required by your project (separated by spaces).

apiKey

string PolyToolkit::PolyAuthConfig::apiKey

API key used to access the Poly API.

clientId

string PolyToolkit::PolyAuthConfig::clientId

Your project's Client ID as supplied by Google Cloud Console.

clientSecret

string PolyToolkit::PolyAuthConfig::clientSecret

Your project's client secret as supplied by Google Cloud Console.

serviceName

string PolyToolkit::PolyAuthConfig::serviceName

(For internal Poly Toolkit use only).

Leave this as null.

Public functions

PolyAuthConfig

 PolyToolkit::PolyAuthConfig::PolyAuthConfig(
  string apiKey,
  string clientId,
  string clientSecret
)

Creates a new PolyAuthConfig with the given settings.

ToString

override string PolyToolkit::PolyAuthConfig::ToString()