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()
34
34
public Credential ( ) : this ( null , ( string ) null )
35
35
{ }
36
36
37
- public Credential ( [ AllowNull ] string username = null ,
37
+ public Credential (
38
+ [ AllowNull ] string username = null ,
38
39
[ AllowNull ] SecureString password = null ,
39
- [ AllowNull ] string target = null ,
40
- [ AllowNull ] CredentialType type = CredentialType . Generic )
40
+ [ AllowNull ] string target = null )
41
41
{
42
42
Username = username ;
43
43
SecurePassword = password ;
44
44
Target = target ;
45
- Type = type ;
45
+ Type = CredentialType . Generic ;
46
46
PersistenceType = PersistenceType . LocalComputer ;
47
47
_lastWriteTime = DateTime . MinValue ;
48
48
}
49
49
50
50
public Credential (
51
51
[ AllowNull ] string username = null ,
52
52
[ AllowNull ] string password = null ,
53
- [ AllowNull ] string target = null ,
54
- [ AllowNull ] CredentialType type = CredentialType . Generic )
53
+ [ AllowNull ] string target = null )
55
54
{
56
55
Username = username ;
57
56
Password = password ;
58
57
Target = target ;
59
- Type = type ;
58
+ Type = CredentialType . Generic ;
60
59
PersistenceType = PersistenceType . Session ;
61
60
_lastWriteTime = DateTime . MinValue ;
62
61
}
You can’t perform that action at this time.
0 commit comments