Options
All
  • Public
  • Public/Protected
  • All
Menu

Default implementation of TokenDecoder. It doesn't support decoding Token and checks the expiration date from the server response.

It's the default value on Auth constructor for AuthOptions.accessTokenDecoder.

Hierarchy

  • DefaultTokenDecoder

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Protected offset

offset: number

Methods

isExpired

  • isExpired(token: Token): boolean

Legend

  • Class
  • Class with type parameter
  • Constructor
  • Method
  • Function
  • Function with type parameter
  • Type alias
  • Interface
  • Interface with type parameter
  • Protected property

Generated using TypeDoc