jwt-token

Takes a set of user credentials and returns a sliding JSON web token to prove the authentication of those credentials.

post/api/jwt-token/

Request

  • The document declares no server URL.
  • Auth: none declared

Request body

appstring nullable
usernamestring required
passwordstring required

Response

tokenstring required
appstring nullable required

Changes

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: application/x-www-form-urlencoded)

    • info

      added the new optional request property (media type: multipart/form-data)

    • info

      added the media type application/json for the response with the status

    • breaking

      the request property's minLength was increased from 0 to 1 (media type: application/json)

    • breaking

      the request property's minLength was increased from 0 to 1 (media type: application/x-www-form-urlencoded)

    • breaking

      the request property's minLength was increased from 0 to 1 (media type: multipart/form-data)

    • breaking

      the request property's minLength was increased from 0 to 1 (media type: application/json)

    • breaking

      the request property's minLength was increased from 0 to 1 (media type: application/x-www-form-urlencoded)

    • breaking

      the request property's minLength was increased from 0 to 1 (media type: multipart/form-data)

    • breaking

      removed the media type application/json for the response with the status