AccessTokenRetrieveris 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 the
AccessTokenRetrieverimplementation to validate the integrity of the JWT access token.
|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
LoginModulefrom which this is ultimately called does not provide an asynchronous approach.
nullJWT access token string
IOException- Thrown on errors related to IO during retrieval
default void close() throws IOException