| java.lang.Object | ||
| ↳ | com.google.firebase.auth.ProviderConfig.AbstractCreateRequest<T extends com.google.firebase.auth.ProviderConfig.AbstractCreateRequest<T>> | |
| ↳ | com.google.firebase.auth.OidcProviderConfig.CreateRequest | |
A specification class for creating a new OIDC Auth provider.
Set the initial attributes of the new provider by calling various setter methods available in this class.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
OidcProviderConfig.CreateRequest()
Creates a new
OidcProviderConfig.CreateRequest, which can be used to create a new OIDC Auth provider. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| OidcProviderConfig.CreateRequest |
setClientId(String clientId)
Sets the client ID for the new provider.
| ||||||||||
| OidcProviderConfig.CreateRequest |
setIssuer(String issuer)
Sets the issuer for the new provider.
| ||||||||||
| OidcProviderConfig.CreateRequest |
setProviderId(String providerId)
Sets the ID for the new provider.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.firebase.auth.ProviderConfig.AbstractCreateRequest
| |||||||||||
From class
java.lang.Object
| |||||||||||
Creates a new OidcProviderConfig.CreateRequest, which can be used to create a new OIDC Auth provider.
The returned object should be passed to
createOidcProviderConfig(CreateRequest) to save the config.
Sets the client ID for the new provider.
| clientId | A non-null, non-empty client ID string. |
|---|
| IllegalArgumentException | If the client ID is null or empty. |
|---|
Sets the issuer for the new 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. |
|---|
Sets the ID for the new provider.
| providerId | A non-null, non-empty provider ID string. |
|---|
| IllegalArgumentException | If the provider ID is null or empty, or is not prefixed with 'oidc.'. |
|---|