LegacyMicrosoftAccount Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. LegacyMicrosoftAccount
- com.
Implements
public final class LegacyMicrosoftAccount
implements JsonSerializable<LegacyMicrosoftAccount>
The configuration settings of the legacy Microsoft Account provider.
Constructor Summary
Constructor | Description |
---|---|
LegacyMicrosoftAccount() |
Creates an instance of Legacy |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
enabled()
Get the enabled property: |
static
Legacy |
fromJson(JsonReader jsonReader)
Reads an instance of Legacy |
Login |
login()
Get the login property: The configuration settings of the login flow. |
Client |
registration()
Get the registration property: The configuration settings of the app registration for the legacy Microsoft Account provider. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Allowed |
validation()
Get the validation property: The configuration settings of the legacy Microsoft Account provider token validation flow. |
Legacy |
withEnabled(Boolean enabled)
Set the enabled property: |
Legacy |
withLogin(LoginScopes login)
Set the login property: The configuration settings of the login flow. |
Legacy |
withRegistration(ClientRegistration registration)
Set the registration property: The configuration settings of the app registration for the legacy Microsoft Account provider. |
Legacy |
withValidation(AllowedAudiencesValidation validation)
Set the validation property: The configuration settings of the legacy Microsoft Account provider token validation flow. |
Methods inherited from java.lang.Object
Constructor Details
LegacyMicrosoftAccount
public LegacyMicrosoftAccount()
Creates an instance of LegacyMicrosoftAccount class.
Method Details
enabled
public Boolean enabled()
Get the enabled property: false
if the legacy Microsoft Account provider should not be enabled despite the set registration; otherwise, true
.
Returns:
fromJson
public static LegacyMicrosoftAccount fromJson(JsonReader jsonReader)
Reads an instance of LegacyMicrosoftAccount from the JsonReader.
Parameters:
Returns:
Throws:
login
public LoginScopes login()
Get the login property: The configuration settings of the login flow.
Returns:
registration
public ClientRegistration registration()
Get the registration property: The configuration settings of the app registration for the legacy Microsoft Account provider.
Returns:
toJson
validate
public void validate()
Validates the instance.
validation
public AllowedAudiencesValidation validation()
Get the validation property: The configuration settings of the legacy Microsoft Account provider token validation flow.
Returns:
withEnabled
public LegacyMicrosoftAccount withEnabled(Boolean enabled)
Set the enabled property: false
if the legacy Microsoft Account provider should not be enabled despite the set registration; otherwise, true
.
Parameters:
Returns:
withLogin
public LegacyMicrosoftAccount withLogin(LoginScopes login)
Set the login property: The configuration settings of the login flow.
Parameters:
Returns:
withRegistration
public LegacyMicrosoftAccount withRegistration(ClientRegistration registration)
Set the registration property: The configuration settings of the app registration for the legacy Microsoft Account provider.
Parameters:
Returns:
withValidation
public LegacyMicrosoftAccount withValidation(AllowedAudiencesValidation validation)
Set the validation property: The configuration settings of the legacy Microsoft Account provider token validation flow.
Parameters:
Returns:
Applies to
Azure SDK for Java