ProviderConfig.AbstractCreateRequest

public static abstract class ProviderConfig.AbstractCreateRequest extends Object
Known Direct Subclasses

A base specification class for creating a new provider.

Set the initial attributes of the new provider by calling various setter methods available in this class.

Public Constructor Summary

Public Method Summary

T
setDisplayName(String displayName)
Sets the display name for the new provider.
T
setEnabled(boolean enabled)
Sets whether to allow the user to sign in with the provider.

Inherited Method Summary

Public Constructors

public AbstractCreateRequest ()

Public Methods

public T setDisplayName (String displayName)

Sets the display name for the new 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.