[−][src]Trait interledger_btp::BtpStore
The interface for Store implementations that can be used with the BTP Server.
Associated Types
type Account: BtpAccount
Required methods
fn get_account_from_btp_token(
&self,
token: &str,
username: Option<&str>
) -> Box<dyn Future<Item = Self::Account, Error = ()> + Send>
&self,
token: &str,
username: Option<&str>
) -> Box<dyn Future<Item = Self::Account, Error = ()> + Send>
Load Account details based on the auth token received via BTP.