Click or drag to resize

GmailOAuth.GetAuthorizationUrl Method (String, List<GoogleScope>)

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: System.String
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.Generic.List<GoogleScope>
Scopes you request access to.

Return Value

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