UserRepository

public protocol UserRepository

User repository protocol

  • Gets the user

    • completion: the callback handler of responses from the Hyperwallet platform

    Declaration

    Swift

    func getUser(completion: @escaping (Result<HyperwalletUser?, HyperwalletErrorType>) -> Void)
  • Refreshes user

    Declaration

    Swift

    func refreshUser()