Class OpenIdConnectLogin
java.lang.Object
com.azure.resourcemanager.appservice.models.OpenIdConnectLogin
The configuration settings of the login flow of the custom Open ID Connect provider.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the nameClaimType property: The name of the claim that contains the users name.scopes()
Get the scopes property: A list of the scopes that should be requested while authenticating.void
validate()
Validates the instance.withNameClaimType
(String nameClaimType) Set the nameClaimType property: The name of the claim that contains the users name.withScopes
(List<String> scopes) Set the scopes property: A list of the scopes that should be requested while authenticating.
-
Constructor Details
-
OpenIdConnectLogin
public OpenIdConnectLogin()
-
-
Method Details
-
nameClaimType
Get the nameClaimType property: The name of the claim that contains the users name.- Returns:
- the nameClaimType value.
-
withNameClaimType
Set the nameClaimType property: The name of the claim that contains the users name.- Parameters:
nameClaimType
- the nameClaimType value to set.- Returns:
- the OpenIdConnectLogin object itself.
-
scopes
Get the scopes property: A list of the scopes that should be requested while authenticating.- Returns:
- the scopes value.
-
withScopes
Set the scopes property: A list of the scopes that should be requested while authenticating.- Parameters:
scopes
- the scopes value to set.- Returns:
- the OpenIdConnectLogin object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-