Skip to content

Commit d154140

Browse files
committed
Updated and homogenized capabilities
1 parent 6d6f4dd commit d154140

File tree

2 files changed

+22
-19
lines changed

2 files changed

+22
-19
lines changed

IETF-RFC.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -633,29 +633,31 @@ contain the following information about its OCM API:
633633
to be compliant, it is not necessary to expose that as a
634634
capability.
635635
Example: `["exchange-token", "webdav-uri"]`. The array MAY
636-
include for instance:
636+
include one or more of the following items:
637637
_ `"enforce-mfa"` - to indicate that this OCM Server can apply a
638638
Sending Server's MFA requirements for a Share on their behalf.
639-
_ `"webdav-uri"` - to indicate that this OCM Server can append a
640-
relative URI to the path listed for WebDAV [RFC4918] in the
641-
appropriate `resourceTypes` entry `"protocol-object"` - to
642-
indicate that this OCM Server can receive a Share Creation
643-
Notification whose `protocol` object contains one property per
644-
supported protocol instead of containing the standard `name` and
645-
`options` properties.
646-
_ `"invites"` - to indicate the server would support acting as an
647-
Invite Sender or Invite Receiver OCM Server. This might be useful
648-
for suggesting to a user that existing contacts might be upgraded
649-
to the more secure (and possibly required) invite flow.
650639
_ `"exchange-token"` - to indicate that this OCM Server exposes a
651640
[RFC6749]-compliant endpoint, which allows to exchange a secret
652641
received in the protocol properties of a Share Creation Notification
653642
for a short-lived bearer token.
654-
_ `"invite-wayf"` - to indicate that this OCM Server exposes a WAYF
655-
Page to facilitate the Invite flow.
656643
_ `"http-sig"` - to indicate that this OCM Server supports
657644
[RFC9421] HTTP Message Signatures and advertises public keys in the
658645
`publicKeys` array for signature verification.
646+
_ `"invites"` - to indicate the server would support acting as an
647+
Invite Sender or Invite Receiver OCM Server. This might be useful
648+
for suggesting to a user that existing contacts might be upgraded
649+
to the more secure (and possibly required) invite flow.
650+
_ `"notifications"` - to indicate that this OCM Server handles
651+
notifications to exchange updates on shares and invites.
652+
_ `"invite-wayf"` - to indicate that this OCM Server exposes a WAYF
653+
Page to facilitate the Invite flow.
654+
_ `"webdav-uri"` - to indicate that this OCM Server can append a
655+
relative URI to the path listed for WebDAV [RFC4918] in the
656+
appropriate `resourceTypes` entry `"protocol-object"` - to
657+
indicate that this OCM Server can receive a Share Creation
658+
Notification whose `protocol` object contains one property per
659+
supported protocol instead of containing the standard `name` and
660+
`options` properties.
659661
* OPTIONAL: criteria (array of string) - The criteria for accepting a
660662
Share Creation Notification.
661663
As all Receiving Servers SHOULD require the use of TLS in API

spec.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -388,17 +388,18 @@ components:
388388
type: array
389389
description: >
390390
The optional capabilities exposed at this endpoint according to the
391-
present
392-
specifications.
391+
present specifications.
393392
items:
394393
type: string
395394
enum:
396395
- enforce-mfa
397-
- webdav-uri
398-
- protocol-object
399-
- invites
400396
- exchange-token
401397
- http-sig
398+
- invites
399+
- invite-wayf
400+
- notifications
401+
- protocol-object
402+
- webdav-uri
402403
example:
403404
- webdav-uri
404405
- protocol-object

0 commit comments

Comments
 (0)