Class OpenIdAuthenticationSettingsContract
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.OpenIdAuthenticationSettingsContract
-
public final class OpenIdAuthenticationSettingsContract extends Object
API OAuth2 Authentication settings details.
-
-
Constructor Summary
Constructors Constructor Description OpenIdAuthenticationSettingsContract()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<BearerTokenSendingMethods>
bearerTokenSendingMethods()
Get the bearerTokenSendingMethods property: How to send token to the server.String
openidProviderId()
Get the openidProviderId property: OAuth authorization server identifier.void
validate()
Validates the instance.OpenIdAuthenticationSettingsContract
withBearerTokenSendingMethods(List<BearerTokenSendingMethods> bearerTokenSendingMethods)
Set the bearerTokenSendingMethods property: How to send token to the server.OpenIdAuthenticationSettingsContract
withOpenidProviderId(String openidProviderId)
Set the openidProviderId property: OAuth authorization server identifier.
-
-
-
Method Detail
-
openidProviderId
public String openidProviderId()
Get the openidProviderId property: OAuth authorization server identifier.- Returns:
- the openidProviderId value.
-
withOpenidProviderId
public OpenIdAuthenticationSettingsContract withOpenidProviderId(String openidProviderId)
Set the openidProviderId property: OAuth authorization server identifier.- Parameters:
openidProviderId
- the openidProviderId value to set.- Returns:
- the OpenIdAuthenticationSettingsContract object itself.
-
bearerTokenSendingMethods
public List<BearerTokenSendingMethods> bearerTokenSendingMethods()
Get the bearerTokenSendingMethods property: How to send token to the server.- Returns:
- the bearerTokenSendingMethods value.
-
withBearerTokenSendingMethods
public OpenIdAuthenticationSettingsContract withBearerTokenSendingMethods(List<BearerTokenSendingMethods> bearerTokenSendingMethods)
Set the bearerTokenSendingMethods property: How to send token to the server.- Parameters:
bearerTokenSendingMethods
- the bearerTokenSendingMethods value to set.- Returns:
- the OpenIdAuthenticationSettingsContract object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-