Skip to content

Replace nimbus ReadOnlyAuthorizationServerMetadata #481

@vafeini

Description

@vafeini

Currently VCI library is resolving (AuthorizationServerMetadataResolver) an OAuth server's metadata as CIAuthorizationServerMetadata, a typealias of nimbus' ReadOnlyAuthorizationServerMetadata.

CIAuthorizationServerMetadata is set as a property in CredentialOffer.

As ReadOnlyAuthorizationServerMetadata is not serializable this causes issues to clients of vci library when they need to serialize a resolved CredentialOffer.

  • Implement CIAuthorizationServerMetadata as a data class instead of a typealias of ReadOnlyAuthorizationServerMetadata of nimbus. Its proprties should align with those exposed by ReadOnlyAuthorizationServerMetadata interface.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions