Compartilhar via


ApiManagementClient.AuthorizationServerSet Method

Definition

public void AuthorizationServerSet (Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementContext context, string serverId, string name, string description, string clientRegistrationPageUrl, string authorizationEndpointUrl, string tokenEndpointUrl, string clientId, string clientSecret, Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementAuthorizationRequestMethod[] authorizationRequestMethods, Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGrantType[] grantTypes, Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementClientAuthenticationMethod[] clientAuthenticationMethods, System.Collections.Hashtable tokenBodyParameters, bool? supportState, string defaultScope, Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementAccessTokenSendingMethod[] accessTokenSendingMethods, string resourceOwnerUsername, string resourceOwnerPassword);
member this.AuthorizationServerSet : Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementContext * string * string * string * string * string * string * string * string * Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementAuthorizationRequestMethod[] * Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGrantType[] * Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementClientAuthenticationMethod[] * System.Collections.Hashtable * Nullable<bool> * string * Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementAccessTokenSendingMethod[] * string * string -> unit
Public Sub AuthorizationServerSet (context As PsApiManagementContext, serverId As String, name As String, description As String, clientRegistrationPageUrl As String, authorizationEndpointUrl As String, tokenEndpointUrl As String, clientId As String, clientSecret As String, authorizationRequestMethods As PsApiManagementAuthorizationRequestMethod(), grantTypes As PsApiManagementGrantType(), clientAuthenticationMethods As PsApiManagementClientAuthenticationMethod(), tokenBodyParameters As Hashtable, supportState As Nullable(Of Boolean), defaultScope As String, accessTokenSendingMethods As PsApiManagementAccessTokenSendingMethod(), resourceOwnerUsername As String, resourceOwnerPassword As String)

Parameters

serverId
String
name
String
description
String
clientRegistrationPageUrl
String
authorizationEndpointUrl
String
tokenEndpointUrl
String
clientId
String
clientSecret
String
authorizationRequestMethods
PsApiManagementAuthorizationRequestMethod[]
clientAuthenticationMethods
PsApiManagementClientAuthenticationMethod[]
tokenBodyParameters
Hashtable
supportState
Nullable<Boolean>
defaultScope
String
accessTokenSendingMethods
PsApiManagementAccessTokenSendingMethod[]
resourceOwnerUsername
String
resourceOwnerPassword
String

Applies to