server

package
v0.0.0-...-ad3f195 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const ServerRegistrationsTag = `group:"server/grpc.registrations"`

Variables

This section is empty.

Functions

func AnnotateRegistrations

func AnnotateRegistrations(reg ...any) []any

func NewSelectorMatcher

func NewSelectorMatcher() selector.Matcher

func NewServerAuthorizer

func NewServerAuthorizer(uts secure.TokenStore, cts *BasicTokenStore) *secure.ServerAuthorizer

func ProviceRegistrations

func ProviceRegistrations() []any

Types

type BasicTokenStore

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

func NewBasicTokenStore

func NewBasicTokenStore(drs repos.DataRepos) (*BasicTokenStore, error)

func (*BasicTokenStore) Issue

func (*BasicTokenStore) Renew

func (*BasicTokenStore) Revoke

func (*BasicTokenStore) Verify

func (s *BasicTokenStore) Verify(ctx context.Context, value string) (*secure.Token, error)

Directories

Path Synopsis
v1
iam
oss

Jump to

Keyboard shortcuts

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