All URIs are relative to https://localhost
Method | HTTP request | Description |
---|---|---|
SessionServiceCreate | Post /api/v1/session | Create a new JWT for authentication and set a cookie if using HTTP |
SessionServiceDelete | Delete /api/v1/session | Delete an existing JWT cookie if using HTTP |
SessionServiceGetUserInfo | Get /api/v1/session/userinfo | Get the current user's info |
SessionSessionResponse SessionServiceCreate(ctx, body) Create a new JWT for authentication and set a cookie if using HTTP
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | SessionSessionCreateRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SessionSessionResponse SessionServiceDelete(ctx, ) Delete an existing JWT cookie if using HTTP
This endpoint does not need any parameter.
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SessionGetUserInfoResponse SessionServiceGetUserInfo(ctx, ) Get the current user's info
This endpoint does not need any parameter.
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]