Gets a security token from the federation endpoint. May use a cached token if it judged to still be valid.
A security token that can be used to authenticate requests.
Get a claim embedded in the security token. May use the cached token if it is judged to still be valid.
Gets a security token from the federation endpoint. This will always retreive a new token from the federation endpoint and does not use a cached token.
A security token that can be used to authenticate requests.
Defines a basic interface for a federation endpoint that provides a security token for authentication. NOTE: Some class that implements this interface may not be async in nature. But since some class's method are async, keep it consistent by making it async.