Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IUnauthorizedResponse

The response given after an unsuccessful IAuthorizeRequest.

An example unauthorized response:

example

{
   type: 'authorization:unauthorize',
   errorInformation: 'Expired or invalid token.'
}

Hierarchy

  • IUnauthorizedResponse

Index

Properties

Properties

errorInformation

errorInformation: string

Details regarding information on why the request failed.

type

type: "authorization:unauthorize"

Will always be UNAUTHORIZED_TYPE.

Generated using TypeDoc