Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Extensions] Introduce ClientBehaviour model #80

Open
msirringhaus opened this issue Feb 21, 2025 · 0 comments
Open

[Extensions] Introduce ClientBehaviour model #80

msirringhaus opened this issue Feb 21, 2025 · 0 comments

Comments

@msirringhaus
Copy link
Collaborator

msirringhaus commented Feb 21, 2025

Extension processing also alter platform behaviour. As an example 12.1. Credential Protection (credProtect) may require performing additional authenticator checks, in certain circumstances. The need for these checks may be represented in a new ClientBehaviour struct, to be potentially altered during extension processing:

    trait ClientExtensionProcessing<G, C> {
      fun get(&self, input: &G, &mut clientBehaviour: ClientBehaviour): ExtensionResult<CborMap>
      fun create(&self, input: &C, &mut clientBehaviour: ClientBehaviour): ExtensionResult<CborMap>
    }

Originally posted by @AlfioEmanueleFresta in #77 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant