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

Remove top level methods on IServiceCollection that configure authentication #1269

Closed
@davidfowl

Description

@davidfowl

services.AddScheme is too general of a name to put on the top level container:

image

Is it even meaningful to add a scheme without adding the authentication service? Why isn't it an extension method off on an IAuthenticationBuilder or something similar.

services.AddAuthentication()
              .AddScheme(...)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions