Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Commit 6d45f81

Browse files
committed
Make new overloads virtual.
1 parent 22f3d52 commit 6d45f81

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Microsoft.AspNet.Http/HttpResponse.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public virtual void Challenge(AuthenticationProperties properties, string authen
5353
Challenge(properties, new[] { authenticationType });
5454
}
5555

56-
public void Challenge(params string[] authenticationTypes)
56+
public virtual void Challenge(params string[] authenticationTypes)
5757
{
5858
Challenge((IEnumerable<string>)authenticationTypes);
5959
}
@@ -63,7 +63,7 @@ public virtual void Challenge(IEnumerable<string> authenticationTypes)
6363
Challenge(properties: null, authenticationTypes: authenticationTypes);
6464
}
6565

66-
public void Challenge(AuthenticationProperties properties, params string[] authenticationTypes)
66+
public virtual void Challenge(AuthenticationProperties properties, params string[] authenticationTypes)
6767
{
6868
Challenge(properties, (IEnumerable<string>)authenticationTypes);
6969
}
@@ -90,7 +90,7 @@ public virtual void SignIn(IEnumerable<ClaimsIdentity> identities)
9090
SignIn(properties: null, identities: identities);
9191
}
9292

93-
public void SignIn(AuthenticationProperties properties, params ClaimsIdentity[] identities)
93+
public virtual void SignIn(AuthenticationProperties properties, params ClaimsIdentity[] identities)
9494
{
9595
SignIn(properties, (IEnumerable<ClaimsIdentity>)identities);
9696
}

0 commit comments

Comments
 (0)