Skip to content

Store access tokens as a post type #215

Description

@spacedmonkey

Currently user access tokens are stored as an option. This has a number of down sides, includes

  • Extremely hard to query, with for all or by user
  • Options table is not designed to scale to millions of rows.
  • Access tokens are not directly linked to users and are not deleted when user accounts for removed.

Making the access token a post type, fixes all these issues.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions