Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeRemoteUserFederatedID ¶ added in v2.40.0
DecodeRemoteUserFederatedID decodes opaque id into remote user's federated id by splitting the opaque id at the last @ to get the opaque id and the domain
func FormatOCMUser ¶
FormatOCMUser formats a user id in the form of <opaque-id>@<idp> used by the OCM API in shareWith, owner and creator fields
func LocalUserFederatedID ¶ added in v2.40.0
LocalUserFederatedID creates a federated id for local users by 1. stripping the protocol from the domain and 2. if the domain is different from the idp, add the idp to the opaque id
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.