@ThreadSafe public interface JWTSigner
Modifier and Type | Method and Description |
---|---|
com.nimbusds.jwt.SignedJWT |
sign(@Nullable com.nimbusds.jose.JOSEObjectType typ,
com.nimbusds.jwt.JWTClaimsSet jwtClaimsSet)
Signs the specified JWT claims.
|
default com.nimbusds.jwt.SignedJWT |
sign(com.nimbusds.jwt.JWTClaimsSet jwtClaimsSet)
Signs the specified JWT claims.
|
default com.nimbusds.jwt.SignedJWT sign(com.nimbusds.jwt.JWTClaimsSet jwtClaimsSet)
jwtClaimsSet
- The JWT claims. Must not be null
.com.nimbusds.jwt.SignedJWT sign(@Nullable com.nimbusds.jose.JOSEObjectType typ, com.nimbusds.jwt.JWTClaimsSet jwtClaimsSet)
typ
- The JOSE object type ("typ") header parameter,
null
if none.jwtClaimsSet
- The JWT claims. Must not be null
.Copyright © 2021 Connect2id Ltd.. All rights reserved.