virgil_sdk.jwt.jwt_header_content module¶
-
class
virgil_sdk.jwt.jwt_header_content.JwtHeaderContent(algorithm, key_id, access_token_type='JWT', content_type='virgil-jwt;v=1')[source]¶ Bases:
objectJwtHeaderContent represents header of Jwt
-
ACCESS_TOKEN_TYPE= 'JWT'¶
-
CONTENT_TYPE= 'virgil-jwt;v=1'¶
-
property
access_token_type¶ Access token type.
-
property
algorithm¶ Signature algorithm.
-
property
content_type¶ Access token content type.
-
classmethod
from_json(json_loaded_dict)[source]¶ Initializes a new instance of the JwtHeaderContent from json representation.
- Parameters
json_loaded_dict – JwtHeaderContent json representation
- Returns
A new instance of JwtHeaderContent.
-
property
json¶ JwtHeaderContent json representation.
-
property
key_id¶ Id of public key which is used for jwt signature verification.
-