/// <summary> /// Returns the security configuration for the client. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='client'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <AccountsConfiguration> GetRetrieveConfigurationAsync(this IAccounts operations, string client, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetRetrieveConfigurationWithHttpMessagesAsync(client, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }