feat(header): Authorization Scheme for Oauth

Allows not natively use Oauth2 schemes with hyper Authorization headers.
Added support for serialization and parsing.
This commit is contained in:
Sebastian Thiel
2015-03-22 11:55:05 +01:00
parent 0710d310f8
commit feba2d0e5a
3 changed files with 80 additions and 2 deletions

View File

@@ -82,6 +82,6 @@ mod helper;
pub use device::{DeviceFlow, PollInformation, PollResult};
pub use refresh::{RefreshFlow, RefreshResult};
pub use common::{Token, FlowType, ApplicationSecret, ConsoleApplicationSecret};
pub use common::{Token, FlowType, ApplicationSecret, ConsoleApplicationSecret, Scheme, TokenType};
pub use helper::{TokenStorage, NullStorage, MemoryStorage, Authenticator,
AuthenticatorDelegate, Retry, DefaultAuthenticatorDelegate, GetToken};