jose: remove hmac signing and verification code

This was brought up during disucssions about #98. The HMAC logic
isn't used by this package or dex. We don't support client_secret_jwt
client authentication[0] in dex and don't provide an interface for it
in our client package.

Remove the HMAC code for now. We don't want to encourage its use and
can revert this change if ever need to support it.

This change has been tested with the dex repo and passes those unit
tests locally.

[0] https://openid.net/specs/openid-connect-core-1_0.html#ClientAuthentication
2 files changed
tree: 92432b109ada8c9191df0a49a6dc970391d10cf6
  1. example/
  2. http/
  3. jose/
  4. key/
  5. oauth2/
  6. oidc/
  7. .gitignore
  8. .travis.yml
  9. build
  10. CONTRIBUTING.md
  11. DCO
  12. LICENSE
  13. MAINTAINERS
  14. NOTICE
  15. README.md
  16. test
README.md

go-oidc

GoDoc Build Status

go-oidc provides a comprehensive collection of golang libraries for other projects to implement OpenID Connect (OIDC) server and client components.

package documentation