Skip to content

Instantly share code, notes, and snippets.

@kparlante
Last active December 16, 2015 04:09
Show Gist options
  • Save kparlante/5374841 to your computer and use it in GitHub Desktop.
Save kparlante/5374841 to your computer and use it in GitHub Desktop.
document expected event streams and other interaction data fields for various user flows
  1. Add new secondary user

  • event_stream
    • window.channel_established
    • screen.rp_info
    • xhr_complete.GET/wsapi/session_context
    • screen.authenticate
    • user.can_interact
    • xhr_complete.GET/wsapi/address_info
    • screen.set_password
    • screen.cancel
    • screen.authenticate
    • screen.set_password
    • xhr_complete.POST/wsapi/stage_user
    • user.user_staged
    • screen.check_registration
    • xhr_complete.GET/wsapi/user_creation_status x n
    • xhr_complete.POST/wsapi/authenticate_user
    • xhr_complete.GET/wsapi/list_emails
    • xhr_complete.GET/wsapi/list_emails
    • user.user_confirmed
    • generate_assertion
    • screen.generate_assertion
    • xhr_complete.POST/wsapi/cert_key
    • assertion_generated
    • window.unload
  • new_account: true
  • orphaned: false

x. Add secondary user to primary

  • event_stream:
    • window.dom_loading
    • window.channel_established
    • screen.rp_info
    • xhr_complete.GET/wsapi/session_context
    • xhr_complete.POST/wsapi/interaction_data
    • xhr_complete.GET/wsapi/list_emails
    • screen.pick_email
    • user.can_interact
    • screen.add_email
    • xhr_complete.GET/wsapi/address_info
    • screen.set_password
    • xhr_complete.POST/wsapi/stage_email
    • user.email_staged
    • screen.check_registration
    • xhr_complete.GET/wsapi/email_addition_status
    • xhr_complete.POST/wsapi/authenticate_user
    • xhr_complete.GET/wsapi/list_emails
    • user.email_confirmed
    • generate_assertion
    • screen.generate_assertion
    • xhr_complete.POST/wsapi/cert_key
    • assertion_generated
    • window.unload
  • new_account:false
  • orphaned":false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment