Module openid::biscuit [−][src]
Reimport biscuit
dependency.
Modules
digest | Secure cryptographic digests |
errors | Errors returned will be converted to one of the structs in this module. |
jwa | JSON Web Algorithms |
jwe | |
jwk | JSON Web Key |
jws | JSON Web Signatures, including JWT signing and headers |
Structs
Base64Url | A newtype wrapper around a string to indicate it’s base64 URL encoded |
ClaimPresenceOptions | Options for claims presence validation |
ClaimsSet | A collection of claims, both registered and your custom private claims. |
Compact | A collection of |
Empty | An empty struct that derives Serialize and Deserialize. Can be used, for example, in places where a type
for custom values (such as private claims in a |
RegisteredClaims | Registered claims defined by RFC7519#4.1 |
TemporalOptions | Options for validating temporal claims |
Timestamp | Wrapper around |
ValidationOptions | Options for claims validation |
Enums
Presence | Defines whether a claim is required or not |
SingleOrMultiple | Represents a choice between a single value or multiple values. This value is serialized by serde untagged. |
Validation | Defines whether a claim is validated or not |
Traits
CompactJson | A marker trait that indicates that the object is to be serialized to JSON and deserialized from JSON.
This is primarily used in conjunction with the |
CompactPart | A “part” of the compact representation of JWT/JWS/JWE. Parts are first serialized to some form and then base64 encoded and separated by periods. |
Type Definitions
JWE | A convenience type alias of a “JWE” which is a compact JWE that contains a signed/unsigned compact JWS. |
JWT | A convenience type alias of the common “JWT” which is a secured/unsecured compact JWS.
Type |