up oauth
This commit is contained in:
@@ -653,6 +653,11 @@ definitions:
|
||||
total:
|
||||
type: integer
|
||||
type: object
|
||||
response.ErrorResponse:
|
||||
properties:
|
||||
error:
|
||||
type: string
|
||||
type: object
|
||||
response.Response:
|
||||
properties:
|
||||
code:
|
||||
@@ -1520,6 +1525,27 @@ paths:
|
||||
summary: 登录
|
||||
tags:
|
||||
- 登录
|
||||
/admin/login-options:
|
||||
post:
|
||||
consumes:
|
||||
- application/json
|
||||
description: 登录选项
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
"500":
|
||||
description: Internal Server Error
|
||||
schema:
|
||||
$ref: '#/definitions/response.ErrorResponse'
|
||||
summary: 登录选项
|
||||
tags:
|
||||
- 登录
|
||||
/admin/loginLog/delete:
|
||||
post:
|
||||
consumes:
|
||||
@@ -1799,6 +1825,41 @@ paths:
|
||||
summary: Oauth编辑
|
||||
tags:
|
||||
- Oauth
|
||||
/admin/oidc/auth:
|
||||
post:
|
||||
consumes:
|
||||
- application/json
|
||||
description: OidcAuth
|
||||
produces:
|
||||
- application/json
|
||||
responses: {}
|
||||
summary: OidcAuth
|
||||
tags:
|
||||
- Oauth
|
||||
/admin/oidc/auth-query:
|
||||
get:
|
||||
consumes:
|
||||
- application/json
|
||||
description: OidcAuthQuery
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
allOf:
|
||||
- $ref: '#/definitions/response.Response'
|
||||
- properties:
|
||||
data:
|
||||
$ref: '#/definitions/admin.LoginPayload'
|
||||
type: object
|
||||
"500":
|
||||
description: Internal Server Error
|
||||
schema:
|
||||
$ref: '#/definitions/response.Response'
|
||||
summary: OidcAuthQuery
|
||||
tags:
|
||||
- Oauth
|
||||
/admin/peer/create:
|
||||
post:
|
||||
consumes:
|
||||
|
||||
Reference in New Issue
Block a user