Refactor of AuthorizationRequest (in oid4vc-core/src/authorization_request.rs) which means the previous awkward RequestUrl is deprecated. Possible variations of AuthorizationRequest are now: AuthorizationRequest<ByValue>, AuthorizationRequest<Object>, AuthorizationRequest<Object<SIOPv2>>, and AuthorizationRequest<Object<OID4VP>>.
A new Extension trait (defined in oid4vc-core/src/openid4vc_extension.rs), which allows for a clearer distinction between oid4vc-core, siopv2 and oid4vp. The core part of both AuthorizationRequest and AuthorizationResponse or now moved to the oid4vc-core crate.
ClientMetadata and Scope are moved to oid4vc-core as well now.
Upgraded ed25519_dalek dev-dependency.
Temporary removed the outdated iota DID method.
Links to any relevant issues
42
How the change has been tested
Describe the tests that you ran to verify your changes.
Make sure to provide instructions for the maintainer as well as any relevant configurations.
Definition of Done checklist
Add an x to the boxes that are relevant to your changes.
[x] I have followed the contribution guidelines for this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
Description of change
This PR includes several changes:
JsonValue
instead ofserde_json::Value
AuthorizationRequest
(inoid4vc-core/src/authorization_request.rs
) which means the previous awkwardRequestUrl
is deprecated. Possible variations ofAuthorizationRequest
are now:AuthorizationRequest<ByValue>
,AuthorizationRequest<Object>
,AuthorizationRequest<Object<SIOPv2>>
, andAuthorizationRequest<Object<OID4VP>>
.Extension
trait (defined inoid4vc-core/src/openid4vc_extension.rs
), which allows for a clearer distinction betweenoid4vc-core
,siopv2
andoid4vp
. The core part of bothAuthorizationRequest
andAuthorizationResponse
or now moved to theoid4vc-core
crate.ClientMetadata
andScope
are moved tooid4vc-core
as well now.ed25519_dalek
dev-dependency.Links to any relevant issues
42
How the change has been tested
Describe the tests that you ran to verify your changes. Make sure to provide instructions for the maintainer as well as any relevant configurations.
Definition of Done checklist
Add an
x
to the boxes that are relevant to your changes.