I need to change ninject binding base on User.Identity.
I have this scenario: base on user Actor claim which I use for my own purpose. I have to inject on my class constructor the value of Claims.Actor, how can I do that?
public class C {
public C (string ActorValue) {
// code here
}
}
thanks