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

New abstraction for token generation #396

Open
sky-code opened this issue Dec 21, 2017 · 0 comments
Open

New abstraction for token generation #396

sky-code opened this issue Dec 21, 2017 · 0 comments

Comments

@sky-code
Copy link

sky-code commented Dec 21, 2017

Instead of REST_USE_JWT flag introduce a new abstraction for token generation (token provider)
djoser as example already have TOKEN_MODEL settings parameter for this.
This is required for adding new token providers as example this pull request for knox tokens support, add another settings flag REST_USE_KNOX , this flags can be replaced by one settings parameter token_provier or token_model or token_generator one settings parameter instead of many flags.

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

1 participant