This repository was archived by the owner on Nov 20, 2018. It is now read-only.
This repository was archived by the owner on Nov 20, 2018. It is now read-only.
AuthenticationHandlerProvider GetHandlerAsync Method cache need use current HttpContent to Initalize?? #1020
Closed
Description
cache(_handlerMap) need use current HttpContent to Initalize??
if (_handlerMap.ContainsKey(authenticationScheme)) {
return _handlerMap[authenticationScheme];
}
--->
var scheme = await Schemes.GetSchemeAsync(authenticationScheme);
if (scheme == null) {
return null;
}
if (_handlerMap.ContainsKey(authenticationScheme)) {
var _handler = _handlerMap[authenticationScheme];
await _handler.InitializeAsync(scheme, context);
return _handler;
}
Metadata
Metadata
Assignees
Labels
No labels