Class JwtCredentials.Builder (1.30.0)

public static class JwtCredentials.Builder

Inheritance

java.lang.Object > JwtCredentials.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public JwtCredentials build()
Returns
Type Description
JwtCredentials

getJwtClaims()

public JwtClaims getJwtClaims()
Returns
Type Description
JwtClaims

getLifeSpanSeconds()

public Long getLifeSpanSeconds()
Returns
Type Description
Long

getPrivateKey()

public PrivateKey getPrivateKey()
Returns
Type Description
PrivateKey

getPrivateKeyId()

public String getPrivateKeyId()
Returns
Type Description
String

setJwtClaims(JwtClaims claims)

public JwtCredentials.Builder setJwtClaims(JwtClaims claims)
Parameter
Name Description
claims JwtClaims
Returns
Type Description
JwtCredentials.Builder

setLifeSpanSeconds(Long lifeSpanSeconds)

public JwtCredentials.Builder setLifeSpanSeconds(Long lifeSpanSeconds)
Parameter
Name Description
lifeSpanSeconds Long
Returns
Type Description
JwtCredentials.Builder

setPrivateKey(PrivateKey privateKey)

public JwtCredentials.Builder setPrivateKey(PrivateKey privateKey)
Parameter
Name Description
privateKey PrivateKey
Returns
Type Description
JwtCredentials.Builder

setPrivateKeyId(String privateKeyId)

public JwtCredentials.Builder setPrivateKeyId(String privateKeyId)
Parameter
Name Description
privateKeyId String
Returns
Type Description
JwtCredentials.Builder