Documentation
¶
Index ¶
- type OIDCMappingServer
- func (srv *OIDCMappingServer) ApplyOIDCMapping(ctx context.Context, req *oidcmappingv1.ApplyOIDCMappingRequest) (*oidcmappingv1.ApplyOIDCMappingResponse, error)
- func (srv *OIDCMappingServer) BlockOIDCMapping(ctx context.Context, req *oidcmappingv1.BlockOIDCMappingRequest) (*oidcmappingv1.BlockOIDCMappingResponse, error)
- func (srv *OIDCMappingServer) RemoveOIDCMapping(ctx context.Context, req *oidcmappingv1.RemoveOIDCMappingRequest) (*oidcmappingv1.RemoveOIDCMappingResponse, error)
- func (srv *OIDCMappingServer) UnblockOIDCMapping(ctx context.Context, req *oidcmappingv1.UnblockOIDCMappingRequest) (*oidcmappingv1.UnblockOIDCMappingResponse, error)
- type OIDCProviderServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OIDCMappingServer ¶
type OIDCMappingServer struct {
oidcmappingv1.UnimplementedServiceServer
// contains filtered or unexported fields
}
func NewOIDCMappingServer ¶
func NewOIDCMappingServer(oidc *oidc.Service) *OIDCMappingServer
func (*OIDCMappingServer) ApplyOIDCMapping ¶
func (srv *OIDCMappingServer) ApplyOIDCMapping(ctx context.Context, req *oidcmappingv1.ApplyOIDCMappingRequest) (*oidcmappingv1.ApplyOIDCMappingResponse, error)
func (*OIDCMappingServer) BlockOIDCMapping ¶ added in v0.6.0
func (srv *OIDCMappingServer) BlockOIDCMapping(ctx context.Context, req *oidcmappingv1.BlockOIDCMappingRequest) (*oidcmappingv1.BlockOIDCMappingResponse, error)
BlockOIDCMapping blocks the OIDC mapping for the specified tenant. It calls the underlying service to set the mapping as blocked. Returns a response containing an optional error message if blocking fails.
func (*OIDCMappingServer) RemoveOIDCMapping ¶
func (srv *OIDCMappingServer) RemoveOIDCMapping(ctx context.Context, req *oidcmappingv1.RemoveOIDCMappingRequest) (*oidcmappingv1.RemoveOIDCMappingResponse, error)
func (*OIDCMappingServer) UnblockOIDCMapping ¶ added in v0.6.0
func (srv *OIDCMappingServer) UnblockOIDCMapping(ctx context.Context, req *oidcmappingv1.UnblockOIDCMappingRequest) (*oidcmappingv1.UnblockOIDCMappingResponse, error)
UnblockOIDCMapping unblocks the OIDC mapping for the specified tenant. It calls the underlying service to set the mapping as unblocked. Returns a response containing an optional error message if unblocking fails.
type OIDCProviderServer ¶
type OIDCProviderServer struct {
oidcproviderv1.UnimplementedServiceServer
// contains filtered or unexported fields
}
func NewOIDCProviderServer ¶
func NewOIDCProviderServer(oidcService *oidc.Service) *OIDCProviderServer
func (*OIDCProviderServer) GetOIDCProvider ¶
func (s *OIDCProviderServer) GetOIDCProvider(ctx context.Context, req *oidcproviderv1.GetOIDCProviderRequest) (*oidcproviderv1.GetOIDCProviderResponse, error)
Click to show internal directories.
Click to hide internal directories.