authorization

package
v0.0.0-...-9be813a Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package authorization defines the authorization interface of Key Transparency.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authorization

type Authorization interface {
	// IsAuthorized verifies that the identity issuing the call
	// (from ctx) is authorized to carry the given permission.
	IsAuthorized(ctx *authentication.SecurityContext, mapID int64,
		appID, userID string, permission authzpb.Permission) error
}

Authorization authorizes access to RPCs.

Jump to

Keyboard shortcuts

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