Error returned when pending access request expires.

Hierarchy

Constructors

  • Parameters

    • model: {
          agent: Agent<Service>;
          audience: `did:${string}:${string}`;
          expiration: number;
          provider: `did:web:${string}`;
          request: Link<any, number, number, 1>;
      }
      • agent: Agent<Service>
        • Agent handling interaction.
      • audience: `did:${string}:${string}`
        • Principal requesting an access.
      • expiration: number
        • Seconds in UTC.
      • provider: `did:web:${string}`
        • Provider handling request.
      • request: Link<any, number, number, 1>
        • Link to the access/authorize invocation.

    Returns RequestExpired

Properties

cause?: unknown
model: {
    agent: Agent<Service>;
    audience: `did:${string}:${string}`;
    expiration: number;
    provider: `did:web:${string}`;
    request: Link<any, number, number, 1>;
}

Type declaration

  • agent: Agent<Service>
    • Agent handling interaction.
  • audience: `did:${string}:${string}`
    • Principal requesting an access.
  • expiration: number
    • Seconds in UTC.
  • provider: `did:web:${string}`
    • Provider handling request.
  • request: Link<any, number, number, 1>
    • Link to the access/authorize invocation.
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Accessors

  • get expiredAt(): Date
  • Returns Date

  • get message(): string
  • Returns string

  • get name(): string
  • Returns string

  • get request(): Link<any, number, number, 1>
  • Returns Link<any, number, number, 1>

Methods

  • Returns string

  • Returns {
        message: string;
        name: string;
        stack: undefined | string;
    }

    • message: string
    • name: string
    • stack: undefined | string
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc