| java.lang.Object | ||
| ↳ | com.google.firebase.auth.ProviderConfig.AbstractUpdateRequest<T extends com.google.firebase.auth.ProviderConfig.AbstractUpdateRequest<T>> | |
| ↳ | com.google.firebase.auth.SamlProviderConfig.UpdateRequest | |
A specification class for updating an existing SAML Auth provider.
An instance of this class can be obtained via a SamlProviderConfig 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 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
SamlProviderConfig.UpdateRequest(String providerId)
Creates a new
SamlProviderConfig.UpdateRequest, which can be used to updates an existing SAML Auth
provider. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| SamlProviderConfig.UpdateRequest |
addAllX509Certificates(Collection<String> x509Certificates)
Adds a collection of x509 certificates to the existing provider.
| ||||||||||
| SamlProviderConfig.UpdateRequest |
addX509Certificate(String x509Certificate)
Adds a x509 certificate to the existing provider.
| ||||||||||
| SamlProviderConfig.UpdateRequest |
setCallbackUrl(String callbackUrl)
Sets the callback URL for the exising provider.
| ||||||||||
| SamlProviderConfig.UpdateRequest |
setIdpEntityId(String idpEntityId)
Sets the IDP entity ID for the existing provider.
| ||||||||||
| SamlProviderConfig.UpdateRequest |
setRpEntityId(String rpEntityId)
Sets the RP entity ID for the existing provider.
| ||||||||||
| SamlProviderConfig.UpdateRequest |
setSsoUrl(String ssoUrl)
Sets the SSO URL for the existing provider.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.firebase.auth.ProviderConfig.AbstractUpdateRequest
| |||||||||||
From class
java.lang.Object
| |||||||||||
Creates a new SamlProviderConfig.UpdateRequest, which can be used to updates an existing SAML Auth
provider.
The returned object should be passed to
updateSamlProviderConfig(UpdateRequest) to update the provider
information persistently.
| providerId | a non-null, non-empty provider ID string. |
|---|
| IllegalArgumentException | If the provider ID is null or empty, or is not prefixed with 'saml.'. |
|---|
Adds a collection of x509 certificates to the existing provider.
| x509Certificates | A non-null, non-empty collection of x509 certificate strings. |
|---|
| IllegalArgumentException | If the collection is null or empty, or if any x509 certificates are null or empty. |
|---|
Adds a x509 certificate to the existing provider.
| x509Certificate | A non-null, non-empty x509 certificate string. |
|---|
| IllegalArgumentException | If the x509 certificate is null or empty. |
|---|
Sets the callback URL for the exising provider.
| callbackUrl | A non-null, non-empty callback URL string. |
|---|
| IllegalArgumentException | If the callback URL is null or empty, or if the format is invalid. |
|---|
Sets the IDP entity ID for the existing provider.
| idpEntityId | A non-null, non-empty IDP entity ID string. |
|---|
| IllegalArgumentException | If the IDP entity ID is null or empty. |
|---|
Sets the RP entity ID for the existing provider.
| rpEntityId | A non-null, non-empty RP entity ID string. |
|---|
| IllegalArgumentException | If the RP entity ID is null or empty. |
|---|
Sets the SSO URL for the existing provider.
| ssoUrl | A non-null, non-empty SSO URL string. |
|---|
| IllegalArgumentException | If the SSO URL is null or empty, or if the format is invalid. |
|---|