User
A User represents any authenticated user of the Vendure API. This includes both Administrators as well as registered Customers.
-
Extends:
VendureEntity -
Implements: HasCustomFields,
SoftDeletable
constructor
method
(input?: DeepPartial<User>) => UserdeletedAt
property
Date | nullidentifier
property
stringauthenticationMethods
property
AuthenticationMethod[]verified
property
booleanroles
property
Role[]lastLogin
property
Date | nullcustomFields
property
CustomUserFieldssessions
property
AuthenticatedSession[]getNativeAuthenticationMethod
method
() => NativeAuthenticationMethodgetNativeAuthenticationMethod
method
(strict?: boolean) => NativeAuthenticationMethod | undefinedgetNativeAuthenticationMethod
method
(strict?: boolean) => NativeAuthenticationMethod | undefinedWas this chapter helpful?