package
0.7.1
Repository: https://github.com/passbolt/go-passbolt.git
Documentation: pkg.go.dev

# Functions

AddMFACallbackTOTP adds a MFA callback to the client that generates OTP Codes on demand using a Token with configurable retries and delay.
CreateFolder Creates a new Folder.
CreateGroup creates a Groups with Name and Memberships.
CreateResource Creates a Resource where the Password and Description are Encrypted and Returns the Resources ID.
CreateResourceSimple Creates a Legacy Resource where only the Password is Encrypted and Returns the Resources ID.
CreateUser Creates a new User.
DeleteFolder Deletes a Folder.
DeleteGroup Deletes a Group.
DeleteResource Deletes a Resource.
DeleteUser Deletes a User.
GenerateOTPCode generates a 6 digit TOTP from the secret Token.
GeneratePermissionChanges Generates the Permission Changes for a Resource/Folder nessesary for a single Share Operation.
GetFolder Gets a Folder.
GetGroup gets a Groups Name and Memberships.
GetResource Gets a Resource by ID.
GetResourceFromData Decrypts Resources using only local data, the Resource object must inlude the secret.
GetUser Gets a User.
MoveFolder Moves a Folder into a Folder.
MoveResource Moves a Resource into a Folder.
ParseInviteUrl Parses a Passbolt Invite URL into a user id and token.
SetupAccount Setup a Account for a Invited User.
ShareFolder Shares a Folder as Specified in the Passed ShareOperation Struct Slice.
ShareFolderWithUsersAndGroups Shares a Folder With The Users and Groups with the Specified Type, if the Folder has already been shared With the User/Group the Permission Type will be Adjusted/Deleted.
ShareResource Shares a Resource as Specified in the Passed ShareOperation Struct Slice.
ShareResourceWithUsersAndGroups Shares a Resource With The Users and Groups with the Specified Permission Type, if the Resource has already been shared With the User/Group the Permission Type will be Adjusted/Deleted.
UpdateFolder Updates a Folder.
UpdateGroup Updates a Groups Name and Memberships.
UpdateResource Updates all Fields.
UpdateUser Updates a User.

# Structs

GroupMembership contains who and what kind of membership they have with a group.
GroupMembershipOperation creates/modifies/deletes a group membership.
ShareOperation defines how Resources are to be Shared With Users/Groups.