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 missing UserIdentityToken types #198

Merged
merged 6 commits into from
Feb 11, 2025

Conversation

sgoll
Copy link
Contributor

@sgoll sgoll commented Feb 11, 2025

Description

This lays the foundation for supporting authentication by X.509 certificate and external authorization service tokens.

ua::String::new(password)
.unwrap()
.move_into_raw(&mut self.0.password);
pub fn with_password(mut self, password: ua::ByteString) -> Self {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ua::ByteString is the better match here because the password may (later) also be encrypted, with data that is potentially no valid UTF-8 anymore.

@sgoll sgoll requested a review from uklotzde February 11, 2025 15:37
@uklotzde uklotzde merged commit e6cd612 into HMIProject:main Feb 11, 2025
23 checks passed
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.

2 participants