C# Class Hummingbird.Core.CredentialManager

显示文件 Open project: Microsoft/hummingbird Class Usage Examples

Private Properties

Property Type Description
CredentialManager System
GetUserCredentials Hummingbird.Models.UserCredentials
ReadFromLocalAppdata byte[]
StoreUserCredentials bool
WriteToLocalAppData bool

Private Methods

Method Description
CredentialManager ( ) : System
GetUserCredentials ( ) : UserCredentials

Decrypts the user credentials stored locally.

ReadFromLocalAppdata ( ) : byte[]

Read teh binary representation of the credentials file.

StoreUserCredentials ( string userName, string password ) : bool

Encrypts and stores the user credentials locally.

WriteToLocalAppData ( byte content ) : bool

Writes the encrypted binary content to the Local App Data folder.