Class JwtCredentials.Builder
java.lang.Object
com.google.auth.oauth2.JwtCredentials.Builder
- Enclosing class:
JwtCredentials
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.google.api.client.util.Clockprivate JwtClaimsprivate Longprivate PrivateKeyprivate String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()(package private) com.google.api.client.util.ClockgetClock()(package private) JwtCredentials.BuildersetClock(com.google.api.client.util.Clock clock) setJwtClaims(JwtClaims claims) setLifeSpanSeconds(Long lifeSpanSeconds) setPrivateKey(PrivateKey privateKey) setPrivateKeyId(String privateKeyId)
-
Field Details
-
privateKey
-
privateKeyId
-
jwtClaims
-
clock
private com.google.api.client.util.Clock clock -
lifeSpanSeconds
-
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
setPrivateKey
-
getPrivateKey
-
setPrivateKeyId
-
getPrivateKeyId
-
setJwtClaims
-
getJwtClaims
-
setLifeSpanSeconds
-
getLifeSpanSeconds
-
setClock
-
getClock
com.google.api.client.util.Clock getClock() -
build
-