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.

How can you inject a service into an implementation of IClaimsTransformer? #718

Closed
@csaloio

Description

@csaloio

I need to be able to query a DB in my implementation.

My understanding is that you must add the transform like this in Startup.Configure:

app.UseClaimsTransformation(o => o.Transformer = new MyClaimsTransformer());

But how can it get access to a scoped service from within MyClaimsTransformer ?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions