Interface JwtProvider (1.6.1)

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