client

package
v1.27.0-blob-service.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2018 License: BSD-2-Clause Imports: 6 Imported by: 2

Documentation

Index

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 New

func New(cfg *platform.Config, authorizeAs platform.AuthorizeAs) (*Client, error)

func (*Client) EnsureAuthorizedService added in v1.27.0

func (c *Client) EnsureAuthorizedService(ctx context.Context) error

func (*Client) EnsureAuthorizedUser added in v1.27.0

func (c *Client) EnsureAuthorizedUser(ctx context.Context, targetUserID string, permission string) (string, error)

func (*Client) GetUserPermissions

func (c *Client) GetUserPermissions(ctx context.Context, requestUserID string, targetUserID string) (user.Permissions, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL