Skip to content

Add immutable JwtBearerQueryStringBehaviorOptions concept #8

@carusology

Description

@carusology

Background

Right now I have one "Options" class, the JwtBearerQueryStringOptions. This is great for configuring the extension, but when it is provided to the behavior, it gives a little bit too much power.

Specifically, it lets the behavior see its own specification on the options object, which is something that should be abstracted away. It also is mutable, so the behavior can adjust the configuration while it is running. Neither of these should be allowed.

Task

Make a new JwtBearerQueryStringBehaviorOptions class that is (1) immutable, and (2) provides a subset of settings from JwtBearerQueryStringOptions that are appropriate for a IJwtBearerQueryStringBehavior to know about. It should get hydrated within the JwtBearerQueryStringMiddleware here

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions