Bagikan melalui


AuthorizationServerContractBaseProperties Constructors

Definition

Overloads

AuthorizationServerContractBaseProperties()

Initializes a new instance of the AuthorizationServerContractBaseProperties class.

AuthorizationServerContractBaseProperties(String, IList<Nullable<AuthorizationMethod>>, IList<String>, IList<TokenBodyParameterContract>, String, Nullable<Boolean>, String, IList<String>, String, String)

Initializes a new instance of the AuthorizationServerContractBaseProperties class.

AuthorizationServerContractBaseProperties()

Initializes a new instance of the AuthorizationServerContractBaseProperties class.

public AuthorizationServerContractBaseProperties ();
Public Sub New ()

Applies to

AuthorizationServerContractBaseProperties(String, IList<Nullable<AuthorizationMethod>>, IList<String>, IList<TokenBodyParameterContract>, String, Nullable<Boolean>, String, IList<String>, String, String)

Initializes a new instance of the AuthorizationServerContractBaseProperties class.

public AuthorizationServerContractBaseProperties (string description = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.AuthorizationMethod?> authorizationMethods = default, System.Collections.Generic.IList<string> clientAuthenticationMethod = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.TokenBodyParameterContract> tokenBodyParameters = default, string tokenEndpoint = default, bool? supportState = default, string defaultScope = default, System.Collections.Generic.IList<string> bearerTokenSendingMethods = default, string resourceOwnerUsername = default, string resourceOwnerPassword = default);
new Microsoft.Azure.Management.ApiManagement.Models.AuthorizationServerContractBaseProperties : string * System.Collections.Generic.IList<Nullable<Microsoft.Azure.Management.ApiManagement.Models.AuthorizationMethod>> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.TokenBodyParameterContract> * string * Nullable<bool> * string * System.Collections.Generic.IList<string> * string * string -> Microsoft.Azure.Management.ApiManagement.Models.AuthorizationServerContractBaseProperties
Public Sub New (Optional description As String = Nothing, Optional authorizationMethods As IList(Of Nullable(Of AuthorizationMethod)) = Nothing, Optional clientAuthenticationMethod As IList(Of String) = Nothing, Optional tokenBodyParameters As IList(Of TokenBodyParameterContract) = Nothing, Optional tokenEndpoint As String = Nothing, Optional supportState As Nullable(Of Boolean) = Nothing, Optional defaultScope As String = Nothing, Optional bearerTokenSendingMethods As IList(Of String) = Nothing, Optional resourceOwnerUsername As String = Nothing, Optional resourceOwnerPassword As String = Nothing)

Parameters

description
String

Description of the authorization server. Can contain HTML formatting tags.

authorizationMethods
IList<Nullable<AuthorizationMethod>>

HTTP verbs supported by the authorization endpoint. GET must be always present. POST is optional.

clientAuthenticationMethod
IList<String>

Method of authentication supported by the token endpoint of this authorization server. Possible values are Basic and/or Body. When Body is specified, client credentials and other parameters are passed within the request body in the application/x-www-form-urlencoded format.

tokenBodyParameters
IList<TokenBodyParameterContract>

Additional parameters required by the token endpoint of this authorization server represented as an array of JSON objects with name and value string properties, i.e. {"name" : "name value", "value": "a value"}.

tokenEndpoint
String

OAuth token endpoint. Contains absolute URI to entity being referenced.

supportState
Nullable<Boolean>

If true, authorization server will include state parameter from the authorization request to its response. Client may use state parameter to raise protocol security.

defaultScope
String

Access token scope that is going to be requested by default. Can be overridden at the API level. Should be provided in the form of a string containing space-delimited values.

bearerTokenSendingMethods
IList<String>

Specifies the mechanism by which access token is passed to the API.

resourceOwnerUsername
String

Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username.

resourceOwnerPassword
String

Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password.

Applies to