File tree 5 files changed +16
-13
lines changed
5 files changed +16
-13
lines changed Original file line number Diff line number Diff line change 3
3
## Unreleased - 2021-xx-xx
4
4
5
5
6
+ ## 0.6.1 - 2022-03-21
7
+ - No significant changes since ` 0.6.0 ` .
8
+
9
+
6
10
## 0.6.0 - 2022-03-15
7
11
### Added
8
12
- ` SessionMiddleware ` , a middleware to provide support for saving/updating/deleting session state against a pluggable storage backend (see ` SessionStore ` trait). [ #212 ]
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " actix-session"
3
- version = " 0.6.0 "
3
+ version = " 0.6.1 "
4
4
authors = [
5
5
" Nikolay Kim <[email protected] >" ,
6
6
" Luca Palmieri <[email protected] >" ,
Original file line number Diff line number Diff line change 3
3
> Session management for Actix Web applications.
4
4
5
5
[ ![ crates.io] ( https://img.shields.io/crates/v/actix-session?label=latest )] ( https://crates.io/crates/actix-session )
6
- [ ![ Documentation] ( https://docs.rs/actix-session/badge.svg?version=0.6.0 )] ( https://docs.rs/actix-session/0.6.0 )
6
+ [ ![ Documentation] ( https://docs.rs/actix-session/badge.svg?version=0.6.1 )] ( https://docs.rs/actix-session/0.6.1 )
7
7
![ Apache 2.0 or MIT licensed] ( https://img.shields.io/crates/l/actix-session )
8
- [ ![ Dependency Status] ( https://deps.rs/crate/actix-session/0.6.0 /status.svg )] ( https://deps.rs/crate/actix-session/0.6.0 )
8
+ [ ![ Dependency Status] ( https://deps.rs/crate/actix-session/0.6.1 /status.svg )] ( https://deps.rs/crate/actix-session/0.6.1 )
9
9
10
10
11
11
## Documentation & Resources
Original file line number Diff line number Diff line change 5
5
//! influenced by the provided inputs (i.e. the request content) and whatever state the server
6
6
//! queries while performing its processing.
7
7
//!
8
- //! Stateless systems are easier to reason about, but they are not quite as powerful as we need them to
9
- //! be - e.g. how do you authenticate a user? The user would be forced to authenticate **for every
10
- //! single request**. That is, for example, how 'Basic' Authentication works. While it may work for
11
- //! a machine user (i.e. an API client), it is impractical for a person—you do not want a login
12
- //! prompt on every single page you navigate to!
8
+ //! Stateless systems are easier to reason about, but they are not quite as powerful as we need them
9
+ //! to be - e.g. how do you authenticate a user? The user would be forced to authenticate **for
10
+ //! every single request**. That is, for example, how 'Basic' Authentication works. While it may
11
+ //! work for a machine user (i.e. an API client), it is impractical for a person—you do not want a
12
+ //! login prompt on every single page you navigate to!
13
13
//!
14
14
//! There is a solution - **sessions**. Using sessions the server can attach state to a set of
15
15
//! requests coming from the same client. They are built on top of cookies - the server sets a
Original file line number Diff line number Diff line change @@ -190,15 +190,14 @@ pub enum SessionLength {
190
190
pub enum CookieContentSecurity {
191
191
/// The cookie content is encrypted when using `CookieContentSecurity::Private`.
192
192
///
193
- /// Encryption guarantees confidentiality and integrity: the client cannot
194
- /// tamper with the cookie content nor decode it, as long as the encryption key remains
195
- /// confidential.
193
+ /// Encryption guarantees confidentiality and integrity: the client cannot tamper with the
194
+ /// cookie content nor decode it, as long as the encryption key remains confidential.
196
195
Private ,
197
196
198
197
/// The cookie content is signed when using `CookieContentSecurity::Signed`.
199
198
///
200
- /// Signing guarantees integrity, but it doesn't ensure confidentiality: the client
201
- /// cannot tamper with the cookie content, but they can read it.
199
+ /// Signing guarantees integrity, but it doesn't ensure confidentiality: the client cannot
200
+ /// tamper with the cookie content, but they can read it.
202
201
Signed ,
203
202
}
204
203
You can’t perform that action at this time.
0 commit comments