Documentation
¶
Index ¶
- Constants
- Variables
- func ExtractLogger(ctx context.Context) *zap.Logger
- func TransformAuditRecordToPB(record auditrecord.AuditRecord) (*frontierv1beta1.CreateAuditRecordResponse, error)
- type AuditRecordService
- type AuthnService
- type BootstrapService
- type CascadeDeleter
- type CheckoutService
- type ConnectHandler
- func (h *ConnectHandler) AcceptOrganizationInvitation(ctx context.Context, ...) (*connect.Response[frontierv1beta1.AcceptOrganizationInvitationResponse], error)
- func (h *ConnectHandler) AddGroupUsers(ctx context.Context, ...) (*connect.Response[frontierv1beta1.AddGroupUsersResponse], error)
- func (h *ConnectHandler) AddOrganizationUsers(ctx context.Context, ...) (*connect.Response[frontierv1beta1.AddOrganizationUsersResponse], error)
- func (h *ConnectHandler) AddPlatformUser(ctx context.Context, ...) (*connect.Response[frontierv1beta1.AddPlatformUserResponse], error)
- func (h *ConnectHandler) AdminCreateOrganization(ctx context.Context, ...) (*connect.Response[frontierv1beta1.AdminCreateOrganizationResponse], error)
- func (h *ConnectHandler) AuthCallback(ctx context.Context, ...) (*connect.Response[frontierv1beta1.AuthCallbackResponse], error)
- func (h *ConnectHandler) AuthLogout(ctx context.Context, ...) (*connect.Response[frontierv1beta1.AuthLogoutResponse], error)
- func (h *ConnectHandler) AuthToken(ctx context.Context, ...) (*connect.Response[frontierv1beta1.AuthTokenResponse], error)
- func (h *ConnectHandler) Authenticate(ctx context.Context, ...) (*connect.Response[frontierv1beta1.AuthenticateResponse], error)
- func (h *ConnectHandler) BatchCheckPermission(ctx context.Context, ...) (*connect.Response[frontierv1beta1.BatchCheckPermissionResponse], error)
- func (h *ConnectHandler) BillingWebhookCallback(ctx context.Context, ...) (*connect.Response[frontierv1beta1.BillingWebhookCallbackResponse], error)
- func (h *ConnectHandler) CancelSubscription(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CancelSubscriptionResponse], error)
- func (h *ConnectHandler) ChangeSubscription(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ChangeSubscriptionResponse], error)
- func (h *ConnectHandler) CheckCreditEntitlement(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CheckCreditEntitlementResponse], error)
- func (h *ConnectHandler) CheckFeatureEntitlement(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CheckFeatureEntitlementResponse], error)
- func (h *ConnectHandler) CheckFederatedResourcePermission(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CheckFederatedResourcePermissionResponse], ...)
- func (h *ConnectHandler) CheckPlanEntitlement(ctx context.Context, obj relation.Object, request connect.AnyRequest) error
- func (h *ConnectHandler) CheckResourcePermission(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CheckResourcePermissionResponse], error)
- func (h *ConnectHandler) CreateAuditRecord(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateAuditRecordResponse], error)
- func (h *ConnectHandler) CreateBillingAccount(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateBillingAccountResponse], error)
- func (h *ConnectHandler) CreateBillingUsage(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateBillingUsageResponse], error)
- func (h *ConnectHandler) CreateCheckout(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateCheckoutResponse], error)
- func (h *ConnectHandler) CreateCurrentUserPreferences(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateCurrentUserPreferencesResponse], error)
- func (h *ConnectHandler) CreateFeature(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateFeatureResponse], error)
- func (h *ConnectHandler) CreateGroup(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateGroupResponse], error)
- func (h *ConnectHandler) CreateMetaSchema(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateMetaSchemaResponse], error)
- func (h *ConnectHandler) CreateOrganization(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateOrganizationResponse], error)
- func (h *ConnectHandler) CreateOrganizationDomain(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateOrganizationDomainResponse], error)
- func (h *ConnectHandler) CreateOrganizationInvitation(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateOrganizationInvitationResponse], error)
- func (h *ConnectHandler) CreateOrganizationPreferences(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateOrganizationPreferencesResponse], ...)
- func (h *ConnectHandler) CreateOrganizationRole(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateOrganizationRoleResponse], error)
- func (h *ConnectHandler) CreatePermission(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreatePermissionResponse], error)
- func (h *ConnectHandler) CreatePlan(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreatePlanResponse], error)
- func (h *ConnectHandler) CreatePolicy(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreatePolicyResponse], error)
- func (h *ConnectHandler) CreatePolicyForProject(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreatePolicyForProjectResponse], error)
- func (h *ConnectHandler) CreatePreferences(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreatePreferencesResponse], error)
- func (h *ConnectHandler) CreateProduct(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateProductResponse], error)
- func (h *ConnectHandler) CreateProject(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateProjectResponse], error)
- func (h *ConnectHandler) CreateProjectResource(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateProjectResourceResponse], error)
- func (h *ConnectHandler) CreateProspect(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateProspectResponse], error)
- func (h *ConnectHandler) CreateProspectPublic(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateProspectPublicResponse], error)
- func (h *ConnectHandler) CreateRelation(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateRelationResponse], error)
- func (h *ConnectHandler) CreateRole(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateRoleResponse], error)
- func (h *ConnectHandler) CreateServiceUser(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateServiceUserResponse], error)
- func (h *ConnectHandler) CreateServiceUserCredential(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateServiceUserCredentialResponse], error)
- func (h *ConnectHandler) CreateServiceUserJWK(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateServiceUserJWKResponse], error)
- func (h *ConnectHandler) CreateServiceUserToken(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateServiceUserTokenResponse], error)
- func (h *ConnectHandler) CreateUser(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateUserResponse], error)
- func (h *ConnectHandler) CreateUserPreferences(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateUserPreferencesResponse], error)
- func (h *ConnectHandler) CreateWebhook(ctx context.Context, ...) (*connect.Response[frontierv1beta1.CreateWebhookResponse], error)
- func (h *ConnectHandler) DelegatedCheckout(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DelegatedCheckoutResponse], error)
- func (h *ConnectHandler) DeleteBillingAccount(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DeleteBillingAccountResponse], error)
- func (h *ConnectHandler) DeleteGroup(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DeleteGroupResponse], error)
- func (h *ConnectHandler) DeleteMetaSchema(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DeleteMetaSchemaResponse], error)
- func (h *ConnectHandler) DeleteOrganization(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DeleteOrganizationResponse], error)
- func (h *ConnectHandler) DeleteOrganizationDomain(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DeleteOrganizationDomainResponse], error)
- func (h *ConnectHandler) DeleteOrganizationInvitation(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DeleteOrganizationInvitationResponse], error)
- func (h *ConnectHandler) DeleteOrganizationRole(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DeleteOrganizationRoleResponse], error)
- func (h *ConnectHandler) DeletePolicy(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DeletePolicyResponse], error)
- func (h *ConnectHandler) DeleteProject(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DeleteProjectResponse], error)
- func (h *ConnectHandler) DeleteProjectResource(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DeleteProjectResourceResponse], error)
- func (h *ConnectHandler) DeleteProspect(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DeleteProspectResponse], error)
- func (h *ConnectHandler) DeleteRelation(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DeleteRelationResponse], error)
- func (h *ConnectHandler) DeleteRole(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DeleteRoleResponse], error)
- func (h *ConnectHandler) DeleteServiceUser(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DeleteServiceUserResponse], error)
- func (h *ConnectHandler) DeleteServiceUserCredential(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DeleteServiceUserCredentialResponse], error)
- func (h *ConnectHandler) DeleteServiceUserJWK(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DeleteServiceUserJWKResponse], error)
- func (h *ConnectHandler) DeleteServiceUserToken(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DeleteServiceUserTokenResponse], error)
- func (h *ConnectHandler) DeleteUser(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DeleteUserResponse], error)
- func (h *ConnectHandler) DeleteWebhook(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DeleteWebhookResponse], error)
- func (h *ConnectHandler) DescribePreferences(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DescribePreferencesResponse], error)
- func (h *ConnectHandler) DisableBillingAccount(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DisableBillingAccountResponse], error)
- func (h *ConnectHandler) DisableGroup(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DisableGroupResponse], error)
- func (h *ConnectHandler) DisableOrganization(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DisableOrganizationResponse], error)
- func (h *ConnectHandler) DisableProject(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DisableProjectResponse], error)
- func (h *ConnectHandler) DisableUser(ctx context.Context, ...) (*connect.Response[frontierv1beta1.DisableUserResponse], error)
- func (h *ConnectHandler) EnableBillingAccount(ctx context.Context, ...) (*connect.Response[frontierv1beta1.EnableBillingAccountResponse], error)
- func (h *ConnectHandler) EnableGroup(ctx context.Context, ...) (*connect.Response[frontierv1beta1.EnableGroupResponse], error)
- func (h *ConnectHandler) EnableOrganization(ctx context.Context, ...) (*connect.Response[frontierv1beta1.EnableOrganizationResponse], error)
- func (h *ConnectHandler) EnableProject(ctx context.Context, ...) (*connect.Response[frontierv1beta1.EnableProjectResponse], error)
- func (h *ConnectHandler) EnableUser(ctx context.Context, ...) (*connect.Response[frontierv1beta1.EnableUserResponse], error)
- func (h *ConnectHandler) ExportAuditRecords(ctx context.Context, ...) error
- func (h *ConnectHandler) ExportOrganizationProjects(ctx context.Context, ...) error
- func (h *ConnectHandler) ExportOrganizationTokens(ctx context.Context, ...) error
- func (h *ConnectHandler) ExportOrganizationUsers(ctx context.Context, ...) error
- func (h *ConnectHandler) ExportOrganizations(ctx context.Context, ...) error
- func (h *ConnectHandler) ExportUsers(ctx context.Context, ...) error
- func (h *ConnectHandler) GenerateInvoices(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GenerateInvoicesResponse], error)
- func (h *ConnectHandler) GetBillingAccount(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetBillingAccountResponse], error)
- func (h *ConnectHandler) GetBillingAccountDetails(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetBillingAccountDetailsResponse], error)
- func (h *ConnectHandler) GetBillingBalance(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetBillingBalanceResponse], error)
- func (h *ConnectHandler) GetCheckout(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetCheckoutResponse], error)
- func (h *ConnectHandler) GetCurrentAdminUser(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetCurrentAdminUserResponse], error)
- func (h *ConnectHandler) GetCurrentUser(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetCurrentUserResponse], error)
- func (h *ConnectHandler) GetFeature(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetFeatureResponse], error)
- func (h *ConnectHandler) GetGroup(ctx context.Context, request *connect.Request[frontierv1beta1.GetGroupRequest]) (*connect.Response[frontierv1beta1.GetGroupResponse], error)
- func (h *ConnectHandler) GetJWKs(ctx context.Context, request *connect.Request[frontierv1beta1.GetJWKsRequest]) (*connect.Response[frontierv1beta1.GetJWKsResponse], error)
- func (h *ConnectHandler) GetLoggedInPrincipal(ctx context.Context, via ...authenticate.ClientAssertion) (authenticate.Principal, error)
- func (h *ConnectHandler) GetMetaSchema(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetMetaSchemaResponse], error)
- func (h *ConnectHandler) GetNamespace(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetNamespaceResponse], error)
- func (h *ConnectHandler) GetOrganization(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetOrganizationResponse], error)
- func (h *ConnectHandler) GetOrganizationDomain(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetOrganizationDomainResponse], error)
- func (h *ConnectHandler) GetOrganizationInvitation(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetOrganizationInvitationResponse], error)
- func (h *ConnectHandler) GetOrganizationKyc(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetOrganizationKycResponse], error)
- func (h *ConnectHandler) GetOrganizationRole(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetOrganizationRoleResponse], error)
- func (h *ConnectHandler) GetPermission(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetPermissionResponse], error)
- func (h *ConnectHandler) GetPlan(ctx context.Context, request *connect.Request[frontierv1beta1.GetPlanRequest]) (*connect.Response[frontierv1beta1.GetPlanResponse], error)
- func (h *ConnectHandler) GetPolicy(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetPolicyResponse], error)
- func (h *ConnectHandler) GetProduct(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetProductResponse], error)
- func (h *ConnectHandler) GetProject(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetProjectResponse], error)
- func (h *ConnectHandler) GetProjectResource(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetProjectResourceResponse], error)
- func (h *ConnectHandler) GetProspect(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetProspectResponse], error)
- func (h *ConnectHandler) GetRawCheckout(ctx context.Context, id string, request connect.AnyRequest) (checkout.Checkout, error)
- func (h *ConnectHandler) GetRelation(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetRelationResponse], error)
- func (h *ConnectHandler) GetServiceUser(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetServiceUserResponse], error)
- func (h *ConnectHandler) GetServiceUserJWK(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetServiceUserJWKResponse], error)
- func (h *ConnectHandler) GetSubscription(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetSubscriptionResponse], error)
- func (h *ConnectHandler) GetUpcomingInvoice(ctx context.Context, ...) (*connect.Response[frontierv1beta1.GetUpcomingInvoiceResponse], error)
- func (h *ConnectHandler) GetUser(ctx context.Context, request *connect.Request[frontierv1beta1.GetUserRequest]) (*connect.Response[frontierv1beta1.GetUserResponse], error)
- func (h *ConnectHandler) HasTrialed(ctx context.Context, ...) (*connect.Response[frontierv1beta1.HasTrialedResponse], error)
- func (h *ConnectHandler) IsAuthorized(ctx context.Context, object relation.Object, permission string, ...) error
- func (h *ConnectHandler) IsSuperUser(ctx context.Context, request connect.AnyRequest) error
- func (h *ConnectHandler) IsUserIDSuperUser(ctx context.Context, userID string) (bool, error)
- func (h *ConnectHandler) JoinOrganization(ctx context.Context, ...) (*connect.Response[frontierv1beta1.JoinOrganizationResponse], error)
- func (h *ConnectHandler) ListAllBillingAccounts(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListAllBillingAccountsResponse], error)
- func (h *ConnectHandler) ListAllInvoices(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListAllInvoicesResponse], error)
- func (h *ConnectHandler) ListAllOrganizations(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListAllOrganizationsResponse], error)
- func (h *ConnectHandler) ListAllServiceUsers(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListAllServiceUsersResponse], error)
- func (h *ConnectHandler) ListAllUsers(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListAllUsersResponse], error)
- func (h *ConnectHandler) ListAuditRecords(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListAuditRecordsResponse], error)
- func (h *ConnectHandler) ListAuthStrategies(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListAuthStrategiesResponse], error)
- func (h *ConnectHandler) ListBillingAccounts(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListBillingAccountsResponse], error)
- func (h *ConnectHandler) ListBillingTransactions(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListBillingTransactionsResponse], error)
- func (h *ConnectHandler) ListCheckouts(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListCheckoutsResponse], error)
- func (h *ConnectHandler) ListCurrentUserGroups(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListCurrentUserGroupsResponse], error)
- func (h *ConnectHandler) ListCurrentUserInvitations(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListCurrentUserInvitationsResponse], error)
- func (h *ConnectHandler) ListCurrentUserPreferences(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListCurrentUserPreferencesResponse], error)
- func (h *ConnectHandler) ListFeatures(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListFeaturesResponse], error)
- func (h *ConnectHandler) ListGroupUsers(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListGroupUsersResponse], error)
- func (h *ConnectHandler) ListGroups(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListGroupsResponse], error)
- func (h *ConnectHandler) ListInvoices(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListInvoicesResponse], error)
- func (h *ConnectHandler) ListMetaSchemas(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListMetaSchemasResponse], error)
- func (h *ConnectHandler) ListNamespaces(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListNamespacesResponse], error)
- func (h *ConnectHandler) ListOrganizationAdmins(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListOrganizationAdminsResponse], error)
- func (h *ConnectHandler) ListOrganizationDomains(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListOrganizationDomainsResponse], error)
- func (h *ConnectHandler) ListOrganizationGroups(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListOrganizationGroupsResponse], error)
- func (h *ConnectHandler) ListOrganizationInvitations(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListOrganizationInvitationsResponse], error)
- func (h *ConnectHandler) ListOrganizationPreferences(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListOrganizationPreferencesResponse], error)
- func (h *ConnectHandler) ListOrganizationProjects(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListOrganizationProjectsResponse], error)
- func (h *ConnectHandler) ListOrganizationRoles(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListOrganizationRolesResponse], error)
- func (h *ConnectHandler) ListOrganizationServiceUsers(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListOrganizationServiceUsersResponse], error)
- func (h *ConnectHandler) ListOrganizationUsers(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListOrganizationUsersResponse], error)
- func (h *ConnectHandler) ListOrganizations(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListOrganizationsResponse], error)
- func (h *ConnectHandler) ListOrganizationsByCurrentUser(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListOrganizationsByCurrentUserResponse], ...)
- func (h *ConnectHandler) ListOrganizationsByUser(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListOrganizationsByUserResponse], error)
- func (h *ConnectHandler) ListOrganizationsKyc(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListOrganizationsKycResponse], error)
- func (h *ConnectHandler) ListPermissions(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListPermissionsResponse], error)
- func (h *ConnectHandler) ListPlans(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListPlansResponse], error)
- func (h *ConnectHandler) ListPlatformPreferences(ctx context.Context) (map[string]string, error)
- func (h *ConnectHandler) ListPlatformUsers(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListPlatformUsersResponse], error)
- func (h *ConnectHandler) ListPolicies(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListPoliciesResponse], error)
- func (h *ConnectHandler) ListPreferences(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListPreferencesResponse], error)
- func (h *ConnectHandler) ListProducts(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListProductsResponse], error)
- func (h *ConnectHandler) ListProjectAdmins(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListProjectAdminsResponse], error)
- func (h *ConnectHandler) ListProjectGroups(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListProjectGroupsResponse], error)
- func (h *ConnectHandler) ListProjectResources(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListProjectResourcesResponse], error)
- func (h *ConnectHandler) ListProjectServiceUsers(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListProjectServiceUsersResponse], error)
- func (h *ConnectHandler) ListProjectUsers(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListProjectUsersResponse], error)
- func (h *ConnectHandler) ListProjects(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListProjectsResponse], error)
- func (h *ConnectHandler) ListProjectsByCurrentUser(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListProjectsByCurrentUserResponse], error)
- func (h *ConnectHandler) ListProjectsByUser(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListProjectsByUserResponse], error)
- func (h *ConnectHandler) ListProspects(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListProspectsResponse], error)
- func (h *ConnectHandler) ListRelations(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListRelationsResponse], error)
- func (h *ConnectHandler) ListResources(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListResourcesResponse], error)
- func (h *ConnectHandler) ListRoles(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListRolesResponse], error)
- func (h *ConnectHandler) ListServiceUserCredentials(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListServiceUserCredentialsResponse], error)
- func (h *ConnectHandler) ListServiceUserJWKs(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListServiceUserJWKsResponse], error)
- func (h *ConnectHandler) ListServiceUserProjects(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListServiceUserProjectsResponse], error)
- func (h *ConnectHandler) ListServiceUserTokens(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListServiceUserTokensResponse], error)
- func (h *ConnectHandler) ListServiceUsers(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListServiceUsersResponse], error)
- func (h *ConnectHandler) ListSessions(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListSessionsResponse], error)
- func (h *ConnectHandler) ListSubscriptions(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListSubscriptionsResponse], error)
- func (h *ConnectHandler) ListUserGroups(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListUserGroupsResponse], error)
- func (h *ConnectHandler) ListUserInvitations(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListUserInvitationsResponse], error)
- func (h *ConnectHandler) ListUserPreferences(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListUserPreferencesResponse], error)
- func (h *ConnectHandler) ListUserSessions(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListUserSessionsResponse], error)
- func (h *ConnectHandler) ListUsers(ctx context.Context, ...) (*connect.Response[frontierv1beta1.ListUsersResponse], error)
- func (h *ConnectHandler) ListWebhooks(ctx context.Context, req *connect.Request[frontierv1beta1.ListWebhooksRequest]) (*connect.Response[frontierv1beta1.ListWebhooksResponse], error)
- func (h *ConnectHandler) PingUserSession(ctx context.Context, ...) (*connect.Response[frontierv1beta1.PingUserSessionResponse], error)
- func (h *ConnectHandler) RegisterBillingAccount(ctx context.Context, ...) (*connect.Response[frontierv1beta1.RegisterBillingAccountResponse], error)
- func (h *ConnectHandler) RemoveGroupUser(ctx context.Context, ...) (*connect.Response[frontierv1beta1.RemoveGroupUserResponse], error)
- func (h *ConnectHandler) RemoveOrganizationUser(ctx context.Context, ...) (*connect.Response[frontierv1beta1.RemoveOrganizationUserResponse], error)
- func (h *ConnectHandler) RemovePlatformUser(ctx context.Context, ...) (*connect.Response[frontierv1beta1.RemovePlatformUserResponse], error)
- func (h *ConnectHandler) RevertBillingUsage(ctx context.Context, ...) (*connect.Response[frontierv1beta1.RevertBillingUsageResponse], error)
- func (h *ConnectHandler) RevokeSession(ctx context.Context, ...) (*connect.Response[frontierv1beta1.RevokeSessionResponse], error)
- func (h *ConnectHandler) RevokeUserSession(ctx context.Context, ...) (*connect.Response[frontierv1beta1.RevokeUserSessionResponse], error)
- func (h *ConnectHandler) SearchInvoices(ctx context.Context, ...) (*connect.Response[frontierv1beta1.SearchInvoicesResponse], error)
- func (h *ConnectHandler) SearchOrganizationInvoices(ctx context.Context, ...) (*connect.Response[frontierv1beta1.SearchOrganizationInvoicesResponse], error)
- func (h *ConnectHandler) SearchOrganizationProjects(ctx context.Context, ...) (*connect.Response[frontierv1beta1.SearchOrganizationProjectsResponse], error)
- func (h *ConnectHandler) SearchOrganizationServiceUserCredentials(ctx context.Context, ...) (...)
- func (h *ConnectHandler) SearchOrganizationServiceUsers(ctx context.Context, ...) (*connect.Response[frontierv1beta1.SearchOrganizationServiceUsersResponse], ...)
- func (h *ConnectHandler) SearchOrganizationTokens(ctx context.Context, ...) (*connect.Response[frontierv1beta1.SearchOrganizationTokensResponse], error)
- func (h *ConnectHandler) SearchOrganizationUsers(ctx context.Context, ...) (*connect.Response[frontierv1beta1.SearchOrganizationUsersResponse], error)
- func (h *ConnectHandler) SearchOrganizations(ctx context.Context, ...) (*connect.Response[frontierv1beta1.SearchOrganizationsResponse], error)
- func (h *ConnectHandler) SearchProjectUsers(ctx context.Context, ...) (*connect.Response[frontierv1beta1.SearchProjectUsersResponse], error)
- func (h *ConnectHandler) SearchUserOrganizations(ctx context.Context, ...) (*connect.Response[frontierv1beta1.SearchUserOrganizationsResponse], error)
- func (h *ConnectHandler) SearchUserProjects(ctx context.Context, ...) (*connect.Response[frontierv1beta1.SearchUserProjectsResponse], error)
- func (h *ConnectHandler) SearchUsers(ctx context.Context, ...) (*connect.Response[frontierv1beta1.SearchUsersResponse], error)
- func (h *ConnectHandler) SetOrganizationKyc(ctx context.Context, ...) (*connect.Response[frontierv1beta1.SetOrganizationKycResponse], error)
- func (h *ConnectHandler) TotalDebitedTransactions(ctx context.Context, ...) (*connect.Response[frontierv1beta1.TotalDebitedTransactionsResponse], error)
- func (h *ConnectHandler) UpdateBillingAccount(ctx context.Context, ...) (*connect.Response[frontierv1beta1.UpdateBillingAccountResponse], error)
- func (h *ConnectHandler) UpdateBillingAccountDetails(ctx context.Context, ...) (*connect.Response[frontierv1beta1.UpdateBillingAccountDetailsResponse], error)
- func (h *ConnectHandler) UpdateBillingAccountLimits(ctx context.Context, ...) (*connect.Response[frontierv1beta1.UpdateBillingAccountLimitsResponse], error)
- func (h *ConnectHandler) UpdateCurrentUser(ctx context.Context, ...) (*connect.Response[frontierv1beta1.UpdateCurrentUserResponse], error)
- func (h *ConnectHandler) UpdateFeature(ctx context.Context, ...) (*connect.Response[frontierv1beta1.UpdateFeatureResponse], error)
- func (h *ConnectHandler) UpdateGroup(ctx context.Context, ...) (*connect.Response[frontierv1beta1.UpdateGroupResponse], error)
- func (h *ConnectHandler) UpdateMetaSchema(ctx context.Context, ...) (*connect.Response[frontierv1beta1.UpdateMetaSchemaResponse], error)
- func (h *ConnectHandler) UpdateOrganization(ctx context.Context, ...) (*connect.Response[frontierv1beta1.UpdateOrganizationResponse], error)
- func (h *ConnectHandler) UpdateOrganizationRole(ctx context.Context, ...) (*connect.Response[frontierv1beta1.UpdateOrganizationRoleResponse], error)
- func (h *ConnectHandler) UpdatePermission(ctx context.Context, ...) (*connect.Response[frontierv1beta1.UpdatePermissionResponse], error)
- func (h *ConnectHandler) UpdateProduct(ctx context.Context, ...) (*connect.Response[frontierv1beta1.UpdateProductResponse], error)
- func (h *ConnectHandler) UpdateProject(ctx context.Context, ...) (*connect.Response[frontierv1beta1.UpdateProjectResponse], error)
- func (h *ConnectHandler) UpdateProjectResource(ctx context.Context, ...) (*connect.Response[frontierv1beta1.UpdateProjectResourceResponse], error)
- func (h *ConnectHandler) UpdateProspect(ctx context.Context, ...) (*connect.Response[frontierv1beta1.UpdateProspectResponse], error)
- func (h *ConnectHandler) UpdateRole(ctx context.Context, ...) (*connect.Response[frontierv1beta1.UpdateRoleResponse], error)
- func (h *ConnectHandler) UpdateUser(ctx context.Context, ...) (*connect.Response[frontierv1beta1.UpdateUserResponse], error)
- func (h *ConnectHandler) UpdateWebhook(ctx context.Context, ...) (*connect.Response[frontierv1beta1.UpdateWebhookResponse], error)
- func (h *ConnectHandler) VerifyOrganizationDomain(ctx context.Context, ...) (*connect.Response[frontierv1beta1.VerifyOrganizationDomainResponse], error)
- type CreditService
- type CustomerService
- type DomainService
- type EntitlementService
- type ErrorLogger
- func (e *ErrorLogger) LogServiceError(ctx context.Context, req connect.AnyRequest, operation string, err error, ...)
- func (e *ErrorLogger) LogTransformError(ctx context.Context, req connect.AnyRequest, operation string, entityID string, ...)
- func (e *ErrorLogger) LogUnexpectedError(ctx context.Context, req connect.AnyRequest, operation string, err error, ...)
- type EventService
- type GroupService
- type InvitationService
- type InvoiceService
- type JsonWebKeySet
- type KycService
- type MetaSchemaService
- type NamespaceService
- type OrgBillingService
- type OrgInvoicesService
- type OrgProjectsService
- type OrgServiceUserCredentialsService
- type OrgServiceUserService
- type OrgTokensService
- type OrgUsersService
- type OrganizationService
- type PermissionService
- type PlanService
- type PolicyService
- type PreferenceService
- type ProductService
- type ProjectService
- type ProjectUsersService
- type ProspectService
- type RelationService
- type ResourceService
- type RoleService
- type ServiceUserService
- type SessionService
- type SubscriptionService
- type UsageService
- type UserOrgsService
- type UserProjectsService
- type UserService
- type WebhookService
Constants ¶
const ( IdempotencyReplyHeader = "X-Idempotency-Replayed" HttpChunkSize = 204800 // 200KB )
Variables ¶
var ( ErrBadRequest = errors.New("invalid syntax in body") ErrInvalidMetadata = errors.New("metadata schema validation failed") ErrOperationUnsupported = errors.New("operation not supported") ErrInternalServerError = errors.New("internal server error") ErrUnauthenticated = errors.New("not authenticated") ErrNotFound = errors.New("not found") ErrInvalidEmail = errors.New("Invalid email") ErrUserNotExist = errors.New("user doesn't exist") ErrInvalidNamesapceOrID = errors.New("namespace and ID cannot be empty") ErrConflictRequest = errors.New("already exist") ErrBadBodyMetaSchemaError = errors.New(ErrBadRequest.Error() + " : " + ErrInvalidMetadata.Error()) ErrInvalidActorType = errors.New("invalid actor type") ErrActivityRequired = errors.New("activity is required") ErrStatusRequired = errors.New("status is required") ErrProspectIdRequired = errors.New("prospect ID is required") ErrProspectNotFound = errors.New("record not found for the given input") ErrRQLParse = errors.New("error parsing RQL query") ErrOrgDisabled = errors.New("org is disabled. Please contact your administrator to enable it") ErrRoleFilter = errors.New("cannot use role filters and with_roles together") ErrMinAdminCount = errors.New("org must have at least one admin, consider adding another admin before removing") ErrDomainNotFound = errors.New("domain whitelist request doesn't exist") ErrDomainAlreadyExists = errors.New("domain name already exists for that organization") ErrInvalidHost = errors.New("invalid domain, no such host found") ErrTXTRecordNotFound = errors.New("required TXT record not found for domain verification") ErrDomainMismatch = errors.New("user and org's whitelisted domains doesn't match") ErrInvitationNotFound = errors.New("invitation not found") ErrInvitationExpired = errors.New("invitation expired") ErrAlreadyMember = errors.New("user is already a member of the organization") ErrEmptyEmailID = errors.New("email id is empty") ErrEmailConflict = errors.New("user email can't be updated") ErrCustomerNotFound = errors.New("customer doesn't exist") ErrServiceUserNotFound = errors.New("service user not found") ErrServiceUserCredNotFound = errors.New("service user credentials not found") ErrConflictingPlanChange = errors.New("cannot change plan and cancel upcoming changes at the same time") ErrNoChangeRequested = errors.New("no change requested") ErrPerSeatLimitReached = errors.New("per seat limit reached") ErrAlreadyOnSamePlan = errors.New("already on same plan") ErrBillingProviderNotSupported = errors.New("provider not supported") ErrInsufficientCredits = errors.New("insufficient credits") ErrAlreadyApplied = errors.New("credits already applied") ErrInvalidRoleID = errors.New("role id is invalid") ErrNamespaceSplitNotation = errors.New("subject/object should be provided as 'namespace:uuid'") ErrPolicyNotFound = errors.New("policy doesn't exist") ErrProjectNotFound = errors.New("project doesn't exist") ErrGroupNotFound = errors.New("group doesn't exist") ErrOrgNotFound = errors.New("org doesn't exist") ErrGroupMinOwnerCount = errors.New("group must have at least one owner, consider adding another owner before removing") ErrPortalChangesKycCompleted = errors.New("customer portal changes not allowed: organization kyc completed") ErrResourceNotFound = errors.New("resource doesn't exist") ErrInvalidPreferenceFilter = errors.New("invalid preference filter set") ErrTraitNotFound = errors.New("preference trait not found, preferences can only be created with valid trait") ErrInvalidPreferenceValue = errors.New("invalid value for preference") ErrMetaschemaNotFound = errors.New("metaschema doesn't exist") ErrSessionNotFound = errors.New("session doesn't exist") ErrInvalidSessionID = errors.New("invalid session_id format: must be a valid UUID") ErrInvalidUserID = errors.New("invalid user_id format: must be a valid UUID") ErrRoleNotFound = errors.New("role doesn't exist") )
Functions ¶
func TransformAuditRecordToPB ¶ added in v0.74.0
func TransformAuditRecordToPB(record auditrecord.AuditRecord) (*frontierv1beta1.CreateAuditRecordResponse, error)
Types ¶
type AuditRecordService ¶ added in v0.74.0
type AuditRecordService interface {
Create(ctx context.Context, record auditrecord.AuditRecord) (auditrecord.AuditRecord, bool, error)
List(ctx context.Context, query *rql.Query) (auditrecord.AuditRecordsList, error)
Export(ctx context.Context, query *rql.Query) (io.Reader, string, error)
}
type AuthnService ¶ added in v0.82.0
type AuthnService interface {
StartFlow(ctx context.Context, request authenticate.RegistrationStartRequest) (*authenticate.RegistrationStartResponse, error)
FinishFlow(ctx context.Context, request authenticate.RegistrationFinishRequest) (*authenticate.RegistrationFinishResponse, error)
BuildToken(ctx context.Context, principal authenticate.Principal, metadata map[string]string) ([]byte, error)
JWKs(ctx context.Context) jwk.Set
GetPrincipal(ctx context.Context, via ...authenticate.ClientAssertion) (authenticate.Principal, error)
SupportedStrategies() []string
InitFlows(ctx context.Context) error
SanitizeReturnToURL(url string) string
SanitizeCallbackURL(url string) string
}
type BootstrapService ¶ added in v0.74.0
type BootstrapService interface {
AppendSchema(ctx context.Context, definition schema.ServiceDefinition) error
}
type CascadeDeleter ¶ added in v0.82.0
type CheckoutService ¶ added in v0.74.0
type CheckoutService interface {
Create(ctx context.Context, ch checkout.Checkout) (checkout.Checkout, error)
GetByID(ctx context.Context, id string) (checkout.Checkout, error)
List(ctx context.Context, filter checkout.Filter) ([]checkout.Checkout, error)
Apply(ctx context.Context, ch checkout.Checkout) (*subscription.Subscription, *product.Product, error)
CreateSessionForPaymentMethod(ctx context.Context, ch checkout.Checkout) (checkout.Checkout, error)
CreateSessionForCustomerPortal(ctx context.Context, ch checkout.Checkout) (checkout.Checkout, error)
}
type ConnectHandler ¶
type ConnectHandler struct {
frontierv1beta1connect.UnimplementedAdminServiceHandler
frontierv1beta1connect.UnimplementedFrontierServiceHandler
// contains filtered or unexported fields
}
func NewConnectHandler ¶
func NewConnectHandler(deps api.Deps, authConf authenticate.Config) *ConnectHandler
func (*ConnectHandler) AcceptOrganizationInvitation ¶ added in v0.75.0
func (h *ConnectHandler) AcceptOrganizationInvitation(ctx context.Context, request *connect.Request[frontierv1beta1.AcceptOrganizationInvitationRequest]) (*connect.Response[frontierv1beta1.AcceptOrganizationInvitationResponse], error)
func (*ConnectHandler) AddGroupUsers ¶ added in v0.76.0
func (h *ConnectHandler) AddGroupUsers(ctx context.Context, request *connect.Request[frontierv1beta1.AddGroupUsersRequest]) (*connect.Response[frontierv1beta1.AddGroupUsersResponse], error)
func (*ConnectHandler) AddOrganizationUsers ¶ added in v0.75.0
func (h *ConnectHandler) AddOrganizationUsers(ctx context.Context, request *connect.Request[frontierv1beta1.AddOrganizationUsersRequest]) (*connect.Response[frontierv1beta1.AddOrganizationUsersResponse], error)
func (*ConnectHandler) AddPlatformUser ¶ added in v0.75.0
func (h *ConnectHandler) AddPlatformUser(ctx context.Context, req *connect.Request[frontierv1beta1.AddPlatformUserRequest]) (*connect.Response[frontierv1beta1.AddPlatformUserResponse], error)
func (*ConnectHandler) AdminCreateOrganization ¶ added in v0.71.0
func (h *ConnectHandler) AdminCreateOrganization(ctx context.Context, request *connect.Request[frontierv1beta1.AdminCreateOrganizationRequest]) (*connect.Response[frontierv1beta1.AdminCreateOrganizationResponse], error)
func (*ConnectHandler) AuthCallback ¶ added in v0.69.0
func (h *ConnectHandler) AuthCallback(ctx context.Context, request *connect.Request[frontierv1beta1.AuthCallbackRequest]) (*connect.Response[frontierv1beta1.AuthCallbackResponse], error)
func (*ConnectHandler) AuthLogout ¶ added in v0.69.0
func (h *ConnectHandler) AuthLogout(ctx context.Context, request *connect.Request[frontierv1beta1.AuthLogoutRequest]) (*connect.Response[frontierv1beta1.AuthLogoutResponse], error)
func (*ConnectHandler) AuthToken ¶ added in v0.69.0
func (h *ConnectHandler) AuthToken(ctx context.Context, request *connect.Request[frontierv1beta1.AuthTokenRequest]) (*connect.Response[frontierv1beta1.AuthTokenResponse], error)
func (*ConnectHandler) Authenticate ¶ added in v0.69.0
func (h *ConnectHandler) Authenticate(ctx context.Context, request *connect.Request[frontierv1beta1.AuthenticateRequest]) (*connect.Response[frontierv1beta1.AuthenticateResponse], error)
func (*ConnectHandler) BatchCheckPermission ¶ added in v0.76.0
func (h *ConnectHandler) BatchCheckPermission(ctx context.Context, req *connect.Request[frontierv1beta1.BatchCheckPermissionRequest]) (*connect.Response[frontierv1beta1.BatchCheckPermissionResponse], error)
func (*ConnectHandler) BillingWebhookCallback ¶ added in v0.76.0
func (h *ConnectHandler) BillingWebhookCallback(ctx context.Context, request *connect.Request[frontierv1beta1.BillingWebhookCallbackRequest]) (*connect.Response[frontierv1beta1.BillingWebhookCallbackResponse], error)
func (*ConnectHandler) CancelSubscription ¶ added in v0.76.0
func (h *ConnectHandler) CancelSubscription(ctx context.Context, request *connect.Request[frontierv1beta1.CancelSubscriptionRequest]) (*connect.Response[frontierv1beta1.CancelSubscriptionResponse], error)
func (*ConnectHandler) ChangeSubscription ¶ added in v0.76.0
func (h *ConnectHandler) ChangeSubscription(ctx context.Context, request *connect.Request[frontierv1beta1.ChangeSubscriptionRequest]) (*connect.Response[frontierv1beta1.ChangeSubscriptionResponse], error)
func (*ConnectHandler) CheckCreditEntitlement ¶ added in v0.76.0
func (h *ConnectHandler) CheckCreditEntitlement(ctx context.Context, request *connect.Request[frontierv1beta1.CheckCreditEntitlementRequest]) (*connect.Response[frontierv1beta1.CheckCreditEntitlementResponse], error)
func (*ConnectHandler) CheckFeatureEntitlement ¶ added in v0.76.0
func (h *ConnectHandler) CheckFeatureEntitlement(ctx context.Context, request *connect.Request[frontierv1beta1.CheckFeatureEntitlementRequest]) (*connect.Response[frontierv1beta1.CheckFeatureEntitlementResponse], error)
func (*ConnectHandler) CheckFederatedResourcePermission ¶ added in v0.74.0
func (h *ConnectHandler) CheckFederatedResourcePermission(ctx context.Context, req *connect.Request[frontierv1beta1.CheckFederatedResourcePermissionRequest]) (*connect.Response[frontierv1beta1.CheckFederatedResourcePermissionResponse], error)
func (*ConnectHandler) CheckPlanEntitlement ¶ added in v0.69.0
func (h *ConnectHandler) CheckPlanEntitlement(ctx context.Context, obj relation.Object, request connect.AnyRequest) error
CheckPlanEntitlement is only currently used to restrict seat based plans
func (*ConnectHandler) CheckResourcePermission ¶ added in v0.76.0
func (h *ConnectHandler) CheckResourcePermission(ctx context.Context, req *connect.Request[frontierv1beta1.CheckResourcePermissionRequest]) (*connect.Response[frontierv1beta1.CheckResourcePermissionResponse], error)
func (*ConnectHandler) CreateAuditRecord ¶ added in v0.74.0
func (h *ConnectHandler) CreateAuditRecord(ctx context.Context, request *connect.Request[frontierv1beta1.CreateAuditRecordRequest]) (*connect.Response[frontierv1beta1.CreateAuditRecordResponse], error)
func (*ConnectHandler) CreateBillingAccount ¶ added in v0.75.0
func (h *ConnectHandler) CreateBillingAccount(ctx context.Context, request *connect.Request[frontierv1beta1.CreateBillingAccountRequest]) (*connect.Response[frontierv1beta1.CreateBillingAccountResponse], error)
func (*ConnectHandler) CreateBillingUsage ¶ added in v0.76.0
func (h *ConnectHandler) CreateBillingUsage(ctx context.Context, request *connect.Request[frontierv1beta1.CreateBillingUsageRequest]) (*connect.Response[frontierv1beta1.CreateBillingUsageResponse], error)
func (*ConnectHandler) CreateCheckout ¶ added in v0.76.0
func (h *ConnectHandler) CreateCheckout(ctx context.Context, request *connect.Request[frontierv1beta1.CreateCheckoutRequest]) (*connect.Response[frontierv1beta1.CreateCheckoutResponse], error)
func (*ConnectHandler) CreateCurrentUserPreferences ¶ added in v0.76.0
func (h *ConnectHandler) CreateCurrentUserPreferences(ctx context.Context, req *connect.Request[frontierv1beta1.CreateCurrentUserPreferencesRequest]) (*connect.Response[frontierv1beta1.CreateCurrentUserPreferencesResponse], error)
func (*ConnectHandler) CreateFeature ¶ added in v0.76.1
func (h *ConnectHandler) CreateFeature(ctx context.Context, request *connect.Request[frontierv1beta1.CreateFeatureRequest]) (*connect.Response[frontierv1beta1.CreateFeatureResponse], error)
func (*ConnectHandler) CreateGroup ¶ added in v0.76.0
func (h *ConnectHandler) CreateGroup(ctx context.Context, request *connect.Request[frontierv1beta1.CreateGroupRequest]) (*connect.Response[frontierv1beta1.CreateGroupResponse], error)
func (*ConnectHandler) CreateMetaSchema ¶ added in v0.76.0
func (h *ConnectHandler) CreateMetaSchema(ctx context.Context, req *connect.Request[frontierv1beta1.CreateMetaSchemaRequest]) (*connect.Response[frontierv1beta1.CreateMetaSchemaResponse], error)
func (*ConnectHandler) CreateOrganization ¶ added in v0.75.0
func (h *ConnectHandler) CreateOrganization(ctx context.Context, request *connect.Request[frontierv1beta1.CreateOrganizationRequest]) (*connect.Response[frontierv1beta1.CreateOrganizationResponse], error)
func (*ConnectHandler) CreateOrganizationDomain ¶ added in v0.75.0
func (h *ConnectHandler) CreateOrganizationDomain(ctx context.Context, request *connect.Request[frontierv1beta1.CreateOrganizationDomainRequest]) (*connect.Response[frontierv1beta1.CreateOrganizationDomainResponse], error)
func (*ConnectHandler) CreateOrganizationInvitation ¶ added in v0.75.0
func (h *ConnectHandler) CreateOrganizationInvitation(ctx context.Context, request *connect.Request[frontierv1beta1.CreateOrganizationInvitationRequest]) (*connect.Response[frontierv1beta1.CreateOrganizationInvitationResponse], error)
func (*ConnectHandler) CreateOrganizationPreferences ¶ added in v0.76.0
func (h *ConnectHandler) CreateOrganizationPreferences(ctx context.Context, req *connect.Request[frontierv1beta1.CreateOrganizationPreferencesRequest]) (*connect.Response[frontierv1beta1.CreateOrganizationPreferencesResponse], error)
func (*ConnectHandler) CreateOrganizationRole ¶ added in v0.76.0
func (h *ConnectHandler) CreateOrganizationRole(ctx context.Context, request *connect.Request[frontierv1beta1.CreateOrganizationRoleRequest]) (*connect.Response[frontierv1beta1.CreateOrganizationRoleResponse], error)
func (*ConnectHandler) CreatePermission ¶ added in v0.74.0
func (h *ConnectHandler) CreatePermission(ctx context.Context, request *connect.Request[frontierv1beta1.CreatePermissionRequest]) (*connect.Response[frontierv1beta1.CreatePermissionResponse], error)
func (*ConnectHandler) CreatePlan ¶ added in v0.76.0
func (h *ConnectHandler) CreatePlan(ctx context.Context, request *connect.Request[frontierv1beta1.CreatePlanRequest]) (*connect.Response[frontierv1beta1.CreatePlanResponse], error)
func (*ConnectHandler) CreatePolicy ¶ added in v0.76.0
func (h *ConnectHandler) CreatePolicy(ctx context.Context, request *connect.Request[frontierv1beta1.CreatePolicyRequest]) (*connect.Response[frontierv1beta1.CreatePolicyResponse], error)
func (*ConnectHandler) CreatePolicyForProject ¶ added in v0.76.0
func (h *ConnectHandler) CreatePolicyForProject(ctx context.Context, request *connect.Request[frontierv1beta1.CreatePolicyForProjectRequest]) (*connect.Response[frontierv1beta1.CreatePolicyForProjectResponse], error)
func (*ConnectHandler) CreatePreferences ¶ added in v0.75.0
func (h *ConnectHandler) CreatePreferences(ctx context.Context, req *connect.Request[frontierv1beta1.CreatePreferencesRequest]) (*connect.Response[frontierv1beta1.CreatePreferencesResponse], error)
func (*ConnectHandler) CreateProduct ¶ added in v0.76.0
func (h *ConnectHandler) CreateProduct(ctx context.Context, request *connect.Request[frontierv1beta1.CreateProductRequest]) (*connect.Response[frontierv1beta1.CreateProductResponse], error)
func (*ConnectHandler) CreateProject ¶ added in v0.76.0
func (h *ConnectHandler) CreateProject(ctx context.Context, request *connect.Request[frontierv1beta1.CreateProjectRequest]) (*connect.Response[frontierv1beta1.CreateProjectResponse], error)
func (*ConnectHandler) CreateProjectResource ¶ added in v0.76.0
func (h *ConnectHandler) CreateProjectResource(ctx context.Context, request *connect.Request[frontierv1beta1.CreateProjectResourceRequest]) (*connect.Response[frontierv1beta1.CreateProjectResourceResponse], error)
func (*ConnectHandler) CreateProspect ¶ added in v0.75.0
func (h *ConnectHandler) CreateProspect(ctx context.Context, request *connect.Request[frontierv1beta1.CreateProspectRequest]) (*connect.Response[frontierv1beta1.CreateProspectResponse], error)
func (*ConnectHandler) CreateProspectPublic ¶ added in v0.75.0
func (h *ConnectHandler) CreateProspectPublic(ctx context.Context, request *connect.Request[frontierv1beta1.CreateProspectPublicRequest]) (*connect.Response[frontierv1beta1.CreateProspectPublicResponse], error)
func (*ConnectHandler) CreateRelation ¶ added in v0.76.0
func (h *ConnectHandler) CreateRelation(ctx context.Context, request *connect.Request[frontierv1beta1.CreateRelationRequest]) (*connect.Response[frontierv1beta1.CreateRelationResponse], error)
func (*ConnectHandler) CreateRole ¶ added in v0.74.0
func (h *ConnectHandler) CreateRole(ctx context.Context, request *connect.Request[frontierv1beta1.CreateRoleRequest]) (*connect.Response[frontierv1beta1.CreateRoleResponse], error)
func (*ConnectHandler) CreateServiceUser ¶ added in v0.75.0
func (h *ConnectHandler) CreateServiceUser(ctx context.Context, request *connect.Request[frontierv1beta1.CreateServiceUserRequest]) (*connect.Response[frontierv1beta1.CreateServiceUserResponse], error)
func (*ConnectHandler) CreateServiceUserCredential ¶ added in v0.75.0
func (h *ConnectHandler) CreateServiceUserCredential(ctx context.Context, request *connect.Request[frontierv1beta1.CreateServiceUserCredentialRequest]) (*connect.Response[frontierv1beta1.CreateServiceUserCredentialResponse], error)
func (*ConnectHandler) CreateServiceUserJWK ¶ added in v0.75.0
func (h *ConnectHandler) CreateServiceUserJWK(ctx context.Context, request *connect.Request[frontierv1beta1.CreateServiceUserJWKRequest]) (*connect.Response[frontierv1beta1.CreateServiceUserJWKResponse], error)
func (*ConnectHandler) CreateServiceUserToken ¶ added in v0.75.0
func (h *ConnectHandler) CreateServiceUserToken(ctx context.Context, request *connect.Request[frontierv1beta1.CreateServiceUserTokenRequest]) (*connect.Response[frontierv1beta1.CreateServiceUserTokenResponse], error)
func (*ConnectHandler) CreateUser ¶ added in v0.75.0
func (h *ConnectHandler) CreateUser(ctx context.Context, request *connect.Request[frontierv1beta1.CreateUserRequest]) (*connect.Response[frontierv1beta1.CreateUserResponse], error)
func (*ConnectHandler) CreateUserPreferences ¶ added in v0.76.0
func (h *ConnectHandler) CreateUserPreferences(ctx context.Context, req *connect.Request[frontierv1beta1.CreateUserPreferencesRequest]) (*connect.Response[frontierv1beta1.CreateUserPreferencesResponse], error)
func (*ConnectHandler) CreateWebhook ¶ added in v0.75.0
func (h *ConnectHandler) CreateWebhook(ctx context.Context, req *connect.Request[frontierv1beta1.CreateWebhookRequest]) (*connect.Response[frontierv1beta1.CreateWebhookResponse], error)
func (*ConnectHandler) DelegatedCheckout ¶ added in v0.74.0
func (h *ConnectHandler) DelegatedCheckout(ctx context.Context, request *connect.Request[frontierv1beta1.DelegatedCheckoutRequest]) (*connect.Response[frontierv1beta1.DelegatedCheckoutResponse], error)
func (*ConnectHandler) DeleteBillingAccount ¶ added in v0.75.0
func (h *ConnectHandler) DeleteBillingAccount(ctx context.Context, request *connect.Request[frontierv1beta1.DeleteBillingAccountRequest]) (*connect.Response[frontierv1beta1.DeleteBillingAccountResponse], error)
func (*ConnectHandler) DeleteGroup ¶ added in v0.76.0
func (h *ConnectHandler) DeleteGroup(ctx context.Context, request *connect.Request[frontierv1beta1.DeleteGroupRequest]) (*connect.Response[frontierv1beta1.DeleteGroupResponse], error)
func (*ConnectHandler) DeleteMetaSchema ¶ added in v0.76.0
func (h *ConnectHandler) DeleteMetaSchema(ctx context.Context, req *connect.Request[frontierv1beta1.DeleteMetaSchemaRequest]) (*connect.Response[frontierv1beta1.DeleteMetaSchemaResponse], error)
func (*ConnectHandler) DeleteOrganization ¶ added in v0.75.0
func (h *ConnectHandler) DeleteOrganization(ctx context.Context, request *connect.Request[frontierv1beta1.DeleteOrganizationRequest]) (*connect.Response[frontierv1beta1.DeleteOrganizationResponse], error)
func (*ConnectHandler) DeleteOrganizationDomain ¶ added in v0.75.0
func (h *ConnectHandler) DeleteOrganizationDomain(ctx context.Context, request *connect.Request[frontierv1beta1.DeleteOrganizationDomainRequest]) (*connect.Response[frontierv1beta1.DeleteOrganizationDomainResponse], error)
func (*ConnectHandler) DeleteOrganizationInvitation ¶ added in v0.75.0
func (h *ConnectHandler) DeleteOrganizationInvitation(ctx context.Context, request *connect.Request[frontierv1beta1.DeleteOrganizationInvitationRequest]) (*connect.Response[frontierv1beta1.DeleteOrganizationInvitationResponse], error)
func (*ConnectHandler) DeleteOrganizationRole ¶ added in v0.76.0
func (h *ConnectHandler) DeleteOrganizationRole(ctx context.Context, request *connect.Request[frontierv1beta1.DeleteOrganizationRoleRequest]) (*connect.Response[frontierv1beta1.DeleteOrganizationRoleResponse], error)
func (*ConnectHandler) DeletePolicy ¶ added in v0.76.0
func (h *ConnectHandler) DeletePolicy(ctx context.Context, request *connect.Request[frontierv1beta1.DeletePolicyRequest]) (*connect.Response[frontierv1beta1.DeletePolicyResponse], error)
func (*ConnectHandler) DeleteProject ¶ added in v0.76.1
func (h *ConnectHandler) DeleteProject(ctx context.Context, request *connect.Request[frontierv1beta1.DeleteProjectRequest]) (*connect.Response[frontierv1beta1.DeleteProjectResponse], error)
func (*ConnectHandler) DeleteProjectResource ¶ added in v0.76.0
func (h *ConnectHandler) DeleteProjectResource(ctx context.Context, request *connect.Request[frontierv1beta1.DeleteProjectResourceRequest]) (*connect.Response[frontierv1beta1.DeleteProjectResourceResponse], error)
func (*ConnectHandler) DeleteProspect ¶ added in v0.75.0
func (h *ConnectHandler) DeleteProspect(ctx context.Context, request *connect.Request[frontierv1beta1.DeleteProspectRequest]) (*connect.Response[frontierv1beta1.DeleteProspectResponse], error)
func (*ConnectHandler) DeleteRelation ¶ added in v0.76.0
func (h *ConnectHandler) DeleteRelation(ctx context.Context, request *connect.Request[frontierv1beta1.DeleteRelationRequest]) (*connect.Response[frontierv1beta1.DeleteRelationResponse], error)
func (*ConnectHandler) DeleteRole ¶ added in v0.74.0
func (h *ConnectHandler) DeleteRole(ctx context.Context, request *connect.Request[frontierv1beta1.DeleteRoleRequest]) (*connect.Response[frontierv1beta1.DeleteRoleResponse], error)
func (*ConnectHandler) DeleteServiceUser ¶ added in v0.75.0
func (h *ConnectHandler) DeleteServiceUser(ctx context.Context, request *connect.Request[frontierv1beta1.DeleteServiceUserRequest]) (*connect.Response[frontierv1beta1.DeleteServiceUserResponse], error)
func (*ConnectHandler) DeleteServiceUserCredential ¶ added in v0.75.0
func (h *ConnectHandler) DeleteServiceUserCredential(ctx context.Context, request *connect.Request[frontierv1beta1.DeleteServiceUserCredentialRequest]) (*connect.Response[frontierv1beta1.DeleteServiceUserCredentialResponse], error)
func (*ConnectHandler) DeleteServiceUserJWK ¶ added in v0.75.0
func (h *ConnectHandler) DeleteServiceUserJWK(ctx context.Context, request *connect.Request[frontierv1beta1.DeleteServiceUserJWKRequest]) (*connect.Response[frontierv1beta1.DeleteServiceUserJWKResponse], error)
func (*ConnectHandler) DeleteServiceUserToken ¶ added in v0.75.0
func (h *ConnectHandler) DeleteServiceUserToken(ctx context.Context, request *connect.Request[frontierv1beta1.DeleteServiceUserTokenRequest]) (*connect.Response[frontierv1beta1.DeleteServiceUserTokenResponse], error)
func (*ConnectHandler) DeleteUser ¶ added in v0.75.0
func (h *ConnectHandler) DeleteUser(ctx context.Context, request *connect.Request[frontierv1beta1.DeleteUserRequest]) (*connect.Response[frontierv1beta1.DeleteUserResponse], error)
func (*ConnectHandler) DeleteWebhook ¶ added in v0.75.0
func (h *ConnectHandler) DeleteWebhook(ctx context.Context, req *connect.Request[frontierv1beta1.DeleteWebhookRequest]) (*connect.Response[frontierv1beta1.DeleteWebhookResponse], error)
func (*ConnectHandler) DescribePreferences ¶ added in v0.76.0
func (h *ConnectHandler) DescribePreferences(ctx context.Context, req *connect.Request[frontierv1beta1.DescribePreferencesRequest]) (*connect.Response[frontierv1beta1.DescribePreferencesResponse], error)
func (*ConnectHandler) DisableBillingAccount ¶ added in v0.75.0
func (h *ConnectHandler) DisableBillingAccount(ctx context.Context, request *connect.Request[frontierv1beta1.DisableBillingAccountRequest]) (*connect.Response[frontierv1beta1.DisableBillingAccountResponse], error)
func (*ConnectHandler) DisableGroup ¶ added in v0.76.0
func (h *ConnectHandler) DisableGroup(ctx context.Context, request *connect.Request[frontierv1beta1.DisableGroupRequest]) (*connect.Response[frontierv1beta1.DisableGroupResponse], error)
func (*ConnectHandler) DisableOrganization ¶ added in v0.75.0
func (h *ConnectHandler) DisableOrganization(ctx context.Context, request *connect.Request[frontierv1beta1.DisableOrganizationRequest]) (*connect.Response[frontierv1beta1.DisableOrganizationResponse], error)
func (*ConnectHandler) DisableProject ¶ added in v0.76.0
func (h *ConnectHandler) DisableProject(ctx context.Context, request *connect.Request[frontierv1beta1.DisableProjectRequest]) (*connect.Response[frontierv1beta1.DisableProjectResponse], error)
func (*ConnectHandler) DisableUser ¶ added in v0.75.0
func (h *ConnectHandler) DisableUser(ctx context.Context, request *connect.Request[frontierv1beta1.DisableUserRequest]) (*connect.Response[frontierv1beta1.DisableUserResponse], error)
func (*ConnectHandler) EnableBillingAccount ¶ added in v0.75.0
func (h *ConnectHandler) EnableBillingAccount(ctx context.Context, request *connect.Request[frontierv1beta1.EnableBillingAccountRequest]) (*connect.Response[frontierv1beta1.EnableBillingAccountResponse], error)
func (*ConnectHandler) EnableGroup ¶ added in v0.76.0
func (h *ConnectHandler) EnableGroup(ctx context.Context, request *connect.Request[frontierv1beta1.EnableGroupRequest]) (*connect.Response[frontierv1beta1.EnableGroupResponse], error)
func (*ConnectHandler) EnableOrganization ¶ added in v0.75.0
func (h *ConnectHandler) EnableOrganization(ctx context.Context, request *connect.Request[frontierv1beta1.EnableOrganizationRequest]) (*connect.Response[frontierv1beta1.EnableOrganizationResponse], error)
func (*ConnectHandler) EnableProject ¶ added in v0.76.0
func (h *ConnectHandler) EnableProject(ctx context.Context, request *connect.Request[frontierv1beta1.EnableProjectRequest]) (*connect.Response[frontierv1beta1.EnableProjectResponse], error)
func (*ConnectHandler) EnableUser ¶ added in v0.75.0
func (h *ConnectHandler) EnableUser(ctx context.Context, request *connect.Request[frontierv1beta1.EnableUserRequest]) (*connect.Response[frontierv1beta1.EnableUserResponse], error)
func (*ConnectHandler) ExportAuditRecords ¶ added in v0.75.0
func (h *ConnectHandler) ExportAuditRecords(ctx context.Context, request *connect.Request[frontierv1beta1.ExportAuditRecordsRequest], stream *connect.ServerStream[httpbody.HttpBody]) error
func (*ConnectHandler) ExportOrganizationProjects ¶ added in v0.73.0
func (h *ConnectHandler) ExportOrganizationProjects(ctx context.Context, request *connect.Request[frontierv1beta1.ExportOrganizationProjectsRequest], stream *connect.ServerStream[httpbody.HttpBody]) error
func (*ConnectHandler) ExportOrganizationTokens ¶ added in v0.73.0
func (h *ConnectHandler) ExportOrganizationTokens(ctx context.Context, request *connect.Request[frontierv1beta1.ExportOrganizationTokensRequest], stream *connect.ServerStream[httpbody.HttpBody]) error
func (*ConnectHandler) ExportOrganizationUsers ¶ added in v0.73.0
func (h *ConnectHandler) ExportOrganizationUsers(ctx context.Context, request *connect.Request[frontierv1beta1.ExportOrganizationUsersRequest], stream *connect.ServerStream[httpbody.HttpBody]) error
func (*ConnectHandler) ExportOrganizations ¶ added in v0.71.0
func (h *ConnectHandler) ExportOrganizations(ctx context.Context, request *connect.Request[frontierv1beta1.ExportOrganizationsRequest], stream *connect.ServerStream[httpbody.HttpBody]) error
func (*ConnectHandler) ExportUsers ¶ added in v0.73.0
func (h *ConnectHandler) ExportUsers(ctx context.Context, request *connect.Request[frontierv1beta1.ExportUsersRequest], stream *connect.ServerStream[httpbody.HttpBody]) error
func (*ConnectHandler) GenerateInvoices ¶ added in v0.74.0
func (h *ConnectHandler) GenerateInvoices(ctx context.Context, request *connect.Request[frontierv1beta1.GenerateInvoicesRequest]) (*connect.Response[frontierv1beta1.GenerateInvoicesResponse], error)
func (*ConnectHandler) GetBillingAccount ¶ added in v0.74.0
func (h *ConnectHandler) GetBillingAccount(ctx context.Context, request *connect.Request[frontierv1beta1.GetBillingAccountRequest]) (*connect.Response[frontierv1beta1.GetBillingAccountResponse], error)
func (*ConnectHandler) GetBillingAccountDetails ¶ added in v0.74.0
func (h *ConnectHandler) GetBillingAccountDetails(ctx context.Context, request *connect.Request[frontierv1beta1.GetBillingAccountDetailsRequest]) (*connect.Response[frontierv1beta1.GetBillingAccountDetailsResponse], error)
func (*ConnectHandler) GetBillingBalance ¶ added in v0.75.0
func (h *ConnectHandler) GetBillingBalance(ctx context.Context, request *connect.Request[frontierv1beta1.GetBillingBalanceRequest]) (*connect.Response[frontierv1beta1.GetBillingBalanceResponse], error)
func (*ConnectHandler) GetCheckout ¶ added in v0.76.0
func (h *ConnectHandler) GetCheckout(ctx context.Context, request *connect.Request[frontierv1beta1.GetCheckoutRequest]) (*connect.Response[frontierv1beta1.GetCheckoutResponse], error)
func (*ConnectHandler) GetCurrentAdminUser ¶ added in v0.70.0
func (h *ConnectHandler) GetCurrentAdminUser(ctx context.Context, request *connect.Request[frontierv1beta1.GetCurrentAdminUserRequest]) (*connect.Response[frontierv1beta1.GetCurrentAdminUserResponse], error)
func (*ConnectHandler) GetCurrentUser ¶ added in v0.75.0
func (h *ConnectHandler) GetCurrentUser(ctx context.Context, request *connect.Request[frontierv1beta1.GetCurrentUserRequest]) (*connect.Response[frontierv1beta1.GetCurrentUserResponse], error)
func (*ConnectHandler) GetFeature ¶ added in v0.76.0
func (h *ConnectHandler) GetFeature(ctx context.Context, request *connect.Request[frontierv1beta1.GetFeatureRequest]) (*connect.Response[frontierv1beta1.GetFeatureResponse], error)
func (*ConnectHandler) GetGroup ¶ added in v0.76.0
func (h *ConnectHandler) GetGroup(ctx context.Context, request *connect.Request[frontierv1beta1.GetGroupRequest]) (*connect.Response[frontierv1beta1.GetGroupResponse], error)
func (*ConnectHandler) GetJWKs ¶ added in v0.76.0
func (h *ConnectHandler) GetJWKs(ctx context.Context, request *connect.Request[frontierv1beta1.GetJWKsRequest]) (*connect.Response[frontierv1beta1.GetJWKsResponse], error)
func (*ConnectHandler) GetLoggedInPrincipal ¶ added in v0.69.0
func (h *ConnectHandler) GetLoggedInPrincipal(ctx context.Context, via ...authenticate.ClientAssertion) (authenticate.Principal, error)
func (*ConnectHandler) GetMetaSchema ¶ added in v0.76.0
func (h *ConnectHandler) GetMetaSchema(ctx context.Context, req *connect.Request[frontierv1beta1.GetMetaSchemaRequest]) (*connect.Response[frontierv1beta1.GetMetaSchemaResponse], error)
func (*ConnectHandler) GetNamespace ¶ added in v0.76.0
func (h *ConnectHandler) GetNamespace(ctx context.Context, request *connect.Request[frontierv1beta1.GetNamespaceRequest]) (*connect.Response[frontierv1beta1.GetNamespaceResponse], error)
func (*ConnectHandler) GetOrganization ¶ added in v0.69.0
func (h *ConnectHandler) GetOrganization(ctx context.Context, request *connect.Request[frontierv1beta1.GetOrganizationRequest]) (*connect.Response[frontierv1beta1.GetOrganizationResponse], error)
func (*ConnectHandler) GetOrganizationDomain ¶ added in v0.75.0
func (h *ConnectHandler) GetOrganizationDomain(ctx context.Context, request *connect.Request[frontierv1beta1.GetOrganizationDomainRequest]) (*connect.Response[frontierv1beta1.GetOrganizationDomainResponse], error)
func (*ConnectHandler) GetOrganizationInvitation ¶ added in v0.75.0
func (h *ConnectHandler) GetOrganizationInvitation(ctx context.Context, request *connect.Request[frontierv1beta1.GetOrganizationInvitationRequest]) (*connect.Response[frontierv1beta1.GetOrganizationInvitationResponse], error)
func (*ConnectHandler) GetOrganizationKyc ¶ added in v0.73.0
func (h *ConnectHandler) GetOrganizationKyc(ctx context.Context, request *connect.Request[frontierv1beta1.GetOrganizationKycRequest]) (*connect.Response[frontierv1beta1.GetOrganizationKycResponse], error)
func (*ConnectHandler) GetOrganizationRole ¶ added in v0.76.0
func (h *ConnectHandler) GetOrganizationRole(ctx context.Context, request *connect.Request[frontierv1beta1.GetOrganizationRoleRequest]) (*connect.Response[frontierv1beta1.GetOrganizationRoleResponse], error)
func (*ConnectHandler) GetPermission ¶ added in v0.76.0
func (h *ConnectHandler) GetPermission(ctx context.Context, request *connect.Request[frontierv1beta1.GetPermissionRequest]) (*connect.Response[frontierv1beta1.GetPermissionResponse], error)
func (*ConnectHandler) GetPlan ¶ added in v0.76.0
func (h *ConnectHandler) GetPlan(ctx context.Context, request *connect.Request[frontierv1beta1.GetPlanRequest]) (*connect.Response[frontierv1beta1.GetPlanResponse], error)
func (*ConnectHandler) GetPolicy ¶ added in v0.76.0
func (h *ConnectHandler) GetPolicy(ctx context.Context, request *connect.Request[frontierv1beta1.GetPolicyRequest]) (*connect.Response[frontierv1beta1.GetPolicyResponse], error)
func (*ConnectHandler) GetProduct ¶ added in v0.76.0
func (h *ConnectHandler) GetProduct(ctx context.Context, request *connect.Request[frontierv1beta1.GetProductRequest]) (*connect.Response[frontierv1beta1.GetProductResponse], error)
func (*ConnectHandler) GetProject ¶ added in v0.76.0
func (h *ConnectHandler) GetProject(ctx context.Context, request *connect.Request[frontierv1beta1.GetProjectRequest]) (*connect.Response[frontierv1beta1.GetProjectResponse], error)
func (*ConnectHandler) GetProjectResource ¶ added in v0.76.0
func (h *ConnectHandler) GetProjectResource(ctx context.Context, request *connect.Request[frontierv1beta1.GetProjectResourceRequest]) (*connect.Response[frontierv1beta1.GetProjectResourceResponse], error)
func (*ConnectHandler) GetProspect ¶ added in v0.75.0
func (h *ConnectHandler) GetProspect(ctx context.Context, request *connect.Request[frontierv1beta1.GetProspectRequest]) (*connect.Response[frontierv1beta1.GetProspectResponse], error)
func (*ConnectHandler) GetRawCheckout ¶ added in v0.69.0
func (h *ConnectHandler) GetRawCheckout(ctx context.Context, id string, request connect.AnyRequest) (checkout.Checkout, error)
func (*ConnectHandler) GetRelation ¶ added in v0.76.0
func (h *ConnectHandler) GetRelation(ctx context.Context, request *connect.Request[frontierv1beta1.GetRelationRequest]) (*connect.Response[frontierv1beta1.GetRelationResponse], error)
func (*ConnectHandler) GetServiceUser ¶ added in v0.69.0
func (h *ConnectHandler) GetServiceUser(ctx context.Context, request *connect.Request[frontierv1beta1.GetServiceUserRequest]) (*connect.Response[frontierv1beta1.GetServiceUserResponse], error)
func (*ConnectHandler) GetServiceUserJWK ¶ added in v0.75.0
func (h *ConnectHandler) GetServiceUserJWK(ctx context.Context, request *connect.Request[frontierv1beta1.GetServiceUserJWKRequest]) (*connect.Response[frontierv1beta1.GetServiceUserJWKResponse], error)
func (*ConnectHandler) GetSubscription ¶ added in v0.76.0
func (h *ConnectHandler) GetSubscription(ctx context.Context, request *connect.Request[frontierv1beta1.GetSubscriptionRequest]) (*connect.Response[frontierv1beta1.GetSubscriptionResponse], error)
func (*ConnectHandler) GetUpcomingInvoice ¶ added in v0.76.0
func (h *ConnectHandler) GetUpcomingInvoice(ctx context.Context, request *connect.Request[frontierv1beta1.GetUpcomingInvoiceRequest]) (*connect.Response[frontierv1beta1.GetUpcomingInvoiceResponse], error)
func (*ConnectHandler) GetUser ¶ added in v0.75.0
func (h *ConnectHandler) GetUser(ctx context.Context, request *connect.Request[frontierv1beta1.GetUserRequest]) (*connect.Response[frontierv1beta1.GetUserResponse], error)
func (*ConnectHandler) HasTrialed ¶ added in v0.76.0
func (h *ConnectHandler) HasTrialed(ctx context.Context, request *connect.Request[frontierv1beta1.HasTrialedRequest]) (*connect.Response[frontierv1beta1.HasTrialedResponse], error)
func (*ConnectHandler) IsAuthorized ¶ added in v0.69.0
func (h *ConnectHandler) IsAuthorized(ctx context.Context, object relation.Object, permission string, request connect.AnyRequest) error
func (*ConnectHandler) IsSuperUser ¶ added in v0.69.0
func (h *ConnectHandler) IsSuperUser(ctx context.Context, request connect.AnyRequest) error
func (*ConnectHandler) IsUserIDSuperUser ¶ added in v0.76.2
IsUserIDSuperUser returns true if the user ID is a super user
func (*ConnectHandler) JoinOrganization ¶ added in v0.75.0
func (h *ConnectHandler) JoinOrganization(ctx context.Context, request *connect.Request[frontierv1beta1.JoinOrganizationRequest]) (*connect.Response[frontierv1beta1.JoinOrganizationResponse], error)
func (*ConnectHandler) ListAllBillingAccounts ¶ added in v0.74.0
func (h *ConnectHandler) ListAllBillingAccounts(ctx context.Context, request *connect.Request[frontierv1beta1.ListAllBillingAccountsRequest]) (*connect.Response[frontierv1beta1.ListAllBillingAccountsResponse], error)
func (*ConnectHandler) ListAllInvoices ¶ added in v0.74.0
func (h *ConnectHandler) ListAllInvoices(ctx context.Context, request *connect.Request[frontierv1beta1.ListAllInvoicesRequest]) (*connect.Response[frontierv1beta1.ListAllInvoicesResponse], error)
func (*ConnectHandler) ListAllOrganizations ¶ added in v0.71.0
func (h *ConnectHandler) ListAllOrganizations(ctx context.Context, request *connect.Request[frontierv1beta1.ListAllOrganizationsRequest]) (*connect.Response[frontierv1beta1.ListAllOrganizationsResponse], error)
func (*ConnectHandler) ListAllServiceUsers ¶ added in v0.67.0
func (h *ConnectHandler) ListAllServiceUsers(ctx context.Context, request *connect.Request[frontierv1beta1.ListAllServiceUsersRequest]) (*connect.Response[frontierv1beta1.ListAllServiceUsersResponse], error)
func (*ConnectHandler) ListAllUsers ¶
func (h *ConnectHandler) ListAllUsers(ctx context.Context, request *connect.Request[frontierv1beta1.ListAllUsersRequest]) (*connect.Response[frontierv1beta1.ListAllUsersResponse], error)
func (*ConnectHandler) ListAuditRecords ¶ added in v0.75.0
func (h *ConnectHandler) ListAuditRecords(ctx context.Context, request *connect.Request[frontierv1beta1.ListAuditRecordsRequest]) (*connect.Response[frontierv1beta1.ListAuditRecordsResponse], error)
func (*ConnectHandler) ListAuthStrategies ¶ added in v0.69.0
func (h *ConnectHandler) ListAuthStrategies(ctx context.Context, request *connect.Request[frontierv1beta1.ListAuthStrategiesRequest]) (*connect.Response[frontierv1beta1.ListAuthStrategiesResponse], error)
func (*ConnectHandler) ListBillingAccounts ¶ added in v0.75.0
func (h *ConnectHandler) ListBillingAccounts(ctx context.Context, request *connect.Request[frontierv1beta1.ListBillingAccountsRequest]) (*connect.Response[frontierv1beta1.ListBillingAccountsResponse], error)
func (*ConnectHandler) ListBillingTransactions ¶ added in v0.76.0
func (h *ConnectHandler) ListBillingTransactions(ctx context.Context, request *connect.Request[frontierv1beta1.ListBillingTransactionsRequest]) (*connect.Response[frontierv1beta1.ListBillingTransactionsResponse], error)
func (*ConnectHandler) ListCheckouts ¶ added in v0.76.0
func (h *ConnectHandler) ListCheckouts(ctx context.Context, request *connect.Request[frontierv1beta1.ListCheckoutsRequest]) (*connect.Response[frontierv1beta1.ListCheckoutsResponse], error)
func (*ConnectHandler) ListCurrentUserGroups ¶ added in v0.75.0
func (h *ConnectHandler) ListCurrentUserGroups(ctx context.Context, request *connect.Request[frontierv1beta1.ListCurrentUserGroupsRequest]) (*connect.Response[frontierv1beta1.ListCurrentUserGroupsResponse], error)
func (*ConnectHandler) ListCurrentUserInvitations ¶ added in v0.75.0
func (h *ConnectHandler) ListCurrentUserInvitations(ctx context.Context, request *connect.Request[frontierv1beta1.ListCurrentUserInvitationsRequest]) (*connect.Response[frontierv1beta1.ListCurrentUserInvitationsResponse], error)
func (*ConnectHandler) ListCurrentUserPreferences ¶ added in v0.76.0
func (h *ConnectHandler) ListCurrentUserPreferences(ctx context.Context, req *connect.Request[frontierv1beta1.ListCurrentUserPreferencesRequest]) (*connect.Response[frontierv1beta1.ListCurrentUserPreferencesResponse], error)
func (*ConnectHandler) ListFeatures ¶ added in v0.76.0
func (h *ConnectHandler) ListFeatures(ctx context.Context, request *connect.Request[frontierv1beta1.ListFeaturesRequest]) (*connect.Response[frontierv1beta1.ListFeaturesResponse], error)
func (*ConnectHandler) ListGroupUsers ¶ added in v0.76.0
func (h *ConnectHandler) ListGroupUsers(ctx context.Context, request *connect.Request[frontierv1beta1.ListGroupUsersRequest]) (*connect.Response[frontierv1beta1.ListGroupUsersResponse], error)
func (*ConnectHandler) ListGroups ¶ added in v0.74.0
func (h *ConnectHandler) ListGroups(ctx context.Context, request *connect.Request[frontierv1beta1.ListGroupsRequest]) (*connect.Response[frontierv1beta1.ListGroupsResponse], error)
func (*ConnectHandler) ListInvoices ¶ added in v0.76.0
func (h *ConnectHandler) ListInvoices(ctx context.Context, request *connect.Request[frontierv1beta1.ListInvoicesRequest]) (*connect.Response[frontierv1beta1.ListInvoicesResponse], error)
func (*ConnectHandler) ListMetaSchemas ¶ added in v0.76.0
func (h *ConnectHandler) ListMetaSchemas(ctx context.Context, req *connect.Request[frontierv1beta1.ListMetaSchemasRequest]) (*connect.Response[frontierv1beta1.ListMetaSchemasResponse], error)
func (*ConnectHandler) ListNamespaces ¶ added in v0.76.0
func (h *ConnectHandler) ListNamespaces(ctx context.Context, request *connect.Request[frontierv1beta1.ListNamespacesRequest]) (*connect.Response[frontierv1beta1.ListNamespacesResponse], error)
func (*ConnectHandler) ListOrganizationAdmins ¶ added in v0.75.0
func (h *ConnectHandler) ListOrganizationAdmins(ctx context.Context, request *connect.Request[frontierv1beta1.ListOrganizationAdminsRequest]) (*connect.Response[frontierv1beta1.ListOrganizationAdminsResponse], error)
func (*ConnectHandler) ListOrganizationDomains ¶ added in v0.75.0
func (h *ConnectHandler) ListOrganizationDomains(ctx context.Context, request *connect.Request[frontierv1beta1.ListOrganizationDomainsRequest]) (*connect.Response[frontierv1beta1.ListOrganizationDomainsResponse], error)
func (*ConnectHandler) ListOrganizationGroups ¶ added in v0.76.0
func (h *ConnectHandler) ListOrganizationGroups(ctx context.Context, request *connect.Request[frontierv1beta1.ListOrganizationGroupsRequest]) (*connect.Response[frontierv1beta1.ListOrganizationGroupsResponse], error)
func (*ConnectHandler) ListOrganizationInvitations ¶ added in v0.75.0
func (h *ConnectHandler) ListOrganizationInvitations(ctx context.Context, request *connect.Request[frontierv1beta1.ListOrganizationInvitationsRequest]) (*connect.Response[frontierv1beta1.ListOrganizationInvitationsResponse], error)
func (*ConnectHandler) ListOrganizationPreferences ¶ added in v0.76.0
func (h *ConnectHandler) ListOrganizationPreferences(ctx context.Context, req *connect.Request[frontierv1beta1.ListOrganizationPreferencesRequest]) (*connect.Response[frontierv1beta1.ListOrganizationPreferencesResponse], error)
func (*ConnectHandler) ListOrganizationProjects ¶ added in v0.75.0
func (h *ConnectHandler) ListOrganizationProjects(ctx context.Context, request *connect.Request[frontierv1beta1.ListOrganizationProjectsRequest]) (*connect.Response[frontierv1beta1.ListOrganizationProjectsResponse], error)
func (*ConnectHandler) ListOrganizationRoles ¶ added in v0.76.0
func (h *ConnectHandler) ListOrganizationRoles(ctx context.Context, request *connect.Request[frontierv1beta1.ListOrganizationRolesRequest]) (*connect.Response[frontierv1beta1.ListOrganizationRolesResponse], error)
func (*ConnectHandler) ListOrganizationServiceUsers ¶ added in v0.75.0
func (h *ConnectHandler) ListOrganizationServiceUsers(ctx context.Context, request *connect.Request[frontierv1beta1.ListOrganizationServiceUsersRequest]) (*connect.Response[frontierv1beta1.ListOrganizationServiceUsersResponse], error)
func (*ConnectHandler) ListOrganizationUsers ¶ added in v0.75.0
func (h *ConnectHandler) ListOrganizationUsers(ctx context.Context, request *connect.Request[frontierv1beta1.ListOrganizationUsersRequest]) (*connect.Response[frontierv1beta1.ListOrganizationUsersResponse], error)
func (*ConnectHandler) ListOrganizations ¶ added in v0.75.0
func (h *ConnectHandler) ListOrganizations(ctx context.Context, request *connect.Request[frontierv1beta1.ListOrganizationsRequest]) (*connect.Response[frontierv1beta1.ListOrganizationsResponse], error)
func (*ConnectHandler) ListOrganizationsByCurrentUser ¶ added in v0.75.0
func (h *ConnectHandler) ListOrganizationsByCurrentUser(ctx context.Context, request *connect.Request[frontierv1beta1.ListOrganizationsByCurrentUserRequest]) (*connect.Response[frontierv1beta1.ListOrganizationsByCurrentUserResponse], error)
func (*ConnectHandler) ListOrganizationsByUser ¶ added in v0.75.0
func (h *ConnectHandler) ListOrganizationsByUser(ctx context.Context, request *connect.Request[frontierv1beta1.ListOrganizationsByUserRequest]) (*connect.Response[frontierv1beta1.ListOrganizationsByUserResponse], error)
func (*ConnectHandler) ListOrganizationsKyc ¶ added in v0.73.0
func (h *ConnectHandler) ListOrganizationsKyc(ctx context.Context, request *connect.Request[frontierv1beta1.ListOrganizationsKycRequest]) (*connect.Response[frontierv1beta1.ListOrganizationsKycResponse], error)
func (*ConnectHandler) ListPermissions ¶ added in v0.76.0
func (h *ConnectHandler) ListPermissions(ctx context.Context, request *connect.Request[frontierv1beta1.ListPermissionsRequest]) (*connect.Response[frontierv1beta1.ListPermissionsResponse], error)
func (*ConnectHandler) ListPlans ¶ added in v0.76.0
func (h *ConnectHandler) ListPlans(ctx context.Context, request *connect.Request[frontierv1beta1.ListPlansRequest]) (*connect.Response[frontierv1beta1.ListPlansResponse], error)
func (*ConnectHandler) ListPlatformPreferences ¶ added in v0.69.0
func (*ConnectHandler) ListPlatformUsers ¶ added in v0.75.0
func (h *ConnectHandler) ListPlatformUsers(ctx context.Context, req *connect.Request[frontierv1beta1.ListPlatformUsersRequest]) (*connect.Response[frontierv1beta1.ListPlatformUsersResponse], error)
func (*ConnectHandler) ListPolicies ¶ added in v0.76.0
func (h *ConnectHandler) ListPolicies(ctx context.Context, request *connect.Request[frontierv1beta1.ListPoliciesRequest]) (*connect.Response[frontierv1beta1.ListPoliciesResponse], error)
func (*ConnectHandler) ListPreferences ¶ added in v0.75.0
func (h *ConnectHandler) ListPreferences(ctx context.Context, req *connect.Request[frontierv1beta1.ListPreferencesRequest]) (*connect.Response[frontierv1beta1.ListPreferencesResponse], error)
func (*ConnectHandler) ListProducts ¶ added in v0.76.0
func (h *ConnectHandler) ListProducts(ctx context.Context, request *connect.Request[frontierv1beta1.ListProductsRequest]) (*connect.Response[frontierv1beta1.ListProductsResponse], error)
func (*ConnectHandler) ListProjectAdmins ¶ added in v0.76.0
func (h *ConnectHandler) ListProjectAdmins(ctx context.Context, request *connect.Request[frontierv1beta1.ListProjectAdminsRequest]) (*connect.Response[frontierv1beta1.ListProjectAdminsResponse], error)
func (*ConnectHandler) ListProjectGroups ¶ added in v0.76.0
func (h *ConnectHandler) ListProjectGroups(ctx context.Context, request *connect.Request[frontierv1beta1.ListProjectGroupsRequest]) (*connect.Response[frontierv1beta1.ListProjectGroupsResponse], error)
func (*ConnectHandler) ListProjectResources ¶ added in v0.76.0
func (h *ConnectHandler) ListProjectResources(ctx context.Context, request *connect.Request[frontierv1beta1.ListProjectResourcesRequest]) (*connect.Response[frontierv1beta1.ListProjectResourcesResponse], error)
func (*ConnectHandler) ListProjectServiceUsers ¶ added in v0.76.0
func (h *ConnectHandler) ListProjectServiceUsers(ctx context.Context, request *connect.Request[frontierv1beta1.ListProjectServiceUsersRequest]) (*connect.Response[frontierv1beta1.ListProjectServiceUsersResponse], error)
func (*ConnectHandler) ListProjectUsers ¶ added in v0.76.0
func (h *ConnectHandler) ListProjectUsers(ctx context.Context, request *connect.Request[frontierv1beta1.ListProjectUsersRequest]) (*connect.Response[frontierv1beta1.ListProjectUsersResponse], error)
func (*ConnectHandler) ListProjects ¶ added in v0.74.0
func (h *ConnectHandler) ListProjects(ctx context.Context, request *connect.Request[frontierv1beta1.ListProjectsRequest]) (*connect.Response[frontierv1beta1.ListProjectsResponse], error)
func (*ConnectHandler) ListProjectsByCurrentUser ¶ added in v0.75.0
func (h *ConnectHandler) ListProjectsByCurrentUser(ctx context.Context, request *connect.Request[frontierv1beta1.ListProjectsByCurrentUserRequest]) (*connect.Response[frontierv1beta1.ListProjectsByCurrentUserResponse], error)
func (*ConnectHandler) ListProjectsByUser ¶ added in v0.75.0
func (h *ConnectHandler) ListProjectsByUser(ctx context.Context, request *connect.Request[frontierv1beta1.ListProjectsByUserRequest]) (*connect.Response[frontierv1beta1.ListProjectsByUserResponse], error)
func (*ConnectHandler) ListProspects ¶ added in v0.75.0
func (h *ConnectHandler) ListProspects(ctx context.Context, request *connect.Request[frontierv1beta1.ListProspectsRequest]) (*connect.Response[frontierv1beta1.ListProspectsResponse], error)
func (*ConnectHandler) ListRelations ¶ added in v0.74.0
func (h *ConnectHandler) ListRelations(ctx context.Context, request *connect.Request[frontierv1beta1.ListRelationsRequest]) (*connect.Response[frontierv1beta1.ListRelationsResponse], error)
func (*ConnectHandler) ListResources ¶ added in v0.74.0
func (h *ConnectHandler) ListResources(ctx context.Context, request *connect.Request[frontierv1beta1.ListResourcesRequest]) (*connect.Response[frontierv1beta1.ListResourcesResponse], error)
func (*ConnectHandler) ListRoles ¶ added in v0.76.0
func (h *ConnectHandler) ListRoles(ctx context.Context, request *connect.Request[frontierv1beta1.ListRolesRequest]) (*connect.Response[frontierv1beta1.ListRolesResponse], error)
func (*ConnectHandler) ListServiceUserCredentials ¶ added in v0.75.0
func (h *ConnectHandler) ListServiceUserCredentials(ctx context.Context, request *connect.Request[frontierv1beta1.ListServiceUserCredentialsRequest]) (*connect.Response[frontierv1beta1.ListServiceUserCredentialsResponse], error)
func (*ConnectHandler) ListServiceUserJWKs ¶ added in v0.75.0
func (h *ConnectHandler) ListServiceUserJWKs(ctx context.Context, request *connect.Request[frontierv1beta1.ListServiceUserJWKsRequest]) (*connect.Response[frontierv1beta1.ListServiceUserJWKsResponse], error)
func (*ConnectHandler) ListServiceUserProjects ¶ added in v0.75.0
func (h *ConnectHandler) ListServiceUserProjects(ctx context.Context, request *connect.Request[frontierv1beta1.ListServiceUserProjectsRequest]) (*connect.Response[frontierv1beta1.ListServiceUserProjectsResponse], error)
func (*ConnectHandler) ListServiceUserTokens ¶ added in v0.75.0
func (h *ConnectHandler) ListServiceUserTokens(ctx context.Context, request *connect.Request[frontierv1beta1.ListServiceUserTokensRequest]) (*connect.Response[frontierv1beta1.ListServiceUserTokensResponse], error)
func (*ConnectHandler) ListServiceUsers ¶ added in v0.75.0
func (h *ConnectHandler) ListServiceUsers(ctx context.Context, request *connect.Request[frontierv1beta1.ListServiceUsersRequest]) (*connect.Response[frontierv1beta1.ListServiceUsersResponse], error)
func (*ConnectHandler) ListSessions ¶ added in v0.75.0
func (h *ConnectHandler) ListSessions(ctx context.Context, request *connect.Request[frontierv1beta1.ListSessionsRequest]) (*connect.Response[frontierv1beta1.ListSessionsResponse], error)
SDK APIs Returns a list of all sessions for the current authenticated user.
func (*ConnectHandler) ListSubscriptions ¶ added in v0.76.0
func (h *ConnectHandler) ListSubscriptions(ctx context.Context, request *connect.Request[frontierv1beta1.ListSubscriptionsRequest]) (*connect.Response[frontierv1beta1.ListSubscriptionsResponse], error)
func (*ConnectHandler) ListUserGroups ¶ added in v0.75.0
func (h *ConnectHandler) ListUserGroups(ctx context.Context, request *connect.Request[frontierv1beta1.ListUserGroupsRequest]) (*connect.Response[frontierv1beta1.ListUserGroupsResponse], error)
func (*ConnectHandler) ListUserInvitations ¶ added in v0.75.0
func (h *ConnectHandler) ListUserInvitations(ctx context.Context, request *connect.Request[frontierv1beta1.ListUserInvitationsRequest]) (*connect.Response[frontierv1beta1.ListUserInvitationsResponse], error)
func (*ConnectHandler) ListUserPreferences ¶ added in v0.76.0
func (h *ConnectHandler) ListUserPreferences(ctx context.Context, req *connect.Request[frontierv1beta1.ListUserPreferencesRequest]) (*connect.Response[frontierv1beta1.ListUserPreferencesResponse], error)
func (*ConnectHandler) ListUserSessions ¶ added in v0.75.0
func (h *ConnectHandler) ListUserSessions(ctx context.Context, request *connect.Request[frontierv1beta1.ListUserSessionsRequest]) (*connect.Response[frontierv1beta1.ListUserSessionsResponse], error)
Admin APIs Returns a list of all sessions for a specific user.
func (*ConnectHandler) ListUsers ¶
func (h *ConnectHandler) ListUsers(ctx context.Context, request *connect.Request[frontierv1beta1.ListUsersRequest]) (*connect.Response[frontierv1beta1.ListUsersResponse], error)
func (*ConnectHandler) ListWebhooks ¶ added in v0.75.0
func (h *ConnectHandler) ListWebhooks(ctx context.Context, req *connect.Request[frontierv1beta1.ListWebhooksRequest]) (*connect.Response[frontierv1beta1.ListWebhooksResponse], error)
func (*ConnectHandler) PingUserSession ¶ added in v0.75.0
func (h *ConnectHandler) PingUserSession(ctx context.Context, request *connect.Request[frontierv1beta1.PingUserSessionRequest]) (*connect.Response[frontierv1beta1.PingUserSessionResponse], error)
Ping user current active session.
func (*ConnectHandler) RegisterBillingAccount ¶ added in v0.75.0
func (h *ConnectHandler) RegisterBillingAccount(ctx context.Context, request *connect.Request[frontierv1beta1.RegisterBillingAccountRequest]) (*connect.Response[frontierv1beta1.RegisterBillingAccountResponse], error)
func (*ConnectHandler) RemoveGroupUser ¶ added in v0.76.0
func (h *ConnectHandler) RemoveGroupUser(ctx context.Context, request *connect.Request[frontierv1beta1.RemoveGroupUserRequest]) (*connect.Response[frontierv1beta1.RemoveGroupUserResponse], error)
func (*ConnectHandler) RemoveOrganizationUser ¶ added in v0.75.0
func (h *ConnectHandler) RemoveOrganizationUser(ctx context.Context, request *connect.Request[frontierv1beta1.RemoveOrganizationUserRequest]) (*connect.Response[frontierv1beta1.RemoveOrganizationUserResponse], error)
func (*ConnectHandler) RemovePlatformUser ¶ added in v0.75.0
func (h *ConnectHandler) RemovePlatformUser(ctx context.Context, req *connect.Request[frontierv1beta1.RemovePlatformUserRequest]) (*connect.Response[frontierv1beta1.RemovePlatformUserResponse], error)
func (*ConnectHandler) RevertBillingUsage ¶ added in v0.74.0
func (h *ConnectHandler) RevertBillingUsage(ctx context.Context, request *connect.Request[frontierv1beta1.RevertBillingUsageRequest]) (*connect.Response[frontierv1beta1.RevertBillingUsageResponse], error)
func (*ConnectHandler) RevokeSession ¶ added in v0.75.0
func (h *ConnectHandler) RevokeSession(ctx context.Context, request *connect.Request[frontierv1beta1.RevokeSessionRequest]) (*connect.Response[frontierv1beta1.RevokeSessionResponse], error)
Revoke a specific session for the current authenticated user.
func (*ConnectHandler) RevokeUserSession ¶ added in v0.75.0
func (h *ConnectHandler) RevokeUserSession(ctx context.Context, request *connect.Request[frontierv1beta1.RevokeUserSessionRequest]) (*connect.Response[frontierv1beta1.RevokeUserSessionResponse], error)
Revoke a specific session for a specific user (admin only).
func (*ConnectHandler) SearchInvoices ¶ added in v0.74.0
func (h *ConnectHandler) SearchInvoices(ctx context.Context, request *connect.Request[frontierv1beta1.SearchInvoicesRequest]) (*connect.Response[frontierv1beta1.SearchInvoicesResponse], error)
func (*ConnectHandler) SearchOrganizationInvoices ¶ added in v0.71.0
func (h *ConnectHandler) SearchOrganizationInvoices(ctx context.Context, request *connect.Request[frontierv1beta1.SearchOrganizationInvoicesRequest]) (*connect.Response[frontierv1beta1.SearchOrganizationInvoicesResponse], error)
func (*ConnectHandler) SearchOrganizationProjects ¶ added in v0.71.0
func (h *ConnectHandler) SearchOrganizationProjects(ctx context.Context, request *connect.Request[frontierv1beta1.SearchOrganizationProjectsRequest]) (*connect.Response[frontierv1beta1.SearchOrganizationProjectsResponse], error)
func (*ConnectHandler) SearchOrganizationServiceUserCredentials ¶ added in v0.71.0
func (h *ConnectHandler) SearchOrganizationServiceUserCredentials(ctx context.Context, request *connect.Request[frontierv1beta1.SearchOrganizationServiceUserCredentialsRequest]) (*connect.Response[frontierv1beta1.SearchOrganizationServiceUserCredentialsResponse], error)
func (*ConnectHandler) SearchOrganizationServiceUsers ¶ added in v0.75.0
func (h *ConnectHandler) SearchOrganizationServiceUsers(ctx context.Context, request *connect.Request[frontierv1beta1.SearchOrganizationServiceUsersRequest]) (*connect.Response[frontierv1beta1.SearchOrganizationServiceUsersResponse], error)
func (*ConnectHandler) SearchOrganizationTokens ¶ added in v0.71.0
func (h *ConnectHandler) SearchOrganizationTokens(ctx context.Context, request *connect.Request[frontierv1beta1.SearchOrganizationTokensRequest]) (*connect.Response[frontierv1beta1.SearchOrganizationTokensResponse], error)
func (*ConnectHandler) SearchOrganizationUsers ¶ added in v0.71.0
func (h *ConnectHandler) SearchOrganizationUsers(ctx context.Context, request *connect.Request[frontierv1beta1.SearchOrganizationUsersRequest]) (*connect.Response[frontierv1beta1.SearchOrganizationUsersResponse], error)
func (*ConnectHandler) SearchOrganizations ¶ added in v0.71.0
func (h *ConnectHandler) SearchOrganizations(ctx context.Context, request *connect.Request[frontierv1beta1.SearchOrganizationsRequest]) (*connect.Response[frontierv1beta1.SearchOrganizationsResponse], error)
func (*ConnectHandler) SearchProjectUsers ¶ added in v0.74.0
func (h *ConnectHandler) SearchProjectUsers(ctx context.Context, request *connect.Request[frontierv1beta1.SearchProjectUsersRequest]) (*connect.Response[frontierv1beta1.SearchProjectUsersResponse], error)
func (*ConnectHandler) SearchUserOrganizations ¶ added in v0.73.0
func (h *ConnectHandler) SearchUserOrganizations(ctx context.Context, request *connect.Request[frontierv1beta1.SearchUserOrganizationsRequest]) (*connect.Response[frontierv1beta1.SearchUserOrganizationsResponse], error)
func (*ConnectHandler) SearchUserProjects ¶ added in v0.73.0
func (h *ConnectHandler) SearchUserProjects(ctx context.Context, request *connect.Request[frontierv1beta1.SearchUserProjectsRequest]) (*connect.Response[frontierv1beta1.SearchUserProjectsResponse], error)
func (*ConnectHandler) SearchUsers ¶ added in v0.73.0
func (h *ConnectHandler) SearchUsers(ctx context.Context, request *connect.Request[frontierv1beta1.SearchUsersRequest]) (*connect.Response[frontierv1beta1.SearchUsersResponse], error)
func (*ConnectHandler) SetOrganizationKyc ¶ added in v0.73.0
func (h *ConnectHandler) SetOrganizationKyc(ctx context.Context, request *connect.Request[frontierv1beta1.SetOrganizationKycRequest]) (*connect.Response[frontierv1beta1.SetOrganizationKycResponse], error)
func (*ConnectHandler) TotalDebitedTransactions ¶ added in v0.76.0
func (h *ConnectHandler) TotalDebitedTransactions(ctx context.Context, request *connect.Request[frontierv1beta1.TotalDebitedTransactionsRequest]) (*connect.Response[frontierv1beta1.TotalDebitedTransactionsResponse], error)
func (*ConnectHandler) UpdateBillingAccount ¶ added in v0.75.0
func (h *ConnectHandler) UpdateBillingAccount(ctx context.Context, request *connect.Request[frontierv1beta1.UpdateBillingAccountRequest]) (*connect.Response[frontierv1beta1.UpdateBillingAccountResponse], error)
func (*ConnectHandler) UpdateBillingAccountDetails ¶ added in v0.74.0
func (h *ConnectHandler) UpdateBillingAccountDetails(ctx context.Context, request *connect.Request[frontierv1beta1.UpdateBillingAccountDetailsRequest]) (*connect.Response[frontierv1beta1.UpdateBillingAccountDetailsResponse], error)
func (*ConnectHandler) UpdateBillingAccountLimits ¶ added in v0.74.0
func (h *ConnectHandler) UpdateBillingAccountLimits(ctx context.Context, request *connect.Request[frontierv1beta1.UpdateBillingAccountLimitsRequest]) (*connect.Response[frontierv1beta1.UpdateBillingAccountLimitsResponse], error)
func (*ConnectHandler) UpdateCurrentUser ¶ added in v0.75.0
func (h *ConnectHandler) UpdateCurrentUser(ctx context.Context, request *connect.Request[frontierv1beta1.UpdateCurrentUserRequest]) (*connect.Response[frontierv1beta1.UpdateCurrentUserResponse], error)
func (*ConnectHandler) UpdateFeature ¶ added in v0.76.1
func (h *ConnectHandler) UpdateFeature(ctx context.Context, request *connect.Request[frontierv1beta1.UpdateFeatureRequest]) (*connect.Response[frontierv1beta1.UpdateFeatureResponse], error)
func (*ConnectHandler) UpdateGroup ¶ added in v0.76.0
func (h *ConnectHandler) UpdateGroup(ctx context.Context, request *connect.Request[frontierv1beta1.UpdateGroupRequest]) (*connect.Response[frontierv1beta1.UpdateGroupResponse], error)
func (*ConnectHandler) UpdateMetaSchema ¶ added in v0.76.0
func (h *ConnectHandler) UpdateMetaSchema(ctx context.Context, req *connect.Request[frontierv1beta1.UpdateMetaSchemaRequest]) (*connect.Response[frontierv1beta1.UpdateMetaSchemaResponse], error)
func (*ConnectHandler) UpdateOrganization ¶ added in v0.75.0
func (h *ConnectHandler) UpdateOrganization(ctx context.Context, request *connect.Request[frontierv1beta1.UpdateOrganizationRequest]) (*connect.Response[frontierv1beta1.UpdateOrganizationResponse], error)
func (*ConnectHandler) UpdateOrganizationRole ¶ added in v0.76.0
func (h *ConnectHandler) UpdateOrganizationRole(ctx context.Context, request *connect.Request[frontierv1beta1.UpdateOrganizationRoleRequest]) (*connect.Response[frontierv1beta1.UpdateOrganizationRoleResponse], error)
func (*ConnectHandler) UpdatePermission ¶ added in v0.74.0
func (h *ConnectHandler) UpdatePermission(ctx context.Context, request *connect.Request[frontierv1beta1.UpdatePermissionRequest]) (*connect.Response[frontierv1beta1.UpdatePermissionResponse], error)
UpdatePermission should only be used to update permission metadata at the moment
func (*ConnectHandler) UpdateProduct ¶ added in v0.76.0
func (h *ConnectHandler) UpdateProduct(ctx context.Context, request *connect.Request[frontierv1beta1.UpdateProductRequest]) (*connect.Response[frontierv1beta1.UpdateProductResponse], error)
func (*ConnectHandler) UpdateProject ¶ added in v0.76.0
func (h *ConnectHandler) UpdateProject(ctx context.Context, request *connect.Request[frontierv1beta1.UpdateProjectRequest]) (*connect.Response[frontierv1beta1.UpdateProjectResponse], error)
func (*ConnectHandler) UpdateProjectResource ¶ added in v0.76.0
func (h *ConnectHandler) UpdateProjectResource(ctx context.Context, request *connect.Request[frontierv1beta1.UpdateProjectResourceRequest]) (*connect.Response[frontierv1beta1.UpdateProjectResourceResponse], error)
func (*ConnectHandler) UpdateProspect ¶ added in v0.75.0
func (h *ConnectHandler) UpdateProspect(ctx context.Context, request *connect.Request[frontierv1beta1.UpdateProspectRequest]) (*connect.Response[frontierv1beta1.UpdateProspectResponse], error)
func (*ConnectHandler) UpdateRole ¶ added in v0.74.0
func (h *ConnectHandler) UpdateRole(ctx context.Context, request *connect.Request[frontierv1beta1.UpdateRoleRequest]) (*connect.Response[frontierv1beta1.UpdateRoleResponse], error)
func (*ConnectHandler) UpdateUser ¶ added in v0.75.0
func (h *ConnectHandler) UpdateUser(ctx context.Context, request *connect.Request[frontierv1beta1.UpdateUserRequest]) (*connect.Response[frontierv1beta1.UpdateUserResponse], error)
func (*ConnectHandler) UpdateWebhook ¶ added in v0.75.0
func (h *ConnectHandler) UpdateWebhook(ctx context.Context, req *connect.Request[frontierv1beta1.UpdateWebhookRequest]) (*connect.Response[frontierv1beta1.UpdateWebhookResponse], error)
func (*ConnectHandler) VerifyOrganizationDomain ¶ added in v0.75.0
func (h *ConnectHandler) VerifyOrganizationDomain(ctx context.Context, request *connect.Request[frontierv1beta1.VerifyOrganizationDomainRequest]) (*connect.Response[frontierv1beta1.VerifyOrganizationDomainResponse], error)
type CreditService ¶ added in v0.75.0
type CustomerService ¶ added in v0.74.0
type CustomerService interface {
GetByID(ctx context.Context, id string) (customer.Customer, error)
Create(ctx context.Context, customer customer.Customer, offline bool) (customer.Customer, error)
List(ctx context.Context, filter customer.Filter) ([]customer.Customer, error)
Delete(ctx context.Context, id string) error
ListPaymentMethods(ctx context.Context, id string) ([]customer.PaymentMethod, error)
Update(ctx context.Context, customer customer.Customer) (customer.Customer, error)
RegisterToProviderIfRequired(ctx context.Context, customerID string) (customer.Customer, error)
Disable(ctx context.Context, id string) error
Enable(ctx context.Context, id string) error
UpdateCreditMinByID(ctx context.Context, customerID string, limit int64) (customer.Details, error)
GetDetails(ctx context.Context, customerID string) (customer.Details, error)
UpdateDetails(ctx context.Context, customerID string, details customer.Details) (customer.Details, error)
}
type DomainService ¶ added in v0.82.0
type DomainService interface {
Get(ctx context.Context, id string) (domain.Domain, error)
List(ctx context.Context, flt domain.Filter) ([]domain.Domain, error)
ListJoinableOrgsByDomain(ctx context.Context, email string) ([]string, error)
Delete(ctx context.Context, id string) error
Create(ctx context.Context, toCreate domain.Domain) (domain.Domain, error)
VerifyDomain(ctx context.Context, id string) (domain.Domain, error)
Join(ctx context.Context, orgID string, userID string) error
}
type EntitlementService ¶ added in v0.76.0
type ErrorLogger ¶ added in v0.80.1
type ErrorLogger struct{}
ErrorLogger provides centralized error logging functionality for Connect handlers
func NewErrorLogger ¶ added in v0.80.1
func NewErrorLogger() *ErrorLogger
NewErrorLogger creates a new ErrorLogger instance
func (*ErrorLogger) LogServiceError ¶ added in v0.80.1
func (e *ErrorLogger) LogServiceError(ctx context.Context, req connect.AnyRequest, operation string, err error, contextFields ...zap.Field)
LogServiceError logs detailed service error information with context
func (*ErrorLogger) LogTransformError ¶ added in v0.80.1
func (e *ErrorLogger) LogTransformError(ctx context.Context, req connect.AnyRequest, operation string, entityID string, err error)
LogTransformError logs protobuf transformation errors
func (*ErrorLogger) LogUnexpectedError ¶ added in v0.80.1
func (e *ErrorLogger) LogUnexpectedError(ctx context.Context, req connect.AnyRequest, operation string, err error, contextFields ...zap.Field)
LogUnexpectedError logs additional context for unexpected internal errors
type EventService ¶ added in v0.76.0
type EventService interface {
BillingWebhook(ctx context.Context, event event.ProviderWebhookEvent) error
}
type GroupService ¶ added in v0.82.0
type GroupService interface {
Create(ctx context.Context, grp group.Group) (group.Group, error)
Get(ctx context.Context, id string) (group.Group, error)
List(ctx context.Context, flt group.Filter) ([]group.Group, error)
Update(ctx context.Context, grp group.Group) (group.Group, error)
ListByUser(ctx context.Context, principalId, principalType string, flt group.Filter) ([]group.Group, error)
AddUsers(ctx context.Context, groupID string, userID []string) error
RemoveUsers(ctx context.Context, groupID string, userID []string) error
Enable(ctx context.Context, id string) error
Disable(ctx context.Context, id string) error
Delete(ctx context.Context, id string) error
}
type InvitationService ¶ added in v0.82.0
type InvitationService interface {
Get(ctx context.Context, id uuid.UUID) (invitation.Invitation, error)
List(ctx context.Context, filter invitation.Filter) ([]invitation.Invitation, error)
ListByUser(ctx context.Context, userID string) ([]invitation.Invitation, error)
Create(ctx context.Context, inv invitation.Invitation) (invitation.Invitation, error)
Accept(ctx context.Context, id uuid.UUID) error
Delete(ctx context.Context, id uuid.UUID) error
}
type InvoiceService ¶ added in v0.74.0
type InvoiceService interface {
List(ctx context.Context, filter invoice.Filter) ([]invoice.Invoice, error)
ListAll(ctx context.Context, filter invoice.Filter) ([]invoice.Invoice, error)
GetUpcoming(ctx context.Context, customerID string) (invoice.Invoice, error)
TriggerCreditOverdraftInvoices(ctx context.Context) error
SearchInvoices(ctx context.Context, rqlQuery *rql.Query) ([]invoice.InvoiceWithOrganization, error)
}
type JsonWebKeySet ¶ added in v0.75.0
type JsonWebKeySet struct {
Keys []*frontierv1beta1.JSONWebKey `json:"keys"`
}
type KycService ¶ added in v0.73.0
type MetaSchemaService ¶ added in v0.76.0
type MetaSchemaService interface {
Get(ctx context.Context, id string) (metaschema.MetaSchema, error)
Create(ctx context.Context, toCreate metaschema.MetaSchema) (metaschema.MetaSchema, error)
List(ctx context.Context) ([]metaschema.MetaSchema, error)
Update(ctx context.Context, id string, toUpdate metaschema.MetaSchema) (metaschema.MetaSchema, error)
Delete(ctx context.Context, id string) error
Validate(schema metadata.Metadata, data string) error
}
type NamespaceService ¶ added in v0.76.0
type NamespaceService interface {
Get(ctx context.Context, id string) (namespace.Namespace, error)
List(ctx context.Context) ([]namespace.Namespace, error)
Upsert(ctx context.Context, ns namespace.Namespace) (namespace.Namespace, error)
Update(ctx context.Context, ns namespace.Namespace) (namespace.Namespace, error)
}
type OrgBillingService ¶ added in v0.71.0
type OrgInvoicesService ¶ added in v0.71.0
type OrgInvoicesService interface {
Search(ctx context.Context, id string, query *rql.Query) (orginvoices.OrganizationInvoices, error)
}
type OrgProjectsService ¶ added in v0.71.0
type OrgServiceUserCredentialsService ¶ added in v0.71.0
type OrgServiceUserService ¶ added in v0.75.0
type OrgServiceUserService interface {
Search(ctx context.Context, orgID string, query *rql.Query) (orgserviceuser.OrganizationServiceUsers, error)
}
type OrgTokensService ¶ added in v0.71.0
type OrgUsersService ¶ added in v0.71.0
type OrganizationService ¶ added in v0.82.0
type OrganizationService interface {
Get(ctx context.Context, idOrSlug string) (organization.Organization, error)
GetRaw(ctx context.Context, idOrSlug string) (organization.Organization, error)
Create(ctx context.Context, org organization.Organization) (organization.Organization, error)
AdminCreate(ctx context.Context, org organization.Organization, ownerEmail string) (organization.Organization, error)
List(ctx context.Context, f organization.Filter) ([]organization.Organization, error)
Update(ctx context.Context, toUpdate organization.Organization) (organization.Organization, error)
ListByUser(ctx context.Context, principal authenticate.Principal, flt organization.Filter) ([]organization.Organization, error)
AddUsers(ctx context.Context, orgID string, userID []string) error
Enable(ctx context.Context, id string) error
Disable(ctx context.Context, id string) error
}
type PermissionService ¶ added in v0.74.0
type PermissionService interface {
Get(ctx context.Context, id string) (permission.Permission, error)
List(ctx context.Context, filter permission.Filter) ([]permission.Permission, error)
Upsert(ctx context.Context, perm permission.Permission) (permission.Permission, error)
Update(ctx context.Context, perm permission.Permission) (permission.Permission, error)
}
type PlanService ¶ added in v0.76.0
type PolicyService ¶ added in v0.76.0
type PolicyService interface {
Get(ctx context.Context, id string) (policy.Policy, error)
List(ctx context.Context, f policy.Filter) ([]policy.Policy, error)
Create(ctx context.Context, pol policy.Policy) (policy.Policy, error)
Delete(ctx context.Context, id string) error
ListRoles(ctx context.Context, principalType, principalID, objectNamespace, objectID string) ([]role.Role, error)
}
type PreferenceService ¶ added in v0.82.0
type PreferenceService interface {
Create(ctx context.Context, preference preference.Preference) (preference.Preference, error)
Describe(ctx context.Context) []preference.Trait
List(ctx context.Context, filter preference.Filter) ([]preference.Preference, error)
LoadPlatformPreferences(ctx context.Context) (map[string]string, error)
}
type ProductService ¶ added in v0.76.0
type ProductService interface {
GetByID(ctx context.Context, id string) (product.Product, error)
Create(ctx context.Context, product product.Product) (product.Product, error)
Update(ctx context.Context, product product.Product) (product.Product, error)
List(ctx context.Context, filter product.Filter) ([]product.Product, error)
UpsertFeature(ctx context.Context, feature product.Feature) (product.Feature, error)
GetFeatureByID(ctx context.Context, id string) (product.Feature, error)
ListFeatures(ctx context.Context, filter product.Filter) ([]product.Feature, error)
}
type ProjectService ¶ added in v0.82.0
type ProjectService interface {
Get(ctx context.Context, idOrName string) (project.Project, error)
Create(ctx context.Context, prj project.Project) (project.Project, error)
List(ctx context.Context, f project.Filter) ([]project.Project, error)
ListByUser(ctx context.Context, principalID, principalType string, flt project.Filter) ([]project.Project, error)
Update(ctx context.Context, toUpdate project.Project) (project.Project, error)
ListUsers(ctx context.Context, id string, permissionFilter string) ([]user.User, error)
ListServiceUsers(ctx context.Context, id string, permissionFilter string) ([]serviceuser.ServiceUser, error)
ListGroups(ctx context.Context, id string) ([]group.Group, error)
Enable(ctx context.Context, id string) error
Disable(ctx context.Context, id string) error
}
type ProjectUsersService ¶ added in v0.74.0
type ProjectUsersService interface {
Search(ctx context.Context, id string, query *rql.Query) (projectusers.ProjectUsers, error)
}
type ProspectService ¶ added in v0.75.0
type ProspectService interface {
Create(ctx context.Context, prospect prospect.Prospect) (prospect.Prospect, error)
List(ctx context.Context, query *rql.Query) (prospect.ListProspects, error)
Get(ctx context.Context, prospectId string) (prospect.Prospect, error)
Update(ctx context.Context, prospect prospect.Prospect) (prospect.Prospect, error)
Delete(ctx context.Context, prospectId string) error
}
type RelationService ¶ added in v0.74.0
type RelationService interface {
Get(ctx context.Context, id string) (relation.Relation, error)
Create(ctx context.Context, rel relation.Relation) (relation.Relation, error)
List(ctx context.Context, f relation.Filter) ([]relation.Relation, error)
Delete(ctx context.Context, rel relation.Relation) error
}
type ResourceService ¶ added in v0.82.0
type ResourceService interface {
Get(ctx context.Context, id string) (resource.Resource, error)
List(ctx context.Context, flt resource.Filter) ([]resource.Resource, error)
Create(ctx context.Context, resource resource.Resource) (resource.Resource, error)
Update(ctx context.Context, resource resource.Resource) (resource.Resource, error)
Delete(ctx context.Context, namespace, id string) error
CheckAuthz(ctx context.Context, check resource.Check) (bool, error)
BatchCheck(ctx context.Context, checks []resource.Check) ([]relation.CheckPair, error)
}
type RoleService ¶ added in v0.74.0
type RoleService interface {
Get(ctx context.Context, id string) (role.Role, error)
Upsert(ctx context.Context, toCreate role.Role) (role.Role, error)
List(ctx context.Context, f role.Filter) ([]role.Role, error)
Update(ctx context.Context, toUpdate role.Role) (role.Role, error)
Delete(ctx context.Context, id string) error
}
type ServiceUserService ¶ added in v0.82.0
type ServiceUserService interface {
List(ctx context.Context, flt serviceuser.Filter) ([]serviceuser.ServiceUser, error)
ListAll(ctx context.Context) ([]serviceuser.ServiceUser, error)
Create(ctx context.Context, serviceUser serviceuser.ServiceUser) (serviceuser.ServiceUser, error)
Get(ctx context.Context, id string) (serviceuser.ServiceUser, error)
Delete(ctx context.Context, id string) error
ListKeys(ctx context.Context, serviceUserID string) ([]serviceuser.Credential, error)
CreateKey(ctx context.Context, cred serviceuser.Credential) (serviceuser.Credential, error)
GetKey(ctx context.Context, credID string) (serviceuser.Credential, error)
DeleteKey(ctx context.Context, credID string) error
CreateSecret(ctx context.Context, credential serviceuser.Credential) (serviceuser.Secret, error)
ListSecret(ctx context.Context, serviceUserID string) ([]serviceuser.Credential, error)
DeleteSecret(ctx context.Context, credID string) error
CreateToken(ctx context.Context, credential serviceuser.Credential) (serviceuser.Token, error)
ListToken(ctx context.Context, serviceUserID string) ([]serviceuser.Credential, error)
DeleteToken(ctx context.Context, credID string) error
ListByOrg(ctx context.Context, orgID string) ([]serviceuser.ServiceUser, error)
IsSudo(ctx context.Context, id string, permissionName string) (bool, error)
Sudo(ctx context.Context, id string, relationName string) error
UnSudo(ctx context.Context, id string) error
GetByIDs(ctx context.Context, ids []string) ([]serviceuser.ServiceUser, error)
}
type SessionService ¶ added in v0.82.0
type SessionService interface {
ExtractFromContext(ctx context.Context) (*frontiersession.Session, error)
Create(ctx context.Context, userID string, metadata frontiersession.SessionMetadata) (*frontiersession.Session, error)
GetByID(ctx context.Context, sessionID uuid.UUID) (*frontiersession.Session, error)
Refresh(ctx context.Context, sessionID uuid.UUID) error
List(ctx context.Context, userID string) ([]*frontiersession.Session, error)
Delete(ctx context.Context, sessionID uuid.UUID) error
Ping(ctx context.Context, sessionID uuid.UUID, metadata frontiersession.SessionMetadata) error
}
type SubscriptionService ¶ added in v0.76.0
type SubscriptionService interface {
GetByID(ctx context.Context, id string) (subscription.Subscription, error)
List(ctx context.Context, filter subscription.Filter) ([]subscription.Subscription, error)
Cancel(ctx context.Context, id string, immediate bool) (subscription.Subscription, error)
ChangePlan(ctx context.Context, id string, change subscription.ChangeRequest) (subscription.Phase, error)
HasUserSubscribedBefore(ctx context.Context, customerID string, planID string) (bool, error)
}
type UsageService ¶ added in v0.74.0
type UserOrgsService ¶ added in v0.73.0
type UserProjectsService ¶ added in v0.73.0
type UserProjectsService interface {
Search(ctx context.Context, userId string, orgId string, query *rql.Query) (userprojects.UserProjects, error)
}
type UserService ¶ added in v0.82.0
type UserService interface {
GetByID(ctx context.Context, id string) (user.User, error)
GetByIDs(ctx context.Context, userIDs []string) ([]user.User, error)
GetByEmail(ctx context.Context, email string) (user.User, error)
Create(ctx context.Context, user user.User) (user.User, error)
List(ctx context.Context, flt user.Filter) ([]user.User, error)
ListByOrg(ctx context.Context, orgID string, roleFilter string) ([]user.User, error)
ListByGroup(ctx context.Context, groupID string, roleFilter string) ([]user.User, error)
Update(ctx context.Context, toUpdate user.User) (user.User, error)
Enable(ctx context.Context, id string) error
Disable(ctx context.Context, id string) error
IsSudo(ctx context.Context, id string, permissionName string) (bool, error)
Sudo(ctx context.Context, id string, relationName string) error
UnSudo(ctx context.Context, id string) error
Search(ctx context.Context, rql *rql.Query) (user.SearchUserResponse, error)
Export(ctx context.Context) ([]byte, string, error)
}
type WebhookService ¶ added in v0.75.0
type WebhookService interface {
CreateEndpoint(ctx context.Context, endpoint webhook.Endpoint) (webhook.Endpoint, error)
UpdateEndpoint(ctx context.Context, endpoint webhook.Endpoint) (webhook.Endpoint, error)
DeleteEndpoint(ctx context.Context, id string) error
ListEndpoints(ctx context.Context, filter webhook.EndpointFilter) ([]webhook.Endpoint, error)
}
Source Files
¶
- audit_record.go
- authenticate.go
- authorize.go
- billing_check.go
- billing_checkout.go
- billing_customer.go
- billing_invoice.go
- billing_plan.go
- billing_product.go
- billing_subscription.go
- billing_usage.go
- billing_webhook.go
- deleter.go
- domain.go
- error_handler.go
- errors.go
- group.go
- interfaces.go
- invitations.go
- kyc.go
- metaschema.go
- namespace.go
- organization.go
- organization_billing.go
- organization_invoices.go
- organization_projects.go
- organization_serviceuser.go
- organization_serviceuser_credentials.go
- organization_tokens.go
- organization_users.go
- permission.go
- permission_check.go
- platform.go
- policy.go
- preferences.go
- project.go
- project_users.go
- prospect.go
- relation.go
- resource.go
- role.go
- serviceuser.go
- session.go
- user.go
- user_orgs.go
- user_projects.go
- v1beta1connect.go
- webhook.go