mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 17:59:37 +02:00
Add OTP header doc
This commit is contained in:
parent
df2d584b1b
commit
19b8cfaa4f
1 changed files with 7 additions and 0 deletions
|
@ -1503,6 +1503,13 @@ paths:
|
||||||
description: With your [client id and secret](#operation/getOAuthClient), you can retrieve an access and refresh tokens.
|
description: With your [client id and secret](#operation/getOAuthClient), you can retrieve an access and refresh tokens.
|
||||||
tags:
|
tags:
|
||||||
- Session
|
- Session
|
||||||
|
parameters:
|
||||||
|
- name: x-peertube-otp
|
||||||
|
in: header
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
required: false
|
||||||
|
description: If the user enabled two factor authentication, you need to provide the OTP code in this header
|
||||||
requestBody:
|
requestBody:
|
||||||
content:
|
content:
|
||||||
application/x-www-form-urlencoded:
|
application/x-www-form-urlencoded:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue