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

allow use of a custom token model #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BrunoVillanova
Copy link

@BrunoVillanova BrunoVillanova commented Sep 1, 2017

This commit allow the use of a custom Token model for expiring token.
Eg:

class CustomModelObtainExpiringAuthToken(ObtainExpiringAuthToken):
    model =CustomModelToken

obtain_expiring_auth_token = CustomModelObtainExpiringAuthToken.as_view()

@coveralls
Copy link

coveralls commented Sep 1, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling dee4cf5 on BrunoVillanova:master into e62f1f9 on JamesRitchie:master.

1 similar comment
@coveralls
Copy link

coveralls commented Sep 1, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling dee4cf5 on BrunoVillanova:master into e62f1f9 on JamesRitchie:master.

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

Successfully merging this pull request may close these issues.

None yet

2 participants