Define opaque identifier grammar (#1791)
Since we already have three of these, and I'm about to add a fourth, let's pull it out to a common definition. We could, of course, keep defining the grammar each time it's used, but defining it in an appendix helps us be consistent for future API design.
This commit is contained in:
parent
f4e7b2aa97
commit
073ce659df
5 changed files with 29 additions and 16 deletions
|
@ -40,10 +40,7 @@ properties:
|
|||
description: |-
|
||||
Opaque string chosen by the homeserver, uniquely identifying
|
||||
the IdP from other IdPs the homeserver might support. Should
|
||||
be between 1 and 255 characters in length, containing unreserved
|
||||
characters under [RFC 3986](http://www.ietf.org/rfc/rfc3986.txt)
|
||||
(`ALPHA DIGIT "-" / "." / "_" / "~"`). Clients are not intended
|
||||
to parse or infer meaning from opaque strings.
|
||||
use the [Opaque identifier Grammar](/appendices#opaque-identifiers).
|
||||
example: "com.example.idp.github"
|
||||
name:
|
||||
type: string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue