Skip to content

A wrapper around the Win32 API credential management functions.

License

Notifications You must be signed in to change notification settings

karashiiro/wincredentials-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crates.io docs.rs

wincredentials-rs

A wrapper around the Win32 API credential management functions. Currently only supports generic credentials.

Example

use wincredentials::*;

fn main() {
  let _ = write_credential("test_target", credential::Credential{
    username: "username".to_owned(),
    secret: "test".to_owned(),
  });
  
  let cred = read_credential("test_target").unwrap();
  println!(cred.username);
  println!(cred.secret);
  
  let _ = delete_credential("test_target");
}

About

A wrapper around the Win32 API credential management functions.

Topics

Resources

License

Stars

Watchers

Forks

Languages