Interface: ConsentGrant
Defined in: auth/src/models/types.ts:361
Records a resource owner's consent for a Client to be granted a set of scopes, so a returning user
isn't re-prompted for consent they've already given. Not created for a Client with firstParty: true,
which skips consent entirely.
Extends
BaseEntity
Properties
clientId
clientId:
string
Defined in: auth/src/models/types.ts:366
The uid of the Client consent was granted to.
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.
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.
Inherited from
BaseEntity.dateModified
grantedAt
grantedAt:
Date
Defined in: auth/src/models/types.ts:372
When consent was first granted.
lastUsedAt?
optionallastUsedAt?:Date
Defined in: auth/src/models/types.ts:375
When this grant was last relied upon to skip the consent screen.
scope
scope:
string
Defined in: auth/src/models/types.ts:369
The space-delimited, cumulative set of scopes approved across every consent decision so far.
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.
Inherited from
BaseEntity.uid
userUid
userUid:
string
Defined in: auth/src/models/types.ts:363
The uid of the User who granted consent.
version
version:
number
Defined in: auth/node_modules/@rapidrest/service-core/dist/types/models/BaseEntity.d.ts:26
The optimistic lock version.
Inherited from
BaseEntity.version