charleschege / litesession Goto Github PK
View Code? Open in Web Editor NEWCreate sessions token for the web that are resilient to misuse and highjacking
License: Apache License 2.0
Create sessions token for the web that are resilient to misuse and highjacking
License: Apache License 2.0
Remove allocations and move away from strings, vecs and autogenerated features like #[derive(Debug)]
Add full webassembly and webassembly system interface support by offering cfg!() options for the web. Replace TAI64 time with a wasm friendly time generation library
Add support for small storage capacity micro-controllers when persistence is required
Add optional choice for jemalloc and wee_alloc allocators to complement the default system allocators. Ensure embedded device support in full
Use secrecy to shield the server_key and encryption keys from logging by fmt::Debug and fmt::Display. Also helps to prevent accidental clones of token data
Use secrecy to safely safeguard tokens and their details from logging using methods of fmt::Debug and fmt::Display
Replace crate::Role::Custom(String) with a generic crate::Role::Custom(T) to allow for more variations of Roles
Add methods to allow for insecure data field in tokens using ConfidentialityMode::Low
Add methods to handle all outcomes especially revoked and authorization outcomes
Generate the token as hex for when its efficient to use hex instead of full blown strings
Add support for Transport Layer Security 1.3 and later session keys
Wrap the core::clone::Clone implementations in a cfg if to be used in tests only to remove support for cloning the tokens
Make the acl field of LiteSessionData generic to allow for a whole new range of capabilities
Allow capability permissions for read, write, delete and group permissions
enforce code examples in documentation using #!deny(missing_doc_code_examples)]
Add async support to enable async while doing ChaCha RNG generation, ChaCha8 encryption and decryption and checking or generating time in TAI64N format
Add optional support for fast persistent storage using sled
Add support for session keys using the noise protocol framework
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.