GithubHelp home page GithubHelp logo

Comments (7)

mwadams avatar mwadams commented on August 30, 2024

The 1.1 behaviour was for this to be called for all handlers.

from options.

khellang avatar khellang commented on August 30, 2024

The 1.1 behaviour was for this to be called for all handlers.

Yes, judging by commit 52ab5f1, it was introduced in 2.0.0-preview2.

from options.

HaoK avatar HaoK commented on August 30, 2024

Yes Auth 2.0 uses named options, IConfigureOptions are equivalent to IConfigureNamed options with name = Options.DefaultName

from options.

HaoK avatar HaoK commented on August 30, 2024

IPostConfigureOptions works because it supports names since its new in 2.0, we wanted to preserve existing behavior for existing users of IOptions/IConfigureOptions so we left those alone and added IConfigureNamedOptions.

from options.

HaoK avatar HaoK commented on August 30, 2024

You need to switch to IConfigureNamedOptions to be able to target the correct authentication scheme in 2.0, this breaking change was intentional

from options.

HaoK avatar HaoK commented on August 30, 2024

I added this to the known issues/breaking changes section at the bottom of the Auth 2.0 announcement: aspnet/Announcements#262

from options.

khellang avatar khellang commented on August 30, 2024

Alright. I think we're done here 👍

from options.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.