Compartilhar via


ApiManagementClient.AuthorizationServerCreate Method

Definition

public Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthorizationServer AuthorizationServerCreate (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);
public Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer AuthorizationServerCreate (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.AuthorizationServerCreate : 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 -> Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthorizationServer
member this.AuthorizationServerCreate : 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 -> Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer
Public Function AuthorizationServerCreate (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) As PsApiManagementOAuth2AuthorizationServer
Public Function AuthorizationServerCreate (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) As PsApiManagementOAuth2AuthrozationServer

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

Returns

Applies to