Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UX: Request Attribute Flow #1

Open
TimSpeelman opened this issue Jun 26, 2019 · 0 comments
Open

UX: Request Attribute Flow #1

TimSpeelman opened this issue Jun 26, 2019 · 0 comments

Comments

@TimSpeelman
Copy link
Owner

The basic AttributeRequest UX flow:

  1. Select a provider
  2. Select an attribute offered by that provider
  3. (opt.:) Share attributes required for that attribute
  4. Accept the offered attributes into wallet

The set of providers is preconfigured into the application. The set of attributes (2) and the requirements (3) may be preconfigured, or loaded dynamically based on the user's choices at (1) and (2) respectively. Fow now, we will preconfigure everthing.

How do we model the AttributeShare and AttributeAccept procedures? We can imagine that AttributeShare may also be used in a different setting, i.e. not initiated by the user. The same holds for AttributeAccept.

  • AttributeShare:
    • Receiver : the identity / logo of the party receiving the data
    • Reason : the reason provided for sharing the data
    • Attribute[] : the list of attributes to be shared
  • AttributeAccept:
    • Sender : the identity / logo of the party sending the data
    • Attribute[] : the list of attributes to be accepted.

As the AttributeRequest flow contains multiple steps across several views, we need to somehow keep track of this process, either in the front- or backend. Also, when the user quits the procedure, we must lose track of the process. State alternatives:

  • URL query string
  • Front-end memory
  • Back-end memory

Let's first try the front-end memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant