ProviderConfig.AbstractUpdateRequest
Stay organized with collections
Save and categorize content based on your preferences.
A base class for updating the attributes of an existing provider.
Public Method Summary
T
|
setDisplayName(String displayName)
Sets the display name for the existing provider.
|
T
|
setEnabled(boolean enabled)
Sets whether to allow the user to sign in with the provider.
|
Inherited Method Summary
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
Public Methods
public
T
setDisplayName
(String displayName)
Sets the display name for the existing provider.
Parameters
displayName |
A non-null, non-empty display name string. |
Throws
IllegalArgumentException |
If the display name is null or empty.
|
public
T
setEnabled
(boolean enabled)
Sets whether to allow the user to sign in with the provider.
Parameters
enabled |
A boolean indicating whether the user can sign in with the provider.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-04-28 UTC.
[null,null,["Last updated 2021-04-28 UTC."],[],[],null,["# ProviderConfig.AbstractUpdateRequest\n\npublic static abstract class **ProviderConfig.AbstractUpdateRequest** extends Object \n\n|---|---|---|\n| Known Direct Subclasses [OidcProviderConfig.UpdateRequest](/docs/reference/admin/java/reference/com/google/firebase/auth/OidcProviderConfig.UpdateRequest), [SamlProviderConfig.UpdateRequest](/docs/reference/admin/java/reference/com/google/firebase/auth/SamlProviderConfig.UpdateRequest) |------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------| | [OidcProviderConfig.UpdateRequest](/docs/reference/admin/java/reference/com/google/firebase/auth/OidcProviderConfig.UpdateRequest) | A specification class for updating an existing OIDC Auth provider. | | [SamlProviderConfig.UpdateRequest](/docs/reference/admin/java/reference/com/google/firebase/auth/SamlProviderConfig.UpdateRequest) | A specification class for updating an existing SAML Auth provider. | |||\n\nA base class for updating the attributes of an existing provider. \n\n### Public Method Summary\n\n|---|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| T | [setDisplayName](/docs/reference/admin/java/reference/com/google/firebase/auth/ProviderConfig.AbstractUpdateRequest#setDisplayName(java.lang.String))(String displayName) Sets the display name for the existing provider. |\n| T | [setEnabled](/docs/reference/admin/java/reference/com/google/firebase/auth/ProviderConfig.AbstractUpdateRequest#setEnabled(boolean))(boolean enabled) Sets whether to allow the user to sign in with the provider. |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| Object | clone() |\n| boolean | equals(Object arg0) |\n| void | finalize() |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods\n--------------\n\n#### public T\n**setDisplayName**\n(String displayName)\n\nSets the display name for the existing provider. \n\n##### Parameters\n\n| displayName | A non-null, non-empty display name string. |\n|-------------|--------------------------------------------|\n\n##### Throws\n\n| IllegalArgumentException | If the display name is null or empty. |\n|--------------------------|---------------------------------------|\n\n#### public T\n**setEnabled**\n(boolean enabled)\n\nSets whether to allow the user to sign in with the provider. \n\n##### Parameters\n\n| enabled | A boolean indicating whether the user can sign in with the provider. |\n|---------|----------------------------------------------------------------------|"]]