C# 클래스 GoogleCloudExtension.OAuth.OAuthManager

This is a rather small class that takes care of the OAUTH 2.0 protocol to get at the refresh token for a user.
파일 보기 프로젝트 열기: GoogleCloudPlatform/google-cloud-visualstudio

공개 메소드들

메소드 설명
EndOAuthFlow ( OAuthCredentials credentials, string redirectUrl, string accessCode ) : Task

Returns the refresh code given the credentials and the accessCode.

GetInitialOAuthUrl ( OAuthCredentials credentials, string redirectUrl, IEnumerable scopes ) : string

Returns the URL to use to start the OAUTH login flow.

비공개 메소드들

메소드 설명
ToQueryString ( string>.IDictionary form ) : string

메소드 상세

EndOAuthFlow() 공개 정적인 메소드

Returns the refresh code given the credentials and the accessCode.
public static EndOAuthFlow ( OAuthCredentials credentials, string redirectUrl, string accessCode ) : Task
credentials OAuthCredentials The oauth credentials.
redirectUrl string
accessCode string The access code returned from the login flow.
리턴 Task

GetInitialOAuthUrl() 공개 정적인 메소드

Returns the URL to use to start the OAUTH login flow.
public static GetInitialOAuthUrl ( OAuthCredentials credentials, string redirectUrl, IEnumerable scopes ) : string
credentials OAuthCredentials
redirectUrl string
scopes IEnumerable
리턴 string