Google API Client Library for .NET  1.10.0
Public Attributes | Properties | List of all members
Google.Apis.Auth.OAuth2.JsonCredentialParameters Class Reference

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

Public Attributes

const string AuthorizedUserCredentialType = "authorized_user"
 UserCredential is created by the GCloud SDK tool when the user runs GCloud Auth Login. More...
 
const string ServiceAccountCredentialType = "service_account"
 ServiceAccountCredential is downloaded by the user from Google Developers Console. More...
 

Properties

string Type [get, set]
 Type of the credential. More...
 
string ClientId [get, set]
 Client Id associated with UserCredential created by GCloud Auth Login. More...
 
string ClientSecret [get, set]
 Client Secret associated with UserCredential created by GCloud Auth Login. More...
 
string ClientEmail [get, set]
 Client Email associated with ServiceAccountCredential obtained from Google Developers Console More...
 
string PrivateKey [get, set]
 Private Key associated with ServiceAccountCredential obtained from Google Developers Console. More...
 
string RefreshToken [get, set]
 Refresh Token associated with UserCredential created by GCloud Auth Login. More...
 

Detailed Description

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

Member Data Documentation

const string Google.Apis.Auth.OAuth2.JsonCredentialParameters.AuthorizedUserCredentialType = "authorized_user"

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

const string Google.Apis.Auth.OAuth2.JsonCredentialParameters.ServiceAccountCredentialType = "service_account"

ServiceAccountCredential is downloaded by the user from Google Developers Console.

Property Documentation

string Google.Apis.Auth.OAuth2.JsonCredentialParameters.ClientEmail
getset

Client Email associated with ServiceAccountCredential obtained from Google Developers Console

string Google.Apis.Auth.OAuth2.JsonCredentialParameters.ClientId
getset

Client Id associated with UserCredential created by GCloud Auth Login.

string Google.Apis.Auth.OAuth2.JsonCredentialParameters.ClientSecret
getset

Client Secret associated with UserCredential created by GCloud Auth Login.

string Google.Apis.Auth.OAuth2.JsonCredentialParameters.PrivateKey
getset

Private Key associated with ServiceAccountCredential obtained from Google Developers Console.

string Google.Apis.Auth.OAuth2.JsonCredentialParameters.RefreshToken
getset

Refresh Token associated with UserCredential created by GCloud Auth Login.

string Google.Apis.Auth.OAuth2.JsonCredentialParameters.Type
getset

Type of the credential.


The documentation for this class was generated from the following file: