© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
2 replies
TheCultOfRa

❔ How to get triggering authentication scheme name in custom cookie authentication event

I have a custom cookie authentication event where I want to inject the authentication handler into the constructor and then retrieve the name of the authentication scheme. I am unsure of how to do this since there's an abstraction that uses the AuthenticationScheme property but the interface does not.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Authentication scheme name
C#CC# / help
4y ago
❔ How to specify Basic authentication scheme with NetworkCredentials?
C#CC# / help
3y ago
❔ Authorize attribute automatically triggering oauth scheme
C#CC# / help
4y ago
EventHandler not triggering.
C#CC# / help
3y ago