Add verification callback
This commit is contained in:
parent
b07dfad37e
commit
00d441d17d
|
@ -77,6 +77,12 @@ class WebApp(util.Base):
|
||||||
# self.sinks.truelayer.handle_authcode_received(code)
|
# self.sinks.truelayer.handle_authcode_received(code)
|
||||||
return dumps(True)
|
return dumps(True)
|
||||||
|
|
||||||
|
@app.route("/callback-verify", methods=["POST"])
|
||||||
|
def callback_verify(self, request):
|
||||||
|
# code = request.args[b"code"]
|
||||||
|
rtrn = self.ux.verify.handle_callback(request)
|
||||||
|
return dumps(rtrn)
|
||||||
|
|
||||||
@app.route("/accounts/<string:account>", methods=["GET"])
|
@app.route("/accounts/<string:account>", methods=["GET"])
|
||||||
def balance(self, request, account):
|
def balance(self, request, account):
|
||||||
accounts = self.sinks.truelayer.get_accounts(account)
|
accounts = self.sinks.truelayer.get_accounts(account)
|
||||||
|
|
Loading…
Reference in New Issue