anoa/hs_3pid_tokens
Andrew Morgan 5 years ago
parent fba61941af
commit 525bedf8e1

@ -261,7 +261,8 @@ paths:
Note that this may be an email containing the validation token or
it may be informing the user of an error.
schema:
- $ref: "../identity/definitions/sid.yaml"
type: object
$ref: "definitions/sid.yaml"
403:
description: |-
The homeserver does not allow the third party identifier as a
@ -318,7 +319,8 @@ paths:
description: |-
A SMS message was sent to the given phone number.
schema:
- $ref: "../identity/definitions/sid.yaml"
type: object
$ref: "definitions/sid.yaml"
403:
description: |-
The homeserver does not allow the third party identifier as a

@ -241,7 +241,8 @@ paths:
Note that this may be an email containing the validation token or it may be informing
the user of an error.
schema:
- $ref: "../identity/definitions/sid.yaml"
type: object
$ref: "definitions/sid.yaml"
403:
description: The homeserver does not permit the address to be bound.
schema:
@ -304,7 +305,8 @@ paths:
that this may be an SMS message containing the validation token or
it may be informing the user of an error.
schema:
- $ref: "../identity/definitions/sid.yaml"
type: object
$ref: "definitions/sid.yaml"
403:
description: The homeserver does not permit the address to be bound.
schema:
@ -433,7 +435,8 @@ paths:
200:
description: An email was sent to the given address.
schema:
- $ref: "../identity/definitions/sid.yaml"
type: object
$ref: "definitions/sid.yaml"
403:
description: |-
The homeserver does not allow the third party identifier as a
@ -503,7 +506,8 @@ paths:
200:
description: A SMS message was sent to the given phone number.
schema:
- $ref: "../identity/definitions/sid.yaml"
type: object
$ref: "definitions/sid.yaml"
403:
description: |-
The homeserver does not allow the third party identifier as a

@ -21,18 +21,4 @@ properties:
``[0-9a-zA-Z.=_-]``. Their length must not exceed 255 characters and they
must not be empty.
example: "123abc"
submit_url:
type: string
description: |-
An optional field containing a URL where the client must
submit the validation token to, with identical parameters
to the Identity Service API's
``/validate/email/submitToken`` endpoint. The homeserver
must send this token to the user (if applicable), which
should then be prompted to provide it to the client.
If this field is not present, the client can assume that
verification will happen without the client's
involvement.
example: "https://example.org/path/to/submitToken"
required: ['sid']

Loading…
Cancel
Save