Interface JwtProvider (1.7.0)

public interface JwtProvider

Interface for creating custom JWT tokens

Methods

jwtWithClaims(JwtClaims newClaims)

public abstract JwtCredentials jwtWithClaims(JwtClaims newClaims)

Returns a new JwtCredentials instance with modified claims.

Parameter
NameDescription
newClaimsJwtClaims

new claims. Any unspecified claim fields default to the current values.

Returns
TypeDescription
JwtCredentials

new credentials