Share via


OAuth2AuthenticationSettingsContract Class

  • java.lang.Object
    • com.microsoft.azure.management.apimanagement.v2019_01_01.OAuth2AuthenticationSettingsContract

public class OAuth2AuthenticationSettingsContract

API OAuth2 Authentication settings details.

Constructor Summary

Constructor Description
OAuth2AuthenticationSettingsContract()

Method Summary

Modifier and Type Method and Description
java.lang.String authorizationServerId()

Get oAuth authorization server identifier.

java.lang.String scope()

Get operations scope.

OAuth2AuthenticationSettingsContract withAuthorizationServerId(String authorizationServerId)

Set oAuth authorization server identifier.

OAuth2AuthenticationSettingsContract withScope(String scope)

Set operations scope.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

OAuth2AuthenticationSettingsContract

public OAuth2AuthenticationSettingsContract()

Method Details

authorizationServerId

public String authorizationServerId()

Get oAuth authorization server identifier.

Returns:

the authorizationServerId value

scope

public String scope()

Get operations scope.

Returns:

the scope value

withAuthorizationServerId

public OAuth2AuthenticationSettingsContract withAuthorizationServerId(String authorizationServerId)

Set oAuth authorization server identifier.

Parameters:

authorizationServerId - the authorizationServerId value to set

Returns:

the OAuth2AuthenticationSettingsContract object itself.

withScope

public OAuth2AuthenticationSettingsContract withScope(String scope)

Set operations scope.

Parameters:

scope - the scope value to set

Returns:

the OAuth2AuthenticationSettingsContract object itself.

Applies to