Documentation
¶
Index ¶
- type Client
- func (c *Client) EnsureAuthorizedService(ctx context.Context) error
- func (c *Client) EnsureAuthorizedUser(ctx context.Context, targetUserID string, permission string) (string, error)
- func (c *Client) GetUserPermissions(ctx context.Context, requestUserID string, targetUserID string) (user.Permissions, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) EnsureAuthorizedService ¶ added in v1.27.0
func (*Client) EnsureAuthorizedUser ¶ added in v1.27.0
func (*Client) GetUserPermissions ¶
Click to show internal directories.
Click to hide internal directories.