Macros
- The ncryptf::auth!() macro provides the appropriate generic implementation details of FromRequest to allow User entities to be returned as a Rocket request guard (FromRequest). The core features of ncryptf authorization verification are implemented through this macro. If you wish to utilize ncryptf’s authorization features you must perform the following.
Structs
- Represents an Encryption key used to encrypt and decrypt requests
- Reusable encryption key data for client parsing
- ncryptf::rocket::Json represents a application/vnd.ncryptf+json, JSON string The JSON struct supports both serialization and de-serialization to reduce implementation time within your application
- ncryptf::rocket::JsonResponse is identical to ncryptf::rocket::Json
except that is also supports setting a status code on the response. - The cached public key from the request
- The cached signing public key from the request
Enums
- An enum of the various authentication errors that may occur - generalized
Constants
- The Ncryptf JSON content type
- The amount of time (in either direction) a request time may differ by and still be accepted.
Traits
- AuthorizationTrait is a trait that should be implemented by your User entity. This trait, in conjunction with the ncryptf::auth!() macro, enables individual Users to be returned as part of a Rocket request guard.
- A data structure that can be deserialized from any data format supported by Serde.