Trait ferry::Session[][src]

pub trait Session {
    fn auth_url(&self) -> String;
fn marshal(&self) -> String;
fn authorize(&self, _: &Provider, _: &Params) -> Result<String, Error>; }

Session needs to be implemented as part of the provider package. It will be marshaled and persisted between requests to "tie" the start and the end of the authorization process with a 3rd party provider.

Required Methods

Implementors