Giter Club home page Giter Club logo

Comments (2)

daved avatar daved commented on July 28, 2024 2

Requesting a voucher will result in an email being sent out with a token that can be used within a certain window of time in order to do things like confirm an email address or update a password. This allows the auth portion of the code to focus on authentication and the user portion of the code to focus on user data. They then "interact" in the authorization layer (likely to be called "user access control(ler)".

For example:

  1. Request new User
  2. Receive valid User response with "hold" placed on sensitive field values
  3. Request Voucher using an email field
  4. Receive valid Voucher response (indicating the caller should check the provided email address inbox)
  5. Check for Token by email
  6. Request update to User with hold removed (limited by email address in Token) before expiration
  7. Receive valid User response with field values set correctly

I suspect that we'll be able to add an "input token" and "token" field to the Voucher request/response messages to enable programmatic third-party authentication (e.g. github, google). This would allow the user to do something like:

  1. Request Voucher using a "third-party token" field
  2. Receive valid Voucher response (with Token)
  3. Request new User without hold set (limited by email address in Token) before expiration
  4. Receive valid User response with field values set correctly

from openboard.

nqthqn avatar nqthqn commented on July 28, 2024

What is a Voucher?

from openboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.