public final class LegacyMicrosoftAccount extends Object
| Constructor and Description |
|---|
LegacyMicrosoftAccount() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
enabled()
Get the enabled property: <code>false</code> if the legacy Microsoft Account provider should not be
enabled despite the set registration; otherwise, <code>true</code>.
|
LoginScopes |
login()
Get the login property: The configuration settings of the login flow.
|
ClientRegistration |
registration()
Get the registration property: The configuration settings of the app registration for the legacy Microsoft
Account provider.
|
void |
validate()
Validates the instance.
|
AllowedAudiencesValidation |
validation()
Get the validation property: The configuration settings of the legacy Microsoft Account provider token validation
flow.
|
LegacyMicrosoftAccount |
withEnabled(Boolean enabled)
Set the enabled property: <code>false</code> if the legacy Microsoft Account provider should not be
enabled despite the set registration; otherwise, <code>true</code>.
|
LegacyMicrosoftAccount |
withLogin(LoginScopes login)
Set the login property: The configuration settings of the login flow.
|
LegacyMicrosoftAccount |
withRegistration(ClientRegistration registration)
Set the registration property: The configuration settings of the app registration for the legacy Microsoft
Account provider.
|
LegacyMicrosoftAccount |
withValidation(AllowedAudiencesValidation validation)
Set the validation property: The configuration settings of the legacy Microsoft Account provider token validation
flow.
|
public Boolean enabled()
public LegacyMicrosoftAccount withEnabled(Boolean enabled)
enabled - the enabled value to set.public ClientRegistration registration()
public LegacyMicrosoftAccount withRegistration(ClientRegistration registration)
registration - the registration value to set.public LoginScopes login()
public LegacyMicrosoftAccount withLogin(LoginScopes login)
login - the login value to set.public AllowedAudiencesValidation validation()
public LegacyMicrosoftAccount withValidation(AllowedAudiencesValidation validation)
validation - the validation 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.