AuthorizationServerUpdateContract Constructors

Definition

Overloads

AuthorizationServerUpdateContract()

Initializes a new instance of the AuthorizationServerUpdateContract class.

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

Initializes a new instance of the AuthorizationServerUpdateContract class.

AuthorizationServerUpdateContract()

Initializes a new instance of the AuthorizationServerUpdateContract class.

public AuthorizationServerUpdateContract ();
Public Sub New ()

Applies to

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

Initializes a new instance of the AuthorizationServerUpdateContract class.

public AuthorizationServerUpdateContract (string id = default, string name = default, string type = default, 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, string displayName = default, string clientRegistrationEndpoint = default, string authorizationEndpoint = default, System.Collections.Generic.IList<string> grantTypes = default, string clientId = default, string clientSecret = default);
new Microsoft.Azure.Management.ApiManagement.Models.AuthorizationServerUpdateContract : string * string * string * 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 * string * string * string * System.Collections.Generic.IList<string> * string * string -> Microsoft.Azure.Management.ApiManagement.Models.AuthorizationServerUpdateContract
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, 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, Optional displayName As String = Nothing, Optional clientRegistrationEndpoint As String = Nothing, Optional authorizationEndpoint As String = Nothing, Optional grantTypes As IList(Of String) = Nothing, Optional clientId As String = Nothing, Optional clientSecret As String = Nothing)

Parameters

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

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.

displayName
String

User-friendly authorization server name.

clientRegistrationEndpoint
String

Optional reference to a page where client or app registration for this authorization server is performed. Contains absolute URL to entity being referenced.

authorizationEndpoint
String

OAuth authorization endpoint. See http://tools.ietf.org/html/rfc6749#section-3.2.

grantTypes
IList<String>

Form of an authorization grant, which the client uses to request the access token.

clientId
String

Client or app id registered with this authorization server.

clientSecret
String

Client or app secret registered with this authorization server. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.

Applies to