Jump to top

UserCredential

interface

A structure containing a User, an AuthCredential, the operationType, and any additional user information that was returned from the identity provider. operationType could be 'signIn' for a sign-in operation, 'link' for a linking operation and 'reauthenticate' for a re-authentication operation.

TODO @salakar; missing credential, operationType

Properties

additionalUserInfo

</>

Any additional user information assigned to the user.

additionalUserInfo: AdditionalUserInfo;

credential

</>

The AuthCredential returned from the identity provider.

credential: AuthCredential | null;

user

</>

Returns the User interface of this credential.

user: User;