GraphClient.LoginAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Graph.dll (version 7.0.9147)
LoginAsync(String)
Begins asynchronous Login operation. Authenticates the user to the Exchange Online (Microsoft 365) server using an OAuth access token. For detailed instructions on registering your app and obtaining the token, visit https://blog.rebex.net/oauth2-office365-rebex-mail (delegated mode) or https://blog.rebex.net/office365-graph-oauth-unattended (unattended mode).
Declaration
public Task LoginAsync(string token)
Parameters
Type | Name | Description |
---|---|---|
String | token | Access token. |
Returns
Type | Description |
---|---|
Task |