java.lang.Object
io.helidon.security.jwt.NotBeforeValidator.Builder
- All Implemented Interfaces:
- Builder<io.helidon.security.jwt.CommonValidator.BaseBuilder<NotBeforeValidator.Builder,,- NotBeforeValidator>, - NotBeforeValidator> - Supplier<NotBeforeValidator>
- Enclosing class:
- NotBeforeValidator
Builder of the 
NotBeforeValidator.- 
Method SummaryModifier and TypeMethodDescriptionallowedTimeSkew(Duration allowedTimeSkew) Allowed time skew for time validation.build()Build the instance from this builder.mandatory(boolean mandatory) Whether handled claim is mandatory to be present.protected NotBeforeValidator.Builderme()missingClaimMessage(String missingClaimMessage) Custom missing claim error message.Specific "current" time to validate time claim against.
- 
Method Details- 
buildDescription copied from interface:BuilderBuild the instance from this builder.- Returns:
- instance of the built type
 
- 
nowSpecific "current" time to validate time claim against. If not set,Instant.now()is used for every validation again.- Parameters:
- now- specific current time
- Returns:
- updated builder instance
 
- 
allowedTimeSkewAllowed time skew for time validation. The default value is 5 seconds.- Parameters:
- allowedTimeSkew- allowed time skew
- Returns:
- updated builder instance
 
- 
mandatoryWhether handled claim is mandatory to be present. Default value isfalse.- Parameters:
- mandatory- mandatory to be present
- Returns:
- updated builder instance
 
- 
missingClaimMessageCustom missing claim error message.- Parameters:
- missingClaimMessage- missing claim error message
- Returns:
- updated builder instance
 
- 
me
 
-