pm'8 ` d Z ddlmZ ddlZn
# e$ r dZY nw xY wdZdZ G d de ZdS ) z4Identity policy for storing info in the jwt token.
)AbstractIdentityPolicy N
AuthorizationzBearer c ( e Zd ZddZd Zd Zd ZdS )JWTIdentityPolicyHS256c N t t d || _ || _ d S )NzPlease install `PyJWT`)jwtRuntimeErrorsecret algorithm)selfr r
s o/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/aiohttp_security/jwt_identity.py__init__zJWTIdentityPolicy.__init__ s( ;7888" c @ K |j t }|d S | t st d | d d }t j || j
| j g }|S )Nz8Invalid authorization scheme. Should be `Bearer