Skip to content
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
@oolee

Description

@oolee

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions