Ejemplo n.º 1
0
 /// <summary>
 /// Gets specific identity provider.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.ApiManagement.IIdentityProviderOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the resource group.
 /// </param>
 /// <param name='serviceName'>
 /// Required. The name of the Api Management service.
 /// </param>
 /// <param name='identityProviderName'>
 /// Required. Identifier of the identity provider.
 /// </param>
 /// <returns>
 /// Get Identity Provider operation response details.
 /// </returns>
 public static Task <IdentityProviderGetResponse> GetAsync(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName, string identityProviderName)
 {
     return(operations.GetAsync(resourceGroupName, serviceName, identityProviderName, CancellationToken.None));
 }
 /// <summary>
 /// Gets the configuration details of the identity Provider configured in
 /// specified service instance.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='serviceName'>
 /// The name of the API Management service.
 /// </param>
 /// <param name='identityProviderName'>
 /// Identity Provider Type identifier. Possible values include: 'facebook',
 /// 'google', 'microsoft', 'twitter', 'aad', 'aadB2C'
 /// </param>
 public static IdentityProviderContract Get(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName, string identityProviderName)
 {
     return(operations.GetAsync(resourceGroupName, serviceName, identityProviderName).GetAwaiter().GetResult());
 }