This repository was archived by the owner on Jun 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -34,29 +34,28 @@ static Credential()
3434 public Credential ( ) : this ( null , ( string ) null )
3535 { }
3636
37- public Credential ( [ AllowNull ] string username = null ,
37+ public Credential (
38+ [ AllowNull ] string username = null ,
3839 [ AllowNull ] SecureString password = null ,
39- [ AllowNull ] string target = null ,
40- [ AllowNull ] CredentialType type = CredentialType . Generic )
40+ [ AllowNull ] string target = null )
4141 {
4242 Username = username ;
4343 SecurePassword = password ;
4444 Target = target ;
45- Type = type ;
45+ Type = CredentialType . Generic ;
4646 PersistenceType = PersistenceType . LocalComputer ;
4747 _lastWriteTime = DateTime . MinValue ;
4848 }
4949
5050 public Credential (
5151 [ AllowNull ] string username = null ,
5252 [ AllowNull ] string password = null ,
53- [ AllowNull ] string target = null ,
54- [ AllowNull ] CredentialType type = CredentialType . Generic )
53+ [ AllowNull ] string target = null )
5554 {
5655 Username = username ;
5756 Password = password ;
5857 Target = target ;
59- Type = type ;
58+ Type = CredentialType . Generic ;
6059 PersistenceType = PersistenceType . Session ;
6160 _lastWriteTime = DateTime . MinValue ;
6261 }
You can’t perform that action at this time.
0 commit comments