AuthorizationServerUpdateContract Class
- java.
lang. Object - com.
microsoft. azure. ProxyResource - com.
microsoft. azure. management. apimanagement. v2019_01_01.AuthorizationServerUpdateContract
- com.
- com.
public class AuthorizationServerUpdateContract
extends com.microsoft.azure.ProxyResource
External OAuth authorization server settings.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| AuthorizationServerUpdateContract() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
authorizationEndpoint()
Get o |
|
java.util.List<Authorization |
authorizationMethods()
Get hTTP verbs supported by the authorization endpoint. |
|
java.util.List<Bearer |
bearerTokenSendingMethods()
Get specifies the mechanism by which access token is passed to the API. |
|
java.util.List<Client |
clientAuthenticationMethod()
Get method of authentication supported by the token endpoint of this authorization server. |
| java.lang.String |
clientId()
Get client or app id registered with this authorization server. |
| java.lang.String |
clientRegistrationEndpoint()
Get optional reference to a page where client or app registration for this authorization server is performed. |
| java.lang.String |
clientSecret()
Get client or app secret registered with this authorization server. |
| java.lang.String |
defaultScope()
Get access token scope that is going to be requested by default. |
| java.lang.String |
description()
Get description of the authorization server. |
| java.lang.String |
displayName()
Get user-friendly authorization server name. |
|
java.util.List<Grant |
grantTypes()
Get form of an authorization grant, which the client uses to request the access token. |
| java.lang.String |
resourceOwnerPassword()
Get can be optionally specified when resource owner password grant type is supported by this authorization server. |
| java.lang.String |
resourceOwnerUsername()
Get can be optionally specified when resource owner password grant type is supported by this authorization server. |
| java.lang.Boolean |
supportState()
Get if true, authorization server will include state parameter from the authorization request to its response. |
|
java.util.List<Token |
tokenBodyParameters()
Get 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. |
| java.lang.String |
tokenEndpoint()
Get o |
|
Authorization |
withAuthorizationEndpoint(String authorizationEndpoint)
Set o |
|
Authorization |
withAuthorizationMethods(List<AuthorizationMethod> authorizationMethods)
Set hTTP verbs supported by the authorization endpoint. |
|
Authorization |
withBearerTokenSendingMethods(List<BearerTokenSendingMethod> bearerTokenSendingMethods)
Set specifies the mechanism by which access token is passed to the API. |
|
Authorization |
withClientAuthenticationMethod(List<ClientAuthenticationMethod> clientAuthenticationMethod)
Set method of authentication supported by the token endpoint of this authorization server. |
|
Authorization |
withClientId(String clientId)
Set client or app id registered with this authorization server. |
|
Authorization |
withClientRegistrationEndpoint(String clientRegistrationEndpoint)
Set optional reference to a page where client or app registration for this authorization server is performed. |
|
Authorization |
withClientSecret(String clientSecret)
Set client or app secret registered with this authorization server. |
|
Authorization |
withDefaultScope(String defaultScope)
Set access token scope that is going to be requested by default. |
|
Authorization |
withDescription(String description)
Set description of the authorization server. |
|
Authorization |
withDisplayName(String displayName)
Set user-friendly authorization server name. |
|
Authorization |
withGrantTypes(List<GrantType> grantTypes)
Set form of an authorization grant, which the client uses to request the access token. |
|
Authorization |
withResourceOwnerPassword(String resourceOwnerPassword)
Set can be optionally specified when resource owner password grant type is supported by this authorization server. |
|
Authorization |
withResourceOwnerUsername(String resourceOwnerUsername)
Set can be optionally specified when resource owner password grant type is supported by this authorization server. |
|
Authorization |
withSupportState(Boolean supportState)
Set if true, authorization server will include state parameter from the authorization request to its response. |
|
Authorization |
withTokenBodyParameters(List<TokenBodyParameterContract> tokenBodyParameters)
Set 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. |
|
Authorization |
withTokenEndpoint(String tokenEndpoint)
Set o |
Methods inherited from com.microsoft.azure.ProxyResource
Methods inherited from java.lang.Object
Constructor Details
AuthorizationServerUpdateContract
public AuthorizationServerUpdateContract()
Method Details
authorizationEndpoint
public String authorizationEndpoint()
Get oAuth authorization endpoint. See http://tools.ietf.org/html/rfc6749\#section-3.2.
Returns:
authorizationMethods
public List<AuthorizationMethod> authorizationMethods()
Get hTTP verbs supported by the authorization endpoint. GET must be always present. POST is optional.
Returns:
bearerTokenSendingMethods
public List<BearerTokenSendingMethod> bearerTokenSendingMethods()
Get specifies the mechanism by which access token is passed to the API.
Returns:
clientAuthenticationMethod
public List<ClientAuthenticationMethod> clientAuthenticationMethod()
Get 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.
Returns:
clientId
public String clientId()
Get client or app id registered with this authorization server.
Returns:
clientRegistrationEndpoint
public String clientRegistrationEndpoint()
Get optional reference to a page where client or app registration for this authorization server is performed. Contains absolute URL to entity being referenced.
Returns:
clientSecret
public String clientSecret()
Get client or app secret registered with this authorization server.
Returns:
defaultScope
public String defaultScope()
Get 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.
Returns:
description
public String description()
Get description of the authorization server. Can contain HTML formatting tags.
Returns:
displayName
public String displayName()
Get user-friendly authorization server name.
Returns:
grantTypes
public List<GrantType> grantTypes()
Get form of an authorization grant, which the client uses to request the access token.
Returns:
resourceOwnerPassword
public String resourceOwnerPassword()
Get can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password.
Returns:
resourceOwnerUsername
public String resourceOwnerUsername()
Get can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username.
Returns:
supportState
public Boolean supportState()
Get if true, authorization server will include state parameter from the authorization request to its response. Client may use state parameter to raise protocol security.
Returns:
tokenBodyParameters
public List<TokenBodyParameterContract> tokenBodyParameters()
Get 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"}.
Returns:
tokenEndpoint
public String tokenEndpoint()
Get oAuth token endpoint. Contains absolute URI to entity being referenced.
Returns:
withAuthorizationEndpoint
public AuthorizationServerUpdateContract withAuthorizationEndpoint(String authorizationEndpoint)
Set oAuth authorization endpoint. See http://tools.ietf.org/html/rfc6749\#section-3.2.
Parameters:
Returns:
withAuthorizationMethods
public AuthorizationServerUpdateContract withAuthorizationMethods(List<AuthorizationMethod> authorizationMethods)
Set hTTP verbs supported by the authorization endpoint. GET must be always present. POST is optional.
Parameters:
Returns:
withBearerTokenSendingMethods
public AuthorizationServerUpdateContract withBearerTokenSendingMethods(List<BearerTokenSendingMethod> bearerTokenSendingMethods)
Set specifies the mechanism by which access token is passed to the API.
Parameters:
Returns:
withClientAuthenticationMethod
public AuthorizationServerUpdateContract withClientAuthenticationMethod(List<ClientAuthenticationMethod> clientAuthenticationMethod)
Set 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.
Parameters:
Returns:
withClientId
public AuthorizationServerUpdateContract withClientId(String clientId)
Set client or app id registered with this authorization server.
Parameters:
Returns:
withClientRegistrationEndpoint
public AuthorizationServerUpdateContract withClientRegistrationEndpoint(String clientRegistrationEndpoint)
Set optional reference to a page where client or app registration for this authorization server is performed. Contains absolute URL to entity being referenced.
Parameters:
Returns:
withClientSecret
public AuthorizationServerUpdateContract withClientSecret(String clientSecret)
Set client or app secret registered with this authorization server.
Parameters:
Returns:
withDefaultScope
public AuthorizationServerUpdateContract withDefaultScope(String defaultScope)
Set 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.
Parameters:
Returns:
withDescription
public AuthorizationServerUpdateContract withDescription(String description)
Set description of the authorization server. Can contain HTML formatting tags.
Parameters:
Returns:
withDisplayName
public AuthorizationServerUpdateContract withDisplayName(String displayName)
Set user-friendly authorization server name.
Parameters:
Returns:
withGrantTypes
public AuthorizationServerUpdateContract withGrantTypes(List<GrantType> grantTypes)
Set form of an authorization grant, which the client uses to request the access token.
Parameters:
Returns:
withResourceOwnerPassword
public AuthorizationServerUpdateContract withResourceOwnerPassword(String resourceOwnerPassword)
Set can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password.
Parameters:
Returns:
withResourceOwnerUsername
public AuthorizationServerUpdateContract withResourceOwnerUsername(String resourceOwnerUsername)
Set can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username.
Parameters:
Returns:
withSupportState
public AuthorizationServerUpdateContract withSupportState(Boolean supportState)
Set if true, authorization server will include state parameter from the authorization request to its response. Client may use state parameter to raise protocol security.
Parameters:
Returns:
withTokenBodyParameters
public AuthorizationServerUpdateContract withTokenBodyParameters(List<TokenBodyParameterContract> tokenBodyParameters)
Set 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"}.
Parameters:
Returns:
withTokenEndpoint
public AuthorizationServerUpdateContract withTokenEndpoint(String tokenEndpoint)
Set oAuth token endpoint. Contains absolute URI to entity being referenced.
Parameters:
Returns: