public class JwtTokenGenerator extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ACR |
static String |
AUD |
static long |
EXPIRY |
static String |
ISS |
Modifier and Type | Method and Description |
---|---|
static com.nimbusds.jwt.JWTClaimsSet |
buildClaimSet(String subject,
String issuer,
String audience,
String authLevel,
long expiry) |
static com.nimbusds.jwt.SignedJWT |
createSignedJWT(com.nimbusds.jwt.JWTClaimsSet claimsSet) |
protected static com.nimbusds.jwt.SignedJWT |
createSignedJWT(com.nimbusds.jose.jwk.RSAKey rsaJwk,
com.nimbusds.jwt.JWTClaimsSet claimsSet) |
static com.nimbusds.jwt.SignedJWT |
createSignedJWT(String subject) |
static com.nimbusds.jwt.SignedJWT |
createSignedJWT(String subject,
long expiryInMinutes) |
static String |
signedJWTAsString(String subject) |
public static String ISS
public static String AUD
public static String ACR
public static long EXPIRY
public static com.nimbusds.jwt.SignedJWT createSignedJWT(String subject)
public static com.nimbusds.jwt.SignedJWT createSignedJWT(String subject, long expiryInMinutes)
public static com.nimbusds.jwt.SignedJWT createSignedJWT(com.nimbusds.jwt.JWTClaimsSet claimsSet)
public static com.nimbusds.jwt.JWTClaimsSet buildClaimSet(String subject, String issuer, String audience, String authLevel, long expiry)
protected static com.nimbusds.jwt.SignedJWT createSignedJWT(com.nimbusds.jose.jwk.RSAKey rsaJwk, com.nimbusds.jwt.JWTClaimsSet claimsSet)
Copyright © 2019. All rights reserved.