We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ecca58 commit f65ccc6Copy full SHA for f65ccc6
security-framework/src/passwords_options.rs
@@ -114,6 +114,13 @@ impl PasswordOptions {
114
}
115
116
117
+ /// Add access control to the password
118
+ pub fn set_access_control(&mut self, access_control: SecAccessControl) {
119
+ unsafe {
120
+ self.push_query(kSecAttrAccessControl, access_control);
121
+ }
122
123
+
124
/// Add access group to the password
125
pub fn set_access_group(&mut self, group: &str) {
126
unsafe {
0 commit comments