Skip to content

Add security middleware #3

@lvaldovinos

Description

@lvaldovinos
  • Check that only valid tokens can access to private resources

Protected resource/method
/users
Private : GET, PUT, DELETE
Public : POST

if invalid token return 401 eg.
{"code":401,"status":"error","message":"token is invalid","data":"UnauthorizedException"}

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