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

Feature/infer auth type from context #37

merged 2 commits into from May 7, 2018


3 participants
Copy link

siemensikkema commented Apr 21, 2018

This PR allows

secured.get("me") { request -> U in
    try request.requireAuthenticated()

instead of

secured.get("me") { request -> U in
    try request.requireAuthenticated(U.self)

Same for the other authentication methods.

@siemensikkema siemensikkema requested a review from tanner0101 Apr 21, 2018

Copy link

tanner0101 left a comment


@tanner0101 tanner0101 merged commit 89d184f into master May 7, 2018

1 check passed

ci/circleci: linux Your tests passed on CircleCI!

This comment has been minimized.

Copy link

penny-coin commented May 7, 2018

Hey @siemensikkema, you just merged a pull request, have a coin!

You now have 4 coins.

@tanner0101 tanner0101 deleted the feature/infer-auth-type-from-context branch May 7, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment