mirror of
https://github.com/sasjs/server.git
synced 2025-12-11 03:34:35 +00:00
@@ -694,7 +694,7 @@ paths:
|
|||||||
value: {clientId: someFormattedClientID1234, clientSecret: someRandomCryptoString, accessTokenExpiration: 86400}
|
value: {clientId: someFormattedClientID1234, clientSecret: someRandomCryptoString, accessTokenExpiration: 86400}
|
||||||
'Example 3':
|
'Example 3':
|
||||||
value: {clientId: someFormattedClientID1234, clientSecret: someRandomCryptoString, accessTokenExpiration: 86400}
|
value: {clientId: someFormattedClientID1234, clientSecret: someRandomCryptoString, accessTokenExpiration: 86400}
|
||||||
summary: "Admin only task. Create client with the following attributes:\nClientId,\nClientSecret,\naccessTokenExpiryDays (optional),\nrefreshTokenExpiryDays (optional)"
|
summary: "Admin only task. Create client with the following attributes:\nClientId,\nClientSecret,\naccessTokenExpiration (optional),\nrefreshTokenExpiration (optional)"
|
||||||
tags:
|
tags:
|
||||||
- Client
|
- Client
|
||||||
security:
|
security:
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ export class ClientController {
|
|||||||
* @summary Admin only task. Create client with the following attributes:
|
* @summary Admin only task. Create client with the following attributes:
|
||||||
* ClientId,
|
* ClientId,
|
||||||
* ClientSecret,
|
* ClientSecret,
|
||||||
* accessTokenExpiryDays (optional),
|
* accessTokenExpiration (optional),
|
||||||
* refreshTokenExpiryDays (optional)
|
* refreshTokenExpiration (optional)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@Example<ClientPayload>({
|
@Example<ClientPayload>({
|
||||||
|
|||||||
Reference in New Issue
Block a user