OAuth2AuthenticationSettingsContract Class
- java.
lang. Object - com.
azure. resourcemanager. apimanagement. models. OAuth2AuthenticationSettingsContract
- com.
public final class OAuth2AuthenticationSettingsContract
API OAuth2 Authentication settings details.
Constructor Summary
Constructor | Description |
---|---|
OAuth2AuthenticationSettingsContract() |
Creates an instance of OAuth2Authentication |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
authorizationServerId()
Get the authorization |
String |
scope()
Get the scope property: operations scope. |
void |
validate()
Validates the instance. |
OAuth2Authentication |
withAuthorizationServerId(String authorizationServerId)
Set the authorization |
OAuth2Authentication |
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:
scope
public String scope()
Get the scope property: operations scope.
Returns:
validate
public void validate()
Validates the instance.
withAuthorizationServerId
public OAuth2AuthenticationSettingsContract withAuthorizationServerId(String authorizationServerId)
Set the authorizationServerId property: OAuth authorization server identifier.
Parameters:
Returns:
withScope
public OAuth2AuthenticationSettingsContract withScope(String scope)
Set the scope property: operations scope.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for