ApiManagementClient.AuthorizationServerCreate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- context
- PsApiManagementContext
- serverId
- String
- name
- String
- description
- String
- clientRegistrationPageUrl
- String
- authorizationEndpointUrl
- String
- tokenEndpointUrl
- String
- clientId
- String
- clientSecret
- String
- authorizationRequestMethods
- PsApiManagementAuthorizationRequestMethod[]
- grantTypes
- PsApiManagementGrantType[]
- clientAuthenticationMethods
- PsApiManagementClientAuthenticationMethod[]
- tokenBodyParameters
- Hashtable
- defaultScope
- String
- accessTokenSendingMethods
- PsApiManagementAccessTokenSendingMethod[]
- resourceOwnerUsername
- String
- resourceOwnerPassword
- String