accessv1alpha1connect

package
v1.36.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// AccessServiceBatchEnsureProcedure is the fully-qualified name of the AccessService's BatchEnsure
	// RPC.
	AccessServiceBatchEnsureProcedure = "/commonfate.access.v1alpha1.AccessService/BatchEnsure"
	// AccessServiceQueryAvailabilitiesProcedure is the fully-qualified name of the AccessService's
	// QueryAvailabilities RPC.
	AccessServiceQueryAvailabilitiesProcedure = "/commonfate.access.v1alpha1.AccessService/QueryAvailabilities"
	// AccessServiceQueryEntitlementsProcedure is the fully-qualified name of the AccessService's
	// QueryEntitlements RPC.
	AccessServiceQueryEntitlementsProcedure = "/commonfate.access.v1alpha1.AccessService/QueryEntitlements"
	// AccessServiceQueryApproversProcedure is the fully-qualified name of the AccessService's
	// QueryApprovers RPC.
	AccessServiceQueryApproversProcedure = "/commonfate.access.v1alpha1.AccessService/QueryApprovers"
	// AccessServicePreviewUserAccessProcedure is the fully-qualified name of the AccessService's
	// PreviewUserAccess RPC.
	AccessServicePreviewUserAccessProcedure = "/commonfate.access.v1alpha1.AccessService/PreviewUserAccess"
	// AccessServicePreviewEntitlementAccessProcedure is the fully-qualified name of the AccessService's
	// PreviewEntitlementAccess RPC.
	AccessServicePreviewEntitlementAccessProcedure = "/commonfate.access.v1alpha1.AccessService/PreviewEntitlementAccess"
	// AccessServiceDebugEntitlementAccessProcedure is the fully-qualified name of the AccessService's
	// DebugEntitlementAccess RPC.
	AccessServiceDebugEntitlementAccessProcedure = "/commonfate.access.v1alpha1.AccessService/DebugEntitlementAccess"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// AccessRequestServiceQueryAccessRequestsProcedure is the fully-qualified name of the
	// AccessRequestService's QueryAccessRequests RPC.
	AccessRequestServiceQueryAccessRequestsProcedure = "/commonfate.access.v1alpha1.AccessRequestService/QueryAccessRequests"
	// AccessRequestServiceGetAccessRequestProcedure is the fully-qualified name of the
	// AccessRequestService's GetAccessRequest RPC.
	AccessRequestServiceGetAccessRequestProcedure = "/commonfate.access.v1alpha1.AccessRequestService/GetAccessRequest"
	// AccessRequestServiceGetAccessRequestActionsProcedure is the fully-qualified name of the
	// AccessRequestService's GetAccessRequestActions RPC.
	AccessRequestServiceGetAccessRequestActionsProcedure = "/commonfate.access.v1alpha1.AccessRequestService/GetAccessRequestActions"
	// AccessRequestServiceApproveAccessRequestProcedure is the fully-qualified name of the
	// AccessRequestService's ApproveAccessRequest RPC.
	AccessRequestServiceApproveAccessRequestProcedure = "/commonfate.access.v1alpha1.AccessRequestService/ApproveAccessRequest"
	// AccessRequestServiceActivateAccessRequestProcedure is the fully-qualified name of the
	// AccessRequestService's ActivateAccessRequest RPC.
	AccessRequestServiceActivateAccessRequestProcedure = "/commonfate.access.v1alpha1.AccessRequestService/ActivateAccessRequest"
	// AccessRequestServiceCloseAccessRequestProcedure is the fully-qualified name of the
	// AccessRequestService's CloseAccessRequest RPC.
	AccessRequestServiceCloseAccessRequestProcedure = "/commonfate.access.v1alpha1.AccessRequestService/CloseAccessRequest"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// GrantsServiceQueryGrantsProcedure is the fully-qualified name of the GrantsService's QueryGrants
	// RPC.
	GrantsServiceQueryGrantsProcedure = "/commonfate.access.v1alpha1.GrantsService/QueryGrants"
	// GrantsServiceQueryGrantChildrenProcedure is the fully-qualified name of the GrantsService's
	// QueryGrantChildren RPC.
	GrantsServiceQueryGrantChildrenProcedure = "/commonfate.access.v1alpha1.GrantsService/QueryGrantChildren"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// AccessRequestServiceName is the fully-qualified name of the AccessRequestService service.
	AccessRequestServiceName = "commonfate.access.v1alpha1.AccessRequestService"
)
View Source
const (
	// AccessServiceName is the fully-qualified name of the AccessService service.
	AccessServiceName = "commonfate.access.v1alpha1.AccessService"
)
View Source
const (
	// AuditLogServiceName is the fully-qualified name of the AuditLogService service.
	AuditLogServiceName = "commonfate.access.v1alpha1.AuditLogService"
)
View Source
const (
	// AuditLogServiceQueryAuditLogsProcedure is the fully-qualified name of the AuditLogService's
	// QueryAuditLogs RPC.
	AuditLogServiceQueryAuditLogsProcedure = "/commonfate.access.v1alpha1.AuditLogService/QueryAuditLogs"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// EntityServiceName is the fully-qualified name of the EntityService service.
	EntityServiceName = "commonfate.access.v1alpha1.EntityService"
)
View Source
const (
	// EntityServiceQueryDescendentsProcedure is the fully-qualified name of the EntityService's
	// QueryDescendents RPC.
	EntityServiceQueryDescendentsProcedure = "/commonfate.access.v1alpha1.EntityService/QueryDescendents"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// GrantsServiceName is the fully-qualified name of the GrantsService service.
	GrantsServiceName = "commonfate.access.v1alpha1.GrantsService"
)
View Source
const (
	// IdentityServiceGetCallerIdentityProcedure is the fully-qualified name of the IdentityService's
	// GetCallerIdentity RPC.
	IdentityServiceGetCallerIdentityProcedure = "/commonfate.access.v1alpha1.IdentityService/GetCallerIdentity"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// IdentityServiceName is the fully-qualified name of the IdentityService service.
	IdentityServiceName = "commonfate.access.v1alpha1.IdentityService"
)
View Source
const (
	// IntegrationAuditLogServiceBatchPutAuditLogProcedure is the fully-qualified name of the
	// IntegrationAuditLogService's BatchPutAuditLog RPC.
	IntegrationAuditLogServiceBatchPutAuditLogProcedure = "/commonfate.access.v1alpha1.IntegrationAuditLogService/BatchPutAuditLog"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// IntegrationAuditLogServiceName is the fully-qualified name of the IntegrationAuditLogService
	// service.
	IntegrationAuditLogServiceName = "commonfate.access.v1alpha1.IntegrationAuditLogService"
)

Variables

This section is empty.

Functions

func NewAccessRequestServiceHandler

func NewAccessRequestServiceHandler(svc AccessRequestServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewAccessRequestServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewAccessServiceHandler

func NewAccessServiceHandler(svc AccessServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewAccessServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewAuditLogServiceHandler

func NewAuditLogServiceHandler(svc AuditLogServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewAuditLogServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewEntityServiceHandler

func NewEntityServiceHandler(svc EntityServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewEntityServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewGrantsServiceHandler

func NewGrantsServiceHandler(svc GrantsServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewGrantsServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewIdentityServiceHandler

func NewIdentityServiceHandler(svc IdentityServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewIdentityServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewIntegrationAuditLogServiceHandler

func NewIntegrationAuditLogServiceHandler(svc IntegrationAuditLogServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewIntegrationAuditLogServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

Types

type AccessRequestServiceClient

type AccessRequestServiceClient interface {
	QueryAccessRequests(context.Context, *connect.Request[v1alpha1.QueryAccessRequestsRequest]) (*connect.Response[v1alpha1.QueryAccessRequestsResponse], error)
	GetAccessRequest(context.Context, *connect.Request[v1alpha1.GetAccessRequestRequest]) (*connect.Response[v1alpha1.GetAccessRequestResponse], error)
	// Returns the actions that the current user is allowed to perform on the request
	GetAccessRequestActions(context.Context, *connect.Request[v1alpha1.GetAccessRequestActionsRequest]) (*connect.Response[v1alpha1.GetAccessRequestActionsResponse], error)
	// Approving an Access Request will attempt to approve all of the Grants associated with the request.
	//
	// If the caller is not permitted to approve particular grants, warnings will be returned.
	ApproveAccessRequest(context.Context, *connect.Request[v1alpha1.ApproveAccessRequestRequest]) (*connect.Response[v1alpha1.ApproveAccessRequestResponse], error)
	ActivateAccessRequest(context.Context, *connect.Request[v1alpha1.ActivateAccessRequestRequest]) (*connect.Response[v1alpha1.ActivateAccessRequestResponse], error)
	// Closing an Access Request will make it no longer reviewable and will deactivate any Grants associated with the request.
	CloseAccessRequest(context.Context, *connect.Request[v1alpha1.CloseAccessRequestRequest]) (*connect.Response[v1alpha1.CloseAccessRequestResponse], error)
}

AccessRequestServiceClient is a client for the commonfate.access.v1alpha1.AccessRequestService service.

func NewAccessRequestServiceClient

func NewAccessRequestServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) AccessRequestServiceClient

NewAccessRequestServiceClient constructs a client for the commonfate.access.v1alpha1.AccessRequestService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type AccessRequestServiceHandler

type AccessRequestServiceHandler interface {
	QueryAccessRequests(context.Context, *connect.Request[v1alpha1.QueryAccessRequestsRequest]) (*connect.Response[v1alpha1.QueryAccessRequestsResponse], error)
	GetAccessRequest(context.Context, *connect.Request[v1alpha1.GetAccessRequestRequest]) (*connect.Response[v1alpha1.GetAccessRequestResponse], error)
	// Returns the actions that the current user is allowed to perform on the request
	GetAccessRequestActions(context.Context, *connect.Request[v1alpha1.GetAccessRequestActionsRequest]) (*connect.Response[v1alpha1.GetAccessRequestActionsResponse], error)
	// Approving an Access Request will attempt to approve all of the Grants associated with the request.
	//
	// If the caller is not permitted to approve particular grants, warnings will be returned.
	ApproveAccessRequest(context.Context, *connect.Request[v1alpha1.ApproveAccessRequestRequest]) (*connect.Response[v1alpha1.ApproveAccessRequestResponse], error)
	ActivateAccessRequest(context.Context, *connect.Request[v1alpha1.ActivateAccessRequestRequest]) (*connect.Response[v1alpha1.ActivateAccessRequestResponse], error)
	// Closing an Access Request will make it no longer reviewable and will deactivate any Grants associated with the request.
	CloseAccessRequest(context.Context, *connect.Request[v1alpha1.CloseAccessRequestRequest]) (*connect.Response[v1alpha1.CloseAccessRequestResponse], error)
}

AccessRequestServiceHandler is an implementation of the commonfate.access.v1alpha1.AccessRequestService service.

type AccessServiceClient

type AccessServiceClient interface {
	// BatchEnsure is a high-level declarative API which can be called to ensure access has been provisioned to multiple entitlements.
	//
	// The method checks whether the entitlement has been provisioned to the user.
	// If the entitlement has not been provisioned, an Access Request will be created for the entitlement.
	// If a pending Access Request exists for the entitlement, this request is returned.
	//
	// In future, this method may trigger an extension to any Access Requests which are due to expire.
	BatchEnsure(context.Context, *connect.Request[v1alpha1.BatchEnsureRequest]) (*connect.Response[v1alpha1.BatchEnsureResponse], error)
	// Query for JIT availabilities.
	QueryAvailabilities(context.Context, *connect.Request[v1alpha1.QueryAvailabilitiesRequest]) (*connect.Response[v1alpha1.QueryAvailabilitiesResponse], error)
	QueryEntitlements(context.Context, *connect.Request[v1alpha1.QueryEntitlementsRequest]) (*connect.Response[v1alpha1.QueryEntitlementsResponse], error)
	QueryApprovers(context.Context, *connect.Request[v1alpha1.QueryApproversRequest]) (*connect.Response[v1alpha1.QueryApproversResponse], error)
	PreviewUserAccess(context.Context, *connect.Request[v1alpha1.PreviewUserAccessRequest]) (*connect.Response[v1alpha1.PreviewUserAccessResponse], error)
	PreviewEntitlementAccess(context.Context, *connect.Request[v1alpha1.PreviewEntitlementAccessRequest]) (*connect.Response[v1alpha1.PreviewEntitlementAccessResponse], error)
	DebugEntitlementAccess(context.Context, *connect.Request[v1alpha1.DebugEntitlementAccessRequest]) (*connect.Response[v1alpha1.DebugEntitlementAccessResponse], error)
}

AccessServiceClient is a client for the commonfate.access.v1alpha1.AccessService service.

func NewAccessServiceClient

func NewAccessServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) AccessServiceClient

NewAccessServiceClient constructs a client for the commonfate.access.v1alpha1.AccessService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type AccessServiceHandler

type AccessServiceHandler interface {
	// BatchEnsure is a high-level declarative API which can be called to ensure access has been provisioned to multiple entitlements.
	//
	// The method checks whether the entitlement has been provisioned to the user.
	// If the entitlement has not been provisioned, an Access Request will be created for the entitlement.
	// If a pending Access Request exists for the entitlement, this request is returned.
	//
	// In future, this method may trigger an extension to any Access Requests which are due to expire.
	BatchEnsure(context.Context, *connect.Request[v1alpha1.BatchEnsureRequest]) (*connect.Response[v1alpha1.BatchEnsureResponse], error)
	// Query for JIT availabilities.
	QueryAvailabilities(context.Context, *connect.Request[v1alpha1.QueryAvailabilitiesRequest]) (*connect.Response[v1alpha1.QueryAvailabilitiesResponse], error)
	QueryEntitlements(context.Context, *connect.Request[v1alpha1.QueryEntitlementsRequest]) (*connect.Response[v1alpha1.QueryEntitlementsResponse], error)
	QueryApprovers(context.Context, *connect.Request[v1alpha1.QueryApproversRequest]) (*connect.Response[v1alpha1.QueryApproversResponse], error)
	PreviewUserAccess(context.Context, *connect.Request[v1alpha1.PreviewUserAccessRequest]) (*connect.Response[v1alpha1.PreviewUserAccessResponse], error)
	PreviewEntitlementAccess(context.Context, *connect.Request[v1alpha1.PreviewEntitlementAccessRequest]) (*connect.Response[v1alpha1.PreviewEntitlementAccessResponse], error)
	DebugEntitlementAccess(context.Context, *connect.Request[v1alpha1.DebugEntitlementAccessRequest]) (*connect.Response[v1alpha1.DebugEntitlementAccessResponse], error)
}

AccessServiceHandler is an implementation of the commonfate.access.v1alpha1.AccessService service.

type AuditLogServiceClient

type AuditLogServiceClient interface {
	QueryAuditLogs(context.Context, *connect.Request[v1alpha1.QueryAuditLogsRequest]) (*connect.Response[v1alpha1.QueryAuditLogsResponse], error)
}

AuditLogServiceClient is a client for the commonfate.access.v1alpha1.AuditLogService service.

func NewAuditLogServiceClient

func NewAuditLogServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) AuditLogServiceClient

NewAuditLogServiceClient constructs a client for the commonfate.access.v1alpha1.AuditLogService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type AuditLogServiceHandler

type AuditLogServiceHandler interface {
	QueryAuditLogs(context.Context, *connect.Request[v1alpha1.QueryAuditLogsRequest]) (*connect.Response[v1alpha1.QueryAuditLogsResponse], error)
}

AuditLogServiceHandler is an implementation of the commonfate.access.v1alpha1.AuditLogService service.

type EntityServiceClient

type EntityServiceClient interface {
	QueryDescendents(context.Context, *connect.Request[v1alpha1.QueryDescendentsRequest]) (*connect.Response[v1alpha1.QueryDescendentsResponse], error)
}

EntityServiceClient is a client for the commonfate.access.v1alpha1.EntityService service.

func NewEntityServiceClient

func NewEntityServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) EntityServiceClient

NewEntityServiceClient constructs a client for the commonfate.access.v1alpha1.EntityService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type EntityServiceHandler

type EntityServiceHandler interface {
	QueryDescendents(context.Context, *connect.Request[v1alpha1.QueryDescendentsRequest]) (*connect.Response[v1alpha1.QueryDescendentsResponse], error)
}

EntityServiceHandler is an implementation of the commonfate.access.v1alpha1.EntityService service.

type GrantsServiceClient

GrantsServiceClient is a client for the commonfate.access.v1alpha1.GrantsService service.

func NewGrantsServiceClient

func NewGrantsServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) GrantsServiceClient

NewGrantsServiceClient constructs a client for the commonfate.access.v1alpha1.GrantsService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type GrantsServiceHandler

GrantsServiceHandler is an implementation of the commonfate.access.v1alpha1.GrantsService service.

type IdentityServiceClient

type IdentityServiceClient interface {
	GetCallerIdentity(context.Context, *connect.Request[v1alpha1.GetCallerIdentityRequest]) (*connect.Response[v1alpha1.GetCallerIdentityResponse], error)
}

IdentityServiceClient is a client for the commonfate.access.v1alpha1.IdentityService service.

func NewIdentityServiceClient

func NewIdentityServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) IdentityServiceClient

NewIdentityServiceClient constructs a client for the commonfate.access.v1alpha1.IdentityService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type IdentityServiceHandler

type IdentityServiceHandler interface {
	GetCallerIdentity(context.Context, *connect.Request[v1alpha1.GetCallerIdentityRequest]) (*connect.Response[v1alpha1.GetCallerIdentityResponse], error)
}

IdentityServiceHandler is an implementation of the commonfate.access.v1alpha1.IdentityService service.

type IntegrationAuditLogServiceClient

type IntegrationAuditLogServiceClient interface {
	// Put audit logs relating to a grant
	BatchPutAuditLog(context.Context, *connect.Request[v1alpha1.BatchPutAuditLogRequest]) (*connect.Response[v1alpha1.BatchPutAuditLogResponse], error)
}

IntegrationAuditLogServiceClient is a client for the commonfate.access.v1alpha1.IntegrationAuditLogService service.

func NewIntegrationAuditLogServiceClient

func NewIntegrationAuditLogServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) IntegrationAuditLogServiceClient

NewIntegrationAuditLogServiceClient constructs a client for the commonfate.access.v1alpha1.IntegrationAuditLogService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type IntegrationAuditLogServiceHandler

type IntegrationAuditLogServiceHandler interface {
	// Put audit logs relating to a grant
	BatchPutAuditLog(context.Context, *connect.Request[v1alpha1.BatchPutAuditLogRequest]) (*connect.Response[v1alpha1.BatchPutAuditLogResponse], error)
}

IntegrationAuditLogServiceHandler is an implementation of the commonfate.access.v1alpha1.IntegrationAuditLogService service.

type UnimplementedAccessRequestServiceHandler

type UnimplementedAccessRequestServiceHandler struct{}

UnimplementedAccessRequestServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedAccessServiceHandler

type UnimplementedAccessServiceHandler struct{}

UnimplementedAccessServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedAccessServiceHandler) QueryApprovers added in v1.16.0

type UnimplementedAuditLogServiceHandler

type UnimplementedAuditLogServiceHandler struct{}

UnimplementedAuditLogServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedEntityServiceHandler

type UnimplementedEntityServiceHandler struct{}

UnimplementedEntityServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedGrantsServiceHandler

type UnimplementedGrantsServiceHandler struct{}

UnimplementedGrantsServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedIdentityServiceHandler

type UnimplementedIdentityServiceHandler struct{}

UnimplementedIdentityServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedIntegrationAuditLogServiceHandler

type UnimplementedIntegrationAuditLogServiceHandler struct{}

UnimplementedIntegrationAuditLogServiceHandler returns CodeUnimplemented from all methods.

Jump to

Keyboard shortcuts

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