app.models.user.User.verify_auth_token
- User.verify_auth_token(data: Union[str, bytes]) bool
Perform additional verification of contents of auth token. Prior to this being called the token has been validated (via signing) and has not expired.
- Parameters
data – the data as formulated by
get_auth_token()
New in version 3.3.0.
Changed in version 4.0.0: If user model has
fs_token_uniquifier
- use that otherwise usefs_uniquifier
.