Package dev.paseto.jpaseto
-
Interface Summary Interface Description Claims A map representing a the body of a paseto token.FooterClaims A paseto footer.KeyResolver APubicKeyResolvercan be used by aPasetoParserto find a public key that should be used to verify a paseto token signature.Paseto An expanded (not compact/serialized) paseto token.PasetoBuilder<T extends PasetoBuilder> A builder interface for creating paseto tokens.PasetoParser A parser for parsing and validating paseto tokens.PasetoParserBuilder A builder for constructing aPasetoParser.PasetoV1LocalBuilder A builder for constructing Paseto v1.local tokens.PasetoV1PublicBuilder A builder for constructing Paseto v1.public tokens.PasetoV2LocalBuilder A builder for constructing Paseto v2.local tokens.PasetoV2PublicBuilder A builder for constructing Paseto v2.public tokens. -
Class Summary Class Description KeyResolverAdapter An Adapter implementation of theKeyResolverinterface that allows subclasses to process only the type of paseto token that is known/expected for a particular case.Pasetos Factory class useful for creating instances of Paseto interfaces.Pasetos.V1 Pasetos.V1Local Pasetos.V1Public Pasetos.V2 Pasetos.V2Local Pasetos.V2Public -
Enum Summary Enum Description Purpose Enum representing Paseto purposes.Version Enum representing Paseto versions. -
Exception Summary Exception Description ClaimPasetoException ClaimPasetoException is a subclass of thePasetoExceptionthat is thrown after a validation of an paseto claim failed.ExpiredPasetoException Exception indicating that a Paseto was accepted after it expired and must be rejected.IncorrectClaimException Exception thrown when discovering that a required claim does not equal the required value, indicating the paseto is invalid and may not be used.InvalidClaimException Exception indicating a parsed claim is invalid in some way.InvalidMacException Thrown when an encryption mac is invalid.MissingClaimException Exception thrown when discovering that a required claim is not present, indicating the paseto is invalid and may not be used.PasetoException Base class for Paseto-related runtime exceptions.PasetoIOException A general IO exception for the JPaseto library.PasetoKeyException Thrown when a key or secret cannot be created or is invalid.PasetoSecurityException Thrown when a paseto token cannot be verified.PasetoSignatureException Thrown when public paseto tokens signature cannot be validated.PrematurePasetoException Exception indicating that a Paseto was accepted before it is allowed to be accessed and must be rejected.RequiredTypeException Exception thrown whenClaims.get(String, Class)is called and the value does not match the type of theClassargument.UnsupportedPasetoException Exception thrown when receiving a JWT in a particular format/configuration that does not match the format expected by the application.