コンテンツへスキップ
NextAuth.js v4 からの移行ですか? 移行ガイドをご覧ください.

エンティティ

AccountEntity

コンストラクター

new AccountEntity(undefined)

new AccountEntity(): AccountEntity
戻り値

AccountEntity

プロパティ

access_token

access_token: null | string;

expires_at

expires_at: null | number;

id

id: string;

id_token

id_token: null | string;

provider

provider: string;

providerAccountId

providerAccountId: string;

refresh_token

refresh_token: null | string;

scope

scope: null | string;

session_state

session_state: null | string;

token_type

token_type: null | string;

type

type: string;

user

user: UserEntity;

userId

userId: string;

SessionEntity

コンストラクター

new SessionEntity(undefined)

new SessionEntity(): SessionEntity
戻り値

SessionEntity

プロパティ

expires

expires: string;

id

id: string;

sessionToken

sessionToken: string;

user

user: UserEntity;

userId

userId: string;

UserEntity

コンストラクター

new UserEntity(undefined)

new UserEntity(): UserEntity
戻り値

UserEntity

プロパティ

accounts

accounts: AccountEntity[];

email

email: null | string;

emailVerified

emailVerified: null | string;

id

id: string;

image

image: null | string;

name

name: null | string;

sessions

sessions: SessionEntity[];

VerificationTokenEntity

コンストラクター

new VerificationTokenEntity(undefined)

new VerificationTokenEntity(): VerificationTokenEntity
戻り値

VerificationTokenEntity

プロパティ

expires

expires: string;

id

id: string;

identifier

identifier: string;

token

token: string;
Auth.js © Balázs Orbán and Team -2024