Represents a Sudo.

Param

globally unique identifier of this Sudo. This is generated and set by Sudo service.

Param

current version of this Sudo.

Param

date and time at which this Sudo was created.

Param

date and time at which this Sudo was last updated.

Param

claims.

Param

arbitrary metadata set by the backend..

Hierarchy

Constructors

  • Parameters

    • Optional id: string
    • version: number = 1
    • createdAt: Date = ...
    • updatedAt: Date = ...
    • metadata: Map<string, string> = ...
    • claims: Map<string, Claim> = ...

    Returns Sudo

Properties

createdAt: Date
id?: string = undefined
updatedAt: Date
version: number = 1

Accessors

  • get avatar(): undefined | URL
  • Avatar image URI.

    Returns undefined | URL

  • get claims(): Map<string, Claim>
  • Claims

    Returns Map<string, Claim>

  • set claims(value): void
  • Parameters

    • value: Map<string, Claim>

    Returns void

  • get externalId(): undefined | string
  • External ID associated with this Sudo.

    Returns undefined | string

  • get firstName(): undefined | string
  • First name

    Returns undefined | string

  • set firstName(value): void
  • Parameters

    • value: undefined | string

    Returns void

  • get label(): undefined | string
  • Label

    Returns undefined | string

  • set label(value): void
  • Parameters

    • value: undefined | string

    Returns void

  • get lastName(): undefined | string
  • Last name

    Returns undefined | string

  • set lastName(value): void
  • Parameters

    • value: undefined | string

    Returns void

  • get notes(): undefined | string
  • Notes.

    Returns undefined | string

  • set notes(value): void
  • Parameters

    • value: undefined | string

    Returns void

  • get title(): undefined | string
  • Title

    Returns undefined | string

  • set title(value): void
  • Parameters

    • value: undefined | string

    Returns void

Methods

  • Returns undefined | ArrayBuffer

  • Parameters

    • value: ArrayBuffer

    Returns void

Generated using TypeDoc