public static final class

OidcProviderConfig.UpdateRequest

extends ProviderConfig.AbstractUpdateRequest<T extends AbstractUpdateRequest<T>>
java.lang.Object
   ↳ com.google.firebase.auth.ProviderConfig.AbstractUpdateRequest<T extends com.google.firebase.auth.ProviderConfig.AbstractUpdateRequest<T>>
     ↳ com.google.firebase.auth.OidcProviderConfig.UpdateRequest

Class Overview

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.

Summary

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

Public Constructors

public OidcProviderConfig.UpdateRequest (String providerId)

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.

Parameters
providerId A non-null, non-empty provider ID string.
Throws
IllegalArgumentException If the provider ID is null or empty, or is not prefixed with "oidc.".

Public Methods

public OidcProviderConfig.UpdateRequest setClientId (String clientId)

Sets the client ID for the exsting provider.

Parameters
clientId A non-null, non-empty client ID string.
Throws
IllegalArgumentException If the client ID is null or empty.

public OidcProviderConfig.UpdateRequest setIssuer (String issuer)

Sets the issuer for the existing provider.

Parameters
issuer A non-null, non-empty issuer URL string.
Throws
IllegalArgumentException If the issuer URL is null or empty, or if the format is invalid.