This repository was archived by the owner on Aug 17, 2022. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork2
HTTP Holder-Of-Key Authentication Scheme for Finagle
License
NotificationsYou must be signed in to change notification settings
redbubble/finagle-hawk
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
HTTP Holder-Of-Key Authentication Scheme (Hawk) support forFinagle.
Note that it currently doesn't supportResponse Payload Validation.
Almost all of this library is Finagle agnostic, onlyHawkAuthenticateRequestFilter
is tied to Finagle.
If you like this, you might like other open source code from Redbubble:
- rb-scala-utils - Miscellaneous utilities (common code) for buildingScala-based services, using Finch (on which this project depends).
- finch-template - A template project for Finch-based services.
- rb-graphql-template - A template for Scala HTTP GraphQL services.
- finch-sangria - A simple wrapper for using Sangria from within Finch;
You will need to add something like the following to yourbuild.sbt
:
resolvers+=Resolver.jcenterRepolibraryDependencies+="com.redbubble"%%"finagle-hawk"%"0.3.1"
valcreds=Credentials(KeyId("Key ID"),Key("8e2dd2949b0e30c544336f73f94e2df3"),Sha256)objectAuthenticationFilterextendsHawkAuthenticateRequestFilter(creds)valauthenticatedService=AuthenticationFilter andThen service
For contributors, a cheat sheet to making a new release:
$ git commit -m"New things"&& git push$ git tag -a v0.0.3 -m"v0.0.3"$ git push --tags$ ./sbt publish
Issues and pull requests are welcome. Code contributions should be aligned with the above scope to be included, and include unit tests.
About
HTTP Holder-Of-Key Authentication Scheme for Finagle
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published