Class JwtCredentials.Builder (1.18.0)

public static class JwtCredentials.Builder

Inheritance

java.lang.Object > JwtCredentials.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public JwtCredentials build()
Returns
TypeDescription
JwtCredentials

getJwtClaims()

public JwtClaims getJwtClaims()
Returns
TypeDescription
JwtClaims

getLifeSpanSeconds()

public Long getLifeSpanSeconds()
Returns
TypeDescription
Long

getPrivateKey()

public PrivateKey getPrivateKey()
Returns
TypeDescription
PrivateKey

getPrivateKeyId()

public String getPrivateKeyId()
Returns
TypeDescription
String

setJwtClaims(JwtClaims claims)

public JwtCredentials.Builder setJwtClaims(JwtClaims claims)
Parameter
NameDescription
claimsJwtClaims
Returns
TypeDescription
JwtCredentials.Builder

setLifeSpanSeconds(Long lifeSpanSeconds)

public JwtCredentials.Builder setLifeSpanSeconds(Long lifeSpanSeconds)
Parameter
NameDescription
lifeSpanSecondsLong
Returns
TypeDescription
JwtCredentials.Builder

setPrivateKey(PrivateKey privateKey)

public JwtCredentials.Builder setPrivateKey(PrivateKey privateKey)
Parameter
NameDescription
privateKeyPrivateKey
Returns
TypeDescription
JwtCredentials.Builder

setPrivateKeyId(String privateKeyId)

public JwtCredentials.Builder setPrivateKeyId(String privateKeyId)
Parameter
NameDescription
privateKeyIdString
Returns
TypeDescription
JwtCredentials.Builder