Skip to content

@saflib/node


Function: verifyAssertion() ​

verifyAssertion(token): IdentityAssertion

Verifies an identity assertion token against any configured key.

Throws typed errors on bad signature, expiry, unknown keyId, TTL > 60s, or malformed token.

Parameters ​

ParameterType
tokenstring

Returns ​

IdentityAssertion