Skip to content

Documentation of getAccessToken appears incorrect #490

@mattgrande

Description

@mattgrande

I wanted to verify what I'm seeing is correct before issuing a PR.

In the documentation for getAccessToken, the return value is specified as being optional; see here (at least that's what I interpret [accessTokenExpiresAt] being surrounded as square brackets as meaning).

However, in the validateAccessToken function, it ensures that the token is present.

So, what is incorrect, the documentation or the implementation?

(And please let me know if I'm misinterpreting something)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions