Click or drag to resize

GmailOAuthGetAuthorizationUrl(String, ListGoogleScope) Method

Gets url you should redirect your user to, in order for him to authorize IMAP access.

Namespace: Limilabs.Client.Authentication.Google
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public string GetAuthorizationUrl(
	string callback,
	List<GoogleScope> scopes
)

Parameters

callback  String
Callback address. Google will redirect user to this address after authorization. Your application needs to read the oauth_verifier url parameter.
scopes  ListGoogleScope
Scopes you request access to.

Return Value

String
Url you should redirect the user to.
See Also