Class OpenIdConnectLogin
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.OpenIdConnectLogin
-
public final class OpenIdConnectLogin extends Object
The configuration settings of the login flow of the custom Open ID Connect provider.
-
-
Constructor Summary
Constructors Constructor Description OpenIdConnectLogin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringnameClaimType()Get the nameClaimType property: The name of the claim that contains the users name.List<String>scopes()Get the scopes property: A list of the scopes that should be requested while authenticating.voidvalidate()Validates the instance.OpenIdConnectLoginwithNameClaimType(String nameClaimType)Set the nameClaimType property: The name of the claim that contains the users name.OpenIdConnectLoginwithScopes(List<String> scopes)Set the scopes property: A list of the scopes that should be requested while authenticating.
-
-
-
Method Detail
-
nameClaimType
public String nameClaimType()
Get the nameClaimType property: The name of the claim that contains the users name.- Returns:
- the nameClaimType value.
-
withNameClaimType
public OpenIdConnectLogin withNameClaimType(String nameClaimType)
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
public List<String> scopes()
Get the scopes property: A list of the scopes that should be requested while authenticating.- Returns:
- the scopes value.
-
withScopes
public OpenIdConnectLogin withScopes(List<String> scopes)
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.
-
-