Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for HttpContext.User claim lookup using ${aspnet-user-claim} #609

Merged
merged 1 commit into from
Oct 30, 2020

Conversation

snakefoot
Copy link
Contributor

@snakefoot snakefoot commented Oct 5, 2020

Example: ${aspnet-user-claim:ClaimTypes.Name} . See also ClaimTypes-constants.

Not implemented for NLog.Web (MVC), since it requires NetFramework45.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 5, 2020

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

78.9% 78.9% Coverage
0.0% 0.0% Duplication

@304NotModified 304NotModified merged commit aaa6668 into NLog:master Oct 30, 2020
@304NotModified
Copy link
Member

Thanks!

@snakefoot
Copy link
Contributor Author

Created wiki-page: https://github.com/NLog/NLog/wiki/AspNet-User-Claim-layout-renderer

@304NotModified
Copy link
Member

docs for nlog-project here: NLog/NLog.github.io#157

@304NotModified
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants