package sihl
The modular functional web framework
Install
Dune Dependency
Authors
Maintainers
Sources
sihl-0.1.3.tbz
sha256=3d1acdd1eae24a7131033656f90b5d20c1621e6ef92957edf88a09b8b5f2d9e9
sha512=d224f54e20a9465c7a03d534dadcb2b9a181ae87c13731840db945aab37534f6f3982c5cb25a197e90c17d8772da062b19fa92bb93ed53a8b736c3776a7776db
doc/sihl.utils/Utils/Jwt/index.html
Module Utils.Jwt
Source
This module implements JSON Web tokens. They are typically used decouple authentication from the other parts of a system.
Adds the "exp" claim.
Checks whether the signature is correct and decodes the base64 string representation to t
.
Checks whether the claim
of the token t
is in the past by looking at now
. If no exp claim was not found the token can not expire and is_expired
returns true. A custom claim
can be provided, by default it looks for "exp".
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>