Virgil Security C++ SDK
|
Interface responsible for providing AccessToken. More...
#include <AccessTokenProviderInterface.h>
Public Member Functions | |
virtual std::future< std::shared_ptr< AccessTokenInterface > > | getToken (const TokenContext &tokenContext)=0 |
Provides access token. More... | |
virtual | ~AccessTokenProviderInterface ()=default |
Virtual destructor. | |
Interface responsible for providing AccessToken.
|
pure virtual |
Provides access token.
tokenContext | TokenContext provides context explaining why token is needed |
Implemented in virgil::sdk::jwt::providers::GeneratorJwtProvider, virgil::sdk::jwt::providers::CachingJwtProvider, virgil::sdk::jwt::providers::CallbackJwtProvider, and virgil::sdk::jwt::providers::ConstAccessTokenProvider.