GmailClientAuthorize Method
Authorizes this instance to use GMail API services.
Namespace: DevCase.ThirdParty.Google.GmailAssembly: DevCase.net48.ThirdParty.GoogleServices (in DevCase.net48.ThirdParty.GoogleServices.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public UserCredential Authorize()
Public Function Authorize As UserCredential
Dim instance As GmailClient
Dim returnValue As UserCredential
returnValue = instance.Authorize()
public:
UserCredential^ Authorize()
member Authorize : unit -> UserCredential
No code example is currently available or this language may not be supported.
Return Value
UserCredential
The resulting
UserCredential.
This is a code example.
No code example is currently available or this language may not be supported.
Dim client As New GmailClient("C:\GoogleSecrets.json", "yourmail@gmail.com", GmailScopes.ReadOnly Or GmailScopes.Modify Or GmailScopes.Send)
Dim credential As UserCredential = client.Authorize()
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.