Index: Src/GoogleApis.Auth/OAuth2/IAuthorizationCodeFlow.cs =================================================================== --- a/Src/GoogleApis.Auth/OAuth2/IAuthorizationCodeFlow.cs +++ b/Src/GoogleApis.Auth/OAuth2/IAuthorizationCodeFlow.cs @@ -37,34 +37,35 @@ /// Gets the data store used to store the credentials. IDataStore DataStore { get; } - /// Loads the user's token using the flow's . + /// Asynchronously loads the user's token using the flow's . /// User identifier /// Cancellation token to cancel operation /// Token response - Task LoadToken(string userId, CancellationToken taskCancellationToken); + Task LoadTokenAsync(string userId, CancellationToken taskCancellationToken); - /// Deletes the user's token using the flow's . + /// Asynchronously deletes the user's token using the flow's . /// User identifier /// Cancellation token to cancel operation - Task DeleteToken(string userId, CancellationToken taskCancellationToken); + Task DeleteTokenAsync(string userId, CancellationToken taskCancellationToken); /// Creates an authorization code request with the specified redirect URI. AuthorizationCodeRequestUrl CreateAuthorizationCodeRequest(string redirectUri); - /// Exchanges code with a token. + /// Asynchronously exchanges code with a token. /// User identifier /// Authorization code received from the authorization server /// Redirect URI which is used in the token request /// Cancellation token to cancel operation /// Token response which contains the access token - Task ExchangeCodeForToken(string userId, string code, string redirectUri, + Task ExchangeCodeForTokenAsync(string userId, string code, string redirectUri, CancellationToken taskCancellationToken); - /// Refreshes an access token using a refresh token. + /// Asynchronously refreshes an access token using a refresh token. /// User identifier /// Refresh token which is used to get a new access token /// Cancellation token to cancel operation /// Token response which contains the access token and the input refresh token - Task RefreshToken(string userId, string refreshToken, CancellationToken taskCancellationToken); + Task RefreshTokenAsync(string userId, string refreshToken, + CancellationToken taskCancellationToken); } }