C# 클래스 ServiceAccountExample, code

파일 보기 프로젝트 열기: shendongnian/code 1 사용 예제들

공개 메소드들

메소드 설명
AuthenticateServiceAccount ( string serviceAccountEmail, string serviceAccountCredentialFilePath, Array scopes ) : GmailService

Authenticating to Google using a Service account Documentation: https://developers.google.com/accounts/docs/OAuth2#serviceaccount

AuthenticateServiceAccount ( string serviceAccountEmail, string serviceAccountCredentialFilePath, Array scopes, string email ) : GmailService

Authenticating to Google using a Service account Documentation: https://developers.google.com/accounts/docs/OAuth2#serviceaccount

메소드 상세

AuthenticateServiceAccount() 공개 정적인 메소드

Authenticating to Google using a Service account Documentation: https://developers.google.com/accounts/docs/OAuth2#serviceaccount
public static AuthenticateServiceAccount ( string serviceAccountEmail, string serviceAccountCredentialFilePath, Array scopes ) : GmailService
serviceAccountEmail string From Google Developer console https://console.developers.google.com
serviceAccountCredentialFilePath string Location of the .p12 or Json Service account key file downloaded from Google Developer console https://console.developers.google.com
scopes Array
리턴 GmailService

AuthenticateServiceAccount() 공개 정적인 메소드

Authenticating to Google using a Service account Documentation: https://developers.google.com/accounts/docs/OAuth2#serviceaccount
public static AuthenticateServiceAccount ( string serviceAccountEmail, string serviceAccountCredentialFilePath, Array scopes, string email ) : GmailService
serviceAccountEmail string From Google Developer console https://console.developers.google.com
serviceAccountCredentialFilePath string Location of the .p12 or Json Service account key file downloaded from Google Developer console https://console.developers.google.com
scopes Array
email string
리턴 GmailService