GetAuthorizationServerResult

data class GetAuthorizationServerResult(val authorizationEndpoint: String, val authorizationMethods: List<String>? = null, val azureApiVersion: String, val bearerTokenSendingMethods: List<String>? = null, val clientAuthenticationMethod: List<String>? = null, val clientId: String, val clientRegistrationEndpoint: String, val clientSecret: String? = null, val defaultScope: String? = null, val description: String? = null, val displayName: String, val grantTypes: List<String>, val id: String, val name: String, val resourceOwnerPassword: String? = null, val resourceOwnerUsername: String? = null, val supportState: Boolean? = null, val tokenBodyParameters: List<TokenBodyParameterContractResponse>? = null, val tokenEndpoint: String? = null, val type: String, val useInApiDocumentation: Boolean? = null, val useInTestConsole: Boolean? = null)

External OAuth authorization server settings.

Constructors

Link copied to clipboard
constructor(authorizationEndpoint: String, authorizationMethods: List<String>? = null, azureApiVersion: String, bearerTokenSendingMethods: List<String>? = null, clientAuthenticationMethod: List<String>? = null, clientId: String, clientRegistrationEndpoint: String, clientSecret: String? = null, defaultScope: String? = null, description: String? = null, displayName: String, grantTypes: List<String>, id: String, name: String, resourceOwnerPassword: String? = null, resourceOwnerUsername: String? = null, supportState: Boolean? = null, tokenBodyParameters: List<TokenBodyParameterContractResponse>? = null, tokenEndpoint: String? = null, type: String, useInApiDocumentation: Boolean? = null, useInTestConsole: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

Client or app id registered with this authorization server.

Link copied to clipboard

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

Link copied to clipboard
val clientSecret: String? = null

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.

Link copied to clipboard
val defaultScope: String? = null

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.

Link copied to clipboard
val description: String? = null

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

Link copied to clipboard

User-friendly authorization server name.

Link copied to clipboard

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

Link copied to clipboard
val id: String

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

Link copied to clipboard

The name of the resource

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
val supportState: Boolean? = null

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

Link copied to clipboard

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"}.

Link copied to clipboard
val tokenEndpoint: String? = null

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

Link copied to clipboard

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

Link copied to clipboard

If true, the authorization server will be used in the API documentation in the developer portal. False by default if no value is provided.

Link copied to clipboard

If true, the authorization server may be used in the developer portal test console. True by default if no value is provided.