Uses of Class
cloud.opencode.base.crypto.jwt.JwtUtil.Builder
Packages that use JwtUtil.Builder
-
Uses of JwtUtil.Builder in cloud.opencode.base.crypto
Methods in cloud.opencode.base.crypto that return JwtUtil.BuilderModifier and TypeMethodDescriptionstatic JwtUtil.BuilderOpenJwt.builder()Creates a new JWT builder for advanced configuration. -
Uses of JwtUtil.Builder in cloud.opencode.base.crypto.jwt
Methods in cloud.opencode.base.crypto.jwt that return JwtUtil.BuilderModifier and TypeMethodDescriptionJwtUtil.Builder.algorithm(JwtAlgorithm algorithm) Sets the signing algorithm.Sets the audience claim.Sets the audience claim with multiple values.static JwtUtil.BuilderJwtUtil.builder()Creates a new JWT builder.Sets a custom claim.Sets multiple claims.Sets multiple claims from a map.JwtUtil.Builder.expiration(Instant expiration) Sets the expiration time.Sets the expiration time relative to now.JwtUtil.Builder.generateJwtId()Generates a random JWT ID.Adds a header claim.Sets the issued-at time.JwtUtil.Builder.issuedAtNow()Sets the issued-at time to now.Sets the issuer claim.Sets the not-before time.JwtUtil.Builder.privateKey(PrivateKey privateKey) Sets the private key for asymmetric signing.JwtUtil.Builder.secret(byte[] secret) Sets the HMAC secret bytes.Sets the HMAC secret.Sets the subject claim.