zitadel-oidc/pkg/oidc
Tim Möhlmann 33c716ddcf
feat: merge the verifier types (#336)
BREAKING CHANGE:

- The various verifier types are merged into a oidc.Verifir.
- oidc.Verfier became a struct with exported fields

* use type aliases for oidc.Verifier

this binds the correct contstructor to each verifier usecase.

* fix: handle the zero cases for oidc.Time

* add unit tests to oidc verifier

* fix: correct returned field for JWTTokenRequest

JWTTokenRequest.GetIssuedAt() was returning the ExpiresAt field.
This change corrects that by returning IssuedAt instead.
2023-03-22 19:18:41 +02:00
..
grants chore(linting): apply gofumpt & goimports to all .go files (#225) 2022-10-05 09:33:10 +02:00
regression_data fix: unmarshalling of scopes in access token (#327) 2023-03-15 14:44:49 +01:00
authorization.go chore(linting): apply gofumpt & goimports to all .go files (#225) 2022-10-05 09:33:10 +02:00
code_challenge.go upgrade this module to v3 2023-03-20 13:38:21 +02:00
device_authorization.go implement RFC 8628: Device authorization grant 2023-03-01 08:59:17 +01:00
discovery.go implement RFC 8628: Device authorization grant 2023-03-01 08:59:17 +01:00
error.go implement RFC 8628: Device authorization grant 2023-03-01 08:59:17 +01:00
introspection.go refactor: use struct types for claim related types (#283) 2023-03-10 16:31:22 +02:00
introspection_test.go refactor: use struct types for claim related types (#283) 2023-03-10 16:31:22 +02:00
jwt_profile.go chore(linting): apply gofumpt & goimports to all .go files (#225) 2022-10-05 09:33:10 +02:00
keyset.go chore(linting): apply gofumpt & goimports to all .go files (#225) 2022-10-05 09:33:10 +02:00
keyset_test.go add missing import 2022-01-28 09:48:37 +01:00
regression_assert_test.go refactor: use struct types for claim related types (#283) 2023-03-10 16:31:22 +02:00
regression_create_test.go refactor: use struct types for claim related types (#283) 2023-03-10 16:31:22 +02:00
regression_test.go refactor: use struct types for claim related types (#283) 2023-03-10 16:31:22 +02:00
revocation.go feat: Token Revocation, Request Object and OP Certification (#130) 2021-11-02 13:21:35 +01:00
session.go chore(linting): apply gofumpt & goimports to all .go files (#225) 2022-10-05 09:33:10 +02:00
token.go upgrade this module to v3 2023-03-20 13:38:21 +02:00
token_request.go feat: merge the verifier types (#336) 2023-03-22 19:18:41 +02:00
token_test.go refactor: use struct types for claim related types (#283) 2023-03-10 16:31:22 +02:00
types.go feat: merge the verifier types (#336) 2023-03-22 19:18:41 +02:00
types_test.go feat: merge the verifier types (#336) 2023-03-22 19:18:41 +02:00
userinfo.go refactor: use struct types for claim related types (#283) 2023-03-10 16:31:22 +02:00
userinfo_test.go refactor: use struct types for claim related types (#283) 2023-03-10 16:31:22 +02:00
util.go refactor: use struct types for claim related types (#283) 2023-03-10 16:31:22 +02:00
util_test.go refactor: use struct types for claim related types (#283) 2023-03-10 16:31:22 +02:00
verifier.go feat: merge the verifier types (#336) 2023-03-22 19:18:41 +02:00
verifier_parse_test.go feat: merge the verifier types (#336) 2023-03-22 19:18:41 +02:00
verifier_test.go feat: merge the verifier types (#336) 2023-03-22 19:18:41 +02:00