Click or drag to resize

GmailOAuthGetAuthorizationUrl Method (String, ListGoogleScope)

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.23341.1754
Syntax
public string GetAuthorizationUrl(
	string callback,
	List<GoogleScope> scopes
)

Parameters

callback
Type: SystemString
Callback address. Google will redirect user to this address after authorization. Your application needs to read the oauth_verifier url parameter.
scopes
Type: System.Collections.GenericListGoogleScope
Scopes you request access to.

Return Value

Type: String
Url you should redirect the user to.
See Also