Skip to content

Instantly share code, notes, and snippets.

@hderms
Created October 17, 2019 19:17
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 hderms/9f8efdcf5895c6cf48bb52ea00cc416c to your computer and use it in GitHub Desktop.
Save hderms/9f8efdcf5895c6cf48bb52ea00cc416c to your computer and use it in GitHub Desktop.
val auth: Endpoint[User] = ???
val authedEndpoints = auth :: "protected" :: someRandomEndpoint
Boostrap.serve[Application.Json](authedEndpoints)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment