authorizer

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package authorizer provides functions for creating an AuthorizerClient.

AuthorizerClient

AuthorizerClient is the low-level interface that exposes the raw authorization API. It is defined in "github.com/aserto-dev/go-authorizer/aserto/authorizer/v2" and provides direct access to the authorizer backend.

Two flavors of AuthorizerClient are available:

1. authorizer/grpc implements a client that communicates with the authorizer service using gRPC. It is recommended for most users.

2. authorizer/http implements a client that communicates with the authorizer service using its REST endpoints.

Directories

Path Synopsis
Package grpc is used to create an AuthorizerClient that communicates with the authorizer using gRPC.
Package grpc is used to create an AuthorizerClient that communicates with the authorizer using gRPC.
Package http is used to create an AuthorizerClient that communicates with the authorizer using HTTP.
Package http is used to create an AuthorizerClient that communicates with the authorizer using HTTP.

Jump to

Keyboard shortcuts

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