Skip to content

Instantly share code, notes, and snippets.

@delitescere
Created March 22, 2012 04:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save delitescere/2155822 to your computer and use it in GitHub Desktop.
Save delitescere/2155822 to your computer and use it in GitHub Desktop.
How to get the HTTP Request to the authenticate method?
tuple(...
).verifying("Invalid username or password", _ match {
case (Some(u), Some(p), _) => authenticate(u, p)
...
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment