| 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
)
Public Function GetAuthorizationUrl (
callback As String,
scopes As List(Of GoogleScope)
) As String
public:
String^ GetAuthorizationUrl(
String^ callback,
List<GoogleScope^>^ scopes
)
member GetAuthorizationUrl :
callback : string *
scopes : List<GoogleScope> -> string
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:
StringUrl you should redirect the user to.
See Also