auth/csharp/AuthServiceExtensions.cs
/// <summary>
/// get the configuration for a tenant
/// </summary>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
/// <param name='tenantId'>
/// The tenant id
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
get the configuration for a tenant
get the configuration for a tenant
public static async Task<TenantConfiguration> GetConfigurationAsync(this IAuthService operations, string tenantId, CancellationToken cancellationToken = default(CancellationToken))
            {
                using (var _result = await operations.GetConfigurationWithHttpMessagesAsync(tenantId, null, cancellationToken).ConfigureAwait(false))
                {
                    return _result.Body;
                }
            }
public static async Task < TenantConfiguration > GetConfigurationAsync ( this IAuthService operations , string tenantId , CancellationToken cancellationToken = default ( CancellationToken ) ) { using ( var _result = await operations . GetConfigurationWithHttpMessagesAsync ( tenantId , null , cancellationToken ) . ConfigureAwait ( false ) ) { return _result . Body ; } }
get the configuration for a tenant
get the configuration for a tenant
IAuthService
this
tenantId
string
The tenant id
The tenant id
cancellationToken
CancellationToken
The cancellation token.
The cancellation token .
operations
The operations group for this extension method.
The operations group for this extension method .