OAuth2AuthenticationSettingsContract Class

  • java.lang.Object
    • com.azure.resourcemanager.apimanagement.models.OAuth2AuthenticationSettingsContract

public final class OAuth2AuthenticationSettingsContract

API OAuth2 Authentication settings details.

Constructor Summary

Constructor Description
OAuth2AuthenticationSettingsContract()

Creates an instance of OAuth2AuthenticationSettingsContract class.

Method Summary

Modifier and Type Method and Description
String authorizationServerId()

Get the authorizationServerId property: OAuth authorization server identifier.

String scope()

Get the scope property: operations scope.

void validate()

Validates the instance.

OAuth2AuthenticationSettingsContract withAuthorizationServerId(String authorizationServerId)

Set the authorizationServerId property: OAuth authorization server identifier.

OAuth2AuthenticationSettingsContract withScope(String scope)

Set the scope property: operations scope.

Methods inherited from java.lang.Object

Constructor Details

OAuth2AuthenticationSettingsContract

public OAuth2AuthenticationSettingsContract()

Creates an instance of OAuth2AuthenticationSettingsContract class.

Method Details

authorizationServerId

public String authorizationServerId()

Get the authorizationServerId property: OAuth authorization server identifier.

Returns:

the authorizationServerId value.

scope

public String scope()

Get the scope property: operations scope.

Returns:

the scope value.

validate

public void validate()

Validates the instance.

withAuthorizationServerId

public OAuth2AuthenticationSettingsContract withAuthorizationServerId(String authorizationServerId)

Set the authorizationServerId property: OAuth authorization server identifier.

Parameters:

authorizationServerId - the authorizationServerId value to set.

Returns:

the OAuth2AuthenticationSettingsContract object itself.

withScope

public OAuth2AuthenticationSettingsContract withScope(String scope)

Set the scope property: operations scope.

Parameters:

scope - the scope value to set.

Returns:

the OAuth2AuthenticationSettingsContract object itself.

Applies to