[−][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_auth(
&self,
username: &Username,
token: &str
) -> Box<dyn Future<Item = Self::Account, Error = ()> + Send>
&self,
username: &Username,
token: &str
) -> Box<dyn Future<Item = Self::Account, Error = ()> + Send>
Load Account details based on the auth token received via BTP.
fn get_btp_outgoing_accounts(
&self
) -> Box<dyn Future<Item = Vec<Self::Account>, Error = ()> + Send>
&self
) -> Box<dyn Future<Item = Vec<Self::Account>, Error = ()> + Send>
Load accounts that have a ilp_over_btp_url configured