SudoSOS Back-end API / authentication / AuthenticationMethod
Class: AuthenticationMethod ​
The AuthenticationMethod is the base class for all authentication methods. It simply stores the user it is for.
Extends ​
Extended by ​
Constructors ​
Constructor ​
ts
new AuthenticationMethod(): AuthenticationMethod;Returns ​
AuthenticationMethod
Inherited from ​
BaseEntityWithoutId.constructor
Properties ​
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
createdAt | readonly | Date | The creation date of the object. | BaseEntityWithoutId.createdAt |
updatedAt | readonly | Date | The last update date of the object. | BaseEntityWithoutId.updatedAt |
user | public | User | - | - |
userId | public | number | - | - |
version | readonly | number | The current version of the object. | BaseEntityWithoutId.version |