Public Member Functions | |
| dict[str, Any] | decode_payload (self, str jwt, str key, dict[str, Any] options, list[str] algorithms) |
| dict[str, Any] | verify_and_decode (self, str jwt, str key, list[str] algorithms, str|None issuer=None, float|timedelta leeway=0, dict[str, Any]|None options=None) |
PyJWT with a fast decode implementation.
Definition at line 56 of file jwt_wrapper.py.
| dict[str, Any] homeassistant.auth.jwt_wrapper._PyJWTWithVerify.decode_payload | ( | self, | |
| str | jwt, | ||
| str | key, | ||
| dict[str, Any] | options, | ||
| list[str] | algorithms | ||
| ) |
Decode a JWT's payload.
Definition at line 59 of file jwt_wrapper.py.
| dict[str, Any] homeassistant.auth.jwt_wrapper._PyJWTWithVerify.verify_and_decode | ( | self, | |
| str | jwt, | ||
| str | key, | ||
| list[str] | algorithms, | ||
| str | None | issuer = None, |
||
| float | timedelta | leeway = 0, |
||
| dict[str, Any] | None | options = None |
||
| ) |
Verify a JWT's signature and claims.
Definition at line 75 of file jwt_wrapper.py.