public static class JwtCredentials.Builder extends Object
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
JwtCredentials |
build() |
JwtClaims |
getJwtClaims() |
Long |
getLifeSpanSeconds() |
PrivateKey |
getPrivateKey() |
String |
getPrivateKeyId() |
JwtCredentials.Builder |
setJwtClaims(JwtClaims claims) |
JwtCredentials.Builder |
setLifeSpanSeconds(Long lifeSpanSeconds) |
JwtCredentials.Builder |
setPrivateKey(PrivateKey privateKey) |
JwtCredentials.Builder |
setPrivateKeyId(String privateKeyId) |
public JwtCredentials.Builder setPrivateKey(PrivateKey privateKey)
public PrivateKey getPrivateKey()
public JwtCredentials.Builder setPrivateKeyId(String privateKeyId)
public String getPrivateKeyId()
public JwtCredentials.Builder setJwtClaims(JwtClaims claims)
public JwtClaims getJwtClaims()
public JwtCredentials.Builder setLifeSpanSeconds(Long lifeSpanSeconds)
public Long getLifeSpanSeconds()
public JwtCredentials build()
Copyright © 2023 Google. All rights reserved.