实体
AccountEntity
构造函数
new AccountEntity(undefined)
new 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
返回值
属性
expires
expires: string;
id
id: string;
sessionToken
sessionToken: string;
user
user: UserEntity;
userId
userId: string;
UserEntity
构造函数
new UserEntity(undefined)
new UserEntity(): UserEntity
返回值
属性
accounts
accounts: AccountEntity[];
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
返回值
属性
expires
expires: string;
id
id: string;
identifier
identifier: string;
token
token: string;