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

Add C++ SDK authorization sample #19

Merged
merged 8 commits into from
Mar 31, 2025
Merged

Conversation

kristopherjohnson
Copy link
Contributor

@kristopherjohnson kristopherjohnson commented Mar 27, 2025

Adds a cpp directory with a C++ command-line-interface application that demonstrates how to do authentication with the Ditto C++ SDK.

Scenarios Tested

Note: not testing shared-key or manual, as the code is very simple but setting up tests is very complicated.

@kristopherjohnson kristopherjohnson self-assigned this Mar 27, 2025
@kristopherjohnson kristopherjohnson added the enhancement New feature or request label Mar 28, 2025
@kristopherjohnson kristopherjohnson marked this pull request as ready for review March 28, 2025 20:53
@kristopherjohnson kristopherjohnson requested a review from a team as a code owner March 28, 2025 20:53
}
});
} else if (!username.empty()) {
authenticator->login_with_credentials(
Copy link
Collaborator

Choose a reason for hiding this comment

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

This one is deprecated

@okdistribute
Copy link
Collaborator

LGTM!

@kristopherjohnson kristopherjohnson merged commit afe8af7 into main Mar 31, 2025
@kristopherjohnson kristopherjohnson deleted the kj/cpp-auth-sample branch March 31, 2025 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants