/** * Return a Jwt instance from this signed JWT. * * @return Jwt instance * @throws RuntimeException in case one of the fields has invalid content (e.g. timestamp is invalid) */ public Jwt getJwt() { return new Jwt(headerJson, payloadJson); }
/** * Build and instance of the {@link Jwt}. * * @return a new token instance */ @Override public Jwt build() { return new Jwt(this); }
/** * Build and instance of the {@link Jwt}. * * @return a new token instance */ @Override public Jwt build() { return new Jwt(this); }
/** * Return a Jwt instance from this signed JWT. * * @return Jwt instance * @throws RuntimeException in case one of the fields has invalid content (e.g. timestamp is invalid) */ public Jwt getJwt() { return new Jwt(headerJson, payloadJson); }