T - the type of object that may be returned from the locate(Header) methodpublic interface Locator<T>
Locator can return an object referenced in a JWT Header that is necessary to process
the associated JWT.
For example, a Locator implementation can inspect a header's kid (Key ID) parameter, and use the
discovered kid value to lookup and return the associated Key instance. JJWT could then use this
key to decrypt a JWE or verify a JWS signature.
Copyright © 2014–2024 jsonwebtoken.io. All rights reserved.