Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAccountExists = fmt.Errorf("account already exists")
ErrAccountExists occurs account creation when an account already exists
View Source
var ErrNoAuthorizedPublicKeys = fmt.Errorf("no authorized public keys found")
ErrNoAuthorizedPublicKeys occurs when no authorized public keys are found
ErrUnauthorized occurs when a user is unauthorized to access a resource
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { RegisterEmail(email string) error CreateAccount(email, verificationToken, password, publicKey string) error Get(path string) ([]byte, error) Remove(path string) error Set(path string, data []byte) error List(path string) ([]string, error) GetPublicKeys() ([]*agent.Key, error) CreateOrg(org string) error Invite(org, user string, write bool) error ListOrgs() ([]*OrgDetail, error) ListOrgPermissions(path string) ([]*OrgPermissions, error) RevokePermission(path, user string) error }
Client provides a client to the shared secrets service
type OrgPermissions ¶ added in v0.3.11
OrgPermissions contains permission details within an org
Click to show internal directories.
Click to hide internal directories.