Hierarchy

  • TokenError
    • ByuJwtError

Constructors

Properties

cause?: unknown
message: string
name: string
stack?: string
codes: {
    expired: "FAST_JWT_EXPIRED";
    inactive: "FAST_JWT_INACTIVE";
    invalidAlgorithm: "FAST_JWT_INVALID_ALGORITHM";
    invalidApiContext: "BYU_JWT_INVALID_API_CONTEXT";
    invalidAudience: "BYU_JWT_INVALID_AUD";
    invalidClaimType: "FAST_JWT_INVALID_CLAIM_TYPE";
    invalidClaimValue: "FAST_JWT_INVALID_CLAIM_VALUE";
    invalidKey: "FAST_JWT_INVALID_KEY";
    invalidOption: "FAST_JWT_INVALID_OPTION";
    invalidPayload: "FAST_JWT_INVALID_PAYLOAD";
    invalidSignature: "FAST_JWT_INVALID_SIGNATURE";
    invalidType: "FAST_JWT_INVALID_TYPE";
    keyFetchingError: "FAST_JWT_KEY_FETCHING_ERROR";
    malformed: "FAST_JWT_MALFORMED";
    missingExpectedJwt: "BYU_JWT_MISSING_EXPECTED_JWT";
    missingKey: "FAST_JWT_MISSING_KEY";
    missingSignature: "FAST_JWT_MISSING_SIGNATURE";
    signError: "FAST_JWT_SIGN_ERROR";
    verifyError: "FAST_JWT_VERIFY_ERROR";
} = BYU_JWT_ERROR_CODES

Type declaration

  • Readonly expired: "FAST_JWT_EXPIRED"
  • Readonly inactive: "FAST_JWT_INACTIVE"
  • Readonly invalidAlgorithm: "FAST_JWT_INVALID_ALGORITHM"
  • Readonly invalidApiContext: "BYU_JWT_INVALID_API_CONTEXT"
  • Readonly invalidAudience: "BYU_JWT_INVALID_AUD"
  • Readonly invalidClaimType: "FAST_JWT_INVALID_CLAIM_TYPE"
  • Readonly invalidClaimValue: "FAST_JWT_INVALID_CLAIM_VALUE"
  • Readonly invalidKey: "FAST_JWT_INVALID_KEY"
  • Readonly invalidOption: "FAST_JWT_INVALID_OPTION"
  • Readonly invalidPayload: "FAST_JWT_INVALID_PAYLOAD"
  • Readonly invalidSignature: "FAST_JWT_INVALID_SIGNATURE"
  • Readonly invalidType: "FAST_JWT_INVALID_TYPE"
  • Readonly keyFetchingError: "FAST_JWT_KEY_FETCHING_ERROR"
  • Readonly malformed: "FAST_JWT_MALFORMED"
  • Readonly missingExpectedJwt: "BYU_JWT_MISSING_EXPECTED_JWT"
  • Readonly missingKey: "FAST_JWT_MISSING_KEY"
  • Readonly missingSignature: "FAST_JWT_MISSING_SIGNATURE"
  • Readonly signError: "FAST_JWT_SIGN_ERROR"
  • Readonly verifyError: "FAST_JWT_VERIFY_ERROR"
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc