authorizer

package
v0.8.10 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: MIT Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {

	// Authorizer provides methods for performing authorization requests.
	Authorizer authorizer.AuthorizerClient

	// Directory provides methods for interacting with the Aserto user directory.
	// Use the Directory client to manage users, application, and roles.
	Directory directory.DirectoryClient

	// Policy provides read-only methods for listing and retrieving authorization policies defined in an Aserto account.
	Policy policy.PolicyClient

	// Info provides read-only access to system information and configuration.
	Info info.InfoClient
	// contains filtered or unexported fields
}

Client provides access to the Aserto authorization services.

func New

func New(ctx context.Context, opts ...client.ConnectionOption) (*Client, error)

NewClient creates a Client with the specified connection options.

func (*Client) Connection added in v0.8.2

func (c *Client) Connection() grpc.ClientConnInterface

Connection returns the underlying grpc connection.

Jump to

Keyboard shortcuts

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