mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-06-23 23:44:12 +08:00
38 lines
846 B
YAML
38 lines
846 B
YAML
get:
|
|
summary: keystone v3 token验证API
|
|
parameters:
|
|
- $ref: '../parameters/auth.yaml#/token3'
|
|
responses:
|
|
200:
|
|
description: keystone v3 token信息
|
|
headers:
|
|
X-Subject-Token:
|
|
schema:
|
|
type: string
|
|
description: 验证成功的token
|
|
schema:
|
|
$ref: "../schemas/auth.yaml#/Auth3Response"
|
|
tags:
|
|
- authentication
|
|
|
|
post:
|
|
summary: keystone v3认证API
|
|
parameters:
|
|
- name: auth
|
|
in: body
|
|
required: true
|
|
schema:
|
|
$ref: "../schemas/auth.yaml#/Auth3Input"
|
|
responses:
|
|
200:
|
|
description: keystone v3 token信息
|
|
headers:
|
|
X-Subject-Token:
|
|
schema:
|
|
type: string
|
|
description: 认证成功的token
|
|
schema:
|
|
$ref: "../schemas/auth.yaml#/Auth3Response"
|
|
tags:
|
|
- authentication
|