Skip to content
This repository was archived by the owner on Jan 20, 2024. It is now read-only.
This repository was archived by the owner on Jan 20, 2024. It is now read-only.

Should Token type have expires property? #157

@moltar

Description

@moltar

From console.log it does appear that this property is available, but it is not exposed.

Is it a private property or can it be made public?

{
      // ... snip

      tokenType: 'bearer',
      accessToken: '...',
      refreshToken: '...',

      // THIS
      expires: 2020-08-05T10:54:20.704Z
}

https://github.com/mulesoft/js-client-oauth2/blob/a237644785b4910689dd72f1c5d6905fa3a88ae7/index.d.ts#L61-L72

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions