Class JwtClaims.Builder (1.24.0)

public abstract static class JwtClaims.Builder

Inheritance

java.lang.Object > JwtClaims.Builder

Constructors

Builder()

public Builder()

Methods

build()

public abstract JwtClaims build()
Returns
Type Description
JwtClaims

setAdditionalClaims(Map<String,String> additionalClaims)

public abstract JwtClaims.Builder setAdditionalClaims(Map<String,String> additionalClaims)
Parameter
Name Description
additionalClaims Map<String,String>
Returns
Type Description
JwtClaims.Builder

setAudience(String audience)

public abstract JwtClaims.Builder setAudience(String audience)
Parameter
Name Description
audience String
Returns
Type Description
JwtClaims.Builder

setIssuer(String issuer)

public abstract JwtClaims.Builder setIssuer(String issuer)
Parameter
Name Description
issuer String
Returns
Type Description
JwtClaims.Builder

setSubject(String subject)

public abstract JwtClaims.Builder setSubject(String subject)
Parameter
Name Description
subject String
Returns
Type Description
JwtClaims.Builder