unilim-cas 1.0.1

A purrfect CAS authentication wrapper for Unilim.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod cas;
mod error;
mod html;
mod models;
mod pending;
mod totp;

pub use cas::CAS;
pub use error::{Error, Result};
pub use models::{OAuth2, Services, Tokens, User};
pub use pending::PendingAuth;

/// base url of the cas portal.
pub const HOST: &str = "https://cas.unilim.fr";
/// name of the session cookie.
pub const COOKIE: &str = "lemonldap";
/// name of the persistence cookie enabling [`CAS::restore`].
pub const PERSIST_COOKIE: &str = "llngconnection";