Skip to content

Provide a simple solution to protect the application endpoint from untrusted or unwanted requests by supplying every invoked endpoint with a generated security code.

License

Notifications You must be signed in to change notification settings

I-RzR-I/OneTimeRequestToken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note This repository is developed using .netstandard2.0.

Name Details
OneTimeRequestToken NuGet Version Nuget Downloads

The base idea of the current repository is to provide in some cases a secure way to call application endpoints. So from the repository name, you can understand that the core is to generate a token for every application URL.

In the basic flow, you generate a token for an endpoint, and then before executing a request to the resource, you must add to the header generated token.

In the current implementation request validation is realized with a middleware. By default, middleware will search for a token in every request sent with HTTP method = POST. Also, validation will be triggered by a GET request if in the HTTP header, the token is found.

To understand more efficiently how you can use available functionalities please consult the using documentation/file.

In case you wish to use it in your project, u can install the package from nuget.org or specify what version you want:

Install-Package OneTimeRequestToken -Version x.x.x.x

Content

  1. USING
  2. CHANGELOG
  3. BRANCH-GUIDE

About

Provide a simple solution to protect the application endpoint from untrusted or unwanted requests by supplying every invoked endpoint with a generated security code.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published