Skip to content

@sourceloop/oidc-service / Exports / Role

Class: Role

Hierarchy

  • UserModifiableEntity<Role>

    Role

Table of contents

Constructors

Properties

Constructors

constructor

new Role(data?)

Parameters

Name Type
data? Partial<Role>

Inherited from

UserModifiableEntity<Role>.constructor

Defined in

packages/core/dist/models/base-entity.model.d.ts:6

Properties

createdBy

Optional createdBy: string

Inherited from

UserModifiableEntity.createdBy

Defined in

packages/core/dist/models/user-modifiable-entity.model.d.ts:4


createdOn

Optional createdOn: Date

Inherited from

UserModifiableEntity.createdOn

Defined in

packages/core/dist/models/base-entity.model.d.ts:4


id

Optional id: string

Defined in

services/oidc-service/src/models/role.model.ts:16


modifiedBy

Optional modifiedBy: string

Inherited from

UserModifiableEntity.modifiedBy

Defined in

packages/core/dist/models/user-modifiable-entity.model.d.ts:5


modifiedOn

Optional modifiedOn: Date

Inherited from

UserModifiableEntity.modifiedOn

Defined in

packages/core/dist/models/base-entity.model.d.ts:5


name

name: string

Defined in

services/oidc-service/src/models/role.model.ts:22


permissions

permissions: string[]

Defined in

services/oidc-service/src/models/role.model.ts:39


roleType

roleType: RoleTypes

Defined in

services/oidc-service/src/models/role.model.ts:33