[−][src]Trait interledger::btp::BtpOpenSignupStore
The interface for Store implementatoins that allow open BTP signups. Every incoming WebSocket connection will automatically have a BtpOpenSignupAccount created and added to the store.
WARNING: Users and store implementors should be careful when implementing this trait because malicious users can use open signups to create very large numbers of accounts and crash the process or fill up the database.
Associated Types
type Account: BtpAccount
Required methods
fn create_btp_account(
&self,
account: BtpOpenSignupAccount<'a>
) -> Box<dyn Future<Error = (), Item = Self::Account> + 'static + Send>
&self,
account: BtpOpenSignupAccount<'a>
) -> Box<dyn Future<Error = (), Item = Self::Account> + 'static + Send>
Implementors
impl BtpOpenSignupStore for InMemoryStore
[src]
type Account = Account
fn create_btp_account(
&self,
account: BtpOpenSignupAccount<'a>
) -> Box<dyn Future<Error = (), Item = <InMemoryStore as BtpOpenSignupStore>::Account> + 'static + Send>
[src]
&self,
account: BtpOpenSignupAccount<'a>
) -> Box<dyn Future<Error = (), Item = <InMemoryStore as BtpOpenSignupStore>::Account> + 'static + Send>