Home Assistant Unofficial Reference 2024.12.1
jwt_wrapper.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.auth.jwt_wrapper._PyJWSWithLoadCache
 
class  homeassistant.auth.jwt_wrapper._PyJWTWithVerify
 

Namespaces

 homeassistant.auth.jwt_wrapper
 

Functions

dict[str, Any] homeassistant.auth.jwt_wrapper._decode_payload (str json_payload)
 

Variables

list homeassistant.auth.jwt_wrapper.__all__
 
 homeassistant.auth.jwt_wrapper._jws = _PyJWSWithLoadCache()
 
 homeassistant.auth.jwt_wrapper._jwt = _PyJWTWithVerify()
 
dictionary homeassistant.auth.jwt_wrapper._NO_VERIFY_OPTIONS = {f"verify_{key}": False for key in _VERIFY_KEYS}
 
tuple homeassistant.auth.jwt_wrapper._VERIFY_KEYS = ("signature", "exp", "nbf", "iat", "aud", "iss", "sub", "jti")
 
int homeassistant.auth.jwt_wrapper.JWT_TOKEN_CACHE_SIZE = 16
 
int homeassistant.auth.jwt_wrapper.MAX_TOKEN_SIZE = 8192
 
 homeassistant.auth.jwt_wrapper.unverified_hs256_token_decode
 
 homeassistant.auth.jwt_wrapper.verify_and_decode = _jwt.verify_and_decode