Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FederatedID ¶
FederatedID creates a federated user id by 1. stripping the protocol from the domain and 2. base64 encoding the opaque id with the domain to get a unique identifier that cannot collide with other users
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.