VerifiedToken

class gafaelfawr.tokens.VerifiedToken(encoded: str, claims: Mapping[str, Any], username: str, uid: str, scope: Set[str], jti: Optional[str] = None, email: Optional[str] = None)

Bases: gafaelfawr.tokens.Token

Holds a verified JWT.

Holds a JWT whose signature has been checked and whose claims have been decoded.

Attributes Summary

email The email claim from the token.
jti The jti (JWT ID) claim from the token.

Attributes Documentation

email = None

The email claim from the token.

jti = None

The jti (JWT ID) claim from the token.