virgil_sdk.jwt.providers.generator_jwt_provider module

class virgil_sdk.jwt.providers.generator_jwt_provider.GeneratorJwtProvider(jwt_generator, default_identity, additional_data=None)[source]

Bases: virgil_sdk.jwt.abstractions.access_token_provider.AccessTokenProvider

Implementation of AccessTokenProvider which provides generated JWTs

get_token(token_context)[source]

Provides new generated JWT

Parameters

token_context – context explaining why token is needed

Returns

generated jwt