wultra / networking-apple

A high-level networking SDK for PowerAuth-based endpoints.
Apache License 2.0
0 stars 0 forks source link

Identity onboarding errors #34

Closed kober32 closed 2 years ago

kober32 commented 2 years ago

Known errors are added along the identity onboarding feature

kober32 commented 2 years ago

I verified the error codes with the backend. The backend may also return INVALID_REQUEST, not sure if you want to handle this on frontend, it will not be returned in case of valid requests.

That one is already there https://github.com/wultra/networking-apple/blob/426cce0ec002dc8edae7abc421144332553bec32/Sources/WultraPowerauthNetworking/WPNBaseNetworkingObjects.swift#L141

romanstrobl commented 2 years ago

I verified the error codes with the backend. The backend may also return INVALID_REQUEST, not sure if you want to handle this on frontend, it will not be returned in case of valid requests.

That one is already there

https://github.com/wultra/networking-apple/blob/426cce0ec002dc8edae7abc421144332553bec32/Sources/WultraPowerauthNetworking/WPNBaseNetworkingObjects.swift#L141

Ah yes, then it is all correct.