You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Request] Provide a base class for implementing custom IAuthorizationHeaderProvider #2856
Is your feature request related to a problem? Please describe.
In cases where partners want to support more protocols than Bearer and Pop, and still use Microsoft.Identity.Web.DownstreamApi, and Microsoft.Identity.Web.GraphServiceClient, or Microsoft.Identity.Web.TokenAcquistion, they would want to leverage a base implementation of IAuthorizationHeaderProvider that supports Bearer and Pop, and add their own processing in derived classes
Describe the solution you'd like
Expose a new class:
namespaceMicroosft.Identity.Web.Extensibility{publicclassBaseAuthorizationHeaderProvider:IAuthorizationHeaderProvider{publicBaseAuthorizationHeaderProvider(IServiceProvider){}}}Thisclass could get hold of the ITokenAcquisistion interface(thatwe want to obsolete innextversions)throughthe service provider (locatorpatterninthiscaseto preserve the future),andnew-up a DefaultAuthorizationHeaderProvider,thatwill remain internal.
Activity