Uses of Class
cloud.opencode.base.crypto.jwt.JwtClaims
Packages that use JwtClaims
-
Uses of JwtClaims in cloud.opencode.base.crypto
Methods in cloud.opencode.base.crypto that return JwtClaimsModifier and TypeMethodDescriptionstatic JwtClaimsOpenJwt.parseUnsafe(String token) Parses a JWT without verification (unsafe).static JwtClaimsVerifies a JWT with HMAC secret.static JwtClaimsVerifies a JWT with public key.Methods in cloud.opencode.base.crypto with parameters of type JwtClaimsModifier and TypeMethodDescriptionstatic StringCreates a JWT with HMAC-SHA256 using JwtClaims.static StringOpenJwt.sign(JwtClaims claims, String secret, JwtAlgorithm algorithm) Creates a JWT with specified HMAC algorithm.static StringOpenJwt.signEc(JwtClaims claims, PrivateKey privateKey) Creates a JWT with ECDSA-SHA256 using JwtClaims.static StringOpenJwt.signEc(JwtClaims claims, PrivateKey privateKey, JwtAlgorithm algorithm) Creates a JWT with specified ECDSA algorithm.static StringOpenJwt.signRsa(JwtClaims claims, PrivateKey privateKey) Creates a JWT with RSA-SHA256 using JwtClaims.static StringOpenJwt.signRsa(JwtClaims claims, PrivateKey privateKey, JwtAlgorithm algorithm) Creates a JWT with specified RSA algorithm. -
Uses of JwtClaims in cloud.opencode.base.crypto.jwt
Methods in cloud.opencode.base.crypto.jwt that return JwtClaimsModifier and TypeMethodDescriptionJwtClaims.Builder.build()Builds the JwtClaims instance.JwtUtil.JwtParts.claims()Returns the value of theclaimsrecord component.static JwtClaimsJwtClaims.empty()Creates empty claims.static JwtClaimsCreates claims from a map.static JwtClaimsJwtUtil.parseUnsafe(String token) Parses a JWT without verification (unsafe).static JwtClaimsVerifies a JWT with HMAC secret bytes and returns claims.static JwtClaimsVerifies a JWT with HMAC secret and returns claims.static JwtClaimsVerifies a JWT with public key and returns claims.Methods in cloud.opencode.base.crypto.jwt with parameters of type JwtClaimsModifier and TypeMethodDescriptionSets multiple claims.static StringCreates a quick JWT with claims.Constructors in cloud.opencode.base.crypto.jwt with parameters of type JwtClaims