All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| authServerServiceCreateOauthClient | POST /api/v3/oauth/clients | Summary: Create Oauth client Description: Create/register new Oauth client. |
| authServerServiceDeleteOauthClient | DELETE /api/v3/oauth/clients/{client_id} | Summary: Delete Oauth client Description: Delete registered Oauth client by clientId. |
| authServerServiceGetAccessToken | GET /api/v3/oauth/token | Summary: Get access token Description: Get access token from passed clientId and secret. |
| authServerServiceGetOauthClient | GET /api/v3/oauth/clients/{client_id} | Summary: Get Oauth client Description: Get registered Oauth client by clientId. |
| authServerServiceGetUser | GET /api/v3/auth/user | Summary: Get user Description: Get user. |
| authServerServiceListOauthClient | GET /api/v3/oauth/clients | Summary: List Oauth client Description: List all registered Oauth client. |
AuthserverCreateOauthClientResponse authServerServiceCreateOauthClient(authserverCreateOauthClientRequest)
import { createConfiguration, AuthServerServiceApi } from '';
import type { AuthServerServiceApiAuthServerServiceCreateOauthClientRequest } from '';
const configuration = createConfiguration();
const apiInstance = new AuthServerServiceApi(configuration);
const request: AuthServerServiceApiAuthServerServiceCreateOauthClientRequest = {
authserverCreateOauthClientRequest: {
description: "description_example",
name: "name_example",
},
};
const data = await apiInstance.authServerServiceCreateOauthClient(request);
console.log('API called successfully. Returned data:', data);| Name | Type | Description | Notes |
|---|---|---|---|
| authserverCreateOauthClientRequest | AuthserverCreateOauthClientRequest |
AuthserverCreateOauthClientResponse
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | A successful response. | - |
| 0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
any authServerServiceDeleteOauthClient()
import { createConfiguration, AuthServerServiceApi } from '';
import type { AuthServerServiceApiAuthServerServiceDeleteOauthClientRequest } from '';
const configuration = createConfiguration();
const apiInstance = new AuthServerServiceApi(configuration);
const request: AuthServerServiceApiAuthServerServiceDeleteOauthClientRequest = {
// ClientID of registered OAuth.
clientId: "client_id_example",
};
const data = await apiInstance.authServerServiceDeleteOauthClient(request);
console.log('API called successfully. Returned data:', data);| Name | Type | Description | Notes |
|---|---|---|---|
| clientId | [string] | ClientID of registered OAuth. | defaults to undefined |
any
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | A successful response. | - |
| 0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AuthserverGetAccessTokenResponse authServerServiceGetAccessToken()
import { createConfiguration, AuthServerServiceApi } from '';
const configuration = createConfiguration();
const apiInstance = new AuthServerServiceApi(configuration);
const request = {};
const data = await apiInstance.authServerServiceGetAccessToken(request);
console.log('API called successfully. Returned data:', data);This endpoint does not need any parameter.
AuthserverGetAccessTokenResponse
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | A successful response. | - |
| 0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AuthserverGetOauthClientResponse authServerServiceGetOauthClient()
import { createConfiguration, AuthServerServiceApi } from '';
import type { AuthServerServiceApiAuthServerServiceGetOauthClientRequest } from '';
const configuration = createConfiguration();
const apiInstance = new AuthServerServiceApi(configuration);
const request: AuthServerServiceApiAuthServerServiceGetOauthClientRequest = {
// ClientID of registered OAuth.
clientId: "client_id_example",
};
const data = await apiInstance.authServerServiceGetOauthClient(request);
console.log('API called successfully. Returned data:', data);| Name | Type | Description | Notes |
|---|---|---|---|
| clientId | [string] | ClientID of registered OAuth. | defaults to undefined |
AuthserverGetOauthClientResponse
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | A successful response. | - |
| 0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AuthserverGetUserResponse authServerServiceGetUser()
import { createConfiguration, AuthServerServiceApi } from '';
const configuration = createConfiguration();
const apiInstance = new AuthServerServiceApi(configuration);
const request = {};
const data = await apiInstance.authServerServiceGetUser(request);
console.log('API called successfully. Returned data:', data);This endpoint does not need any parameter.
AuthserverGetUserResponse
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | A successful response. | - |
| 0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AuthserverListOauthClientResponse authServerServiceListOauthClient()
import { createConfiguration, AuthServerServiceApi } from '';
const configuration = createConfiguration();
const apiInstance = new AuthServerServiceApi(configuration);
const request = {};
const data = await apiInstance.authServerServiceListOauthClient(request);
console.log('API called successfully. Returned data:', data);This endpoint does not need any parameter.
AuthserverListOauthClientResponse
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | A successful response. | - |
| 0 | An unexpected error response. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]