Home > @firebase/auth > unlink
unlink() function
Unlinks a provider from a user account.
Signature:
export declare function unlink(user: User, providerId: ProviderId): Promise<User>;
Parameters
Parameter | Type | Description |
---|---|---|
user | User | The user. |
providerId | ProviderId | The provider to unlink. |
Returns:
Promise<User>