1
0
mirror of https://github.com/sasjs/server.git synced 2026-04-10 15:43:14 +00:00

chore: docs finalized for stp and others

This commit is contained in:
Saad Jutt
2021-11-11 03:20:19 +05:00
parent 45fbf2df46
commit 7a8123eb52
14 changed files with 319 additions and 920 deletions

View File

@@ -19,7 +19,7 @@ export default class AuthController {
delete AuthController.authCodes[userId][clientId]
/**
* Accept a valid username/password, plus a CLIENT_ID, and return an AUTH_CODE
* @summary Accept a valid username/password, plus a CLIENT_ID, and return an AUTH_CODE
*
*/
@Example<AuthorizeResponse>({
@@ -33,7 +33,7 @@ export default class AuthController {
}
/**
* Accepts client/auth code and returns access/refresh tokens
* @summary Accepts client/auth code and returns access/refresh tokens
*
*/
@Example<TokenResponse>({
@@ -46,7 +46,7 @@ export default class AuthController {
}
/**
* Returns new access/refresh tokens
* @summary Returns new access/refresh tokens
*
*/
@Example<TokenResponse>({
@@ -62,7 +62,7 @@ export default class AuthController {
}
/**
* Logout terminate access/refresh tokens and returns nothing
* @summary Logout terminate access/refresh tokens and returns nothing
*
*/
@Security('bearerAuth')