UNPKG

veritatisdoloremque

Version:
24 lines (15 loc) 1.08 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@firebase/auth-types](./auth-types.md) &gt; [AdditionalUserInfo](./auth-types.additionaluserinfo.md) ## AdditionalUserInfo interface A structure containing additional user information from a federated identity provider. <b>Signature:</b> ```typescript export interface AdditionalUserInfo ``` ## Properties | Property | Type | Description | | --- | --- | --- | | [isNewUser](./auth-types.additionaluserinfo.isnewuser.md) | boolean | Whether the user is new (created via sign-up) or existing (authenticated using sign-in). | | [profile](./auth-types.additionaluserinfo.profile.md) | Record&lt;string, unknown&gt; \| null | Map containing IDP-specific user data. | | [providerId](./auth-types.additionaluserinfo.providerid.md) | string \| null | Identifier for the provider used to authenticate this user. | | [username](./auth-types.additionaluserinfo.username.md) | string \| null | The username if the provider is GitHub or Twitter. |