forked from baron/baron-sso
audit 로그 개선. kratos 코드발급 링크로 전송까지 진행 완료 #104
This commit is contained in:
@@ -230,7 +230,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/MessageResponse"
|
||||
$ref: "#/components/schemas/MagicLinkVerifyResponse"
|
||||
|
||||
/api/v1/auth/sms:
|
||||
post:
|
||||
@@ -266,7 +266,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/MessageResponse"
|
||||
$ref: "#/components/schemas/SmsVerifyResponse"
|
||||
|
||||
/api/v1/auth/qr/init:
|
||||
post:
|
||||
@@ -908,18 +908,28 @@ components:
|
||||
type: boolean
|
||||
nonAlphanumeric:
|
||||
type: boolean
|
||||
minCharacterTypes:
|
||||
type: integer
|
||||
|
||||
EnchantedLinkInitRequest:
|
||||
type: object
|
||||
properties:
|
||||
loginId:
|
||||
type: string
|
||||
uri:
|
||||
type: string
|
||||
method:
|
||||
type: string
|
||||
|
||||
EnchantedLinkInitResponse:
|
||||
type: object
|
||||
properties:
|
||||
linkId:
|
||||
type: string
|
||||
pendingRef:
|
||||
type: string
|
||||
maskedEmail:
|
||||
type: string
|
||||
expiresIn:
|
||||
type: integer
|
||||
|
||||
@@ -943,22 +953,36 @@ components:
|
||||
token:
|
||||
type: string
|
||||
|
||||
MagicLinkVerifyResponse:
|
||||
type: object
|
||||
properties:
|
||||
token:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
|
||||
SmsSendRequest:
|
||||
type: object
|
||||
properties:
|
||||
phone:
|
||||
type: string
|
||||
message:
|
||||
phoneNumber:
|
||||
type: string
|
||||
|
||||
SmsVerifyRequest:
|
||||
type: object
|
||||
properties:
|
||||
phone:
|
||||
phoneNumber:
|
||||
type: string
|
||||
code:
|
||||
type: string
|
||||
|
||||
SmsVerifyResponse:
|
||||
type: object
|
||||
properties:
|
||||
token:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
|
||||
QrInitResponse:
|
||||
type: object
|
||||
properties:
|
||||
|
||||
Reference in New Issue
Block a user