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 SessionServer
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)
RemoveOIDCMapping removes the OIDC configuration for the tenant. It calls the underlying service to remove the mapping. Returns a respose containing an optional error message if removing fails.
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 SessionServer ¶ added in v0.11.0
type SessionServer struct {
sessionv1.UnimplementedServiceServer
// contains filtered or unexported fields
}
func NewSessionServer ¶ added in v0.11.0
func NewSessionServer( sessionRepo session.Repository, providerRepo oidc.ProviderRepository, httpClient *http.Client, ) *SessionServer
func (*SessionServer) GetSession ¶ added in v0.11.0
func (s *SessionServer) GetSession(ctx context.Context, req *sessionv1.GetSessionRequest) (*sessionv1.GetSessionResponse, error)
Click to show internal directories.
Click to hide internal directories.