8000 GitHub - stuarthallows/Authentication
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

stuarthallows/Authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authentication

AspNetCore.Identity

Jwt.Auth

dotnet ef migrations add <migration-name> dotnet ef database update

Requirement Data

IAuthorizationRequirementData

Sample code

Test the policy with user-jwts and curl;

  • dotnet user-jwts create --claim http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth=1989-01-01
  • curl -i -H "Authorization: Bearer <token from dotnet user-jwts>" https://localhost:7036/api/weather/forecast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0