Skip to content

1.0.0-alpha.7

Choose a tag to compare

@sathyajithps sathyajithps released this 11 May 05:17
· 3 commits to master since this release
83f2a8e
feat: enhance OpenSSLCrypto with algorithm validation and fallback

- Added algorithm validation in `jwe_serialize`, `jwe_deserialize`, `jws_serialize`, and `jws_deserialize` methods to ensure consistency between JWK and header parameters.
- Updated `CustomJwk` trait methods to accept optional algorithm parameters for signing and encryption.
- Introduced unit tests for JWS and JWE serialization/deserialization with JWKs lacking algorithm parameters.

feat: add JWK Set support

- Introduced `Jwks` struct to represent a set of JWKs, allowing for easier management of multiple keys.

fix: update AuthorizationParameters to use a single scope string

- Changed `scope` field from `Option<Vec<String>>` to `Option<String>` for better alignment with OAuth 2.0 specifications.
- Updated methods for adding scopes accordingly.

feat: enhance ClientMetadata with JWK support

- Added `jwks` and `jwks_uri` fields to `ClientMetadata` for better integration with JWKs.
- Updated `ClientRegistrationRequest` to accept JWK sets directly.

feat: improve HTTP client expectations

- Added `raw` field to `HttpResponseExpectations` to allow for raw string body expectations.
- Updated methods in `HttpRequest` to set expectations for raw body responses.