Class JsonCredentialParameters (1.55.0)

public class JsonCredentialParameters

Holder for credential parameters read from JSON credential file. Fields are union of parameters for all supported credential types.

Inheritance

Object > JsonCredentialParameters

Namespace

Google.Apis.Auth.OAuth2

Assembly

Google.Apis.Auth.dll

Fields

AuthorizedUserCredentialType

public const string AuthorizedUserCredentialType = "authorized_user"

UserCredential is created by the GCloud SDK tool when the user runs GCloud Auth Login.

Field Value
TypeDescription
String

ServiceAccountCredentialType

public const string ServiceAccountCredentialType = "service_account"

ServiceAccountCredential is downloaded by the user from Google Developers Console.

Field Value
TypeDescription
String

Properties

ClientEmail

public string ClientEmail { get; set; }

Client Email associated with ServiceAccountCredential obtained from Google Developers Console

Property Value
TypeDescription
String

ClientId

public string ClientId { get; set; }

Client Id associated with UserCredential created by GCloud Auth Login.

Property Value
TypeDescription
String

ClientSecret

public string ClientSecret { get; set; }

Client Secret associated with UserCredential created by GCloud Auth Login.

Property Value
TypeDescription
String

PrivateKey

public string PrivateKey { get; set; }

Private Key associated with ServiceAccountCredential obtained from Google Developers Console.

Property Value
TypeDescription
String

PrivateKeyId

public string PrivateKeyId { get; set; }

Private Key ID associated with ServiceAccountCredential obtained from Google Developers Console.

Property Value
TypeDescription
String

ProjectId

public string ProjectId { get; set; }

Project ID associated with this credential.

Property Value
TypeDescription
String

QuotaProject

public string QuotaProject { get; set; }

Project ID associated with this credential for the purposes of quota calculations and billing.

Property Value
TypeDescription
String

RefreshToken

public string RefreshToken { get; set; }

Refresh Token associated with UserCredential created by GCloud Auth Login.

Property Value
TypeDescription
String

Type

public string Type { get; set; }

Type of the credential.

Property Value
TypeDescription
String

Extension Method