authorization

package
v0.4.9 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: BSD-3-Clause-Clear Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRegistration

func NewRegistration() serviceregistry.Registration

Types

type AuthorizationService

type AuthorizationService struct {
	authorization.UnimplementedAuthorizationServiceServer
	// contains filtered or unexported fields
}

func (*AuthorizationService) GetDecisions

func (*AuthorizationService) GetDecisionsByToken added in v0.4.3

func (AuthorizationService) IsReady added in v0.4.2

func (as AuthorizationService) IsReady(ctx context.Context) error

TODO: Not sure what we want to check here?

type Config added in v0.4.7

type Config struct {
	// Entity Resolution Service URL
	ERSURL string `mapstructure:"ersurl"`
	// OAuth Client ID
	ClientID string `mapstructure:"clientid"`
	// OAuth Client secret
	ClientSecret string `mapstructure:"clientsecret"`
	// OAuth token endpoint
	TokenEndpoint string `mapstructure:"tokenendpoint"`
}

Jump to

Keyboard shortcuts

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