GitHubClient.GetUserAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the authenticated user
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.GitHub.Models.UserDetailsModel> GetUserAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetUserAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.GitHub.Models.UserDetailsModel>
override this.GetUserAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.GitHub.Models.UserDetailsModel>
Public Overridable Function GetUserAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of UserDetailsModel)
Parameters
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Get the authenticated user response.
Remarks
Get the authenticated user.