@@ -40,42 +40,62 @@ public virtual void Challenge()
40
40
41
41
public virtual void Challenge ( AuthenticationProperties properties )
42
42
{
43
- Challenge ( new string [ 0 ] , properties ) ;
43
+ Challenge ( properties , new string [ 0 ] ) ;
44
44
}
45
45
46
46
public virtual void Challenge ( string authenticationType )
47
47
{
48
48
Challenge ( new [ ] { authenticationType } ) ;
49
49
}
50
50
51
- public virtual void Challenge ( string authenticationType , AuthenticationProperties properties )
51
+ public virtual void Challenge ( AuthenticationProperties properties , string authenticationType )
52
52
{
53
- Challenge ( new [ ] { authenticationType } , properties ) ;
53
+ Challenge ( properties , new [ ] { authenticationType } ) ;
54
+ }
55
+
56
+ public void Challenge ( params string [ ] authenticationTypes )
57
+ {
58
+ Challenge ( ( IEnumerable < string > ) authenticationTypes ) ;
54
59
}
55
60
56
61
public virtual void Challenge ( IEnumerable < string > authenticationTypes )
57
62
{
58
- Challenge ( authenticationTypes , properties : null ) ;
63
+ Challenge ( properties : null , authenticationTypes : authenticationTypes ) ;
64
+ }
65
+
66
+ public void Challenge ( AuthenticationProperties properties , params string [ ] authenticationTypes )
67
+ {
68
+ Challenge ( properties , ( IEnumerable < string > ) authenticationTypes ) ;
59
69
}
60
70
61
- public abstract void Challenge ( IEnumerable < string > authenticationTypes , AuthenticationProperties properties ) ;
71
+ public abstract void Challenge ( AuthenticationProperties properties , IEnumerable < string > authenticationTypes ) ;
62
72
63
73
public virtual void SignIn ( ClaimsIdentity identity )
64
74
{
65
- SignIn ( identity , properties : null ) ;
75
+ SignIn ( properties : null , identity : identity ) ;
66
76
}
67
77
68
- public virtual void SignIn ( ClaimsIdentity identity , AuthenticationProperties properties )
78
+ public virtual void SignIn ( AuthenticationProperties properties , ClaimsIdentity identity )
69
79
{
70
- SignIn ( new [ ] { identity } , properties ) ;
80
+ SignIn ( properties , new [ ] { identity } ) ;
81
+ }
82
+
83
+ public virtual void SignIn ( params ClaimsIdentity [ ] identities )
84
+ {
85
+ SignIn ( properties : null , identities : ( IEnumerable < ClaimsIdentity > ) identities ) ;
71
86
}
72
87
73
88
public virtual void SignIn ( IEnumerable < ClaimsIdentity > identities )
74
89
{
75
- SignIn ( identities , properties : null ) ;
90
+ SignIn ( properties : null , identities : identities ) ;
91
+ }
92
+
93
+ public void SignIn ( AuthenticationProperties properties , params ClaimsIdentity [ ] identities )
94
+ {
95
+ SignIn ( properties , ( IEnumerable < ClaimsIdentity > ) identities ) ;
76
96
}
77
97
78
- public abstract void SignIn ( IEnumerable < ClaimsIdentity > identities , AuthenticationProperties properties ) ;
98
+ public abstract void SignIn ( AuthenticationProperties properties , IEnumerable < ClaimsIdentity > identities ) ;
79
99
80
100
public virtual void SignOut ( )
81
101
{
0 commit comments