pub enum Capability {
EnforceMfa,
WebdavUri,
ProtocolObject,
Invites,
ReceiveCode,
InviteWayf,
}Variants§
EnforceMfa
to indicate that this OCM sServer can apply a Sending Server’s MFA requirements for a Share on their behalf.
WebdavUri
to indicate that this OCM sServer can append a relative URI to the path listed for WebDAV in the appropriate resourceTypes entry
ProtocolObject
to indicate that this OCM Server can receive a Share Creation Notification whose protocol object contains one property per supported protocol instead of containing the standard name and options properties.
Invites
to indicate the server would support acting as an Invite Sender or Invite Receiver OCM Server. This might be useful for suggesting to a user that existing contacts might be upgraded to the more secure (and possibly required) invite flow.
ReceiveCode
to indicate that this OCM Server can receive a code as part of a Share Creation Notification, and exchange it for a bearer token at the Sending Server’s /token API endpoint.
InviteWayf
to indicate that this OCM Server exposes a WAYF Page to facilitate the Invite flow.
Trait Implementations§
Source§impl Clone for Capability
impl Clone for Capability
Source§fn clone(&self) -> Capability
fn clone(&self) -> Capability
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more