Skip to content

access token kept as global state #3

@Chris927

Description

@Chris927

This seems strange / wrong.

Maybe authenticated() should accept a function to receive the access token retrieved? This function can decide what to do with the access token.

Note that this may make dealing with expired tokens harder.

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