Interface JwtProvider (1.25.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
Name Description
newClaims JwtClaims

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

Returns
Type Description
JwtCredentials

new credentials