Skip to content

Add decorator for protecting endpoints #29

Closed

Description

@kushagra189

We need to take into consideration and remove the following redundant code by adding a corresponding module to the Foca python package.

While addressing the same we need to keep in mind the following aspects

  • check for the required parameters that are essential to pass through the decorator
  • for unit tests relying on service/HTTP calls to identity provider, mock up responses in cases where valid token requirement is essential for the code to proceed.

Activity

  1. sarthakgupta072 commented on May 15, 2020

    @sarthakgupta072
    Member

    This is a duplicate of #25, right?
    If yes, you can add the above content as a comment there.

    OR

    Maybe change the title of the issue to specifically add decorators and give a link of this issue in #25

  2. changed the title [-]Adding security module(s)[/-] [+]Adding decorators[/+] on May 16, 2020
  3. changed the title [-]Adding decorators[/-] [+]Add decorator for protecting endpoints[/+] on May 18, 2020
  4. added
    status: abandoned
    on May 18, 2020
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

    status flag: duplicatestatus: abandoned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions