authorization

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrResponse = errors.New("unexpected response")
)

Functions

This section is empty.

Types

type IdentityACLGetter

type IdentityACLGetter struct {
	// contains filtered or unexported fields
}

IdentityACLGetter grabs an ACL for the user from the identity API. Used for any non-identity API.

func NewIdentityACLGetter

func NewIdentityACLGetter(client identityapi.ClientWithResponsesInterface, organizationID string) *IdentityACLGetter

func (*IdentityACLGetter) Get

func (a *IdentityACLGetter) Get(ctx context.Context) (*rbac.ACL, error)

Jump to

Keyboard shortcuts

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