• v0.3.2 Stable

    rmanach released this 2023-02-16 15:50:33 +01:00 | 0 commits to master since this release

    CHANGELOG

    http

    • remove http module (now use the http lib)
    • rename http module into router to include only router logic

    message

    • add message module to create JSON HTTP response body for JWT and JWT validation

    store

    • update the is_auth signature (returns bool and takes &Credentials as first parameter)
    • use serde_json to deserialize credentials

    NOTE: Keys of JSON response are updated

    • token => access_token
    • valid => now a boolean instead of a string
    Downloads
  • v0.3.1 Stable

    rmanach released this 2022-11-29 14:47:13 +01:00 | 16 commits to master since this release

    CHANGELOG

    Store

    • authenticate the user by his email

    JWT

    • set email claim in JWT
    Downloads
  • v0.3.0 Stable

    rmanach released this 2022-11-21 09:19:56 +01:00 | 21 commits to master since this release

    CHANGELOG

    HTTP

    • validate each route's http method

    JWT

    • new route to get the public key: /pubkey/ (local validation)

    Logger

    • impl a logger instead of println! and display the client IP

    TcpListener

    • increase the socket timeout
    Downloads
  • v0.2.0 Stable

    rmanach released this 2022-10-14 16:57:53 +02:00 | 32 commits to master since this release

    CHANGELOG

    TcpListener

    • spawn a tokio task on each connection
    • timeout if data can't be read from the stream (avoid inf loop and be sure to have all the data)

    JWT

    • JWT token validation
    Downloads
  • v0.1.0 Stable

    rmanach released this 2022-10-12 17:59:17 +02:00 | 43 commits to master since this release

    CHANGELOG

    Configuration

    • parse a .ini file for server parameters

    Store

    • impl a FileStore (.txt) to store the credentials

    HTTP

    • impl a Router for the incoming HTTPRequest
    • impl a GET handler in order to provider a RS384 signed JWT
    Downloads