function verifyCompactOrNone
source · line 110public
public fun verifyCompactOrNone(token: String, algorithm: JwsAlgorithm, key: JwsVerificationKey): VerifiedJws?
Validates compact syntax and the explicitly selected algorithm, then verifies the signature. A signature mismatch returns None; malformed headers or encodings throw JwsException. Application payload claims remain the caller's responsibility.
parameter key
source · line 110public
key: JwsVerificationKey
parameter algorithm
source · line 110public
algorithm: JwsAlgorithm
parameter token
source · line 110public
token: String