UserCredential interface

ユーザーを含む構造体OperationType 、およびプロバイダー ID。

operationType OperationTypeである可能性がありますサインイン操作の場合は .SIGN_IN、 OperationTypeリンク操作の .LINK とOperationType .REAUTHENTICATE 再認証操作の場合。

サイン:

export interface UserCredential 

プロパティ

財産タイプ説明
操作タイプ( OperationTypeMapのタイプ)[ OperationTypeMapのタイプのキーユーザーの認証に使用された操作のタイプ (サインインやリンクなど)。
プロバイダーID文字列 |ヌルユーザーの認証に使用されたプロバイダー。
ユーザーユーザーこの資格情報によって認証されたユーザー。

UserCredential.operationType

ユーザーの認証に使用された操作のタイプ (サインインやリンクなど)。

サイン:

operationType: (typeof OperationTypeMap)[keyof typeof OperationTypeMap];

UserCredential.providerId

ユーザーの認証に使用されたプロバイダー。

サイン:

providerId: string | null;

UserCredential.user

この資格情報によって認証されたユーザー。

サイン:

user: User;