Class: ConsentGrantSQL
Defined in: auth/src/models/sql/ConsentGrantSQL.ts:40
Implementation of the ConsentGrant interface for storage in a SQL database. If MongoDB is desired,
please use models.mongo.ConsentGrantMongo instead.
Extends
BaseEntity
Implements
Constructors
Constructor
new ConsentGrantSQL(
other?):ConsentGrantSQL
Defined in: auth/src/models/sql/ConsentGrantSQL.ts:59
Parameters
other?
Partial<ConsentGrantSQL>
Returns
ConsentGrantSQL
Overrides
BaseEntity.constructor
Properties
clientId
clientId:
string=""
Defined in: auth/src/models/sql/ConsentGrantSQL.ts:47
The uid of the Client consent was granted to.
Implementation of
dateCreated
dateCreated:
Date
Defined in: auth/node_modules/@rapidrest/service-core/dist/types/models/BaseEntity.d.ts:18
The date and time that the entity was created.
Implementation of
Inherited from
BaseEntity.dateCreated
dateModified
dateModified:
Date
Defined in: auth/node_modules/@rapidrest/service-core/dist/types/models/BaseEntity.d.ts:22
The date and time that the entity was last modified.
Implementation of
Inherited from
BaseEntity.dateModified
grantedAt
grantedAt:
Date
Defined in: auth/src/models/sql/ConsentGrantSQL.ts:53
When consent was first granted.
Implementation of
lastUsedAt?
optionallastUsedAt?:Date
Defined in: auth/src/models/sql/ConsentGrantSQL.ts:57
When this grant was last relied upon to skip the consent screen.
Implementation of
scope
scope:
string=""
Defined in: auth/src/models/sql/ConsentGrantSQL.ts:50
The space-delimited, cumulative set of scopes approved across every consent decision so far.
Implementation of
uid
uid:
string
Defined in: auth/node_modules/@rapidrest/service-core/dist/types/models/BaseEntity.d.ts:14
The universally unique identifier of the entity.
Implementation of
Inherited from
BaseEntity.uid
userUid
userUid:
string=""
Defined in: auth/src/models/sql/ConsentGrantSQL.ts:43
The uid of the User who granted consent.
Implementation of
version
version:
number
Defined in: auth/node_modules/@rapidrest/service-core/dist/types/models/BaseEntity.d.ts:26
The optimistic lock version.
Implementation of
Inherited from
BaseEntity.version