Add token trait abstraction explanation

This commit is contained in:
Curtis McEnroe 2015-12-21 21:44:05 -05:00
parent bfc17a3020
commit 40e428f5e9
1 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,9 @@
//! Tokens. //! Tokens.
//!
//! Access token types are abstracted through the `Token` trait. See
//! [RFC6749, section 7.1](http://tools.ietf.org/html/rfc6749#section-7.1).
//!
//! Expiring and non-expiring tokens are abstracted through the `Lifetime` trait.
/// OAuth 2.0 tokens. /// OAuth 2.0 tokens.
/// ///