Skip to content

notwld/dotnet-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

.NET Core Authentication

Authentication with JWT in Dotnet Core

Getting Started

Clone this repository on your local machine using,

git clone https://github.com/notwld/dotnet-auth

Run the application on your localhost and test the APIs on Postman or RapidAPI or ThunderClient

API Reference

Login

  POST /api/Login
Parameter Type Description
Username string Required. Your Username.
Password string Required. Your Password.

Admin Endpoint

  GET /api/User/Admin
Parameter Type Description
Bearer string Required. Bearer Token generated when logged in.

Note: This endpoint is accessable to CEO only

BA Endpoint

  GET /api/User/BA
Parameter Type Description
Bearer string Required. Bearer Token generated when logged in.

Note: This endpoint is accessable to BA only

Manager Endpoint

  GET /api/User/Manager
Parameter Type Description
Bearer string Required. Bearer Token generated when logged in.

Note: This endpoint is accessable to Manager only

About

Authentication with JWT in Dotnet Core

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published