React to auth changes
This commit is contained in:
parent
29909e15f3
commit
47b34cd1da
|
|
@ -83,11 +83,11 @@ namespace MusicStore.Controllers
|
|||
|
||||
private class TestHttpContext : DefaultHttpContext
|
||||
{
|
||||
public override Task<IEnumerable<AuthenticationResult>>
|
||||
AuthenticateAsync(IEnumerable<string> authenticationTypes)
|
||||
public override Task<AuthenticationResult>
|
||||
AuthenticateAsync(string authenticationScheme)
|
||||
{
|
||||
return
|
||||
Task.FromResult(new AuthenticateContext(authenticationTypes).Results);
|
||||
Task.FromResult(new AuthenticateContext(authenticationScheme).Result);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue