# Functions
ConvertToCS3PublicShare converts a DBShare to a CS3API public share.
ConvertToCS3ReceivedShare converts a DBShare and a grantee userType to a CS3API collaboration received share.
ConvertToCS3Share converts a DBShare and a grantee userType to a CS3API collaboration share.
ExtractGrantee retrieves the CS3API Grantee from a grantee type and username/groupname.
FormatGrantee formats a CS3API grantee to a (int, string) tuple.
FormatGroupID formats a CS3API group ID to a string.
FormatUserID formats a CS3API user ID as a string.
InitAPITokenManager initializes a new APITokenManager.
IntTosharePerm retrieves read/write permissions from an integer.
IntToShareState retrieves the received share state from an integer.
MakeUserID generates a CS3API user ID from a username, ASSUMING user type is primary.
ResourceTypeToItem maps a resource type to a string.
ResourceTypeToItemInt maps a resource type to an integer.
SharePermToInt maps read/write permissions to an integer.
# Structs
APITokenManager stores config related to api management.
DBShare stores information about user and public shares.
OIDCToken stores the OIDC token used to authenticate requests to the REST API service.