grpc

package
v2.24.2 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config = server.Config

type M2MOAuthServiceServer

type M2MOAuthServiceServer struct {
	pb.UnimplementedM2MOAuthServiceServer
	// contains filtered or unexported fields
}

M2MOAuthServiceServer handles incoming requests.

func NewM2MOAuthServerServer

func NewM2MOAuthServerServer(store store.Store, signer *oauthsigner.OAuthSigner, logger log.Logger) *M2MOAuthServiceServer

func (*M2MOAuthServiceServer) CreateToken

func (*M2MOAuthServiceServer) DeleteTokens

func (*M2MOAuthServiceServer) GetDomain

func (s *M2MOAuthServiceServer) GetDomain() string

func (*M2MOAuthServiceServer) GetJWK

func (s *M2MOAuthServiceServer) GetJWK() jwk.Key

func (*M2MOAuthServiceServer) GetTokens

type Service

type Service struct {
	*server.Server
}

func New

func New(config Config, m2mOAuthServiceServer *M2MOAuthServiceServer, validator *validator.Validator, fileWatcher *fsnotify.Watcher, logger log.Logger, tracerProvider trace.TracerProvider) (*Service, error)

Jump to

Keyboard shortcuts

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