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