We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm currently integration tokenable into a rails app and want to write tests to check for valid vs invalid tokens and the responses.
Currently I can't find an easy way to generate a valid token for a user since the token_from_user method is inside the controller.
token_from_user
The text was updated successfully, but these errors were encountered:
Can't you just include Tokenable::Authable, and use the method?
include Tokenable::Authable
Sorry, something went wrong.
Does it make sense to move this to a user method instead maybe?
No branches or pull requests
I'm currently integration tokenable into a rails app and want to write tests to check for valid vs invalid tokens and the responses.
Currently I can't find an easy way to generate a valid token for a user since the
token_from_user
method is inside the controller.The text was updated successfully, but these errors were encountered: