Class JwtClaims.Builder (1.6.1)

public abstract static class JwtClaims.Builder

Inheritance

java.lang.Object > JwtClaims.Builder

Constructors

Builder()

public Builder()

Methods

build()

public abstract JwtClaims build()
Returns
TypeDescription
JwtClaims

setAdditionalClaims(Map<String,String> additionalClaims)

public abstract JwtClaims.Builder setAdditionalClaims(Map<String,String> additionalClaims)
Parameter
NameDescription
additionalClaimsMap<String,String>
Returns
TypeDescription
JwtClaims.Builder

setAudience(String audience)

public abstract JwtClaims.Builder setAudience(String audience)
Parameter
NameDescription
audienceString
Returns
TypeDescription
JwtClaims.Builder

setIssuer(String issuer)

public abstract JwtClaims.Builder setIssuer(String issuer)
Parameter
NameDescription
issuerString
Returns
TypeDescription
JwtClaims.Builder

setSubject(String subject)

public abstract JwtClaims.Builder setSubject(String subject)
Parameter
NameDescription
subjectString
Returns
TypeDescription
JwtClaims.Builder