oidcmapping

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package oidcmapping provides the service.module.grpc.oidcmapping module: a gRPC service module that registers the legacy kms.api.cmk.sessionmanager.oidcmapping.v1.Service proto onto a grpc.ServiceRegistrar supplied by app.module.grpcserver. It exists for backward compatibility with clients that have not migrated to the kms.api.cmk.sessionmanager.trustmapping.v1.Service proto.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	Mod   string `yaml:"module"`
	Trust string `yaml:"trust" default:"trust.module.oidc" dep:"sessionmanager.Trust"`
	// contains filtered or unexported fields
}

Module is the service.module.grpc.oidcmapping module. It owns a Server that adapts the legacy oidcmapping proto onto sessionmanager.Trust and resolves its single dependency by ID via ctx.GetModule.

func (*Module) Module

func (m *Module) Module() sessionmanager.ModuleInfo

func (*Module) Provision

func (m *Module) Provision(ctx *sessionmanager.Context) error

func (*Module) Register

func (m *Module) Register(s grpc.ServiceRegistrar)

type Server

type Server struct {
	oidcmappingv1.UnimplementedServiceServer
	// contains filtered or unexported fields
}

func NewServer

func NewServer(trust sessionmanager.Trust) *Server

Jump to

Keyboard shortcuts

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