Skip to content

Inject whole access token inside of auth token instead of just the string #555

Open
@dkarlovi

Description

@dkarlovi

In the OauthToken there's support for injecting the access token, but only the string:

It's set after the auth process:

But, this makes access other information from the access token (like current client, for example) impossible and workarounds like setting the client as an attribute were proposed (#81).

A way better (and simpler) solution is to just inject the whole access token. We can introduce additional methods for this (setAccessToken / getAccessToken) and provide functionality for existing methods on the fly, deprecating existing methods and removing in 2.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions