public class JwtReconstruction extends Object
| Constructor and Description |
|---|
JwtReconstruction() |
| Modifier and Type | Method and Description |
|---|---|
<T extends Jwt> |
reconstructJwt(String jwtString,
Class<T> jwtClass)
Reconstructs the given JWT string into a JWT object of the specified type.
|
public <T extends Jwt> T reconstructJwt(String jwtString, Class<T> jwtClass)
T - The type of JWT the JWT string represents.jwtString - The JWT string.jwtClass - The JWT class to reconstruct the JWT string to.InvalidJwtException - If the jwt does not consist of the correct number of parts.JwtReconstructionException - If the jwt does not consist of the correct number of parts.Copyright © 2025 Open Identity Platform Community. All rights reserved.