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

feat: introduce cramAuthenticate and close into atLookup interface #433

Merged
merged 5 commits into from
Oct 26, 2023

Conversation

srieteja
Copy link
Contributor

closes #421
- What I did

  • Introduce cramAuthenticate() and close() into AtLookup interface
  • Deprecate method authenticate_cram from AtlookupImpl
  • Upgrade dependencies at_commons to v3.0.57 and at_chops to v1.0.5

- Description for the changelog

feat: introduce cramAuthenticate and close into atLookup interface

/// Optionally pass enrollmentId if the client is enrolled using APKAM
Future<bool> pkamAuthenticate({String? enrollmentId});

/// Generates digest using from verb response and [secret] and performs a
/// CRAM authentication to secondary server
Future<bool> cramAuthenticate(var secret);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you rename param from var secret to String secret

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change has been made as part of 6deb45f

@murali-shris murali-shris merged commit b7ac234 into trunk Oct 26, 2023
10 checks passed
@murali-shris murali-shris deleted the cram_autheticate branch October 26, 2023 07:50
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.

add close and cramAuthenticate as public methods to AtLookUp interface
2 participants