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

Auth2 updates + deserialisation #36

Merged
merged 4 commits into from
Jul 17, 2023
Merged

Auth2 updates + deserialisation #36

merged 4 commits into from
Jul 17, 2023

Conversation

donaldgray
Copy link
Member

Fixes #23

Made the following changes to Auth2 models based on finalised spec:

  • AuthAccessService2 has "active" profile, rather than "interactive".
  • Modified AuthProbeResult2:
    • Status is now required
    • Substitute is a list and IService rather than JsonLdBase.
    • Location is IService rather than JsonLdBase
  • AuthAccessTokenError2 constructor takes optional LanguageMap as note is optional.
  • AccessToken and MessageId are required for AuthAccessToken2

Added deserialisation tests - these are basic tests verifying that we can deserialise the output of existing serialisation tests.

@donaldgray donaldgray merged commit 6be6f74 into main Jul 17, 2023
@donaldgray donaldgray deleted the feature/update_auth2 branch July 17, 2023 15:15
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

Successfully merging this pull request may close these issues.

Write deserialisers for Auth2
3 participants