public final class OpenIdConnectLogin extends Object
| Constructor and Description |
|---|
OpenIdConnectLogin() |
| Modifier and Type | Method and Description |
|---|---|
String |
nameClaimType()
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.
|
void |
validate()
Validates the instance.
|
OpenIdConnectLogin |
withNameClaimType(String nameClaimType)
Set the nameClaimType property: The name of the claim that contains the users name.
|
OpenIdConnectLogin |
withScopes(List<String> scopes)
Set the scopes property: A list of the scopes that should be requested while authenticating.
|
public String nameClaimType()
public OpenIdConnectLogin withNameClaimType(String nameClaimType)
nameClaimType - the nameClaimType value to set.public List<String> scopes()
public OpenIdConnectLogin withScopes(List<String> scopes)
scopes - the scopes value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.