Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { // GenerateToken creates a new token for the user with a specified validity. GenerateToken(ctx context.Context) (*invitepb.InviteToken, error) // ForwardInvite forwards a received invite to the sync'n'share system provider. ForwardInvite(ctx context.Context, invite *invitepb.InviteToken, originProvider *ocmprovider.ProviderInfo) error // AcceptInvite completes an invitation acceptance. AcceptInvite(ctx context.Context, invite *invitepb.InviteToken, remoteUser *userpb.User) error // GetAcceptedUser retrieves details about a remote user who has accepted an invite to share. GetAcceptedUser(ctx context.Context, remoteUserID *userpb.UserId) (*userpb.User, error) // FindAcceptedUsers finds remote users who have accepted invites based on their attributes. FindAcceptedUsers(ctx context.Context, query string) ([]*userpb.User, error) }
Manager is the interface that is used to perform operations to invites.
Click to show internal directories.
Click to hide internal directories.