atsign-foundation / at_client_sdk

The Dart implementation of atSDK used for implementing Atsign's technology into other software

Home Page:https://pub.dev/publishers/atsign.org/packages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Return Enrollment Status upon approve/deny of an enrollment via callback

sitaram-kalluri opened this issue · comments

Is your feature request related to a problem? Please describe.

  • After submitting an enrollment request, the app that has submitted a request (Sending app) starts authentication process.
  • If an enrollment request is approved or rejected by the approving app, the enrollment status is not propagated back to the client. Hence it will be difficult for the mobile apps to navigate to respective screen.

Describe the solution you'd like

Introduce a enrollmentCallBack which will return the enrollment status upon enrollment approval or reject, so that apps can navigate to the respective screen basing on the enrollment status.

Describe alternatives you've considered

No response

Additional context

No response

The changes are pushed to branch : "apkam_onboarding_changes_with_enrollment_status"
Please find the commit here: bf479e5

Replacing callbacks with Future's. The changes are completed and pushed to "apkam_onboarding_changes_with_enrollment_status"

The changes are tested with unit tests and mobile apps. Hence closing the git issue.