- Account\SelfUpdatingAccount
interface Account \ SelfUpdatingAccount
- All known implementing classes:
- Coinbase
Represents an AccountType that requires some sort of self-updating mechanism with the account data.
This is necessary for e.g. OAuth2 updating access_tokens, refresh_tokens
Method Summary
Name | Description |
---|---|
registerAccountUpdateCallback($callback) | When we have finished with this account, register this callback that will update the account data with the given new data. |
public function registerAccountUpdateCallback($callback)
When we have finished with this account, register this callback that will update the account data with the given new data.
This is necessary for e.g. OAuth2 updating access_tokens, refresh_tokens