1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#![deny(warnings)]
#![cfg_attr(feature = "external_doc", feature(external_doc))]
#![cfg_attr(feature = "external_doc", doc(include = "../readme.md"))]
extern crate regex;
extern crate ring;
extern crate untrusted;
pub mod credentials;
pub mod documents;
pub(crate) mod dto;
pub mod errors;
pub mod firebase_rest_to_rust;
pub mod jwt;
pub mod sessions;
pub mod users;
#[doc(hidden)]
pub mod private {
pub use crate::dto::*;
}
#[cfg(feature = "rocket_support")]
pub mod rocket;
pub use credentials::Credentials;
pub trait FirebaseAuthBearer<'a> {
fn projectid(&'a self) -> &'a str;
fn bearer(&'a self) -> String;
}