[][src]Trait firestore_db_and_auth::FirebaseAuthBearer

pub trait FirebaseAuthBearer<'a> {
    fn projectid(&'a self) -> &'a str;
fn bearer(&'a self) -> String; }

Use the firebase documents API with this auth bearer

Required methods

fn projectid(&'a self) -> &'a str

fn bearer(&'a self) -> String

Loading content...

Implementors

impl<'a> FirebaseAuthBearer<'a> for firestore_db_and_auth::sessions::service_account::Session[src]

fn bearer(&'a self) -> String[src]

Return the encoded jwt to be used as bearer token. If the jwt issue_at is older than 50 mins, it will be updated to the current time.

impl<'a> FirebaseAuthBearer<'a> for firestore_db_and_auth::sessions::user::Session[src]

Loading content...