24 lines
1.5 KiB
XML
24 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ReleaseNotes>
|
|
<Note>
|
|
<Version>1.0.0</Version>
|
|
<Content>
|
|
Project initialization
|
|
REST API with simple authentication and authorization mechanism by two routes: /authenticate and /authorize.
|
|
A client/consumer can do only two things:
|
|
- Authentication: An user name and a password are required in the request body. The request type is POST. The output is an object with the following structure: { token: { raw: "***", validFrom: "", validUntil: "" }, status: "SUCCESS" }
|
|
- Authorization: The request type is also POST and and its scope is to authorize a token. The input is just the token in string format: { token: "***" }
|
|
For .NET consumers there are two nuget packages developed to facilitate the integration with this identity server:
|
|
- IdentityServer.PublishedLanguage: It contains constants and classes for data transfer objects.
|
|
- IdentityServer.Wrapper: It compose and executes all the REST requests to the identity server and offers to a consumer a simple interface with all methods. This interface can be injected with dependency injection at consumer startup with UseIdentityServices method. The only input is the server base address.
|
|
- The source of this nugets is public, but on my personal server: https://toodle.ddns.net/public-nuget-server/nuget
|
|
</Content>
|
|
</Note>
|
|
<Note>
|
|
<Version>1.0.1</Version>
|
|
<Content>
|
|
◾ Token improvements and hard changes
|
|
◾ Increase user information complexity
|
|
</Content>
|
|
</Note>
|
|
</ReleaseNotes> |