Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scopes #1

Closed
ahopkins opened this issue Sep 27, 2017 · 5 comments
Closed

Scopes #1

ahopkins opened this issue Sep 27, 2017 · 5 comments
Assignees

Comments

@ahopkins
Copy link
Owner

Create a mechanism for attaching and checking scoped access tokens.

For example:

def get_scopes():
    return [
        'read:messages',
        'write:messages',
    ]
@nullpixel
Copy link

This would be very cool!

@ahopkins
Copy link
Owner Author

Thanks. I am going to be working on another batch of upgrades to this (hopefully this week). This is the next thing I am thinking of adding. Any particular thoughts certainly welcome.

@nullpixel
Copy link

Will let you know. This lib is quite useful for me, so I may contribute to some of the stuff on your roadmap

@ahopkins
Copy link
Owner Author

@nullpixel Awesome. Would love to see it.

@ahopkins
Copy link
Owner Author

There is a new branch scopes.

https://github.com/ahopkins/sanic-jwt/tree/scopes#scopes

Seems to be working as expected. But, before merging into master I am going to add my test suite.

@ahopkins ahopkins self-assigned this Oct 23, 2017
@ahopkins ahopkins mentioned this issue Oct 23, 2017
ahopkins pushed a commit that referenced this issue Jan 18, 2018
ahopkins pushed a commit that referenced this issue Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants