| java.lang.Object | ||
| ↳ | com.google.firebase.auth.ProviderConfig.AbstractUpdateRequest<T extends com.google.firebase.auth.ProviderConfig.AbstractUpdateRequest<T>> | |
| ↳ | com.google.firebase.auth.OidcProviderConfig.UpdateRequest | |
A specification class for updating an existing OIDC Auth provider.
An instance of this class can be obtained via a OidcProviderConfig object, or from
a provider ID string. Specify the changes to be made to the provider config by calling the
various setter methods available in this class.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
OidcProviderConfig.UpdateRequest(String providerId)
Creates a new
OidcProviderConfig.UpdateRequest, which can be used to updates an existing OIDC Auth
provider. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| OidcProviderConfig.UpdateRequest |
setClientId(String clientId)
Sets the client ID for the exsting provider.
| ||||||||||
| OidcProviderConfig.UpdateRequest |
setIssuer(String issuer)
Sets the issuer for the existing provider.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.firebase.auth.ProviderConfig.AbstractUpdateRequest
| |||||||||||
From class
java.lang.Object
| |||||||||||
Creates a new OidcProviderConfig.UpdateRequest, which can be used to updates an existing OIDC Auth
provider.
The returned object should be passed to
updateOidcProviderConfig(UpdateRequest) to save the updated
config.
| providerId | A non-null, non-empty provider ID string. |
|---|
| IllegalArgumentException | If the provider ID is null or empty, or is not prefixed with "oidc.". |
|---|
Sets the client ID for the exsting provider.
| clientId | A non-null, non-empty client ID string. |
|---|
| IllegalArgumentException | If the client ID is null or empty. |
|---|
Sets the issuer for the existing provider.
| issuer | A non-null, non-empty issuer URL string. |
|---|
| IllegalArgumentException | If the issuer URL is null or empty, or if the format is invalid. |
|---|