public static final class JwtProvider.JwtOutboundTarget.Builder extends Object implements Builder<JwtProvider.JwtOutboundTarget>
JwtProvider.JwtOutboundTarget.| Modifier and Type | Method and Description |
|---|---|
JwtProvider.JwtOutboundTarget |
build()
Build the instance from this builder.
|
JwtProvider.JwtOutboundTarget.Builder |
config(Config config)
Update builder from configuration.
|
JwtProvider.JwtOutboundTarget.Builder |
jwkKid(String jwkKid)
JWK key id to locate JWK to sign our request.
|
JwtProvider.JwtOutboundTarget.Builder |
jwtAudience(String jwtAudience)
JWT Audience.
|
JwtProvider.JwtOutboundTarget.Builder |
jwtKid(String jwtKid)
JWT key id of the outbound token, used by target service to map
to configuration to validate our signature.
|
JwtProvider.JwtOutboundTarget.Builder |
notBeforeSeconds(int notBeforeSeconds)
Allowed validity before issue time.
|
JwtProvider.JwtOutboundTarget.Builder |
tokenHandler(TokenHandler outboundHandler)
Outbound token hanlder to insert the token into outbound request headers.
|
JwtProvider.JwtOutboundTarget.Builder |
validitySeconds(long validitySeconds)
Validity of the token.
|
public JwtProvider.JwtOutboundTarget build()
Builderbuild in interface Builder<JwtProvider.JwtOutboundTarget>public JwtProvider.JwtOutboundTarget.Builder config(Config config)
JwtProvider.JwtOutboundTarget.create(Config, TokenHandler)
for configuration options description.config - to update builder frompublic JwtProvider.JwtOutboundTarget.Builder tokenHandler(TokenHandler outboundHandler)
outboundHandler - handler to usepublic JwtProvider.JwtOutboundTarget.Builder jwtKid(String jwtKid)
jwtKid - key id to be written to the JWT.public JwtProvider.JwtOutboundTarget.Builder jwkKid(String jwkKid)
jwkKid - key id of JWKpublic JwtProvider.JwtOutboundTarget.Builder jwtAudience(String jwtAudience)
jwtAudience - audience to be written to the outbound tokenpublic JwtProvider.JwtOutboundTarget.Builder notBeforeSeconds(int notBeforeSeconds)
notBeforeSeconds - seconds the outbound token is valid before issue timepublic JwtProvider.JwtOutboundTarget.Builder validitySeconds(long validitySeconds)
validitySeconds - seconds the token is valid forCopyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.