Skip to content

@sourceloop/authentication-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

allowedClients

Optional allowedClients: string[]

Defined in

services/authentication-service/src/models/role.model.ts:44


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


description

Optional description: string

Defined in

services/authentication-service/src/models/role.model.ts:27


id

Optional id: string

Defined in

services/authentication-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/authentication-service/src/models/role.model.ts:22


permissions

permissions: string[]

Defined in

services/authentication-service/src/models/role.model.ts:61


roleType

roleType: RoleTypes

Defined in

services/authentication-service/src/models/role.model.ts:55


tenantId

tenantId: string

Defined in

services/authentication-service/src/models/role.model.ts:34