Note This repository is developed using .netstandard2.0.
Name | Details |
---|---|
OneTimeRequestToken |
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