AccessTokenRetriever is the internal API by which the login module will
retrieve an access token for use in authorization by the broker. The implementation may
involve authentication to a remote system, or it can be as simple as loading the contents
of a file or configuration setting.
Retrieval is a separate concern from validation, so it isn't necessary for
AccessTokenRetriever implementation to validate the integrity of the JWT
|Modifier and Type
|Method and Description
Lifecycle method to perform a clean shutdown of the retriever.
Retrieves a JWT access token in its serialized three-part form.
String retrieve() throws IOException
which this is ultimately called does not provide an asynchronous approach.
null JWT access token string
IOException - Thrown on errors related to IO during retrieval
default void close() throws IOException