Skip to content

Authentication & Authorization #2

Description

@maboelenein
  • Users Table to Be Added to the Database that holds

    • User Email (primary key)
    • User STX Address
    • User BTC Address (if exists ..)
    • watchlist (Array of STX Addresses)
    • token

    Types of Users

    • Anonymous (Hasn’t logged in using stacks wallet) (Anonymous Token)
      • Gets Access to the public data (not user specific)
    • Authenticated User (Has logged in using stacks wallet) (User Token)
      • Gets Access to the public data (not user specific)
      • Gets Edit Access on his/her data in the users table
      • Gets Access to the watchlist of just him/her self

    Endpoints

    • Get Anonymous Token → returns a user token with the user data
    • verify email Address → returns success or failure along with the user data

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions