public final class Google extends Object
| Constructor and Description |
|---|
Google() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
enabled()
Get the enabled property: <code>false</code> if the Google 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 Google provider.
|
void |
validate()
Validates the instance.
|
AllowedAudiencesValidation |
validation()
Get the validation property: The configuration settings of the Azure Active Directory token validation flow.
|
Google |
withEnabled(Boolean enabled)
Set the enabled property: <code>false</code> if the Google provider should not be enabled despite the
set registration; otherwise, <code>true</code>.
|
Google |
withLogin(LoginScopes login)
Set the login property: The configuration settings of the login flow.
|
Google |
withRegistration(ClientRegistration registration)
Set the registration property: The configuration settings of the app registration for the Google provider.
|
Google |
withValidation(AllowedAudiencesValidation validation)
Set the validation property: The configuration settings of the Azure Active Directory token validation flow.
|
public Boolean enabled()
public Google withEnabled(Boolean enabled)
enabled - the enabled value to set.public ClientRegistration registration()
public Google withRegistration(ClientRegistration registration)
registration - the registration value to set.public LoginScopes login()
public Google withLogin(LoginScopes login)
login - the login value to set.public AllowedAudiencesValidation validation()
public Google withValidation(AllowedAudiencesValidation validation)
validation - the validation value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.