api

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Overview

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	Customer_ListCustomers_FullMethodName  = "/api.Customer/ListCustomers"
	Customer_AddCustomer_FullMethodName    = "/api.Customer/AddCustomer"
	Customer_UpdateCustomer_FullMethodName = "/api.Customer/UpdateCustomer"
	Customer_GetCustomer_FullMethodName    = "/api.Customer/GetCustomer"
	Customer_DeleteCustomer_FullMethodName = "/api.Customer/DeleteCustomer"
)
View Source
const (
	MyAccount_GetMyInfo_FullMethodName         = "/api.MyAccount/GetMyInfo"
	MyAccount_GetMySessions_FullMethodName     = "/api.MyAccount/GetMySessions"
	MyAccount_LogoutMySessions_FullMethodName  = "/api.MyAccount/LogoutMySessions"
	MyAccount_CreateApiKey_FullMethodName      = "/api.MyAccount/CreateApiKey"
	MyAccount_DisableApiKey_FullMethodName     = "/api.MyAccount/DisableApiKey"
	MyAccount_EnableApiKey_FullMethodName      = "/api.MyAccount/EnableApiKey"
	MyAccount_DeleteApiKey_FullMethodName      = "/api.MyAccount/DeleteApiKey"
	MyAccount_ListApiKeys_FullMethodName       = "/api.MyAccount/ListApiKeys"
	MyAccount_ListMyOrgUnits_FullMethodName    = "/api.MyAccount/ListMyOrgUnits"
	MyAccount_SetDefaultOrgUnit_FullMethodName = "/api.MyAccount/SetDefaultOrgUnit"
	MyAccount_ListMyRegions_FullMethodName     = "/api.MyAccount/ListMyRegions"
	MyAccount_ListMyAzs_FullMethodName         = "/api.MyAccount/ListMyAzs"
)
View Source
const (
	MyTenant_GetMyPasswordPolicy_FullMethodName        = "/api.MyTenant/GetMyPasswordPolicy"
	MyTenant_UpdateMyPasswordPolicy_FullMethodName     = "/api.MyTenant/UpdateMyPasswordPolicy"
	MyTenant_GetMyIdentityProviderTypes_FullMethodName = "/api.MyTenant/GetMyIdentityProviderTypes"
	MyTenant_CreateMyIdentityProvider_FullMethodName   = "/api.MyTenant/CreateMyIdentityProvider"
	MyTenant_ListMyIdentityProviders_FullMethodName    = "/api.MyTenant/ListMyIdentityProviders"
	MyTenant_GetMyIdentityProvider_FullMethodName      = "/api.MyTenant/GetMyIdentityProvider"
	MyTenant_UpdateMyIdentityProvider_FullMethodName   = "/api.MyTenant/UpdateMyIdentityProvider"
	MyTenant_DeleteMyIdentityProvider_FullMethodName   = "/api.MyTenant/DeleteMyIdentityProvider"
)
View Source
const (
	OrgUnitRole_ListOrgUnitRoles_FullMethodName = "/api.OrgUnitRole/ListOrgUnitRoles"
	OrgUnitRole_CreateCustomRole_FullMethodName = "/api.OrgUnitRole/CreateCustomRole"
	OrgUnitRole_UpdateCustomRole_FullMethodName = "/api.OrgUnitRole/UpdateCustomRole"
	OrgUnitRole_GetCustomRole_FullMethodName    = "/api.OrgUnitRole/GetCustomRole"
	OrgUnitRole_DeleteCustomRole_FullMethodName = "/api.OrgUnitRole/DeleteCustomRole"
)
View Source
const (
	OrgUnitUser_ListOrgUnitUsers_FullMethodName  = "/api.OrgUnitUser/ListOrgUnitUsers"
	OrgUnitUser_AddOrgUnitUser_FullMethodName    = "/api.OrgUnitUser/AddOrgUnitUser"
	OrgUnitUser_UpdateOrgUnitUser_FullMethodName = "/api.OrgUnitUser/UpdateOrgUnitUser"
	OrgUnitUser_DeleteOrgUnitUser_FullMethodName = "/api.OrgUnitUser/DeleteOrgUnitUser"
)
View Source
const (
	OrgUnit_ListOrgUnits_FullMethodName         = "/api.OrgUnit/ListOrgUnits"
	OrgUnit_CreateOrgUnit_FullMethodName        = "/api.OrgUnit/CreateOrgUnit"
	OrgUnit_UpdateOrgUnit_FullMethodName        = "/api.OrgUnit/UpdateOrgUnit"
	OrgUnit_GetOrgUnit_FullMethodName           = "/api.OrgUnit/GetOrgUnit"
	OrgUnit_DeleteOrgUnit_FullMethodName        = "/api.OrgUnit/DeleteOrgUnit"
	OrgUnit_GetOrgUnitAccessLogs_FullMethodName = "/api.OrgUnit/GetOrgUnitAccessLogs"
)
View Source
const (
	TenantUser_GetUsers_FullMethodName               = "/api.TenantUser/GetUsers"
	TenantUser_CreateUser_FullMethodName             = "/api.TenantUser/CreateUser"
	TenantUser_GetUser_FullMethodName                = "/api.TenantUser/GetUser"
	TenantUser_EnableUser_FullMethodName             = "/api.TenantUser/EnableUser"
	TenantUser_DisableUser_FullMethodName            = "/api.TenantUser/DisableUser"
	TenantUser_UpdateUser_FullMethodName             = "/api.TenantUser/UpdateUser"
	TenantUser_DeleteUser_FullMethodName             = "/api.TenantUser/DeleteUser"
	TenantUser_ListUserSessions_FullMethodName       = "/api.TenantUser/ListUserSessions"
	TenantUser_LogoutUserSession_FullMethodName      = "/api.TenantUser/LogoutUserSession"
	TenantUser_ListTenantUserOrgUnits_FullMethodName = "/api.TenantUser/ListTenantUserOrgUnits"
)
View Source
const (
	Tenant_ListTenants_FullMethodName  = "/api.Tenant/ListTenants"
	Tenant_CreateTenant_FullMethodName = "/api.Tenant/CreateTenant"
	Tenant_GetTenant_FullMethodName    = "/api.Tenant/GetTenant"
	Tenant_ListOrgUnits_FullMethodName = "/api.Tenant/ListOrgUnits"
)
View Source
const (
	User_GetUsers_FullMethodName          = "/api.User/GetUsers"
	User_CreateUser_FullMethodName        = "/api.User/CreateUser"
	User_GetUser_FullMethodName           = "/api.User/GetUser"
	User_EnableUser_FullMethodName        = "/api.User/EnableUser"
	User_DisableUser_FullMethodName       = "/api.User/DisableUser"
	User_UpdateUser_FullMethodName        = "/api.User/UpdateUser"
	User_DeleteUser_FullMethodName        = "/api.User/DeleteUser"
	User_ListUserSessions_FullMethodName  = "/api.User/ListUserSessions"
	User_LogoutUserSession_FullMethodName = "/api.User/LogoutUserSession"
	User_ListUserOrgUnits_FullMethodName  = "/api.User/ListUserOrgUnits"
)
View Source
const (
	Registration_GetRegisterOtp_FullMethodName = "/api.Registration/GetRegisterOtp"
)
View Source
const (
	ResourceDefinition_GetResources_FullMethodName = "/api.ResourceDefinition/GetResources"
)

Variables

View Source
var (
	CustomerDefs_Tenancy_name = map[int32]string{
		0: "Dedicated",
		1: "Shared",
	}
	CustomerDefs_Tenancy_value = map[string]int32{
		"Dedicated": 0,
		"Shared":    1,
	}
)

Enum value maps for CustomerDefs_Tenancy.

View Source
var (
	ApiKeyDef_Status_name = map[int32]string{
		0: "Active",
		1: "Expired",
		2: "Disabled",
	}
	ApiKeyDef_Status_value = map[string]int32{
		"Active":   0,
		"Expired":  1,
		"Disabled": 2,
	}
)

Enum value maps for ApiKeyDef_Status.

View Source
var (
	IdentityProviderDefs_Type_name = map[int32]string{
		0: "IdentityProviderUnspecified",
		1: "Google",
		2: "Microsoft",
	}
	IdentityProviderDefs_Type_value = map[string]int32{
		"IdentityProviderUnspecified": 0,
		"Google":                      1,
		"Microsoft":                   2,
	}
)

Enum value maps for IdentityProviderDefs_Type.

View Source
var (
	ResourceMatchCriteriaDefs_Criteria_name = map[int32]string{
		0: "Any",
		1: "Exact",
		2: "Prefix",
		3: "Suffix",
		4: "Regex",
	}
	ResourceMatchCriteriaDefs_Criteria_value = map[string]int32{
		"Any":    0,
		"Exact":  1,
		"Prefix": 2,
		"Suffix": 3,
		"Regex":  4,
	}
)

Enum value maps for ResourceMatchCriteriaDefs_Criteria.

View Source
var (
	RolePermissionActionDefs_Action_name = map[int32]string{
		0: "Deny",
		1: "Allow",
		2: "Log",
	}
	RolePermissionActionDefs_Action_value = map[string]int32{
		"Deny":  0,
		"Allow": 1,
		"Log":   2,
	}
)

Enum value maps for RolePermissionActionDefs_Action.

View Source
var Customer_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.Customer",
	HandlerType: (*CustomerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListCustomers",
			Handler:    _Customer_ListCustomers_Handler,
		},
		{
			MethodName: "AddCustomer",
			Handler:    _Customer_AddCustomer_Handler,
		},
		{
			MethodName: "UpdateCustomer",
			Handler:    _Customer_UpdateCustomer_Handler,
		},
		{
			MethodName: "GetCustomer",
			Handler:    _Customer_GetCustomer_Handler,
		},
		{
			MethodName: "DeleteCustomer",
			Handler:    _Customer_DeleteCustomer_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "customer.proto",
}

Customer_ServiceDesc is the grpc.ServiceDesc for Customer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_customer_proto protoreflect.FileDescriptor
View Source
var File_myaccount_proto protoreflect.FileDescriptor
View Source
var File_mytenant_proto protoreflect.FileDescriptor
View Source
var File_org_unit_proto protoreflect.FileDescriptor
View Source
var File_org_unit_role_proto protoreflect.FileDescriptor
View Source
var File_org_unit_user_proto protoreflect.FileDescriptor
View Source
var File_register_proto protoreflect.FileDescriptor
View Source
var File_resdef_proto protoreflect.FileDescriptor
View Source
var File_tenant_proto protoreflect.FileDescriptor
View Source
var File_tenant_user_proto protoreflect.FileDescriptor
View Source
var MyAccount_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.MyAccount",
	HandlerType: (*MyAccountServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetMyInfo",
			Handler:    _MyAccount_GetMyInfo_Handler,
		},
		{
			MethodName: "GetMySessions",
			Handler:    _MyAccount_GetMySessions_Handler,
		},
		{
			MethodName: "LogoutMySessions",
			Handler:    _MyAccount_LogoutMySessions_Handler,
		},
		{
			MethodName: "CreateApiKey",
			Handler:    _MyAccount_CreateApiKey_Handler,
		},
		{
			MethodName: "DisableApiKey",
			Handler:    _MyAccount_DisableApiKey_Handler,
		},
		{
			MethodName: "EnableApiKey",
			Handler:    _MyAccount_EnableApiKey_Handler,
		},
		{
			MethodName: "DeleteApiKey",
			Handler:    _MyAccount_DeleteApiKey_Handler,
		},
		{
			MethodName: "ListApiKeys",
			Handler:    _MyAccount_ListApiKeys_Handler,
		},
		{
			MethodName: "ListMyOrgUnits",
			Handler:    _MyAccount_ListMyOrgUnits_Handler,
		},
		{
			MethodName: "SetDefaultOrgUnit",
			Handler:    _MyAccount_SetDefaultOrgUnit_Handler,
		},
		{
			MethodName: "ListMyRegions",
			Handler:    _MyAccount_ListMyRegions_Handler,
		},
		{
			MethodName: "ListMyAzs",
			Handler:    _MyAccount_ListMyAzs_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "myaccount.proto",
}

MyAccount_ServiceDesc is the grpc.ServiceDesc for MyAccount service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MyTenant_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.MyTenant",
	HandlerType: (*MyTenantServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetMyPasswordPolicy",
			Handler:    _MyTenant_GetMyPasswordPolicy_Handler,
		},
		{
			MethodName: "UpdateMyPasswordPolicy",
			Handler:    _MyTenant_UpdateMyPasswordPolicy_Handler,
		},
		{
			MethodName: "GetMyIdentityProviderTypes",
			Handler:    _MyTenant_GetMyIdentityProviderTypes_Handler,
		},
		{
			MethodName: "CreateMyIdentityProvider",
			Handler:    _MyTenant_CreateMyIdentityProvider_Handler,
		},
		{
			MethodName: "ListMyIdentityProviders",
			Handler:    _MyTenant_ListMyIdentityProviders_Handler,
		},
		{
			MethodName: "GetMyIdentityProvider",
			Handler:    _MyTenant_GetMyIdentityProvider_Handler,
		},
		{
			MethodName: "UpdateMyIdentityProvider",
			Handler:    _MyTenant_UpdateMyIdentityProvider_Handler,
		},
		{
			MethodName: "DeleteMyIdentityProvider",
			Handler:    _MyTenant_DeleteMyIdentityProvider_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "mytenant.proto",
}

MyTenant_ServiceDesc is the grpc.ServiceDesc for MyTenant service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var OrgUnitRole_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.OrgUnitRole",
	HandlerType: (*OrgUnitRoleServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListOrgUnitRoles",
			Handler:    _OrgUnitRole_ListOrgUnitRoles_Handler,
		},
		{
			MethodName: "CreateCustomRole",
			Handler:    _OrgUnitRole_CreateCustomRole_Handler,
		},
		{
			MethodName: "UpdateCustomRole",
			Handler:    _OrgUnitRole_UpdateCustomRole_Handler,
		},
		{
			MethodName: "GetCustomRole",
			Handler:    _OrgUnitRole_GetCustomRole_Handler,
		},
		{
			MethodName: "DeleteCustomRole",
			Handler:    _OrgUnitRole_DeleteCustomRole_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "org-unit-role.proto",
}

OrgUnitRole_ServiceDesc is the grpc.ServiceDesc for OrgUnitRole service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var OrgUnitUser_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.OrgUnitUser",
	HandlerType: (*OrgUnitUserServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListOrgUnitUsers",
			Handler:    _OrgUnitUser_ListOrgUnitUsers_Handler,
		},
		{
			MethodName: "AddOrgUnitUser",
			Handler:    _OrgUnitUser_AddOrgUnitUser_Handler,
		},
		{
			MethodName: "UpdateOrgUnitUser",
			Handler:    _OrgUnitUser_UpdateOrgUnitUser_Handler,
		},
		{
			MethodName: "DeleteOrgUnitUser",
			Handler:    _OrgUnitUser_DeleteOrgUnitUser_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "org-unit-user.proto",
}

OrgUnitUser_ServiceDesc is the grpc.ServiceDesc for OrgUnitUser service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var OrgUnit_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.OrgUnit",
	HandlerType: (*OrgUnitServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListOrgUnits",
			Handler:    _OrgUnit_ListOrgUnits_Handler,
		},
		{
			MethodName: "CreateOrgUnit",
			Handler:    _OrgUnit_CreateOrgUnit_Handler,
		},
		{
			MethodName: "UpdateOrgUnit",
			Handler:    _OrgUnit_UpdateOrgUnit_Handler,
		},
		{
			MethodName: "GetOrgUnit",
			Handler:    _OrgUnit_GetOrgUnit_Handler,
		},
		{
			MethodName: "DeleteOrgUnit",
			Handler:    _OrgUnit_DeleteOrgUnit_Handler,
		},
		{
			MethodName: "GetOrgUnitAccessLogs",
			Handler:    _OrgUnit_GetOrgUnitAccessLogs_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "org-unit.proto",
}

OrgUnit_ServiceDesc is the grpc.ServiceDesc for OrgUnit service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Registration_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.Registration",
	HandlerType: (*RegistrationServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetRegisterOtp",
			Handler:    _Registration_GetRegisterOtp_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "register.proto",
}

Registration_ServiceDesc is the grpc.ServiceDesc for Registration service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ResourceDefinition_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.ResourceDefinition",
	HandlerType: (*ResourceDefinitionServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetResources",
			Handler:    _ResourceDefinition_GetResources_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "resdef.proto",
}

ResourceDefinition_ServiceDesc is the grpc.ServiceDesc for ResourceDefinition service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var RoutesCustomer = []*model.Route{}
View Source
var RoutesMyAccount = []*model.Route{}
View Source
var RoutesMyTenant = []*model.Route{}
View Source
var RoutesOrgUnit = []*model.Route{}
View Source
var RoutesOrgUnitRole = []*model.Route{}
View Source
var RoutesOrgUnitUser = []*model.Route{}
View Source
var RoutesRegistration = []*model.Route{}
View Source
var RoutesResourceDefinition = []*model.Route{}
View Source
var RoutesTenant = []*model.Route{}
View Source
var RoutesTenantUser = []*model.Route{}
View Source
var RoutesUser = []*model.Route{}
View Source
var Swagger embed.FS
View Source
var TenantUser_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.TenantUser",
	HandlerType: (*TenantUserServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetUsers",
			Handler:    _TenantUser_GetUsers_Handler,
		},
		{
			MethodName: "CreateUser",
			Handler:    _TenantUser_CreateUser_Handler,
		},
		{
			MethodName: "GetUser",
			Handler:    _TenantUser_GetUser_Handler,
		},
		{
			MethodName: "EnableUser",
			Handler:    _TenantUser_EnableUser_Handler,
		},
		{
			MethodName: "DisableUser",
			Handler:    _TenantUser_DisableUser_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _TenantUser_UpdateUser_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _TenantUser_DeleteUser_Handler,
		},
		{
			MethodName: "ListUserSessions",
			Handler:    _TenantUser_ListUserSessions_Handler,
		},
		{
			MethodName: "LogoutUserSession",
			Handler:    _TenantUser_LogoutUserSession_Handler,
		},
		{
			MethodName: "ListTenantUserOrgUnits",
			Handler:    _TenantUser_ListTenantUserOrgUnits_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "tenant-user.proto",
}

TenantUser_ServiceDesc is the grpc.ServiceDesc for TenantUser service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Tenant_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.Tenant",
	HandlerType: (*TenantServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListTenants",
			Handler:    _Tenant_ListTenants_Handler,
		},
		{
			MethodName: "CreateTenant",
			Handler:    _Tenant_CreateTenant_Handler,
		},
		{
			MethodName: "GetTenant",
			Handler:    _Tenant_GetTenant_Handler,
		},
		{
			MethodName: "ListOrgUnits",
			Handler:    _Tenant_ListOrgUnits_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "tenant.proto",
}

Tenant_ServiceDesc is the grpc.ServiceDesc for Tenant service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var User_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.User",
	HandlerType: (*UserServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetUsers",
			Handler:    _User_GetUsers_Handler,
		},
		{
			MethodName: "CreateUser",
			Handler:    _User_CreateUser_Handler,
		},
		{
			MethodName: "GetUser",
			Handler:    _User_GetUser_Handler,
		},
		{
			MethodName: "EnableUser",
			Handler:    _User_EnableUser_Handler,
		},
		{
			MethodName: "DisableUser",
			Handler:    _User_DisableUser_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _User_UpdateUser_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _User_DeleteUser_Handler,
		},
		{
			MethodName: "ListUserSessions",
			Handler:    _User_ListUserSessions_Handler,
		},
		{
			MethodName: "LogoutUserSession",
			Handler:    _User_LogoutUserSession_Handler,
		},
		{
			MethodName: "ListUserOrgUnits",
			Handler:    _User_ListUserOrgUnits_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "user.proto",
}

User_ServiceDesc is the grpc.ServiceDesc for User service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterCustomerHandler

func RegisterCustomerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterCustomerHandler registers the http handlers for service Customer to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterCustomerHandlerClient

func RegisterCustomerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CustomerClient) error

RegisterCustomerHandlerClient registers the http handlers for service Customer to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CustomerClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CustomerClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CustomerClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterCustomerHandlerFromEndpoint

func RegisterCustomerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterCustomerHandlerFromEndpoint is same as RegisterCustomerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterCustomerHandlerServer

func RegisterCustomerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CustomerServer) error

RegisterCustomerHandlerServer registers the http handlers for service Customer to "mux". UnaryRPC :call CustomerServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterCustomerHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterCustomerServer

func RegisterCustomerServer(s grpc.ServiceRegistrar, srv CustomerServer)

func RegisterMyAccountHandler

func RegisterMyAccountHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterMyAccountHandler registers the http handlers for service MyAccount to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterMyAccountHandlerClient

func RegisterMyAccountHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MyAccountClient) error

RegisterMyAccountHandlerClient registers the http handlers for service MyAccount to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MyAccountClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MyAccountClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MyAccountClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterMyAccountHandlerFromEndpoint

func RegisterMyAccountHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterMyAccountHandlerFromEndpoint is same as RegisterMyAccountHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterMyAccountHandlerServer

func RegisterMyAccountHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MyAccountServer) error

RegisterMyAccountHandlerServer registers the http handlers for service MyAccount to "mux". UnaryRPC :call MyAccountServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMyAccountHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterMyAccountServer

func RegisterMyAccountServer(s grpc.ServiceRegistrar, srv MyAccountServer)

func RegisterMyTenantHandler

func RegisterMyTenantHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterMyTenantHandler registers the http handlers for service MyTenant to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterMyTenantHandlerClient

func RegisterMyTenantHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MyTenantClient) error

RegisterMyTenantHandlerClient registers the http handlers for service MyTenant to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MyTenantClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MyTenantClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MyTenantClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterMyTenantHandlerFromEndpoint

func RegisterMyTenantHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterMyTenantHandlerFromEndpoint is same as RegisterMyTenantHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterMyTenantHandlerServer

func RegisterMyTenantHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MyTenantServer) error

RegisterMyTenantHandlerServer registers the http handlers for service MyTenant to "mux". UnaryRPC :call MyTenantServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMyTenantHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterMyTenantServer

func RegisterMyTenantServer(s grpc.ServiceRegistrar, srv MyTenantServer)

func RegisterOrgUnitHandler

func RegisterOrgUnitHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOrgUnitHandler registers the http handlers for service OrgUnit to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOrgUnitHandlerClient

func RegisterOrgUnitHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OrgUnitClient) error

RegisterOrgUnitHandlerClient registers the http handlers for service OrgUnit to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OrgUnitClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OrgUnitClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OrgUnitClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterOrgUnitHandlerFromEndpoint

func RegisterOrgUnitHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOrgUnitHandlerFromEndpoint is same as RegisterOrgUnitHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOrgUnitHandlerServer

func RegisterOrgUnitHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OrgUnitServer) error

RegisterOrgUnitHandlerServer registers the http handlers for service OrgUnit to "mux". UnaryRPC :call OrgUnitServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOrgUnitHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterOrgUnitRoleHandler

func RegisterOrgUnitRoleHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOrgUnitRoleHandler registers the http handlers for service OrgUnitRole to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOrgUnitRoleHandlerClient

func RegisterOrgUnitRoleHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OrgUnitRoleClient) error

RegisterOrgUnitRoleHandlerClient registers the http handlers for service OrgUnitRole to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OrgUnitRoleClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OrgUnitRoleClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OrgUnitRoleClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterOrgUnitRoleHandlerFromEndpoint

func RegisterOrgUnitRoleHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOrgUnitRoleHandlerFromEndpoint is same as RegisterOrgUnitRoleHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOrgUnitRoleHandlerServer

func RegisterOrgUnitRoleHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OrgUnitRoleServer) error

RegisterOrgUnitRoleHandlerServer registers the http handlers for service OrgUnitRole to "mux". UnaryRPC :call OrgUnitRoleServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOrgUnitRoleHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterOrgUnitRoleServer

func RegisterOrgUnitRoleServer(s grpc.ServiceRegistrar, srv OrgUnitRoleServer)

func RegisterOrgUnitServer

func RegisterOrgUnitServer(s grpc.ServiceRegistrar, srv OrgUnitServer)

func RegisterOrgUnitUserHandler

func RegisterOrgUnitUserHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOrgUnitUserHandler registers the http handlers for service OrgUnitUser to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOrgUnitUserHandlerClient

func RegisterOrgUnitUserHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OrgUnitUserClient) error

RegisterOrgUnitUserHandlerClient registers the http handlers for service OrgUnitUser to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OrgUnitUserClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OrgUnitUserClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OrgUnitUserClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterOrgUnitUserHandlerFromEndpoint

func RegisterOrgUnitUserHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOrgUnitUserHandlerFromEndpoint is same as RegisterOrgUnitUserHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOrgUnitUserHandlerServer

func RegisterOrgUnitUserHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OrgUnitUserServer) error

RegisterOrgUnitUserHandlerServer registers the http handlers for service OrgUnitUser to "mux". UnaryRPC :call OrgUnitUserServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOrgUnitUserHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterOrgUnitUserServer

func RegisterOrgUnitUserServer(s grpc.ServiceRegistrar, srv OrgUnitUserServer)

func RegisterRegistrationHandler

func RegisterRegistrationHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterRegistrationHandler registers the http handlers for service Registration to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterRegistrationHandlerClient

func RegisterRegistrationHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RegistrationClient) error

RegisterRegistrationHandlerClient registers the http handlers for service Registration to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RegistrationClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RegistrationClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RegistrationClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterRegistrationHandlerFromEndpoint

func RegisterRegistrationHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterRegistrationHandlerFromEndpoint is same as RegisterRegistrationHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterRegistrationHandlerServer

func RegisterRegistrationHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RegistrationServer) error

RegisterRegistrationHandlerServer registers the http handlers for service Registration to "mux". UnaryRPC :call RegistrationServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterRegistrationHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterRegistrationServer

func RegisterRegistrationServer(s grpc.ServiceRegistrar, srv RegistrationServer)

func RegisterResourceDefinitionHandler

func RegisterResourceDefinitionHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterResourceDefinitionHandler registers the http handlers for service ResourceDefinition to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterResourceDefinitionHandlerClient

func RegisterResourceDefinitionHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ResourceDefinitionClient) error

RegisterResourceDefinitionHandlerClient registers the http handlers for service ResourceDefinition to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ResourceDefinitionClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ResourceDefinitionClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ResourceDefinitionClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterResourceDefinitionHandlerFromEndpoint

func RegisterResourceDefinitionHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterResourceDefinitionHandlerFromEndpoint is same as RegisterResourceDefinitionHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterResourceDefinitionHandlerServer

func RegisterResourceDefinitionHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ResourceDefinitionServer) error

RegisterResourceDefinitionHandlerServer registers the http handlers for service ResourceDefinition to "mux". UnaryRPC :call ResourceDefinitionServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterResourceDefinitionHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterResourceDefinitionServer

func RegisterResourceDefinitionServer(s grpc.ServiceRegistrar, srv ResourceDefinitionServer)

func RegisterTenantHandler

func RegisterTenantHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterTenantHandler registers the http handlers for service Tenant to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterTenantHandlerClient

func RegisterTenantHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TenantClient) error

RegisterTenantHandlerClient registers the http handlers for service Tenant to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TenantClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TenantClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TenantClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterTenantHandlerFromEndpoint

func RegisterTenantHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterTenantHandlerFromEndpoint is same as RegisterTenantHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterTenantHandlerServer

func RegisterTenantHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TenantServer) error

RegisterTenantHandlerServer registers the http handlers for service Tenant to "mux". UnaryRPC :call TenantServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTenantHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterTenantServer

func RegisterTenantServer(s grpc.ServiceRegistrar, srv TenantServer)

func RegisterTenantUserHandler

func RegisterTenantUserHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterTenantUserHandler registers the http handlers for service TenantUser to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterTenantUserHandlerClient

func RegisterTenantUserHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TenantUserClient) error

RegisterTenantUserHandlerClient registers the http handlers for service TenantUser to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TenantUserClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TenantUserClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TenantUserClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterTenantUserHandlerFromEndpoint

func RegisterTenantUserHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterTenantUserHandlerFromEndpoint is same as RegisterTenantUserHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterTenantUserHandlerServer

func RegisterTenantUserHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TenantUserServer) error

RegisterTenantUserHandlerServer registers the http handlers for service TenantUser to "mux". UnaryRPC :call TenantUserServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTenantUserHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterTenantUserServer

func RegisterTenantUserServer(s grpc.ServiceRegistrar, srv TenantUserServer)

func RegisterUserHandler

func RegisterUserHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterUserHandler registers the http handlers for service User to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterUserHandlerClient

func RegisterUserHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserClient) error

RegisterUserHandlerClient registers the http handlers for service User to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UserClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterUserHandlerFromEndpoint

func RegisterUserHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterUserHandlerFromEndpoint is same as RegisterUserHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterUserHandlerServer

func RegisterUserHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServer) error

RegisterUserHandlerServer registers the http handlers for service User to "mux". UnaryRPC :call UserServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUserHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterUserServer

func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)

Types

type ApiKeyCreateReq

type ApiKeyCreateReq struct {

	// key id will be allocated by virtue of key creation
	// user is expected to provide an optional name for
	// ease of reference, it is recommended to be unique
	// but not validated or ensured to be unique
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// validity of the api key, tenure in seconds for
	// which this api key is being created
	// when not set or 0 it means key with no expiry
	Validity int64 `protobuf:"varint,2,opt,name=validity,proto3" json:"validity,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiKeyCreateReq) Descriptor deprecated

func (*ApiKeyCreateReq) Descriptor() ([]byte, []int)

Deprecated: Use ApiKeyCreateReq.ProtoReflect.Descriptor instead.

func (*ApiKeyCreateReq) GetName

func (x *ApiKeyCreateReq) GetName() string

func (*ApiKeyCreateReq) GetValidity

func (x *ApiKeyCreateReq) GetValidity() int64

func (*ApiKeyCreateReq) ProtoMessage

func (*ApiKeyCreateReq) ProtoMessage()

func (*ApiKeyCreateReq) ProtoReflect

func (x *ApiKeyCreateReq) ProtoReflect() protoreflect.Message

func (*ApiKeyCreateReq) Reset

func (x *ApiKeyCreateReq) Reset()

func (*ApiKeyCreateReq) String

func (x *ApiKeyCreateReq) String() string

type ApiKeyCreateResp

type ApiKeyCreateResp struct {

	// name of the api key provided by the creator
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// ID of the access key that will be used by the
	// client and server to identify ApiKey in use
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// current status of the Api Key
	Status ApiKeyDef_Status `protobuf:"varint,3,opt,name=status,proto3,enum=api.ApiKeyDef_Status" json:"status,omitempty"`
	// timestamp when the api key was used last time
	LastUsed int64 `protobuf:"varint,4,opt,name=lastUsed,proto3" json:"lastUsed,omitempty"`
	// timestamp when the api key was created
	Created int64 `protobuf:"varint,5,opt,name=created,proto3" json:"created,omitempty"`
	// timestamp when the api key will expire
	ExpireAt int64 `protobuf:"varint,6,opt,name=expireAt,proto3" json:"expireAt,omitempty"`
	// Secret to be used in conjunction with key id
	// for authentication of client using the api key
	// but typically the auth mechanism used will not
	// expect to share this secret ever on the wire
	// after it is being created, neither on APIs nor
	// for authentication
	Secret string `protobuf:"bytes,7,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiKeyCreateResp) Descriptor deprecated

func (*ApiKeyCreateResp) Descriptor() ([]byte, []int)

Deprecated: Use ApiKeyCreateResp.ProtoReflect.Descriptor instead.

func (*ApiKeyCreateResp) GetCreated

func (x *ApiKeyCreateResp) GetCreated() int64

func (*ApiKeyCreateResp) GetExpireAt

func (x *ApiKeyCreateResp) GetExpireAt() int64

func (*ApiKeyCreateResp) GetId

func (x *ApiKeyCreateResp) GetId() string

func (*ApiKeyCreateResp) GetLastUsed

func (x *ApiKeyCreateResp) GetLastUsed() int64

func (*ApiKeyCreateResp) GetName

func (x *ApiKeyCreateResp) GetName() string

func (*ApiKeyCreateResp) GetSecret

func (x *ApiKeyCreateResp) GetSecret() string

func (*ApiKeyCreateResp) GetStatus

func (x *ApiKeyCreateResp) GetStatus() ApiKeyDef_Status

func (*ApiKeyCreateResp) ProtoMessage

func (*ApiKeyCreateResp) ProtoMessage()

func (*ApiKeyCreateResp) ProtoReflect

func (x *ApiKeyCreateResp) ProtoReflect() protoreflect.Message

func (*ApiKeyCreateResp) Reset

func (x *ApiKeyCreateResp) Reset()

func (*ApiKeyCreateResp) String

func (x *ApiKeyCreateResp) String() string

type ApiKeyDef

type ApiKeyDef struct {
	// contains filtered or unexported fields
}

func (*ApiKeyDef) Descriptor deprecated

func (*ApiKeyDef) Descriptor() ([]byte, []int)

Deprecated: Use ApiKeyDef.ProtoReflect.Descriptor instead.

func (*ApiKeyDef) ProtoMessage

func (*ApiKeyDef) ProtoMessage()

func (*ApiKeyDef) ProtoReflect

func (x *ApiKeyDef) ProtoReflect() protoreflect.Message

func (*ApiKeyDef) Reset

func (x *ApiKeyDef) Reset()

func (*ApiKeyDef) String

func (x *ApiKeyDef) String() string

type ApiKeyDef_Status

type ApiKeyDef_Status int32
const (
	// ApiKey is active
	ApiKeyDef_Active ApiKeyDef_Status = 0
	// ApiKey has expired
	ApiKeyDef_Expired ApiKeyDef_Status = 1
	// ApiKey is disabled
	ApiKeyDef_Disabled ApiKeyDef_Status = 2
)

func (ApiKeyDef_Status) Descriptor

func (ApiKeyDef_Status) Enum

func (ApiKeyDef_Status) EnumDescriptor deprecated

func (ApiKeyDef_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use ApiKeyDef_Status.Descriptor instead.

func (ApiKeyDef_Status) Number

func (ApiKeyDef_Status) String

func (x ApiKeyDef_Status) String() string

func (ApiKeyDef_Status) Type

type ApiKeyDeleteReq

type ApiKeyDeleteReq struct {

	// key id that needs to be deleted
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiKeyDeleteReq) Descriptor deprecated

func (*ApiKeyDeleteReq) Descriptor() ([]byte, []int)

Deprecated: Use ApiKeyDeleteReq.ProtoReflect.Descriptor instead.

func (*ApiKeyDeleteReq) GetId

func (x *ApiKeyDeleteReq) GetId() string

func (*ApiKeyDeleteReq) ProtoMessage

func (*ApiKeyDeleteReq) ProtoMessage()

func (*ApiKeyDeleteReq) ProtoReflect

func (x *ApiKeyDeleteReq) ProtoReflect() protoreflect.Message

func (*ApiKeyDeleteReq) Reset

func (x *ApiKeyDeleteReq) Reset()

func (*ApiKeyDeleteReq) String

func (x *ApiKeyDeleteReq) String() string

type ApiKeyDeleteResp

type ApiKeyDeleteResp struct {
	// contains filtered or unexported fields
}

func (*ApiKeyDeleteResp) Descriptor deprecated

func (*ApiKeyDeleteResp) Descriptor() ([]byte, []int)

Deprecated: Use ApiKeyDeleteResp.ProtoReflect.Descriptor instead.

func (*ApiKeyDeleteResp) ProtoMessage

func (*ApiKeyDeleteResp) ProtoMessage()

func (*ApiKeyDeleteResp) ProtoReflect

func (x *ApiKeyDeleteResp) ProtoReflect() protoreflect.Message

func (*ApiKeyDeleteResp) Reset

func (x *ApiKeyDeleteResp) Reset()

func (*ApiKeyDeleteResp) String

func (x *ApiKeyDeleteResp) String() string

type ApiKeyDisableReq

type ApiKeyDisableReq struct {

	// key id that needs to be disabled
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiKeyDisableReq) Descriptor deprecated

func (*ApiKeyDisableReq) Descriptor() ([]byte, []int)

Deprecated: Use ApiKeyDisableReq.ProtoReflect.Descriptor instead.

func (*ApiKeyDisableReq) GetId

func (x *ApiKeyDisableReq) GetId() string

func (*ApiKeyDisableReq) ProtoMessage

func (*ApiKeyDisableReq) ProtoMessage()

func (*ApiKeyDisableReq) ProtoReflect

func (x *ApiKeyDisableReq) ProtoReflect() protoreflect.Message

func (*ApiKeyDisableReq) Reset

func (x *ApiKeyDisableReq) Reset()

func (*ApiKeyDisableReq) String

func (x *ApiKeyDisableReq) String() string

type ApiKeyDisableResp

type ApiKeyDisableResp struct {
	// contains filtered or unexported fields
}

func (*ApiKeyDisableResp) Descriptor deprecated

func (*ApiKeyDisableResp) Descriptor() ([]byte, []int)

Deprecated: Use ApiKeyDisableResp.ProtoReflect.Descriptor instead.

func (*ApiKeyDisableResp) ProtoMessage

func (*ApiKeyDisableResp) ProtoMessage()

func (*ApiKeyDisableResp) ProtoReflect

func (x *ApiKeyDisableResp) ProtoReflect() protoreflect.Message

func (*ApiKeyDisableResp) Reset

func (x *ApiKeyDisableResp) Reset()

func (*ApiKeyDisableResp) String

func (x *ApiKeyDisableResp) String() string

type ApiKeyEnableReq

type ApiKeyEnableReq struct {

	// key id that needs to be enabled
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiKeyEnableReq) Descriptor deprecated

func (*ApiKeyEnableReq) Descriptor() ([]byte, []int)

Deprecated: Use ApiKeyEnableReq.ProtoReflect.Descriptor instead.

func (*ApiKeyEnableReq) GetId

func (x *ApiKeyEnableReq) GetId() string

func (*ApiKeyEnableReq) ProtoMessage

func (*ApiKeyEnableReq) ProtoMessage()

func (*ApiKeyEnableReq) ProtoReflect

func (x *ApiKeyEnableReq) ProtoReflect() protoreflect.Message

func (*ApiKeyEnableReq) Reset

func (x *ApiKeyEnableReq) Reset()

func (*ApiKeyEnableReq) String

func (x *ApiKeyEnableReq) String() string

type ApiKeyEnableResp

type ApiKeyEnableResp struct {
	// contains filtered or unexported fields
}

func (*ApiKeyEnableResp) Descriptor deprecated

func (*ApiKeyEnableResp) Descriptor() ([]byte, []int)

Deprecated: Use ApiKeyEnableResp.ProtoReflect.Descriptor instead.

func (*ApiKeyEnableResp) ProtoMessage

func (*ApiKeyEnableResp) ProtoMessage()

func (*ApiKeyEnableResp) ProtoReflect

func (x *ApiKeyEnableResp) ProtoReflect() protoreflect.Message

func (*ApiKeyEnableResp) Reset

func (x *ApiKeyEnableResp) Reset()

func (*ApiKeyEnableResp) String

func (x *ApiKeyEnableResp) String() string

type ApiKeyListEntry

type ApiKeyListEntry struct {

	// name of the api key provided by the creator
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// ID of the access key that will be used by the
	// client and server to identify ApiKey in use
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// current status of the Api Key
	Status ApiKeyDef_Status `protobuf:"varint,3,opt,name=status,proto3,enum=api.ApiKeyDef_Status" json:"status,omitempty"`
	// timestamp when the api key was used last time
	LastUsed int64 `protobuf:"varint,4,opt,name=lastUsed,proto3" json:"lastUsed,omitempty"`
	// timestamp when the api key was created
	Created int64 `protobuf:"varint,5,opt,name=created,proto3" json:"created,omitempty"`
	// timestamp when the api key will expire
	ExpireAt int64 `protobuf:"varint,6,opt,name=expireAt,proto3" json:"expireAt,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiKeyListEntry) Descriptor deprecated

func (*ApiKeyListEntry) Descriptor() ([]byte, []int)

Deprecated: Use ApiKeyListEntry.ProtoReflect.Descriptor instead.

func (*ApiKeyListEntry) GetCreated

func (x *ApiKeyListEntry) GetCreated() int64

func (*ApiKeyListEntry) GetExpireAt

func (x *ApiKeyListEntry) GetExpireAt() int64

func (*ApiKeyListEntry) GetId

func (x *ApiKeyListEntry) GetId() string

func (*ApiKeyListEntry) GetLastUsed

func (x *ApiKeyListEntry) GetLastUsed() int64

func (*ApiKeyListEntry) GetName

func (x *ApiKeyListEntry) GetName() string

func (*ApiKeyListEntry) GetStatus

func (x *ApiKeyListEntry) GetStatus() ApiKeyDef_Status

func (*ApiKeyListEntry) ProtoMessage

func (*ApiKeyListEntry) ProtoMessage()

func (*ApiKeyListEntry) ProtoReflect

func (x *ApiKeyListEntry) ProtoReflect() protoreflect.Message

func (*ApiKeyListEntry) Reset

func (x *ApiKeyListEntry) Reset()

func (*ApiKeyListEntry) String

func (x *ApiKeyListEntry) String() string

type ApiKeysListReq

type ApiKeysListReq struct {
	// contains filtered or unexported fields
}

func (*ApiKeysListReq) Descriptor deprecated

func (*ApiKeysListReq) Descriptor() ([]byte, []int)

Deprecated: Use ApiKeysListReq.ProtoReflect.Descriptor instead.

func (*ApiKeysListReq) ProtoMessage

func (*ApiKeysListReq) ProtoMessage()

func (*ApiKeysListReq) ProtoReflect

func (x *ApiKeysListReq) ProtoReflect() protoreflect.Message

func (*ApiKeysListReq) Reset

func (x *ApiKeysListReq) Reset()

func (*ApiKeysListReq) String

func (x *ApiKeysListReq) String() string

type ApiKeysListResp

type ApiKeysListResp struct {
	Items []*ApiKeyListEntry `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiKeysListResp) Descriptor deprecated

func (*ApiKeysListResp) Descriptor() ([]byte, []int)

Deprecated: Use ApiKeysListResp.ProtoReflect.Descriptor instead.

func (*ApiKeysListResp) GetItems

func (x *ApiKeysListResp) GetItems() []*ApiKeyListEntry

func (*ApiKeysListResp) ProtoMessage

func (*ApiKeysListResp) ProtoMessage()

func (*ApiKeysListResp) ProtoReflect

func (x *ApiKeysListResp) ProtoReflect() protoreflect.Message

func (*ApiKeysListResp) Reset

func (x *ApiKeysListResp) Reset()

func (*ApiKeysListResp) String

func (x *ApiKeysListResp) String() string

type CreateCustomRoleReq

type CreateCustomRoleReq struct {

	// Organization unit ID
	Ou string `protobuf:"bytes,1,opt,name=ou,proto3" json:"ou,omitempty"`
	// Name of the custom role (must be unique within the org unit)
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description explaining the purpose of this custom role
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// List of permissions granted by this custom role
	Permissions []*RolePermission `protobuf:"bytes,4,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

Create custom role request

func (*CreateCustomRoleReq) Descriptor deprecated

func (*CreateCustomRoleReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateCustomRoleReq.ProtoReflect.Descriptor instead.

func (*CreateCustomRoleReq) GetDescription

func (x *CreateCustomRoleReq) GetDescription() string

func (*CreateCustomRoleReq) GetName

func (x *CreateCustomRoleReq) GetName() string

func (*CreateCustomRoleReq) GetOu

func (x *CreateCustomRoleReq) GetOu() string

func (*CreateCustomRoleReq) GetPermissions

func (x *CreateCustomRoleReq) GetPermissions() []*RolePermission

func (*CreateCustomRoleReq) ProtoMessage

func (*CreateCustomRoleReq) ProtoMessage()

func (*CreateCustomRoleReq) ProtoReflect

func (x *CreateCustomRoleReq) ProtoReflect() protoreflect.Message

func (*CreateCustomRoleReq) Reset

func (x *CreateCustomRoleReq) Reset()

func (*CreateCustomRoleReq) String

func (x *CreateCustomRoleReq) String() string

type CreateCustomRoleResp

type CreateCustomRoleResp struct {
	// contains filtered or unexported fields
}

Create custom role response

func (*CreateCustomRoleResp) Descriptor deprecated

func (*CreateCustomRoleResp) Descriptor() ([]byte, []int)

Deprecated: Use CreateCustomRoleResp.ProtoReflect.Descriptor instead.

func (*CreateCustomRoleResp) ProtoMessage

func (*CreateCustomRoleResp) ProtoMessage()

func (*CreateCustomRoleResp) ProtoReflect

func (x *CreateCustomRoleResp) ProtoReflect() protoreflect.Message

func (*CreateCustomRoleResp) Reset

func (x *CreateCustomRoleResp) Reset()

func (*CreateCustomRoleResp) String

func (x *CreateCustomRoleResp) String() string

type CustomerAddReq

type CustomerAddReq struct {

	// display name for the customer
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// customer description
	Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
	// customer tenancy type, cannot be changed
	// once created
	Tenancy CustomerDefs_Tenancy `protobuf:"varint,3,opt,name=tenancy,proto3,enum=api.CustomerDefs_Tenancy" json:"tenancy,omitempty"`
	// contains filtered or unexported fields
}

request for addition of new customer

func (*CustomerAddReq) Descriptor deprecated

func (*CustomerAddReq) Descriptor() ([]byte, []int)

Deprecated: Use CustomerAddReq.ProtoReflect.Descriptor instead.

func (*CustomerAddReq) GetDesc

func (x *CustomerAddReq) GetDesc() string

func (*CustomerAddReq) GetName

func (x *CustomerAddReq) GetName() string

func (*CustomerAddReq) GetTenancy

func (x *CustomerAddReq) GetTenancy() CustomerDefs_Tenancy

func (*CustomerAddReq) ProtoMessage

func (*CustomerAddReq) ProtoMessage()

func (*CustomerAddReq) ProtoReflect

func (x *CustomerAddReq) ProtoReflect() protoreflect.Message

func (*CustomerAddReq) Reset

func (x *CustomerAddReq) Reset()

func (*CustomerAddReq) String

func (x *CustomerAddReq) String() string

type CustomerAddResp

type CustomerAddResp struct {

	// id of the customer created
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

response for addition of new customer

func (*CustomerAddResp) Descriptor deprecated

func (*CustomerAddResp) Descriptor() ([]byte, []int)

Deprecated: Use CustomerAddResp.ProtoReflect.Descriptor instead.

func (*CustomerAddResp) GetId

func (x *CustomerAddResp) GetId() string

func (*CustomerAddResp) ProtoMessage

func (*CustomerAddResp) ProtoMessage()

func (*CustomerAddResp) ProtoReflect

func (x *CustomerAddResp) ProtoReflect() protoreflect.Message

func (*CustomerAddResp) Reset

func (x *CustomerAddResp) Reset()

func (*CustomerAddResp) String

func (x *CustomerAddResp) String() string

type CustomerClient

type CustomerClient interface {
	// Get List of existing customers
	ListCustomers(ctx context.Context, in *CustomersListReq, opts ...grpc.CallOption) (*CustomersListResp, error)
	// Add new customer
	AddCustomer(ctx context.Context, in *CustomerAddReq, opts ...grpc.CallOption) (*CustomerAddResp, error)
	// Update an existing customer details
	UpdateCustomer(ctx context.Context, in *CustomerUpdateReq, opts ...grpc.CallOption) (*CustomerUpdateResp, error)
	// get an existing customer details
	GetCustomer(ctx context.Context, in *CustomerGetReq, opts ...grpc.CallOption) (*CustomerGetResp, error)
	// delete an existing customer
	DeleteCustomer(ctx context.Context, in *CustomerDeleteReq, opts ...grpc.CallOption) (*CustomerDeleteResp, error)
}

CustomerClient is the client API for Customer service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Service provided to manage customers

func NewCustomerClient

func NewCustomerClient(cc grpc.ClientConnInterface) CustomerClient

type CustomerDefs

type CustomerDefs struct {
	// contains filtered or unexported fields
}

func (*CustomerDefs) Descriptor deprecated

func (*CustomerDefs) Descriptor() ([]byte, []int)

Deprecated: Use CustomerDefs.ProtoReflect.Descriptor instead.

func (*CustomerDefs) ProtoMessage

func (*CustomerDefs) ProtoMessage()

func (*CustomerDefs) ProtoReflect

func (x *CustomerDefs) ProtoReflect() protoreflect.Message

func (*CustomerDefs) Reset

func (x *CustomerDefs) Reset()

func (*CustomerDefs) String

func (x *CustomerDefs) String() string

type CustomerDefs_Tenancy

type CustomerDefs_Tenancy int32
const (
	// dedicated tenancy customer
	// typically assigned for Orgs requiring user management
	// with custom SSO integrations, requiring extra security
	// controls
	CustomerDefs_Dedicated CustomerDefs_Tenancy = 0
	// Shared tenancy customer
	// typically assigned for individuals or group of
	// individuals, where users can authenticate using public
	// SSO and authz can be managed by admins
	CustomerDefs_Shared CustomerDefs_Tenancy = 1
)

func (CustomerDefs_Tenancy) Descriptor

func (CustomerDefs_Tenancy) Enum

func (CustomerDefs_Tenancy) EnumDescriptor deprecated

func (CustomerDefs_Tenancy) EnumDescriptor() ([]byte, []int)

Deprecated: Use CustomerDefs_Tenancy.Descriptor instead.

func (CustomerDefs_Tenancy) Number

func (CustomerDefs_Tenancy) String

func (x CustomerDefs_Tenancy) String() string

func (CustomerDefs_Tenancy) Type

type CustomerDeleteReq

type CustomerDeleteReq struct {

	// customer id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

delete customer req

func (*CustomerDeleteReq) Descriptor deprecated

func (*CustomerDeleteReq) Descriptor() ([]byte, []int)

Deprecated: Use CustomerDeleteReq.ProtoReflect.Descriptor instead.

func (*CustomerDeleteReq) GetId

func (x *CustomerDeleteReq) GetId() string

func (*CustomerDeleteReq) ProtoMessage

func (*CustomerDeleteReq) ProtoMessage()

func (*CustomerDeleteReq) ProtoReflect

func (x *CustomerDeleteReq) ProtoReflect() protoreflect.Message

func (*CustomerDeleteReq) Reset

func (x *CustomerDeleteReq) Reset()

func (*CustomerDeleteReq) String

func (x *CustomerDeleteReq) String() string

type CustomerDeleteResp

type CustomerDeleteResp struct {
	// contains filtered or unexported fields
}

func (*CustomerDeleteResp) Descriptor deprecated

func (*CustomerDeleteResp) Descriptor() ([]byte, []int)

Deprecated: Use CustomerDeleteResp.ProtoReflect.Descriptor instead.

func (*CustomerDeleteResp) ProtoMessage

func (*CustomerDeleteResp) ProtoMessage()

func (*CustomerDeleteResp) ProtoReflect

func (x *CustomerDeleteResp) ProtoReflect() protoreflect.Message

func (*CustomerDeleteResp) Reset

func (x *CustomerDeleteResp) Reset()

func (*CustomerDeleteResp) String

func (x *CustomerDeleteResp) String() string

type CustomerGetReq

type CustomerGetReq struct {

	// id of the customer
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

customer get request

func (*CustomerGetReq) Descriptor deprecated

func (*CustomerGetReq) Descriptor() ([]byte, []int)

Deprecated: Use CustomerGetReq.ProtoReflect.Descriptor instead.

func (*CustomerGetReq) GetId

func (x *CustomerGetReq) GetId() string

func (*CustomerGetReq) ProtoMessage

func (*CustomerGetReq) ProtoMessage()

func (*CustomerGetReq) ProtoReflect

func (x *CustomerGetReq) ProtoReflect() protoreflect.Message

func (*CustomerGetReq) Reset

func (x *CustomerGetReq) Reset()

func (*CustomerGetReq) String

func (x *CustomerGetReq) String() string

type CustomerGetResp

type CustomerGetResp struct {

	// customer id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// customer display name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// customer description
	Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	// created by
	CreatedBy string `protobuf:"bytes,4,opt,name=createdBy,proto3" json:"createdBy,omitempty"`
	// create time
	Created int64 `protobuf:"varint,5,opt,name=created,proto3" json:"created,omitempty"`
	// customer tenancy type
	Tenancy CustomerDefs_Tenancy `protobuf:"varint,6,opt,name=tenancy,proto3,enum=api.CustomerDefs_Tenancy" json:"tenancy,omitempty"`
	// contains filtered or unexported fields
}

func (*CustomerGetResp) Descriptor deprecated

func (*CustomerGetResp) Descriptor() ([]byte, []int)

Deprecated: Use CustomerGetResp.ProtoReflect.Descriptor instead.

func (*CustomerGetResp) GetCreated

func (x *CustomerGetResp) GetCreated() int64

func (*CustomerGetResp) GetCreatedBy

func (x *CustomerGetResp) GetCreatedBy() string

func (*CustomerGetResp) GetDesc

func (x *CustomerGetResp) GetDesc() string

func (*CustomerGetResp) GetId

func (x *CustomerGetResp) GetId() string

func (*CustomerGetResp) GetName

func (x *CustomerGetResp) GetName() string

func (*CustomerGetResp) GetTenancy

func (x *CustomerGetResp) GetTenancy() CustomerDefs_Tenancy

func (*CustomerGetResp) ProtoMessage

func (*CustomerGetResp) ProtoMessage()

func (*CustomerGetResp) ProtoReflect

func (x *CustomerGetResp) ProtoReflect() protoreflect.Message

func (*CustomerGetResp) Reset

func (x *CustomerGetResp) Reset()

func (*CustomerGetResp) String

func (x *CustomerGetResp) String() string

type CustomerServer

type CustomerServer interface {
	// Get List of existing customers
	ListCustomers(context.Context, *CustomersListReq) (*CustomersListResp, error)
	// Add new customer
	AddCustomer(context.Context, *CustomerAddReq) (*CustomerAddResp, error)
	// Update an existing customer details
	UpdateCustomer(context.Context, *CustomerUpdateReq) (*CustomerUpdateResp, error)
	// get an existing customer details
	GetCustomer(context.Context, *CustomerGetReq) (*CustomerGetResp, error)
	// delete an existing customer
	DeleteCustomer(context.Context, *CustomerDeleteReq) (*CustomerDeleteResp, error)
	// contains filtered or unexported methods
}

CustomerServer is the server API for Customer service. All implementations must embed UnimplementedCustomerServer for forward compatibility.

Service provided to manage customers

type CustomerUpdateReq

type CustomerUpdateReq struct {

	// id of the customer
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// display name for the customer
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// customer description
	Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	// contains filtered or unexported fields
}

request for update of an existing customer

func (*CustomerUpdateReq) Descriptor deprecated

func (*CustomerUpdateReq) Descriptor() ([]byte, []int)

Deprecated: Use CustomerUpdateReq.ProtoReflect.Descriptor instead.

func (*CustomerUpdateReq) GetDesc

func (x *CustomerUpdateReq) GetDesc() string

func (*CustomerUpdateReq) GetId

func (x *CustomerUpdateReq) GetId() string

func (*CustomerUpdateReq) GetName

func (x *CustomerUpdateReq) GetName() string

func (*CustomerUpdateReq) ProtoMessage

func (*CustomerUpdateReq) ProtoMessage()

func (*CustomerUpdateReq) ProtoReflect

func (x *CustomerUpdateReq) ProtoReflect() protoreflect.Message

func (*CustomerUpdateReq) Reset

func (x *CustomerUpdateReq) Reset()

func (*CustomerUpdateReq) String

func (x *CustomerUpdateReq) String() string

type CustomerUpdateResp

type CustomerUpdateResp struct {
	// contains filtered or unexported fields
}

func (*CustomerUpdateResp) Descriptor deprecated

func (*CustomerUpdateResp) Descriptor() ([]byte, []int)

Deprecated: Use CustomerUpdateResp.ProtoReflect.Descriptor instead.

func (*CustomerUpdateResp) ProtoMessage

func (*CustomerUpdateResp) ProtoMessage()

func (*CustomerUpdateResp) ProtoReflect

func (x *CustomerUpdateResp) ProtoReflect() protoreflect.Message

func (*CustomerUpdateResp) Reset

func (x *CustomerUpdateResp) Reset()

func (*CustomerUpdateResp) String

func (x *CustomerUpdateResp) String() string

type CustomersListEntry

type CustomersListEntry struct {

	// customer id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// customer display name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// customer description
	Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	// customer tenancy type
	Tenancy CustomerDefs_Tenancy `protobuf:"varint,4,opt,name=tenancy,proto3,enum=api.CustomerDefs_Tenancy" json:"tenancy,omitempty"`
	// contains filtered or unexported fields
}

func (*CustomersListEntry) Descriptor deprecated

func (*CustomersListEntry) Descriptor() ([]byte, []int)

Deprecated: Use CustomersListEntry.ProtoReflect.Descriptor instead.

func (*CustomersListEntry) GetDesc

func (x *CustomersListEntry) GetDesc() string

func (*CustomersListEntry) GetId

func (x *CustomersListEntry) GetId() string

func (*CustomersListEntry) GetName

func (x *CustomersListEntry) GetName() string

func (*CustomersListEntry) GetTenancy

func (x *CustomersListEntry) GetTenancy() CustomerDefs_Tenancy

func (*CustomersListEntry) ProtoMessage

func (*CustomersListEntry) ProtoMessage()

func (*CustomersListEntry) ProtoReflect

func (x *CustomersListEntry) ProtoReflect() protoreflect.Message

func (*CustomersListEntry) Reset

func (x *CustomersListEntry) Reset()

func (*CustomersListEntry) String

func (x *CustomersListEntry) String() string

type CustomersListReq

type CustomersListReq struct {

	// offset from where to start the list of customers
	Offset int32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	// limit the response to specified count
	Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

list existing customers typically available only for super admin

func (*CustomersListReq) Descriptor deprecated

func (*CustomersListReq) Descriptor() ([]byte, []int)

Deprecated: Use CustomersListReq.ProtoReflect.Descriptor instead.

func (*CustomersListReq) GetLimit

func (x *CustomersListReq) GetLimit() int32

func (*CustomersListReq) GetOffset

func (x *CustomersListReq) GetOffset() int32

func (*CustomersListReq) ProtoMessage

func (*CustomersListReq) ProtoMessage()

func (*CustomersListReq) ProtoReflect

func (x *CustomersListReq) ProtoReflect() protoreflect.Message

func (*CustomersListReq) Reset

func (x *CustomersListReq) Reset()

func (*CustomersListReq) String

func (x *CustomersListReq) String() string

type CustomersListResp

type CustomersListResp struct {

	// count of customers available
	Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// list of customer info in response
	Items []*CustomersListEntry `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

list customers response

func (*CustomersListResp) Descriptor deprecated

func (*CustomersListResp) Descriptor() ([]byte, []int)

Deprecated: Use CustomersListResp.ProtoReflect.Descriptor instead.

func (*CustomersListResp) GetCount

func (x *CustomersListResp) GetCount() int32

func (*CustomersListResp) GetItems

func (x *CustomersListResp) GetItems() []*CustomersListEntry

func (*CustomersListResp) ProtoMessage

func (*CustomersListResp) ProtoMessage()

func (*CustomersListResp) ProtoReflect

func (x *CustomersListResp) ProtoReflect() protoreflect.Message

func (*CustomersListResp) Reset

func (x *CustomersListResp) Reset()

func (*CustomersListResp) String

func (x *CustomersListResp) String() string

type DefaultOrgUnitReq

type DefaultOrgUnitReq struct {

	// id of the Org Unit to be set as default
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DefaultOrgUnitReq) Descriptor deprecated

func (*DefaultOrgUnitReq) Descriptor() ([]byte, []int)

Deprecated: Use DefaultOrgUnitReq.ProtoReflect.Descriptor instead.

func (*DefaultOrgUnitReq) GetId

func (x *DefaultOrgUnitReq) GetId() string

func (*DefaultOrgUnitReq) ProtoMessage

func (*DefaultOrgUnitReq) ProtoMessage()

func (*DefaultOrgUnitReq) ProtoReflect

func (x *DefaultOrgUnitReq) ProtoReflect() protoreflect.Message

func (*DefaultOrgUnitReq) Reset

func (x *DefaultOrgUnitReq) Reset()

func (*DefaultOrgUnitReq) String

func (x *DefaultOrgUnitReq) String() string

type DefaultOrgUnitResp

type DefaultOrgUnitResp struct {
	// contains filtered or unexported fields
}

func (*DefaultOrgUnitResp) Descriptor deprecated

func (*DefaultOrgUnitResp) Descriptor() ([]byte, []int)

Deprecated: Use DefaultOrgUnitResp.ProtoReflect.Descriptor instead.

func (*DefaultOrgUnitResp) ProtoMessage

func (*DefaultOrgUnitResp) ProtoMessage()

func (*DefaultOrgUnitResp) ProtoReflect

func (x *DefaultOrgUnitResp) ProtoReflect() protoreflect.Message

func (*DefaultOrgUnitResp) Reset

func (x *DefaultOrgUnitResp) Reset()

func (*DefaultOrgUnitResp) String

func (x *DefaultOrgUnitResp) String() string

type DeleteCustomRoleReq

type DeleteCustomRoleReq struct {

	// Organization unit ID
	Ou string `protobuf:"bytes,1,opt,name=ou,proto3" json:"ou,omitempty"`
	// Name of the custom role to delete
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Delete custom role request

func (*DeleteCustomRoleReq) Descriptor deprecated

func (*DeleteCustomRoleReq) Descriptor() ([]byte, []int)

Deprecated: Use DeleteCustomRoleReq.ProtoReflect.Descriptor instead.

func (*DeleteCustomRoleReq) GetName

func (x *DeleteCustomRoleReq) GetName() string

func (*DeleteCustomRoleReq) GetOu

func (x *DeleteCustomRoleReq) GetOu() string

func (*DeleteCustomRoleReq) ProtoMessage

func (*DeleteCustomRoleReq) ProtoMessage()

func (*DeleteCustomRoleReq) ProtoReflect

func (x *DeleteCustomRoleReq) ProtoReflect() protoreflect.Message

func (*DeleteCustomRoleReq) Reset

func (x *DeleteCustomRoleReq) Reset()

func (*DeleteCustomRoleReq) String

func (x *DeleteCustomRoleReq) String() string

type DeleteCustomRoleResp

type DeleteCustomRoleResp struct {

	// Confirmation message
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

Delete custom role response

func (*DeleteCustomRoleResp) Descriptor deprecated

func (*DeleteCustomRoleResp) Descriptor() ([]byte, []int)

Deprecated: Use DeleteCustomRoleResp.ProtoReflect.Descriptor instead.

func (*DeleteCustomRoleResp) GetMessage

func (x *DeleteCustomRoleResp) GetMessage() string

func (*DeleteCustomRoleResp) ProtoMessage

func (*DeleteCustomRoleResp) ProtoMessage()

func (*DeleteCustomRoleResp) ProtoReflect

func (x *DeleteCustomRoleResp) ProtoReflect() protoreflect.Message

func (*DeleteCustomRoleResp) Reset

func (x *DeleteCustomRoleResp) Reset()

func (*DeleteCustomRoleResp) String

func (x *DeleteCustomRoleResp) String() string

type GetCustomRoleReq

type GetCustomRoleReq struct {

	// Organization unit ID
	Ou string `protobuf:"bytes,1,opt,name=ou,proto3" json:"ou,omitempty"`
	// Name of the custom role to retrieve
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Get custom role request

func (*GetCustomRoleReq) Descriptor deprecated

func (*GetCustomRoleReq) Descriptor() ([]byte, []int)

Deprecated: Use GetCustomRoleReq.ProtoReflect.Descriptor instead.

func (*GetCustomRoleReq) GetName

func (x *GetCustomRoleReq) GetName() string

func (*GetCustomRoleReq) GetOu

func (x *GetCustomRoleReq) GetOu() string

func (*GetCustomRoleReq) ProtoMessage

func (*GetCustomRoleReq) ProtoMessage()

func (*GetCustomRoleReq) ProtoReflect

func (x *GetCustomRoleReq) ProtoReflect() protoreflect.Message

func (*GetCustomRoleReq) Reset

func (x *GetCustomRoleReq) Reset()

func (*GetCustomRoleReq) String

func (x *GetCustomRoleReq) String() string

type GetCustomRoleResp

type GetCustomRoleResp struct {

	// Name of the custom role
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Description explaining the purpose of this custom role
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// List of permissions granted by this custom role
	Permissions []*RolePermission `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// Timestamp when the role was created
	Created int64 `protobuf:"varint,4,opt,name=created,proto3" json:"created,omitempty"`
	// User who created this custom role
	CreatedBy string `protobuf:"bytes,5,opt,name=createdBy,proto3" json:"createdBy,omitempty"`
	// Timestamp when the role was last updated
	Updated int64 `protobuf:"varint,6,opt,name=updated,proto3" json:"updated,omitempty"`
	// User who last updated this custom role
	UpdatedBy string `protobuf:"bytes,7,opt,name=updatedBy,proto3" json:"updatedBy,omitempty"`
	// contains filtered or unexported fields
}

Get custom role response

func (*GetCustomRoleResp) Descriptor deprecated

func (*GetCustomRoleResp) Descriptor() ([]byte, []int)

Deprecated: Use GetCustomRoleResp.ProtoReflect.Descriptor instead.

func (*GetCustomRoleResp) GetCreated

func (x *GetCustomRoleResp) GetCreated() int64

func (*GetCustomRoleResp) GetCreatedBy

func (x *GetCustomRoleResp) GetCreatedBy() string

func (*GetCustomRoleResp) GetDescription

func (x *GetCustomRoleResp) GetDescription() string

func (*GetCustomRoleResp) GetName

func (x *GetCustomRoleResp) GetName() string

func (*GetCustomRoleResp) GetPermissions

func (x *GetCustomRoleResp) GetPermissions() []*RolePermission

func (*GetCustomRoleResp) GetUpdated

func (x *GetCustomRoleResp) GetUpdated() int64

func (*GetCustomRoleResp) GetUpdatedBy

func (x *GetCustomRoleResp) GetUpdatedBy() string

func (*GetCustomRoleResp) ProtoMessage

func (*GetCustomRoleResp) ProtoMessage()

func (*GetCustomRoleResp) ProtoReflect

func (x *GetCustomRoleResp) ProtoReflect() protoreflect.Message

func (*GetCustomRoleResp) Reset

func (x *GetCustomRoleResp) Reset()

func (*GetCustomRoleResp) String

func (x *GetCustomRoleResp) String() string

type GoogleIDPConfig

type GoogleIDPConfig struct {

	// client id from google SSO config, where controller
	// is enabled as client
	ClientId string `protobuf:"bytes,1,opt,name=clientId,proto3" json:"clientId,omitempty"`
	// client secret to validate ourself with google
	ClientSecret string `protobuf:"bytes,2,opt,name=clientSecret,proto3" json:"clientSecret,omitempty"`
	// Hosted Domain for allowing users only from specific domain
	HostedDomain string `protobuf:"bytes,3,opt,name=hostedDomain,proto3" json:"hostedDomain,omitempty"`
	// contains filtered or unexported fields
}

func (*GoogleIDPConfig) Descriptor deprecated

func (*GoogleIDPConfig) Descriptor() ([]byte, []int)

Deprecated: Use GoogleIDPConfig.ProtoReflect.Descriptor instead.

func (*GoogleIDPConfig) GetClientId

func (x *GoogleIDPConfig) GetClientId() string

func (*GoogleIDPConfig) GetClientSecret

func (x *GoogleIDPConfig) GetClientSecret() string

func (*GoogleIDPConfig) GetHostedDomain

func (x *GoogleIDPConfig) GetHostedDomain() string

func (*GoogleIDPConfig) ProtoMessage

func (*GoogleIDPConfig) ProtoMessage()

func (*GoogleIDPConfig) ProtoReflect

func (x *GoogleIDPConfig) ProtoReflect() protoreflect.Message

func (*GoogleIDPConfig) Reset

func (x *GoogleIDPConfig) Reset()

func (*GoogleIDPConfig) String

func (x *GoogleIDPConfig) String() string

type IdentityProviderDefs

type IdentityProviderDefs struct {
	// contains filtered or unexported fields
}

func (*IdentityProviderDefs) Descriptor deprecated

func (*IdentityProviderDefs) Descriptor() ([]byte, []int)

Deprecated: Use IdentityProviderDefs.ProtoReflect.Descriptor instead.

func (*IdentityProviderDefs) ProtoMessage

func (*IdentityProviderDefs) ProtoMessage()

func (*IdentityProviderDefs) ProtoReflect

func (x *IdentityProviderDefs) ProtoReflect() protoreflect.Message

func (*IdentityProviderDefs) Reset

func (x *IdentityProviderDefs) Reset()

func (*IdentityProviderDefs) String

func (x *IdentityProviderDefs) String() string

type IdentityProviderDefs_Type

type IdentityProviderDefs_Type int32

Identity Provider types

const (
	// Unspecified IDP
	IdentityProviderDefs_IdentityProviderUnspecified IdentityProviderDefs_Type = 0
	// Identity Provider - Google
	IdentityProviderDefs_Google IdentityProviderDefs_Type = 1
	// Identity Provider - Microsoft
	IdentityProviderDefs_Microsoft IdentityProviderDefs_Type = 2
)

func (IdentityProviderDefs_Type) Descriptor

func (IdentityProviderDefs_Type) Enum

func (IdentityProviderDefs_Type) EnumDescriptor deprecated

func (IdentityProviderDefs_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use IdentityProviderDefs_Type.Descriptor instead.

func (IdentityProviderDefs_Type) Number

func (IdentityProviderDefs_Type) String

func (x IdentityProviderDefs_Type) String() string

func (IdentityProviderDefs_Type) Type

type IdentityProviderTypesGetReq

type IdentityProviderTypesGetReq struct {
	// contains filtered or unexported fields
}

Identity provider providers request (list supported provider types)

func (*IdentityProviderTypesGetReq) Descriptor deprecated

func (*IdentityProviderTypesGetReq) Descriptor() ([]byte, []int)

Deprecated: Use IdentityProviderTypesGetReq.ProtoReflect.Descriptor instead.

func (*IdentityProviderTypesGetReq) ProtoMessage

func (*IdentityProviderTypesGetReq) ProtoMessage()

func (*IdentityProviderTypesGetReq) ProtoReflect

func (*IdentityProviderTypesGetReq) Reset

func (x *IdentityProviderTypesGetReq) Reset()

func (*IdentityProviderTypesGetReq) String

func (x *IdentityProviderTypesGetReq) String() string

type IdentityProviderTypesGetResp

type IdentityProviderTypesGetResp struct {

	// Available provider types
	Providers []*IdentityProviderTypesListEntry `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"`
	// contains filtered or unexported fields
}

Identity provider providers response

func (*IdentityProviderTypesGetResp) Descriptor deprecated

func (*IdentityProviderTypesGetResp) Descriptor() ([]byte, []int)

Deprecated: Use IdentityProviderTypesGetResp.ProtoReflect.Descriptor instead.

func (*IdentityProviderTypesGetResp) GetProviders

func (*IdentityProviderTypesGetResp) ProtoMessage

func (*IdentityProviderTypesGetResp) ProtoMessage()

func (*IdentityProviderTypesGetResp) ProtoReflect

func (*IdentityProviderTypesGetResp) Reset

func (x *IdentityProviderTypesGetResp) Reset()

func (*IdentityProviderTypesGetResp) String

type IdentityProviderTypesListEntry

type IdentityProviderTypesListEntry struct {

	// type value for the list entry
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*IdentityProviderTypesListEntry) Descriptor deprecated

func (*IdentityProviderTypesListEntry) Descriptor() ([]byte, []int)

Deprecated: Use IdentityProviderTypesListEntry.ProtoReflect.Descriptor instead.

func (*IdentityProviderTypesListEntry) GetType

func (*IdentityProviderTypesListEntry) ProtoMessage

func (*IdentityProviderTypesListEntry) ProtoMessage()

func (*IdentityProviderTypesListEntry) ProtoReflect

func (*IdentityProviderTypesListEntry) Reset

func (x *IdentityProviderTypesListEntry) Reset()

func (*IdentityProviderTypesListEntry) String

type IdpConfigField

type IdpConfigField struct {
	Name         string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type         string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Required     bool   `protobuf:"varint,3,opt,name=required,proto3" json:"required,omitempty"`
	Sensitive    bool   `protobuf:"varint,4,opt,name=sensitive,proto3" json:"sensitive,omitempty"`
	Description  string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	DefaultValue string `protobuf:"bytes,6,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	Validation   string `protobuf:"bytes,7,opt,name=validation,proto3" json:"validation,omitempty"`
	// contains filtered or unexported fields
}

Configuration field metadata for validation

func (*IdpConfigField) Descriptor deprecated

func (*IdpConfigField) Descriptor() ([]byte, []int)

Deprecated: Use IdpConfigField.ProtoReflect.Descriptor instead.

func (*IdpConfigField) GetDefaultValue

func (x *IdpConfigField) GetDefaultValue() string

func (*IdpConfigField) GetDescription

func (x *IdpConfigField) GetDescription() string

func (*IdpConfigField) GetName

func (x *IdpConfigField) GetName() string

func (*IdpConfigField) GetRequired

func (x *IdpConfigField) GetRequired() bool

func (*IdpConfigField) GetSensitive

func (x *IdpConfigField) GetSensitive() bool

func (*IdpConfigField) GetType

func (x *IdpConfigField) GetType() string

func (*IdpConfigField) GetValidation

func (x *IdpConfigField) GetValidation() string

func (*IdpConfigField) ProtoMessage

func (*IdpConfigField) ProtoMessage()

func (*IdpConfigField) ProtoReflect

func (x *IdpConfigField) ProtoReflect() protoreflect.Message

func (*IdpConfigField) Reset

func (x *IdpConfigField) Reset()

func (*IdpConfigField) String

func (x *IdpConfigField) String() string

type Location

type Location struct {

	// city name
	City string `protobuf:"bytes,1,opt,name=city,proto3" json:"city,omitempty"`
	// country name
	Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"`
	// contains filtered or unexported fields
}

location information derived from IP address

func (*Location) Descriptor deprecated

func (*Location) Descriptor() ([]byte, []int)

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetCity

func (x *Location) GetCity() string

func (*Location) GetCountry

func (x *Location) GetCountry() string

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) ProtoReflect

func (x *Location) ProtoReflect() protoreflect.Message

func (*Location) Reset

func (x *Location) Reset()

func (*Location) String

func (x *Location) String() string

type MicrosoftIDPConfig

type MicrosoftIDPConfig struct {

	// client id from microsoft SSO config, where controller
	// is enabled as client
	ClientId string `protobuf:"bytes,1,opt,name=clientId,proto3" json:"clientId,omitempty"`
	// client secret to validate ourself with microsoft
	ClientSecret string `protobuf:"bytes,2,opt,name=clientSecret,proto3" json:"clientSecret,omitempty"`
	// tenant id to ensure allowing users only from specific
	// microsoft tenant
	TenantId string `protobuf:"bytes,3,opt,name=tenantId,proto3" json:"tenantId,omitempty"`
	// contains filtered or unexported fields
}

func (*MicrosoftIDPConfig) Descriptor deprecated

func (*MicrosoftIDPConfig) Descriptor() ([]byte, []int)

Deprecated: Use MicrosoftIDPConfig.ProtoReflect.Descriptor instead.

func (*MicrosoftIDPConfig) GetClientId

func (x *MicrosoftIDPConfig) GetClientId() string

func (*MicrosoftIDPConfig) GetClientSecret

func (x *MicrosoftIDPConfig) GetClientSecret() string

func (*MicrosoftIDPConfig) GetTenantId

func (x *MicrosoftIDPConfig) GetTenantId() string

func (*MicrosoftIDPConfig) ProtoMessage

func (*MicrosoftIDPConfig) ProtoMessage()

func (*MicrosoftIDPConfig) ProtoReflect

func (x *MicrosoftIDPConfig) ProtoReflect() protoreflect.Message

func (*MicrosoftIDPConfig) Reset

func (x *MicrosoftIDPConfig) Reset()

func (*MicrosoftIDPConfig) String

func (x *MicrosoftIDPConfig) String() string

type MyAccountClient

type MyAccountClient interface {
	// get my account info
	GetMyInfo(ctx context.Context, in *MyInfoGetReq, opts ...grpc.CallOption) (*MyInfoGetResp, error)
	// get all my active sessions
	GetMySessions(ctx context.Context, in *MySessionsGetReq, opts ...grpc.CallOption) (*MySessionsGetResp, error)
	// logout my active session(/s), if a specific session id is
	// not provided, it will logout all sessions except the current one
	LogoutMySessions(ctx context.Context, in *MySessionsLogoutReq, opts ...grpc.CallOption) (*MySessionsLogoutResp, error)
	// create a new api key for api access
	CreateApiKey(ctx context.Context, in *ApiKeyCreateReq, opts ...grpc.CallOption) (*ApiKeyCreateResp, error)
	// disabling an existing enabled api key, not action is performed
	// if the key is already disabled
	DisableApiKey(ctx context.Context, in *ApiKeyDisableReq, opts ...grpc.CallOption) (*ApiKeyDisableResp, error)
	// enabling an existing disabled api key, not action is performed
	// if the key is already enabled
	EnableApiKey(ctx context.Context, in *ApiKeyEnableReq, opts ...grpc.CallOption) (*ApiKeyEnableResp, error)
	// delete an existing api key
	DeleteApiKey(ctx context.Context, in *ApiKeyDeleteReq, opts ...grpc.CallOption) (*ApiKeyDeleteResp, error)
	// list all available api keys for the user
	ListApiKeys(ctx context.Context, in *ApiKeysListReq, opts ...grpc.CallOption) (*ApiKeysListResp, error)
	// list all Org units available for me
	ListMyOrgUnits(ctx context.Context, in *MyOrgUnitsListReq, opts ...grpc.CallOption) (*MyOrgUnitsListResp, error)
	// set specific Org unit as default access on login
	// relevant only when working with multiple org units
	SetDefaultOrgUnit(ctx context.Context, in *DefaultOrgUnitReq, opts ...grpc.CallOption) (*DefaultOrgUnitResp, error)
	// Get List of available regions for user to work with
	ListMyRegions(ctx context.Context, in *MyRegionsListReq, opts ...grpc.CallOption) (*MyRegionsListResp, error)
	// Get List of availability zones in a given region for the user
	ListMyAzs(ctx context.Context, in *MyAzsListReq, opts ...grpc.CallOption) (*MyAzsListResp, error)
}

MyAccountClient is the client API for MyAccount service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMyAccountClient

func NewMyAccountClient(cc grpc.ClientConnInterface) MyAccountClient

type MyAccountServer

type MyAccountServer interface {
	// get my account info
	GetMyInfo(context.Context, *MyInfoGetReq) (*MyInfoGetResp, error)
	// get all my active sessions
	GetMySessions(context.Context, *MySessionsGetReq) (*MySessionsGetResp, error)
	// logout my active session(/s), if a specific session id is
	// not provided, it will logout all sessions except the current one
	LogoutMySessions(context.Context, *MySessionsLogoutReq) (*MySessionsLogoutResp, error)
	// create a new api key for api access
	CreateApiKey(context.Context, *ApiKeyCreateReq) (*ApiKeyCreateResp, error)
	// disabling an existing enabled api key, not action is performed
	// if the key is already disabled
	DisableApiKey(context.Context, *ApiKeyDisableReq) (*ApiKeyDisableResp, error)
	// enabling an existing disabled api key, not action is performed
	// if the key is already enabled
	EnableApiKey(context.Context, *ApiKeyEnableReq) (*ApiKeyEnableResp, error)
	// delete an existing api key
	DeleteApiKey(context.Context, *ApiKeyDeleteReq) (*ApiKeyDeleteResp, error)
	// list all available api keys for the user
	ListApiKeys(context.Context, *ApiKeysListReq) (*ApiKeysListResp, error)
	// list all Org units available for me
	ListMyOrgUnits(context.Context, *MyOrgUnitsListReq) (*MyOrgUnitsListResp, error)
	// set specific Org unit as default access on login
	// relevant only when working with multiple org units
	SetDefaultOrgUnit(context.Context, *DefaultOrgUnitReq) (*DefaultOrgUnitResp, error)
	// Get List of available regions for user to work with
	ListMyRegions(context.Context, *MyRegionsListReq) (*MyRegionsListResp, error)
	// Get List of availability zones in a given region for the user
	ListMyAzs(context.Context, *MyAzsListReq) (*MyAzsListResp, error)
	// contains filtered or unexported methods
}

MyAccountServer is the server API for MyAccount service. All implementations must embed UnimplementedMyAccountServer for forward compatibility.

type MyAzsListEntry

type MyAzsListEntry struct {

	// identifier of the availability zone
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// name of the availability zone
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*MyAzsListEntry) Descriptor deprecated

func (*MyAzsListEntry) Descriptor() ([]byte, []int)

Deprecated: Use MyAzsListEntry.ProtoReflect.Descriptor instead.

func (*MyAzsListEntry) GetId

func (x *MyAzsListEntry) GetId() string

func (*MyAzsListEntry) GetName

func (x *MyAzsListEntry) GetName() string

func (*MyAzsListEntry) ProtoMessage

func (*MyAzsListEntry) ProtoMessage()

func (*MyAzsListEntry) ProtoReflect

func (x *MyAzsListEntry) ProtoReflect() protoreflect.Message

func (*MyAzsListEntry) Reset

func (x *MyAzsListEntry) Reset()

func (*MyAzsListEntry) String

func (x *MyAzsListEntry) String() string

type MyAzsListReq

type MyAzsListReq struct {

	// region under consideration
	Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
	// contains filtered or unexported fields
}

func (*MyAzsListReq) Descriptor deprecated

func (*MyAzsListReq) Descriptor() ([]byte, []int)

Deprecated: Use MyAzsListReq.ProtoReflect.Descriptor instead.

func (*MyAzsListReq) GetRegion

func (x *MyAzsListReq) GetRegion() string

func (*MyAzsListReq) ProtoMessage

func (*MyAzsListReq) ProtoMessage()

func (*MyAzsListReq) ProtoReflect

func (x *MyAzsListReq) ProtoReflect() protoreflect.Message

func (*MyAzsListReq) Reset

func (x *MyAzsListReq) Reset()

func (*MyAzsListReq) String

func (x *MyAzsListReq) String() string

type MyAzsListResp

type MyAzsListResp struct {

	// list of available azs for the tenant
	// under a region
	Items []*MyAzsListEntry `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*MyAzsListResp) Descriptor deprecated

func (*MyAzsListResp) Descriptor() ([]byte, []int)

Deprecated: Use MyAzsListResp.ProtoReflect.Descriptor instead.

func (*MyAzsListResp) GetItems

func (x *MyAzsListResp) GetItems() []*MyAzsListEntry

func (*MyAzsListResp) ProtoMessage

func (*MyAzsListResp) ProtoMessage()

func (*MyAzsListResp) ProtoReflect

func (x *MyAzsListResp) ProtoReflect() protoreflect.Message

func (*MyAzsListResp) Reset

func (x *MyAzsListResp) Reset()

func (*MyAzsListResp) String

func (x *MyAzsListResp) String() string

type MyIdentityProviderCreateReq

type MyIdentityProviderCreateReq struct {

	// Identity provider key (unique per tenant), also used for
	// hosting SSO broker endpoint
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Display name
	DispName string `protobuf:"bytes,2,opt,name=dispName,proto3" json:"dispName,omitempty"`
	// Provider type
	Type IdentityProviderDefs_Type `protobuf:"varint,3,opt,name=type,proto3,enum=api.IdentityProviderDefs_Type" json:"type,omitempty"`
	// Whether configuration is enabled
	Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// configuration for Google Identity Provider
	Google *GoogleIDPConfig `protobuf:"bytes,5,opt,name=google,proto3" json:"google,omitempty"`
	// configuration for Microsoft Identity Provider
	Microsoft *MicrosoftIDPConfig `protobuf:"bytes,6,opt,name=microsoft,proto3" json:"microsoft,omitempty"`
	// contains filtered or unexported fields
}

Identity provider create request

func (*MyIdentityProviderCreateReq) Descriptor deprecated

func (*MyIdentityProviderCreateReq) Descriptor() ([]byte, []int)

Deprecated: Use MyIdentityProviderCreateReq.ProtoReflect.Descriptor instead.

func (*MyIdentityProviderCreateReq) GetDispName

func (x *MyIdentityProviderCreateReq) GetDispName() string

func (*MyIdentityProviderCreateReq) GetEnabled

func (x *MyIdentityProviderCreateReq) GetEnabled() bool

func (*MyIdentityProviderCreateReq) GetGoogle

func (*MyIdentityProviderCreateReq) GetKey

func (x *MyIdentityProviderCreateReq) GetKey() string

func (*MyIdentityProviderCreateReq) GetMicrosoft

func (*MyIdentityProviderCreateReq) GetType

func (*MyIdentityProviderCreateReq) ProtoMessage

func (*MyIdentityProviderCreateReq) ProtoMessage()

func (*MyIdentityProviderCreateReq) ProtoReflect

func (*MyIdentityProviderCreateReq) Reset

func (x *MyIdentityProviderCreateReq) Reset()

func (*MyIdentityProviderCreateReq) String

func (x *MyIdentityProviderCreateReq) String() string

type MyIdentityProviderCreateResp

type MyIdentityProviderCreateResp struct {
	// contains filtered or unexported fields
}

Identity provider create response

func (*MyIdentityProviderCreateResp) Descriptor deprecated

func (*MyIdentityProviderCreateResp) Descriptor() ([]byte, []int)

Deprecated: Use MyIdentityProviderCreateResp.ProtoReflect.Descriptor instead.

func (*MyIdentityProviderCreateResp) ProtoMessage

func (*MyIdentityProviderCreateResp) ProtoMessage()

func (*MyIdentityProviderCreateResp) ProtoReflect

func (*MyIdentityProviderCreateResp) Reset

func (x *MyIdentityProviderCreateResp) Reset()

func (*MyIdentityProviderCreateResp) String

type MyIdentityProviderDeleteReq

type MyIdentityProviderDeleteReq struct {

	// Identity provider key
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

Identity provider delete request

func (*MyIdentityProviderDeleteReq) Descriptor deprecated

func (*MyIdentityProviderDeleteReq) Descriptor() ([]byte, []int)

Deprecated: Use MyIdentityProviderDeleteReq.ProtoReflect.Descriptor instead.

func (*MyIdentityProviderDeleteReq) GetKey

func (x *MyIdentityProviderDeleteReq) GetKey() string

func (*MyIdentityProviderDeleteReq) ProtoMessage

func (*MyIdentityProviderDeleteReq) ProtoMessage()

func (*MyIdentityProviderDeleteReq) ProtoReflect

func (*MyIdentityProviderDeleteReq) Reset

func (x *MyIdentityProviderDeleteReq) Reset()

func (*MyIdentityProviderDeleteReq) String

func (x *MyIdentityProviderDeleteReq) String() string

type MyIdentityProviderDeleteResp

type MyIdentityProviderDeleteResp struct {
	// contains filtered or unexported fields
}

Identity provider delete response

func (*MyIdentityProviderDeleteResp) Descriptor deprecated

func (*MyIdentityProviderDeleteResp) Descriptor() ([]byte, []int)

Deprecated: Use MyIdentityProviderDeleteResp.ProtoReflect.Descriptor instead.

func (*MyIdentityProviderDeleteResp) ProtoMessage

func (*MyIdentityProviderDeleteResp) ProtoMessage()

func (*MyIdentityProviderDeleteResp) ProtoReflect

func (*MyIdentityProviderDeleteResp) Reset

func (x *MyIdentityProviderDeleteResp) Reset()

func (*MyIdentityProviderDeleteResp) String

type MyIdentityProviderGetReq

type MyIdentityProviderGetReq struct {

	// Identity provider key
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

Identity provider get request

func (*MyIdentityProviderGetReq) Descriptor deprecated

func (*MyIdentityProviderGetReq) Descriptor() ([]byte, []int)

Deprecated: Use MyIdentityProviderGetReq.ProtoReflect.Descriptor instead.

func (*MyIdentityProviderGetReq) GetKey

func (x *MyIdentityProviderGetReq) GetKey() string

func (*MyIdentityProviderGetReq) ProtoMessage

func (*MyIdentityProviderGetReq) ProtoMessage()

func (*MyIdentityProviderGetReq) ProtoReflect

func (x *MyIdentityProviderGetReq) ProtoReflect() protoreflect.Message

func (*MyIdentityProviderGetReq) Reset

func (x *MyIdentityProviderGetReq) Reset()

func (*MyIdentityProviderGetReq) String

func (x *MyIdentityProviderGetReq) String() string

type MyIdentityProviderGetResp

type MyIdentityProviderGetResp struct {

	// Identity provider key
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Display name
	DispName string `protobuf:"bytes,2,opt,name=dispName,proto3" json:"dispName,omitempty"`
	// Provider type
	Type IdentityProviderDefs_Type `protobuf:"varint,3,opt,name=type,proto3,enum=api.IdentityProviderDefs_Type" json:"type,omitempty"`
	// Whether configuration is enabled
	Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Created timestamp
	Created int64 `protobuf:"varint,5,opt,name=created,proto3" json:"created,omitempty"`
	// Created by user
	CreatedBy string `protobuf:"bytes,6,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// configuration for Google Identity Provider
	Google *GoogleIDPConfig `protobuf:"bytes,7,opt,name=google,proto3" json:"google,omitempty"`
	// configuration for Microsoft Identity Provider
	Microsoft *MicrosoftIDPConfig `protobuf:"bytes,8,opt,name=microsoft,proto3" json:"microsoft,omitempty"`
	// contains filtered or unexported fields
}

Identity provider get response

func (*MyIdentityProviderGetResp) Descriptor deprecated

func (*MyIdentityProviderGetResp) Descriptor() ([]byte, []int)

Deprecated: Use MyIdentityProviderGetResp.ProtoReflect.Descriptor instead.

func (*MyIdentityProviderGetResp) GetCreated

func (x *MyIdentityProviderGetResp) GetCreated() int64

func (*MyIdentityProviderGetResp) GetCreatedBy

func (x *MyIdentityProviderGetResp) GetCreatedBy() string

func (*MyIdentityProviderGetResp) GetDispName

func (x *MyIdentityProviderGetResp) GetDispName() string

func (*MyIdentityProviderGetResp) GetEnabled

func (x *MyIdentityProviderGetResp) GetEnabled() bool

func (*MyIdentityProviderGetResp) GetGoogle

func (*MyIdentityProviderGetResp) GetKey

func (x *MyIdentityProviderGetResp) GetKey() string

func (*MyIdentityProviderGetResp) GetMicrosoft

func (x *MyIdentityProviderGetResp) GetMicrosoft() *MicrosoftIDPConfig

func (*MyIdentityProviderGetResp) GetType

func (*MyIdentityProviderGetResp) ProtoMessage

func (*MyIdentityProviderGetResp) ProtoMessage()

func (*MyIdentityProviderGetResp) ProtoReflect

func (*MyIdentityProviderGetResp) Reset

func (x *MyIdentityProviderGetResp) Reset()

func (*MyIdentityProviderGetResp) String

func (x *MyIdentityProviderGetResp) String() string

type MyIdentityProviderUpdateReq

type MyIdentityProviderUpdateReq struct {

	// Identity provider key
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Display name
	DispName string `protobuf:"bytes,2,opt,name=dispName,proto3" json:"dispName,omitempty"`
	// Whether configuration is enabled
	Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Provider type
	Type IdentityProviderDefs_Type `protobuf:"varint,4,opt,name=type,proto3,enum=api.IdentityProviderDefs_Type" json:"type,omitempty"`
	// configuration for Google Identity Provider
	Google *GoogleIDPConfig `protobuf:"bytes,5,opt,name=google,proto3" json:"google,omitempty"`
	// configuration for Microsoft Identity Provider
	Microsoft *MicrosoftIDPConfig `protobuf:"bytes,6,opt,name=microsoft,proto3" json:"microsoft,omitempty"`
	// contains filtered or unexported fields
}

Identity provider update request

func (*MyIdentityProviderUpdateReq) Descriptor deprecated

func (*MyIdentityProviderUpdateReq) Descriptor() ([]byte, []int)

Deprecated: Use MyIdentityProviderUpdateReq.ProtoReflect.Descriptor instead.

func (*MyIdentityProviderUpdateReq) GetDispName

func (x *MyIdentityProviderUpdateReq) GetDispName() string

func (*MyIdentityProviderUpdateReq) GetEnabled

func (x *MyIdentityProviderUpdateReq) GetEnabled() bool

func (*MyIdentityProviderUpdateReq) GetGoogle

func (*MyIdentityProviderUpdateReq) GetKey

func (x *MyIdentityProviderUpdateReq) GetKey() string

func (*MyIdentityProviderUpdateReq) GetMicrosoft

func (*MyIdentityProviderUpdateReq) GetType

func (*MyIdentityProviderUpdateReq) ProtoMessage

func (*MyIdentityProviderUpdateReq) ProtoMessage()

func (*MyIdentityProviderUpdateReq) ProtoReflect

func (*MyIdentityProviderUpdateReq) Reset

func (x *MyIdentityProviderUpdateReq) Reset()

func (*MyIdentityProviderUpdateReq) String

func (x *MyIdentityProviderUpdateReq) String() string

type MyIdentityProviderUpdateResp

type MyIdentityProviderUpdateResp struct {
	// contains filtered or unexported fields
}

Identity provider update response

func (*MyIdentityProviderUpdateResp) Descriptor deprecated

func (*MyIdentityProviderUpdateResp) Descriptor() ([]byte, []int)

Deprecated: Use MyIdentityProviderUpdateResp.ProtoReflect.Descriptor instead.

func (*MyIdentityProviderUpdateResp) ProtoMessage

func (*MyIdentityProviderUpdateResp) ProtoMessage()

func (*MyIdentityProviderUpdateResp) ProtoReflect

func (*MyIdentityProviderUpdateResp) Reset

func (x *MyIdentityProviderUpdateResp) Reset()

func (*MyIdentityProviderUpdateResp) String

type MyIdentityProvidersListEntry

type MyIdentityProvidersListEntry struct {

	// Identity provider key
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Display name
	DispName string `protobuf:"bytes,2,opt,name=dispName,proto3" json:"dispName,omitempty"`
	// Provider type
	Type IdentityProviderDefs_Type `protobuf:"varint,3,opt,name=type,proto3,enum=api.IdentityProviderDefs_Type" json:"type,omitempty"`
	// Whether configuration is enabled
	Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Created timestamp
	Created int64 `protobuf:"varint,5,opt,name=created,proto3" json:"created,omitempty"`
	// Created by user
	CreatedBy string `protobuf:"bytes,6,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// contains filtered or unexported fields
}

Identity provider list entry

func (*MyIdentityProvidersListEntry) Descriptor deprecated

func (*MyIdentityProvidersListEntry) Descriptor() ([]byte, []int)

Deprecated: Use MyIdentityProvidersListEntry.ProtoReflect.Descriptor instead.

func (*MyIdentityProvidersListEntry) GetCreated

func (x *MyIdentityProvidersListEntry) GetCreated() int64

func (*MyIdentityProvidersListEntry) GetCreatedBy

func (x *MyIdentityProvidersListEntry) GetCreatedBy() string

func (*MyIdentityProvidersListEntry) GetDispName

func (x *MyIdentityProvidersListEntry) GetDispName() string

func (*MyIdentityProvidersListEntry) GetEnabled

func (x *MyIdentityProvidersListEntry) GetEnabled() bool

func (*MyIdentityProvidersListEntry) GetKey

func (*MyIdentityProvidersListEntry) GetType

func (*MyIdentityProvidersListEntry) ProtoMessage

func (*MyIdentityProvidersListEntry) ProtoMessage()

func (*MyIdentityProvidersListEntry) ProtoReflect

func (*MyIdentityProvidersListEntry) Reset

func (x *MyIdentityProvidersListEntry) Reset()

func (*MyIdentityProvidersListEntry) String

type MyIdentityProvidersListReq

type MyIdentityProvidersListReq struct {

	// Optional filter by provider type
	Type *IdentityProviderDefs_Type `protobuf:"varint,1,opt,name=type,proto3,enum=api.IdentityProviderDefs_Type,oneof" json:"type,omitempty"`
	// Optional filter by enabled status
	Enabled *bool `protobuf:"varint,2,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
	// Optional pagination limit
	Limit *int32 `protobuf:"varint,3,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
	// Optional pagination offset
	Offset *int32 `protobuf:"varint,4,opt,name=offset,proto3,oneof" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

Identity provider list request

func (*MyIdentityProvidersListReq) Descriptor deprecated

func (*MyIdentityProvidersListReq) Descriptor() ([]byte, []int)

Deprecated: Use MyIdentityProvidersListReq.ProtoReflect.Descriptor instead.

func (*MyIdentityProvidersListReq) GetEnabled

func (x *MyIdentityProvidersListReq) GetEnabled() bool

func (*MyIdentityProvidersListReq) GetLimit

func (x *MyIdentityProvidersListReq) GetLimit() int32

func (*MyIdentityProvidersListReq) GetOffset

func (x *MyIdentityProvidersListReq) GetOffset() int32

func (*MyIdentityProvidersListReq) GetType

func (*MyIdentityProvidersListReq) ProtoMessage

func (*MyIdentityProvidersListReq) ProtoMessage()

func (*MyIdentityProvidersListReq) ProtoReflect

func (*MyIdentityProvidersListReq) Reset

func (x *MyIdentityProvidersListReq) Reset()

func (*MyIdentityProvidersListReq) String

func (x *MyIdentityProvidersListReq) String() string

type MyIdentityProvidersListResp

type MyIdentityProvidersListResp struct {

	// Count of IDP available
	Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// List of identity providers
	Items []*MyIdentityProvidersListEntry `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

Identity provider instance list response

func (*MyIdentityProvidersListResp) Descriptor deprecated

func (*MyIdentityProvidersListResp) Descriptor() ([]byte, []int)

Deprecated: Use MyIdentityProvidersListResp.ProtoReflect.Descriptor instead.

func (*MyIdentityProvidersListResp) GetCount

func (x *MyIdentityProvidersListResp) GetCount() int32

func (*MyIdentityProvidersListResp) GetItems

func (*MyIdentityProvidersListResp) ProtoMessage

func (*MyIdentityProvidersListResp) ProtoMessage()

func (*MyIdentityProvidersListResp) ProtoReflect

func (*MyIdentityProvidersListResp) Reset

func (x *MyIdentityProvidersListResp) Reset()

func (*MyIdentityProvidersListResp) String

func (x *MyIdentityProvidersListResp) String() string

type MyInfoGetReq

type MyInfoGetReq struct {
	// contains filtered or unexported fields
}

func (*MyInfoGetReq) Descriptor deprecated

func (*MyInfoGetReq) Descriptor() ([]byte, []int)

Deprecated: Use MyInfoGetReq.ProtoReflect.Descriptor instead.

func (*MyInfoGetReq) ProtoMessage

func (*MyInfoGetReq) ProtoMessage()

func (*MyInfoGetReq) ProtoReflect

func (x *MyInfoGetReq) ProtoReflect() protoreflect.Message

func (*MyInfoGetReq) Reset

func (x *MyInfoGetReq) Reset()

func (*MyInfoGetReq) String

func (x *MyInfoGetReq) String() string

type MyInfoGetResp

type MyInfoGetResp struct {

	// username which is used for login
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// first name of the user
	FirstName string `protobuf:"bytes,2,opt,name=firstName,proto3" json:"firstName,omitempty"`
	// last name of the user
	LastName string `protobuf:"bytes,3,opt,name=lastName,proto3" json:"lastName,omitempty"`
	// email of the user
	Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*MyInfoGetResp) Descriptor deprecated

func (*MyInfoGetResp) Descriptor() ([]byte, []int)

Deprecated: Use MyInfoGetResp.ProtoReflect.Descriptor instead.

func (*MyInfoGetResp) GetEmail

func (x *MyInfoGetResp) GetEmail() string

func (*MyInfoGetResp) GetFirstName

func (x *MyInfoGetResp) GetFirstName() string

func (*MyInfoGetResp) GetLastName

func (x *MyInfoGetResp) GetLastName() string

func (*MyInfoGetResp) GetUsername

func (x *MyInfoGetResp) GetUsername() string

func (*MyInfoGetResp) ProtoMessage

func (*MyInfoGetResp) ProtoMessage()

func (*MyInfoGetResp) ProtoReflect

func (x *MyInfoGetResp) ProtoReflect() protoreflect.Message

func (*MyInfoGetResp) Reset

func (x *MyInfoGetResp) Reset()

func (*MyInfoGetResp) String

func (x *MyInfoGetResp) String() string

type MyOrgUnitEntry

type MyOrgUnitEntry struct {

	// org unit id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// org unit display name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*MyOrgUnitEntry) Descriptor deprecated

func (*MyOrgUnitEntry) Descriptor() ([]byte, []int)

Deprecated: Use MyOrgUnitEntry.ProtoReflect.Descriptor instead.

func (*MyOrgUnitEntry) GetId

func (x *MyOrgUnitEntry) GetId() string

func (*MyOrgUnitEntry) GetName

func (x *MyOrgUnitEntry) GetName() string

func (*MyOrgUnitEntry) ProtoMessage

func (*MyOrgUnitEntry) ProtoMessage()

func (*MyOrgUnitEntry) ProtoReflect

func (x *MyOrgUnitEntry) ProtoReflect() protoreflect.Message

func (*MyOrgUnitEntry) Reset

func (x *MyOrgUnitEntry) Reset()

func (*MyOrgUnitEntry) String

func (x *MyOrgUnitEntry) String() string

type MyOrgUnitsListReq

type MyOrgUnitsListReq struct {
	// contains filtered or unexported fields
}

func (*MyOrgUnitsListReq) Descriptor deprecated

func (*MyOrgUnitsListReq) Descriptor() ([]byte, []int)

Deprecated: Use MyOrgUnitsListReq.ProtoReflect.Descriptor instead.

func (*MyOrgUnitsListReq) ProtoMessage

func (*MyOrgUnitsListReq) ProtoMessage()

func (*MyOrgUnitsListReq) ProtoReflect

func (x *MyOrgUnitsListReq) ProtoReflect() protoreflect.Message

func (*MyOrgUnitsListReq) Reset

func (x *MyOrgUnitsListReq) Reset()

func (*MyOrgUnitsListReq) String

func (x *MyOrgUnitsListReq) String() string

type MyOrgUnitsListResp

type MyOrgUnitsListResp struct {

	// default Org Unit for the user
	Default *MyOrgUnitEntry `protobuf:"bytes,1,opt,name=default,proto3" json:"default,omitempty"`
	// list of available org units for user
	// inclusive of default Org unit
	Items []*MyOrgUnitEntry `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*MyOrgUnitsListResp) Descriptor deprecated

func (*MyOrgUnitsListResp) Descriptor() ([]byte, []int)

Deprecated: Use MyOrgUnitsListResp.ProtoReflect.Descriptor instead.

func (*MyOrgUnitsListResp) GetDefault

func (x *MyOrgUnitsListResp) GetDefault() *MyOrgUnitEntry

func (*MyOrgUnitsListResp) GetItems

func (x *MyOrgUnitsListResp) GetItems() []*MyOrgUnitEntry

func (*MyOrgUnitsListResp) ProtoMessage

func (*MyOrgUnitsListResp) ProtoMessage()

func (*MyOrgUnitsListResp) ProtoReflect

func (x *MyOrgUnitsListResp) ProtoReflect() protoreflect.Message

func (*MyOrgUnitsListResp) Reset

func (x *MyOrgUnitsListResp) Reset()

func (*MyOrgUnitsListResp) String

func (x *MyOrgUnitsListResp) String() string

type MyPasswordPolicyGetReq

type MyPasswordPolicyGetReq struct {
	// contains filtered or unexported fields
}

password policy get request

func (*MyPasswordPolicyGetReq) Descriptor deprecated

func (*MyPasswordPolicyGetReq) Descriptor() ([]byte, []int)

Deprecated: Use MyPasswordPolicyGetReq.ProtoReflect.Descriptor instead.

func (*MyPasswordPolicyGetReq) ProtoMessage

func (*MyPasswordPolicyGetReq) ProtoMessage()

func (*MyPasswordPolicyGetReq) ProtoReflect

func (x *MyPasswordPolicyGetReq) ProtoReflect() protoreflect.Message

func (*MyPasswordPolicyGetReq) Reset

func (x *MyPasswordPolicyGetReq) Reset()

func (*MyPasswordPolicyGetReq) String

func (x *MyPasswordPolicyGetReq) String() string

type MyPasswordPolicyGetResp

type MyPasswordPolicyGetResp struct {

	// minimum number of lower case characters in password
	MinLower int32 `protobuf:"varint,1,opt,name=minLower,proto3" json:"minLower,omitempty"`
	// minimum number of upper case characters in password
	MinUpper int32 `protobuf:"varint,2,opt,name=minUpper,proto3" json:"minUpper,omitempty"`
	// minimum number of digits in password
	MinDigits int32 `protobuf:"varint,3,opt,name=minDigits,proto3" json:"minDigits,omitempty"`
	// minimum number of special characters in password
	MinSpecial int32 `protobuf:"varint,4,opt,name=minSpecial,proto3" json:"minSpecial,omitempty"`
	// minimum length of password
	MinLength int32 `protobuf:"varint,5,opt,name=minLength,proto3" json:"minLength,omitempty"`
	// maximum length of password
	MaxLength int32 `protobuf:"varint,6,opt,name=maxLength,proto3" json:"maxLength,omitempty"`
	// do not allow last x recently used passwords
	RecentlyUsed int32 `protobuf:"varint,7,opt,name=recentlyUsed,proto3" json:"recentlyUsed,omitempty"`
	// do not allow password reuse before x days
	PasswordAge int32 `protobuf:"varint,8,opt,name=passwordAge,proto3" json:"passwordAge,omitempty"`
	// expire password after x days, trigger force change
	ForceExpirePasswordChange int32 `protobuf:"varint,9,opt,name=forceExpirePasswordChange,proto3" json:"forceExpirePasswordChange,omitempty"`
	// contains filtered or unexported fields
}

password policy get response

func (*MyPasswordPolicyGetResp) Descriptor deprecated

func (*MyPasswordPolicyGetResp) Descriptor() ([]byte, []int)

Deprecated: Use MyPasswordPolicyGetResp.ProtoReflect.Descriptor instead.

func (*MyPasswordPolicyGetResp) GetForceExpirePasswordChange

func (x *MyPasswordPolicyGetResp) GetForceExpirePasswordChange() int32

func (*MyPasswordPolicyGetResp) GetMaxLength

func (x *MyPasswordPolicyGetResp) GetMaxLength() int32

func (*MyPasswordPolicyGetResp) GetMinDigits

func (x *MyPasswordPolicyGetResp) GetMinDigits() int32

func (*MyPasswordPolicyGetResp) GetMinLength

func (x *MyPasswordPolicyGetResp) GetMinLength() int32

func (*MyPasswordPolicyGetResp) GetMinLower

func (x *MyPasswordPolicyGetResp) GetMinLower() int32

func (*MyPasswordPolicyGetResp) GetMinSpecial

func (x *MyPasswordPolicyGetResp) GetMinSpecial() int32

func (*MyPasswordPolicyGetResp) GetMinUpper

func (x *MyPasswordPolicyGetResp) GetMinUpper() int32

func (*MyPasswordPolicyGetResp) GetPasswordAge

func (x *MyPasswordPolicyGetResp) GetPasswordAge() int32

func (*MyPasswordPolicyGetResp) GetRecentlyUsed

func (x *MyPasswordPolicyGetResp) GetRecentlyUsed() int32

func (*MyPasswordPolicyGetResp) ProtoMessage

func (*MyPasswordPolicyGetResp) ProtoMessage()

func (*MyPasswordPolicyGetResp) ProtoReflect

func (x *MyPasswordPolicyGetResp) ProtoReflect() protoreflect.Message

func (*MyPasswordPolicyGetResp) Reset

func (x *MyPasswordPolicyGetResp) Reset()

func (*MyPasswordPolicyGetResp) String

func (x *MyPasswordPolicyGetResp) String() string

type MyPasswordPolicyUpdateReq

type MyPasswordPolicyUpdateReq struct {

	// minimum number of lower case characters in password
	MinLower int32 `protobuf:"varint,1,opt,name=minLower,proto3" json:"minLower,omitempty"`
	// minimum number of upper case characters in password
	MinUpper int32 `protobuf:"varint,2,opt,name=minUpper,proto3" json:"minUpper,omitempty"`
	// minimum number of digits in password
	MinDigits int32 `protobuf:"varint,3,opt,name=minDigits,proto3" json:"minDigits,omitempty"`
	// minimum number of special characters in password
	MinSpecial int32 `protobuf:"varint,4,opt,name=minSpecial,proto3" json:"minSpecial,omitempty"`
	// minimum length of password
	MinLength int32 `protobuf:"varint,5,opt,name=minLength,proto3" json:"minLength,omitempty"`
	// maximum length of password
	MaxLength int32 `protobuf:"varint,6,opt,name=maxLength,proto3" json:"maxLength,omitempty"`
	// do not allow last x recently used passwords
	RecentlyUsed int32 `protobuf:"varint,7,opt,name=recentlyUsed,proto3" json:"recentlyUsed,omitempty"`
	// do not allow password reuse before x days
	PasswordAge int32 `protobuf:"varint,8,opt,name=passwordAge,proto3" json:"passwordAge,omitempty"`
	// expire password after x days, trigger force change
	ForceExpirePasswordChange int32 `protobuf:"varint,9,opt,name=forceExpirePasswordChange,proto3" json:"forceExpirePasswordChange,omitempty"`
	// contains filtered or unexported fields
}

password policy update request

func (*MyPasswordPolicyUpdateReq) Descriptor deprecated

func (*MyPasswordPolicyUpdateReq) Descriptor() ([]byte, []int)

Deprecated: Use MyPasswordPolicyUpdateReq.ProtoReflect.Descriptor instead.

func (*MyPasswordPolicyUpdateReq) GetForceExpirePasswordChange

func (x *MyPasswordPolicyUpdateReq) GetForceExpirePasswordChange() int32

func (*MyPasswordPolicyUpdateReq) GetMaxLength

func (x *MyPasswordPolicyUpdateReq) GetMaxLength() int32

func (*MyPasswordPolicyUpdateReq) GetMinDigits

func (x *MyPasswordPolicyUpdateReq) GetMinDigits() int32

func (*MyPasswordPolicyUpdateReq) GetMinLength

func (x *MyPasswordPolicyUpdateReq) GetMinLength() int32

func (*MyPasswordPolicyUpdateReq) GetMinLower

func (x *MyPasswordPolicyUpdateReq) GetMinLower() int32

func (*MyPasswordPolicyUpdateReq) GetMinSpecial

func (x *MyPasswordPolicyUpdateReq) GetMinSpecial() int32

func (*MyPasswordPolicyUpdateReq) GetMinUpper

func (x *MyPasswordPolicyUpdateReq) GetMinUpper() int32

func (*MyPasswordPolicyUpdateReq) GetPasswordAge

func (x *MyPasswordPolicyUpdateReq) GetPasswordAge() int32

func (*MyPasswordPolicyUpdateReq) GetRecentlyUsed

func (x *MyPasswordPolicyUpdateReq) GetRecentlyUsed() int32

func (*MyPasswordPolicyUpdateReq) ProtoMessage

func (*MyPasswordPolicyUpdateReq) ProtoMessage()

func (*MyPasswordPolicyUpdateReq) ProtoReflect

func (*MyPasswordPolicyUpdateReq) Reset

func (x *MyPasswordPolicyUpdateReq) Reset()

func (*MyPasswordPolicyUpdateReq) String

func (x *MyPasswordPolicyUpdateReq) String() string

type MyPasswordPolicyUpdateResp

type MyPasswordPolicyUpdateResp struct {
	// contains filtered or unexported fields
}

password policy update response

func (*MyPasswordPolicyUpdateResp) Descriptor deprecated

func (*MyPasswordPolicyUpdateResp) Descriptor() ([]byte, []int)

Deprecated: Use MyPasswordPolicyUpdateResp.ProtoReflect.Descriptor instead.

func (*MyPasswordPolicyUpdateResp) ProtoMessage

func (*MyPasswordPolicyUpdateResp) ProtoMessage()

func (*MyPasswordPolicyUpdateResp) ProtoReflect

func (*MyPasswordPolicyUpdateResp) Reset

func (x *MyPasswordPolicyUpdateResp) Reset()

func (*MyPasswordPolicyUpdateResp) String

func (x *MyPasswordPolicyUpdateResp) String() string

type MyRegionsListEntry

type MyRegionsListEntry struct {

	// identifier of the region
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// name of the region typically unique for tenant
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*MyRegionsListEntry) Descriptor deprecated

func (*MyRegionsListEntry) Descriptor() ([]byte, []int)

Deprecated: Use MyRegionsListEntry.ProtoReflect.Descriptor instead.

func (*MyRegionsListEntry) GetId

func (x *MyRegionsListEntry) GetId() string

func (*MyRegionsListEntry) GetName

func (x *MyRegionsListEntry) GetName() string

func (*MyRegionsListEntry) ProtoMessage

func (*MyRegionsListEntry) ProtoMessage()

func (*MyRegionsListEntry) ProtoReflect

func (x *MyRegionsListEntry) ProtoReflect() protoreflect.Message

func (*MyRegionsListEntry) Reset

func (x *MyRegionsListEntry) Reset()

func (*MyRegionsListEntry) String

func (x *MyRegionsListEntry) String() string

type MyRegionsListReq

type MyRegionsListReq struct {
	// contains filtered or unexported fields
}

func (*MyRegionsListReq) Descriptor deprecated

func (*MyRegionsListReq) Descriptor() ([]byte, []int)

Deprecated: Use MyRegionsListReq.ProtoReflect.Descriptor instead.

func (*MyRegionsListReq) ProtoMessage

func (*MyRegionsListReq) ProtoMessage()

func (*MyRegionsListReq) ProtoReflect

func (x *MyRegionsListReq) ProtoReflect() protoreflect.Message

func (*MyRegionsListReq) Reset

func (x *MyRegionsListReq) Reset()

func (*MyRegionsListReq) String

func (x *MyRegionsListReq) String() string

type MyRegionsListResp

type MyRegionsListResp struct {

	// default region for the user
	Default *MyRegionsListEntry `protobuf:"bytes,1,opt,name=default,proto3" json:"default,omitempty"`
	// list of available regions for the tenant
	// inclusive of the set default region
	Items []*MyRegionsListEntry `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*MyRegionsListResp) Descriptor deprecated

func (*MyRegionsListResp) Descriptor() ([]byte, []int)

Deprecated: Use MyRegionsListResp.ProtoReflect.Descriptor instead.

func (*MyRegionsListResp) GetDefault

func (x *MyRegionsListResp) GetDefault() *MyRegionsListEntry

func (*MyRegionsListResp) GetItems

func (x *MyRegionsListResp) GetItems() []*MyRegionsListEntry

func (*MyRegionsListResp) ProtoMessage

func (*MyRegionsListResp) ProtoMessage()

func (*MyRegionsListResp) ProtoReflect

func (x *MyRegionsListResp) ProtoReflect() protoreflect.Message

func (*MyRegionsListResp) Reset

func (x *MyRegionsListResp) Reset()

func (*MyRegionsListResp) String

func (x *MyRegionsListResp) String() string

type MySessionInfo

type MySessionInfo struct {

	// session id
	SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	// start time
	Started int64 `protobuf:"varint,2,opt,name=started,proto3" json:"started,omitempty"`
	// last access time
	LastAccess int64 `protobuf:"varint,3,opt,name=lastAccess,proto3" json:"lastAccess,omitempty"`
	// incoming client ip
	Ip string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
	// location information based on IP (optional, omitted for private IPs)
	Loc *Location `protobuf:"bytes,5,opt,name=loc,proto3,oneof" json:"loc,omitempty"`
	// contains filtered or unexported fields
}

my session information

func (*MySessionInfo) Descriptor deprecated

func (*MySessionInfo) Descriptor() ([]byte, []int)

Deprecated: Use MySessionInfo.ProtoReflect.Descriptor instead.

func (*MySessionInfo) GetIp

func (x *MySessionInfo) GetIp() string

func (*MySessionInfo) GetLastAccess

func (x *MySessionInfo) GetLastAccess() int64

func (*MySessionInfo) GetLoc

func (x *MySessionInfo) GetLoc() *Location

func (*MySessionInfo) GetSessionId

func (x *MySessionInfo) GetSessionId() string

func (*MySessionInfo) GetStarted

func (x *MySessionInfo) GetStarted() int64

func (*MySessionInfo) ProtoMessage

func (*MySessionInfo) ProtoMessage()

func (*MySessionInfo) ProtoReflect

func (x *MySessionInfo) ProtoReflect() protoreflect.Message

func (*MySessionInfo) Reset

func (x *MySessionInfo) Reset()

func (*MySessionInfo) String

func (x *MySessionInfo) String() string

type MySessionsGetReq

type MySessionsGetReq struct {
	// contains filtered or unexported fields
}

my sessions get req

func (*MySessionsGetReq) Descriptor deprecated

func (*MySessionsGetReq) Descriptor() ([]byte, []int)

Deprecated: Use MySessionsGetReq.ProtoReflect.Descriptor instead.

func (*MySessionsGetReq) ProtoMessage

func (*MySessionsGetReq) ProtoMessage()

func (*MySessionsGetReq) ProtoReflect

func (x *MySessionsGetReq) ProtoReflect() protoreflect.Message

func (*MySessionsGetReq) Reset

func (x *MySessionsGetReq) Reset()

func (*MySessionsGetReq) String

func (x *MySessionsGetReq) String() string

type MySessionsGetResp

type MySessionsGetResp struct {
	Items []*MySessionInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

my sessions get response

func (*MySessionsGetResp) Descriptor deprecated

func (*MySessionsGetResp) Descriptor() ([]byte, []int)

Deprecated: Use MySessionsGetResp.ProtoReflect.Descriptor instead.

func (*MySessionsGetResp) GetItems

func (x *MySessionsGetResp) GetItems() []*MySessionInfo

func (*MySessionsGetResp) ProtoMessage

func (*MySessionsGetResp) ProtoMessage()

func (*MySessionsGetResp) ProtoReflect

func (x *MySessionsGetResp) ProtoReflect() protoreflect.Message

func (*MySessionsGetResp) Reset

func (x *MySessionsGetResp) Reset()

func (*MySessionsGetResp) String

func (x *MySessionsGetResp) String() string

type MySessionsLogoutReq

type MySessionsLogoutReq struct {
	SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	// contains filtered or unexported fields
}

logout session request

func (*MySessionsLogoutReq) Descriptor deprecated

func (*MySessionsLogoutReq) Descriptor() ([]byte, []int)

Deprecated: Use MySessionsLogoutReq.ProtoReflect.Descriptor instead.

func (*MySessionsLogoutReq) GetSessionId

func (x *MySessionsLogoutReq) GetSessionId() string

func (*MySessionsLogoutReq) ProtoMessage

func (*MySessionsLogoutReq) ProtoMessage()

func (*MySessionsLogoutReq) ProtoReflect

func (x *MySessionsLogoutReq) ProtoReflect() protoreflect.Message

func (*MySessionsLogoutReq) Reset

func (x *MySessionsLogoutReq) Reset()

func (*MySessionsLogoutReq) String

func (x *MySessionsLogoutReq) String() string

type MySessionsLogoutResp

type MySessionsLogoutResp struct {
	// contains filtered or unexported fields
}

session logout empty response

func (*MySessionsLogoutResp) Descriptor deprecated

func (*MySessionsLogoutResp) Descriptor() ([]byte, []int)

Deprecated: Use MySessionsLogoutResp.ProtoReflect.Descriptor instead.

func (*MySessionsLogoutResp) ProtoMessage

func (*MySessionsLogoutResp) ProtoMessage()

func (*MySessionsLogoutResp) ProtoReflect

func (x *MySessionsLogoutResp) ProtoReflect() protoreflect.Message

func (*MySessionsLogoutResp) Reset

func (x *MySessionsLogoutResp) Reset()

func (*MySessionsLogoutResp) String

func (x *MySessionsLogoutResp) String() string

type MyTenantClient

type MyTenantClient interface {
	// Get Password policy configuration
	GetMyPasswordPolicy(ctx context.Context, in *MyPasswordPolicyGetReq, opts ...grpc.CallOption) (*MyPasswordPolicyGetResp, error)
	// Update Password policy configuration
	UpdateMyPasswordPolicy(ctx context.Context, in *MyPasswordPolicyUpdateReq, opts ...grpc.CallOption) (*MyPasswordPolicyUpdateResp, error)
	// List supported identity provider types (like Keycloak providers endpoint)
	GetMyIdentityProviderTypes(ctx context.Context, in *IdentityProviderTypesGetReq, opts ...grpc.CallOption) (*IdentityProviderTypesGetResp, error)
	// Create identity provider instance (like Keycloak instances endpoint)
	CreateMyIdentityProvider(ctx context.Context, in *MyIdentityProviderCreateReq, opts ...grpc.CallOption) (*MyIdentityProviderCreateResp, error)
	// List all configured identity provider instances for the tenant
	ListMyIdentityProviders(ctx context.Context, in *MyIdentityProvidersListReq, opts ...grpc.CallOption) (*MyIdentityProvidersListResp, error)
	// Get identity provider configuration (like Keycloak instances endpoint)
	GetMyIdentityProvider(ctx context.Context, in *MyIdentityProviderGetReq, opts ...grpc.CallOption) (*MyIdentityProviderGetResp, error)
	// Update identity provider configuration (like Keycloak instances endpoint)
	UpdateMyIdentityProvider(ctx context.Context, in *MyIdentityProviderUpdateReq, opts ...grpc.CallOption) (*MyIdentityProviderUpdateResp, error)
	// Delete identity provider (like Keycloak instances endpoint)
	DeleteMyIdentityProvider(ctx context.Context, in *MyIdentityProviderDeleteReq, opts ...grpc.CallOption) (*MyIdentityProviderDeleteResp, error)
}

MyTenantClient is the client API for MyTenant service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

service provided to manage tenant configuration

func NewMyTenantClient

func NewMyTenantClient(cc grpc.ClientConnInterface) MyTenantClient

type MyTenantServer

type MyTenantServer interface {
	// Get Password policy configuration
	GetMyPasswordPolicy(context.Context, *MyPasswordPolicyGetReq) (*MyPasswordPolicyGetResp, error)
	// Update Password policy configuration
	UpdateMyPasswordPolicy(context.Context, *MyPasswordPolicyUpdateReq) (*MyPasswordPolicyUpdateResp, error)
	// List supported identity provider types (like Keycloak providers endpoint)
	GetMyIdentityProviderTypes(context.Context, *IdentityProviderTypesGetReq) (*IdentityProviderTypesGetResp, error)
	// Create identity provider instance (like Keycloak instances endpoint)
	CreateMyIdentityProvider(context.Context, *MyIdentityProviderCreateReq) (*MyIdentityProviderCreateResp, error)
	// List all configured identity provider instances for the tenant
	ListMyIdentityProviders(context.Context, *MyIdentityProvidersListReq) (*MyIdentityProvidersListResp, error)
	// Get identity provider configuration (like Keycloak instances endpoint)
	GetMyIdentityProvider(context.Context, *MyIdentityProviderGetReq) (*MyIdentityProviderGetResp, error)
	// Update identity provider configuration (like Keycloak instances endpoint)
	UpdateMyIdentityProvider(context.Context, *MyIdentityProviderUpdateReq) (*MyIdentityProviderUpdateResp, error)
	// Delete identity provider (like Keycloak instances endpoint)
	DeleteMyIdentityProvider(context.Context, *MyIdentityProviderDeleteReq) (*MyIdentityProviderDeleteResp, error)
	// contains filtered or unexported methods
}

MyTenantServer is the server API for MyTenant service. All implementations must embed UnimplementedMyTenantServer for forward compatibility.

service provided to manage tenant configuration

type OrgUnitAccessLog

type OrgUnitAccessLog struct {

	// Timestamp of the log
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// ou name
	Ou string `protobuf:"bytes,2,opt,name=ou,proto3" json:"ou,omitempty"`
	// User
	User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
	// requester IP address
	IpAddr string `protobuf:"bytes,4,opt,name=ipAddr,proto3" json:"ipAddr,omitempty"`
	// http method
	Method string `protobuf:"bytes,5,opt,name=method,proto3" json:"method,omitempty"`
	// url path
	Path string `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"`
	// HTTP status code for success/failure
	Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
	// user agent info
	UserAgent string `protobuf:"bytes,8,opt,name=userAgent,proto3" json:"userAgent,omitempty"`
	// tenant name
	Tenant string `protobuf:"bytes,9,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

func (*OrgUnitAccessLog) Descriptor deprecated

func (*OrgUnitAccessLog) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitAccessLog.ProtoReflect.Descriptor instead.

func (*OrgUnitAccessLog) GetIpAddr

func (x *OrgUnitAccessLog) GetIpAddr() string

func (*OrgUnitAccessLog) GetMethod

func (x *OrgUnitAccessLog) GetMethod() string

func (*OrgUnitAccessLog) GetOu

func (x *OrgUnitAccessLog) GetOu() string

func (*OrgUnitAccessLog) GetPath

func (x *OrgUnitAccessLog) GetPath() string

func (*OrgUnitAccessLog) GetStatus

func (x *OrgUnitAccessLog) GetStatus() string

func (*OrgUnitAccessLog) GetTenant

func (x *OrgUnitAccessLog) GetTenant() string

func (*OrgUnitAccessLog) GetTimestamp

func (x *OrgUnitAccessLog) GetTimestamp() int64

func (*OrgUnitAccessLog) GetUser

func (x *OrgUnitAccessLog) GetUser() string

func (*OrgUnitAccessLog) GetUserAgent

func (x *OrgUnitAccessLog) GetUserAgent() string

func (*OrgUnitAccessLog) ProtoMessage

func (*OrgUnitAccessLog) ProtoMessage()

func (*OrgUnitAccessLog) ProtoReflect

func (x *OrgUnitAccessLog) ProtoReflect() protoreflect.Message

func (*OrgUnitAccessLog) Reset

func (x *OrgUnitAccessLog) Reset()

func (*OrgUnitAccessLog) String

func (x *OrgUnitAccessLog) String() string

type OrgUnitAccessLogsGetReq

type OrgUnitAccessLogsGetReq struct {

	// org unit id under consideration
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// start timestamp
	Start int64 `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
	// end timestamp
	End int64 `protobuf:"varint,3,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*OrgUnitAccessLogsGetReq) Descriptor deprecated

func (*OrgUnitAccessLogsGetReq) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitAccessLogsGetReq.ProtoReflect.Descriptor instead.

func (*OrgUnitAccessLogsGetReq) GetEnd

func (x *OrgUnitAccessLogsGetReq) GetEnd() int64

func (*OrgUnitAccessLogsGetReq) GetId

func (x *OrgUnitAccessLogsGetReq) GetId() string

func (*OrgUnitAccessLogsGetReq) GetStart

func (x *OrgUnitAccessLogsGetReq) GetStart() int64

func (*OrgUnitAccessLogsGetReq) ProtoMessage

func (*OrgUnitAccessLogsGetReq) ProtoMessage()

func (*OrgUnitAccessLogsGetReq) ProtoReflect

func (x *OrgUnitAccessLogsGetReq) ProtoReflect() protoreflect.Message

func (*OrgUnitAccessLogsGetReq) Reset

func (x *OrgUnitAccessLogsGetReq) Reset()

func (*OrgUnitAccessLogsGetReq) String

func (x *OrgUnitAccessLogsGetReq) String() string

type OrgUnitAccessLogsGetResp

type OrgUnitAccessLogsGetResp struct {

	// list of access log
	Items []*OrgUnitAccessLog `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*OrgUnitAccessLogsGetResp) Descriptor deprecated

func (*OrgUnitAccessLogsGetResp) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitAccessLogsGetResp.ProtoReflect.Descriptor instead.

func (*OrgUnitAccessLogsGetResp) GetItems

func (x *OrgUnitAccessLogsGetResp) GetItems() []*OrgUnitAccessLog

func (*OrgUnitAccessLogsGetResp) ProtoMessage

func (*OrgUnitAccessLogsGetResp) ProtoMessage()

func (*OrgUnitAccessLogsGetResp) ProtoReflect

func (x *OrgUnitAccessLogsGetResp) ProtoReflect() protoreflect.Message

func (*OrgUnitAccessLogsGetResp) Reset

func (x *OrgUnitAccessLogsGetResp) Reset()

func (*OrgUnitAccessLogsGetResp) String

func (x *OrgUnitAccessLogsGetResp) String() string

type OrgUnitClient

type OrgUnitClient interface {
	// Get List of existing org units in my tenant
	ListOrgUnits(ctx context.Context, in *OrgUnitsListReq, opts ...grpc.CallOption) (*OrgUnitsListResp, error)
	// Create new org unit for my tenant
	CreateOrgUnit(ctx context.Context, in *OrgUnitCreateReq, opts ...grpc.CallOption) (*OrgUnitCreateResp, error)
	// Update an existing org unit for my tenant
	UpdateOrgUnit(ctx context.Context, in *OrgUnitUpdateReq, opts ...grpc.CallOption) (*OrgUnitUpdateResp, error)
	// get an existing org unit for my tenant
	GetOrgUnit(ctx context.Context, in *OrgUnitGetReq, opts ...grpc.CallOption) (*OrgUnitGetResp, error)
	// delete an existing org unit for my tenant
	DeleteOrgUnit(ctx context.Context, in *OrgUnitDeleteReq, opts ...grpc.CallOption) (*OrgUnitDeleteResp, error)
	// get Access logs for org unit for my tenant
	GetOrgUnitAccessLogs(ctx context.Context, in *OrgUnitAccessLogsGetReq, opts ...grpc.CallOption) (*OrgUnitAccessLogsGetResp, error)
}

OrgUnitClient is the client API for OrgUnit service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Service provided to manage orgunits for user/tenant

func NewOrgUnitClient

func NewOrgUnitClient(cc grpc.ClientConnInterface) OrgUnitClient

type OrgUnitCreateReq

type OrgUnitCreateReq struct {

	// display name for the org unit
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// org unit description
	Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
	// contains filtered or unexported fields
}

request for creation of new org unit

func (*OrgUnitCreateReq) Descriptor deprecated

func (*OrgUnitCreateReq) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitCreateReq.ProtoReflect.Descriptor instead.

func (*OrgUnitCreateReq) GetDesc

func (x *OrgUnitCreateReq) GetDesc() string

func (*OrgUnitCreateReq) GetName

func (x *OrgUnitCreateReq) GetName() string

func (*OrgUnitCreateReq) ProtoMessage

func (*OrgUnitCreateReq) ProtoMessage()

func (*OrgUnitCreateReq) ProtoReflect

func (x *OrgUnitCreateReq) ProtoReflect() protoreflect.Message

func (*OrgUnitCreateReq) Reset

func (x *OrgUnitCreateReq) Reset()

func (*OrgUnitCreateReq) String

func (x *OrgUnitCreateReq) String() string

type OrgUnitCreateResp

type OrgUnitCreateResp struct {

	// id of the org unit created
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

response for creation of new org unit

func (*OrgUnitCreateResp) Descriptor deprecated

func (*OrgUnitCreateResp) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitCreateResp.ProtoReflect.Descriptor instead.

func (*OrgUnitCreateResp) GetId

func (x *OrgUnitCreateResp) GetId() string

func (*OrgUnitCreateResp) ProtoMessage

func (*OrgUnitCreateResp) ProtoMessage()

func (*OrgUnitCreateResp) ProtoReflect

func (x *OrgUnitCreateResp) ProtoReflect() protoreflect.Message

func (*OrgUnitCreateResp) Reset

func (x *OrgUnitCreateResp) Reset()

func (*OrgUnitCreateResp) String

func (x *OrgUnitCreateResp) String() string

type OrgUnitDeleteReq

type OrgUnitDeleteReq struct {

	// org unit id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

delete org unit req

func (*OrgUnitDeleteReq) Descriptor deprecated

func (*OrgUnitDeleteReq) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitDeleteReq.ProtoReflect.Descriptor instead.

func (*OrgUnitDeleteReq) GetId

func (x *OrgUnitDeleteReq) GetId() string

func (*OrgUnitDeleteReq) ProtoMessage

func (*OrgUnitDeleteReq) ProtoMessage()

func (*OrgUnitDeleteReq) ProtoReflect

func (x *OrgUnitDeleteReq) ProtoReflect() protoreflect.Message

func (*OrgUnitDeleteReq) Reset

func (x *OrgUnitDeleteReq) Reset()

func (*OrgUnitDeleteReq) String

func (x *OrgUnitDeleteReq) String() string

type OrgUnitDeleteResp

type OrgUnitDeleteResp struct {
	// contains filtered or unexported fields
}

func (*OrgUnitDeleteResp) Descriptor deprecated

func (*OrgUnitDeleteResp) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitDeleteResp.ProtoReflect.Descriptor instead.

func (*OrgUnitDeleteResp) ProtoMessage

func (*OrgUnitDeleteResp) ProtoMessage()

func (*OrgUnitDeleteResp) ProtoReflect

func (x *OrgUnitDeleteResp) ProtoReflect() protoreflect.Message

func (*OrgUnitDeleteResp) Reset

func (x *OrgUnitDeleteResp) Reset()

func (*OrgUnitDeleteResp) String

func (x *OrgUnitDeleteResp) String() string

type OrgUnitGetReq

type OrgUnitGetReq struct {

	// id of the org unit
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

org unit get request

func (*OrgUnitGetReq) Descriptor deprecated

func (*OrgUnitGetReq) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitGetReq.ProtoReflect.Descriptor instead.

func (*OrgUnitGetReq) GetId

func (x *OrgUnitGetReq) GetId() string

func (*OrgUnitGetReq) ProtoMessage

func (*OrgUnitGetReq) ProtoMessage()

func (*OrgUnitGetReq) ProtoReflect

func (x *OrgUnitGetReq) ProtoReflect() protoreflect.Message

func (*OrgUnitGetReq) Reset

func (x *OrgUnitGetReq) Reset()

func (*OrgUnitGetReq) String

func (x *OrgUnitGetReq) String() string

type OrgUnitGetResp

type OrgUnitGetResp struct {

	// org unit id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// org unit display name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// org unit description
	Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	// created by
	CreatedBy string `protobuf:"bytes,4,opt,name=createdBy,proto3" json:"createdBy,omitempty"`
	// create time
	Created int64 `protobuf:"varint,5,opt,name=created,proto3" json:"created,omitempty"`
	// contains filtered or unexported fields
}

func (*OrgUnitGetResp) Descriptor deprecated

func (*OrgUnitGetResp) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitGetResp.ProtoReflect.Descriptor instead.

func (*OrgUnitGetResp) GetCreated

func (x *OrgUnitGetResp) GetCreated() int64

func (*OrgUnitGetResp) GetCreatedBy

func (x *OrgUnitGetResp) GetCreatedBy() string

func (*OrgUnitGetResp) GetDesc

func (x *OrgUnitGetResp) GetDesc() string

func (*OrgUnitGetResp) GetId

func (x *OrgUnitGetResp) GetId() string

func (*OrgUnitGetResp) GetName

func (x *OrgUnitGetResp) GetName() string

func (*OrgUnitGetResp) ProtoMessage

func (*OrgUnitGetResp) ProtoMessage()

func (*OrgUnitGetResp) ProtoReflect

func (x *OrgUnitGetResp) ProtoReflect() protoreflect.Message

func (*OrgUnitGetResp) Reset

func (x *OrgUnitGetResp) Reset()

func (*OrgUnitGetResp) String

func (x *OrgUnitGetResp) String() string

type OrgUnitRoleClient

type OrgUnitRoleClient interface {
	// Get List of available org unit roles (both built-in and custom), for specific organisation
	ListOrgUnitRoles(ctx context.Context, in *OrgUnitRolesListReq, opts ...grpc.CallOption) (*OrgUnitRolesListResp, error)
	// Create a new custom role for the organization unit
	CreateCustomRole(ctx context.Context, in *CreateCustomRoleReq, opts ...grpc.CallOption) (*CreateCustomRoleResp, error)
	// Update an existing custom role for the organization unit
	UpdateCustomRole(ctx context.Context, in *UpdateCustomRoleReq, opts ...grpc.CallOption) (*UpdateCustomRoleResp, error)
	// Get details of a specific custom role
	GetCustomRole(ctx context.Context, in *GetCustomRoleReq, opts ...grpc.CallOption) (*GetCustomRoleResp, error)
	// Delete (soft delete) a custom role from the organization unit
	DeleteCustomRole(ctx context.Context, in *DeleteCustomRoleReq, opts ...grpc.CallOption) (*DeleteCustomRoleResp, error)
}

OrgUnitRoleClient is the client API for OrgUnitRole service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Service provided to manage org unit roles

type OrgUnitRoleServer

type OrgUnitRoleServer interface {
	// Get List of available org unit roles (both built-in and custom), for specific organisation
	ListOrgUnitRoles(context.Context, *OrgUnitRolesListReq) (*OrgUnitRolesListResp, error)
	// Create a new custom role for the organization unit
	CreateCustomRole(context.Context, *CreateCustomRoleReq) (*CreateCustomRoleResp, error)
	// Update an existing custom role for the organization unit
	UpdateCustomRole(context.Context, *UpdateCustomRoleReq) (*UpdateCustomRoleResp, error)
	// Get details of a specific custom role
	GetCustomRole(context.Context, *GetCustomRoleReq) (*GetCustomRoleResp, error)
	// Delete (soft delete) a custom role from the organization unit
	DeleteCustomRole(context.Context, *DeleteCustomRoleReq) (*DeleteCustomRoleResp, error)
	// contains filtered or unexported methods
}

OrgUnitRoleServer is the server API for OrgUnitRole service. All implementations must embed UnimplementedOrgUnitRoleServer for forward compatibility.

Service provided to manage org unit roles

type OrgUnitRolesListEntry

type OrgUnitRolesListEntry struct {

	// role name, unique in an Org Unit
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// role description, provding details about the role
	Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
	// role type: "built-in" for system roles (admin, auditor) or "custom" for user-defined roles
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// creation timestamp for custom roles (only applicable for custom roles)
	Created int64 `protobuf:"varint,4,opt,name=created,proto3" json:"created,omitempty"`
	// user who created the role for custom roles (only applicable for custom roles)
	CreatedBy string `protobuf:"bytes,5,opt,name=createdBy,proto3" json:"createdBy,omitempty"`
	// contains filtered or unexported fields
}

func (*OrgUnitRolesListEntry) Descriptor deprecated

func (*OrgUnitRolesListEntry) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitRolesListEntry.ProtoReflect.Descriptor instead.

func (*OrgUnitRolesListEntry) GetCreated

func (x *OrgUnitRolesListEntry) GetCreated() int64

func (*OrgUnitRolesListEntry) GetCreatedBy

func (x *OrgUnitRolesListEntry) GetCreatedBy() string

func (*OrgUnitRolesListEntry) GetDesc

func (x *OrgUnitRolesListEntry) GetDesc() string

func (*OrgUnitRolesListEntry) GetName

func (x *OrgUnitRolesListEntry) GetName() string

func (*OrgUnitRolesListEntry) GetType

func (x *OrgUnitRolesListEntry) GetType() string

func (*OrgUnitRolesListEntry) ProtoMessage

func (*OrgUnitRolesListEntry) ProtoMessage()

func (*OrgUnitRolesListEntry) ProtoReflect

func (x *OrgUnitRolesListEntry) ProtoReflect() protoreflect.Message

func (*OrgUnitRolesListEntry) Reset

func (x *OrgUnitRolesListEntry) Reset()

func (*OrgUnitRolesListEntry) String

func (x *OrgUnitRolesListEntry) String() string

type OrgUnitRolesListReq

type OrgUnitRolesListReq struct {

	// org unit under consideration
	Ou string `protobuf:"bytes,1,opt,name=ou,proto3" json:"ou,omitempty"`
	// contains filtered or unexported fields
}

org unit roles list request

func (*OrgUnitRolesListReq) Descriptor deprecated

func (*OrgUnitRolesListReq) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitRolesListReq.ProtoReflect.Descriptor instead.

func (*OrgUnitRolesListReq) GetOu

func (x *OrgUnitRolesListReq) GetOu() string

func (*OrgUnitRolesListReq) ProtoMessage

func (*OrgUnitRolesListReq) ProtoMessage()

func (*OrgUnitRolesListReq) ProtoReflect

func (x *OrgUnitRolesListReq) ProtoReflect() protoreflect.Message

func (*OrgUnitRolesListReq) Reset

func (x *OrgUnitRolesListReq) Reset()

func (*OrgUnitRolesListReq) String

func (x *OrgUnitRolesListReq) String() string

type OrgUnitRolesListResp

type OrgUnitRolesListResp struct {

	// list of roles available as part of the response
	Items []*OrgUnitRolesListEntry `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

org unit roles list response - includes both built-in and custom roles

func (*OrgUnitRolesListResp) Descriptor deprecated

func (*OrgUnitRolesListResp) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitRolesListResp.ProtoReflect.Descriptor instead.

func (*OrgUnitRolesListResp) GetItems

func (*OrgUnitRolesListResp) ProtoMessage

func (*OrgUnitRolesListResp) ProtoMessage()

func (*OrgUnitRolesListResp) ProtoReflect

func (x *OrgUnitRolesListResp) ProtoReflect() protoreflect.Message

func (*OrgUnitRolesListResp) Reset

func (x *OrgUnitRolesListResp) Reset()

func (*OrgUnitRolesListResp) String

func (x *OrgUnitRolesListResp) String() string

type OrgUnitServer

type OrgUnitServer interface {
	// Get List of existing org units in my tenant
	ListOrgUnits(context.Context, *OrgUnitsListReq) (*OrgUnitsListResp, error)
	// Create new org unit for my tenant
	CreateOrgUnit(context.Context, *OrgUnitCreateReq) (*OrgUnitCreateResp, error)
	// Update an existing org unit for my tenant
	UpdateOrgUnit(context.Context, *OrgUnitUpdateReq) (*OrgUnitUpdateResp, error)
	// get an existing org unit for my tenant
	GetOrgUnit(context.Context, *OrgUnitGetReq) (*OrgUnitGetResp, error)
	// delete an existing org unit for my tenant
	DeleteOrgUnit(context.Context, *OrgUnitDeleteReq) (*OrgUnitDeleteResp, error)
	// get Access logs for org unit for my tenant
	GetOrgUnitAccessLogs(context.Context, *OrgUnitAccessLogsGetReq) (*OrgUnitAccessLogsGetResp, error)
	// contains filtered or unexported methods
}

OrgUnitServer is the server API for OrgUnit service. All implementations must embed UnimplementedOrgUnitServer for forward compatibility.

Service provided to manage orgunits for user/tenant

type OrgUnitUpdateReq

type OrgUnitUpdateReq struct {

	// id of the org unit
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// display name for the org unit
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// org unit description
	Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	// contains filtered or unexported fields
}

request for update of an existing org unit

func (*OrgUnitUpdateReq) Descriptor deprecated

func (*OrgUnitUpdateReq) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitUpdateReq.ProtoReflect.Descriptor instead.

func (*OrgUnitUpdateReq) GetDesc

func (x *OrgUnitUpdateReq) GetDesc() string

func (*OrgUnitUpdateReq) GetId

func (x *OrgUnitUpdateReq) GetId() string

func (*OrgUnitUpdateReq) GetName

func (x *OrgUnitUpdateReq) GetName() string

func (*OrgUnitUpdateReq) ProtoMessage

func (*OrgUnitUpdateReq) ProtoMessage()

func (*OrgUnitUpdateReq) ProtoReflect

func (x *OrgUnitUpdateReq) ProtoReflect() protoreflect.Message

func (*OrgUnitUpdateReq) Reset

func (x *OrgUnitUpdateReq) Reset()

func (*OrgUnitUpdateReq) String

func (x *OrgUnitUpdateReq) String() string

type OrgUnitUpdateResp

type OrgUnitUpdateResp struct {
	// contains filtered or unexported fields
}

func (*OrgUnitUpdateResp) Descriptor deprecated

func (*OrgUnitUpdateResp) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitUpdateResp.ProtoReflect.Descriptor instead.

func (*OrgUnitUpdateResp) ProtoMessage

func (*OrgUnitUpdateResp) ProtoMessage()

func (*OrgUnitUpdateResp) ProtoReflect

func (x *OrgUnitUpdateResp) ProtoReflect() protoreflect.Message

func (*OrgUnitUpdateResp) Reset

func (x *OrgUnitUpdateResp) Reset()

func (*OrgUnitUpdateResp) String

func (x *OrgUnitUpdateResp) String() string

type OrgUnitUserAddReq

type OrgUnitUserAddReq struct {

	// org unit under consideration
	Ou string `protobuf:"bytes,1,opt,name=ou,proto3" json:"ou,omitempty"`
	// user name
	User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// org unit role
	Role string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

org unit user role add request

func (*OrgUnitUserAddReq) Descriptor deprecated

func (*OrgUnitUserAddReq) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitUserAddReq.ProtoReflect.Descriptor instead.

func (*OrgUnitUserAddReq) GetOu

func (x *OrgUnitUserAddReq) GetOu() string

func (*OrgUnitUserAddReq) GetRole

func (x *OrgUnitUserAddReq) GetRole() string

func (*OrgUnitUserAddReq) GetUser

func (x *OrgUnitUserAddReq) GetUser() string

func (*OrgUnitUserAddReq) ProtoMessage

func (*OrgUnitUserAddReq) ProtoMessage()

func (*OrgUnitUserAddReq) ProtoReflect

func (x *OrgUnitUserAddReq) ProtoReflect() protoreflect.Message

func (*OrgUnitUserAddReq) Reset

func (x *OrgUnitUserAddReq) Reset()

func (*OrgUnitUserAddReq) String

func (x *OrgUnitUserAddReq) String() string

type OrgUnitUserAddResp

type OrgUnitUserAddResp struct {
	// contains filtered or unexported fields
}

org unit user role add response

func (*OrgUnitUserAddResp) Descriptor deprecated

func (*OrgUnitUserAddResp) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitUserAddResp.ProtoReflect.Descriptor instead.

func (*OrgUnitUserAddResp) ProtoMessage

func (*OrgUnitUserAddResp) ProtoMessage()

func (*OrgUnitUserAddResp) ProtoReflect

func (x *OrgUnitUserAddResp) ProtoReflect() protoreflect.Message

func (*OrgUnitUserAddResp) Reset

func (x *OrgUnitUserAddResp) Reset()

func (*OrgUnitUserAddResp) String

func (x *OrgUnitUserAddResp) String() string

type OrgUnitUserClient

type OrgUnitUserClient interface {
	// Get List of available org unit users
	ListOrgUnitUsers(ctx context.Context, in *OrgUnitUsersListReq, opts ...grpc.CallOption) (*OrgUnitUsersListResp, error)
	// Add user to the org unit
	AddOrgUnitUser(ctx context.Context, in *OrgUnitUserAddReq, opts ...grpc.CallOption) (*OrgUnitUserAddResp, error)
	// Update user role to the org unit
	UpdateOrgUnitUser(ctx context.Context, in *OrgUnitUserUpdateReq, opts ...grpc.CallOption) (*OrgUnitUserUpdateResp, error)
	// delete user role to the org unit
	DeleteOrgUnitUser(ctx context.Context, in *OrgUnitUserDeleteReq, opts ...grpc.CallOption) (*OrgUnitUserDeleteResp, error)
}

OrgUnitUserClient is the client API for OrgUnitUser service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Service provided to manage org unit users

type OrgUnitUserDeleteReq

type OrgUnitUserDeleteReq struct {

	// org unit under consideration
	Ou string `protobuf:"bytes,1,opt,name=ou,proto3" json:"ou,omitempty"`
	// username to delete
	User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

org unit delete req

func (*OrgUnitUserDeleteReq) Descriptor deprecated

func (*OrgUnitUserDeleteReq) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitUserDeleteReq.ProtoReflect.Descriptor instead.

func (*OrgUnitUserDeleteReq) GetOu

func (x *OrgUnitUserDeleteReq) GetOu() string

func (*OrgUnitUserDeleteReq) GetUser

func (x *OrgUnitUserDeleteReq) GetUser() string

func (*OrgUnitUserDeleteReq) ProtoMessage

func (*OrgUnitUserDeleteReq) ProtoMessage()

func (*OrgUnitUserDeleteReq) ProtoReflect

func (x *OrgUnitUserDeleteReq) ProtoReflect() protoreflect.Message

func (*OrgUnitUserDeleteReq) Reset

func (x *OrgUnitUserDeleteReq) Reset()

func (*OrgUnitUserDeleteReq) String

func (x *OrgUnitUserDeleteReq) String() string

type OrgUnitUserDeleteResp

type OrgUnitUserDeleteResp struct {
	// contains filtered or unexported fields
}

org unit user role delete response

func (*OrgUnitUserDeleteResp) Descriptor deprecated

func (*OrgUnitUserDeleteResp) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitUserDeleteResp.ProtoReflect.Descriptor instead.

func (*OrgUnitUserDeleteResp) ProtoMessage

func (*OrgUnitUserDeleteResp) ProtoMessage()

func (*OrgUnitUserDeleteResp) ProtoReflect

func (x *OrgUnitUserDeleteResp) ProtoReflect() protoreflect.Message

func (*OrgUnitUserDeleteResp) Reset

func (x *OrgUnitUserDeleteResp) Reset()

func (*OrgUnitUserDeleteResp) String

func (x *OrgUnitUserDeleteResp) String() string

type OrgUnitUserListEntry

type OrgUnitUserListEntry struct {

	// username
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// first name of the user
	Firstname string `protobuf:"bytes,2,opt,name=firstname,proto3" json:"firstname,omitempty"`
	// last name of the user
	Lastname string `protobuf:"bytes,3,opt,name=lastname,proto3" json:"lastname,omitempty"`
	// role associated with the user
	Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

Org unit user list entry

func (*OrgUnitUserListEntry) Descriptor deprecated

func (*OrgUnitUserListEntry) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitUserListEntry.ProtoReflect.Descriptor instead.

func (*OrgUnitUserListEntry) GetFirstname

func (x *OrgUnitUserListEntry) GetFirstname() string

func (*OrgUnitUserListEntry) GetLastname

func (x *OrgUnitUserListEntry) GetLastname() string

func (*OrgUnitUserListEntry) GetRole

func (x *OrgUnitUserListEntry) GetRole() string

func (*OrgUnitUserListEntry) GetUsername

func (x *OrgUnitUserListEntry) GetUsername() string

func (*OrgUnitUserListEntry) ProtoMessage

func (*OrgUnitUserListEntry) ProtoMessage()

func (*OrgUnitUserListEntry) ProtoReflect

func (x *OrgUnitUserListEntry) ProtoReflect() protoreflect.Message

func (*OrgUnitUserListEntry) Reset

func (x *OrgUnitUserListEntry) Reset()

func (*OrgUnitUserListEntry) String

func (x *OrgUnitUserListEntry) String() string

type OrgUnitUserServer

type OrgUnitUserServer interface {
	// Get List of available org unit users
	ListOrgUnitUsers(context.Context, *OrgUnitUsersListReq) (*OrgUnitUsersListResp, error)
	// Add user to the org unit
	AddOrgUnitUser(context.Context, *OrgUnitUserAddReq) (*OrgUnitUserAddResp, error)
	// Update user role to the org unit
	UpdateOrgUnitUser(context.Context, *OrgUnitUserUpdateReq) (*OrgUnitUserUpdateResp, error)
	// delete user role to the org unit
	DeleteOrgUnitUser(context.Context, *OrgUnitUserDeleteReq) (*OrgUnitUserDeleteResp, error)
	// contains filtered or unexported methods
}

OrgUnitUserServer is the server API for OrgUnitUser service. All implementations must embed UnimplementedOrgUnitUserServer for forward compatibility.

Service provided to manage org unit users

type OrgUnitUserUpdateReq

type OrgUnitUserUpdateReq struct {

	// org unit under consideration
	Ou string `protobuf:"bytes,1,opt,name=ou,proto3" json:"ou,omitempty"`
	// user name
	User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// org unit role
	Role string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

org unit user role update request

func (*OrgUnitUserUpdateReq) Descriptor deprecated

func (*OrgUnitUserUpdateReq) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitUserUpdateReq.ProtoReflect.Descriptor instead.

func (*OrgUnitUserUpdateReq) GetOu

func (x *OrgUnitUserUpdateReq) GetOu() string

func (*OrgUnitUserUpdateReq) GetRole

func (x *OrgUnitUserUpdateReq) GetRole() string

func (*OrgUnitUserUpdateReq) GetUser

func (x *OrgUnitUserUpdateReq) GetUser() string

func (*OrgUnitUserUpdateReq) ProtoMessage

func (*OrgUnitUserUpdateReq) ProtoMessage()

func (*OrgUnitUserUpdateReq) ProtoReflect

func (x *OrgUnitUserUpdateReq) ProtoReflect() protoreflect.Message

func (*OrgUnitUserUpdateReq) Reset

func (x *OrgUnitUserUpdateReq) Reset()

func (*OrgUnitUserUpdateReq) String

func (x *OrgUnitUserUpdateReq) String() string

type OrgUnitUserUpdateResp

type OrgUnitUserUpdateResp struct {
	// contains filtered or unexported fields
}

org unit user role update response

func (*OrgUnitUserUpdateResp) Descriptor deprecated

func (*OrgUnitUserUpdateResp) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitUserUpdateResp.ProtoReflect.Descriptor instead.

func (*OrgUnitUserUpdateResp) ProtoMessage

func (*OrgUnitUserUpdateResp) ProtoMessage()

func (*OrgUnitUserUpdateResp) ProtoReflect

func (x *OrgUnitUserUpdateResp) ProtoReflect() protoreflect.Message

func (*OrgUnitUserUpdateResp) Reset

func (x *OrgUnitUserUpdateResp) Reset()

func (*OrgUnitUserUpdateResp) String

func (x *OrgUnitUserUpdateResp) String() string

type OrgUnitUsersListReq

type OrgUnitUsersListReq struct {

	// org unit under consideration
	Ou string `protobuf:"bytes,1,opt,name=ou,proto3" json:"ou,omitempty"`
	// offset to start from
	Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// limit the number of entries in the response
	Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

org unit users list request

func (*OrgUnitUsersListReq) Descriptor deprecated

func (*OrgUnitUsersListReq) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitUsersListReq.ProtoReflect.Descriptor instead.

func (*OrgUnitUsersListReq) GetLimit

func (x *OrgUnitUsersListReq) GetLimit() int32

func (*OrgUnitUsersListReq) GetOffset

func (x *OrgUnitUsersListReq) GetOffset() int32

func (*OrgUnitUsersListReq) GetOu

func (x *OrgUnitUsersListReq) GetOu() string

func (*OrgUnitUsersListReq) ProtoMessage

func (*OrgUnitUsersListReq) ProtoMessage()

func (*OrgUnitUsersListReq) ProtoReflect

func (x *OrgUnitUsersListReq) ProtoReflect() protoreflect.Message

func (*OrgUnitUsersListReq) Reset

func (x *OrgUnitUsersListReq) Reset()

func (*OrgUnitUsersListReq) String

func (x *OrgUnitUsersListReq) String() string

type OrgUnitUsersListResp

type OrgUnitUsersListResp struct {

	// count of the users in the ou
	Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// list of users as part of current response
	Items []*OrgUnitUserListEntry `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

response to the list org unit users request

func (*OrgUnitUsersListResp) Descriptor deprecated

func (*OrgUnitUsersListResp) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitUsersListResp.ProtoReflect.Descriptor instead.

func (*OrgUnitUsersListResp) GetCount

func (x *OrgUnitUsersListResp) GetCount() int32

func (*OrgUnitUsersListResp) GetItems

func (x *OrgUnitUsersListResp) GetItems() []*OrgUnitUserListEntry

func (*OrgUnitUsersListResp) ProtoMessage

func (*OrgUnitUsersListResp) ProtoMessage()

func (*OrgUnitUsersListResp) ProtoReflect

func (x *OrgUnitUsersListResp) ProtoReflect() protoreflect.Message

func (*OrgUnitUsersListResp) Reset

func (x *OrgUnitUsersListResp) Reset()

func (*OrgUnitUsersListResp) String

func (x *OrgUnitUsersListResp) String() string

type OrgUnitsListEntry

type OrgUnitsListEntry struct {

	// org unit id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// org unit display name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// org unit description
	Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	// created by
	CreatedBy string `protobuf:"bytes,4,opt,name=createdBy,proto3" json:"createdBy,omitempty"`
	// create time
	Created int64 `protobuf:"varint,5,opt,name=created,proto3" json:"created,omitempty"`
	// contains filtered or unexported fields
}

func (*OrgUnitsListEntry) Descriptor deprecated

func (*OrgUnitsListEntry) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitsListEntry.ProtoReflect.Descriptor instead.

func (*OrgUnitsListEntry) GetCreated

func (x *OrgUnitsListEntry) GetCreated() int64

func (*OrgUnitsListEntry) GetCreatedBy

func (x *OrgUnitsListEntry) GetCreatedBy() string

func (*OrgUnitsListEntry) GetDesc

func (x *OrgUnitsListEntry) GetDesc() string

func (*OrgUnitsListEntry) GetId

func (x *OrgUnitsListEntry) GetId() string

func (*OrgUnitsListEntry) GetName

func (x *OrgUnitsListEntry) GetName() string

func (*OrgUnitsListEntry) ProtoMessage

func (*OrgUnitsListEntry) ProtoMessage()

func (*OrgUnitsListEntry) ProtoReflect

func (x *OrgUnitsListEntry) ProtoReflect() protoreflect.Message

func (*OrgUnitsListEntry) Reset

func (x *OrgUnitsListEntry) Reset()

func (*OrgUnitsListEntry) String

func (x *OrgUnitsListEntry) String() string

type OrgUnitsListReq

type OrgUnitsListReq struct {

	// offset from where to start the list of org units
	Offset int32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	// limit the response to specified count
	Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

list org units for my tenant typically available only for tenant admin

func (*OrgUnitsListReq) Descriptor deprecated

func (*OrgUnitsListReq) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitsListReq.ProtoReflect.Descriptor instead.

func (*OrgUnitsListReq) GetLimit

func (x *OrgUnitsListReq) GetLimit() int32

func (*OrgUnitsListReq) GetOffset

func (x *OrgUnitsListReq) GetOffset() int32

func (*OrgUnitsListReq) ProtoMessage

func (*OrgUnitsListReq) ProtoMessage()

func (*OrgUnitsListReq) ProtoReflect

func (x *OrgUnitsListReq) ProtoReflect() protoreflect.Message

func (*OrgUnitsListReq) Reset

func (x *OrgUnitsListReq) Reset()

func (*OrgUnitsListReq) String

func (x *OrgUnitsListReq) String() string

type OrgUnitsListResp

type OrgUnitsListResp struct {

	// count of Org units available
	Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// list of org unit info in response
	Items []*OrgUnitsListEntry `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

list org units response

func (*OrgUnitsListResp) Descriptor deprecated

func (*OrgUnitsListResp) Descriptor() ([]byte, []int)

Deprecated: Use OrgUnitsListResp.ProtoReflect.Descriptor instead.

func (*OrgUnitsListResp) GetCount

func (x *OrgUnitsListResp) GetCount() int32

func (*OrgUnitsListResp) GetItems

func (x *OrgUnitsListResp) GetItems() []*OrgUnitsListEntry

func (*OrgUnitsListResp) ProtoMessage

func (*OrgUnitsListResp) ProtoMessage()

func (*OrgUnitsListResp) ProtoReflect

func (x *OrgUnitsListResp) ProtoReflect() protoreflect.Message

func (*OrgUnitsListResp) Reset

func (x *OrgUnitsListResp) Reset()

func (*OrgUnitsListResp) String

func (x *OrgUnitsListResp) String() string

type RegisterOtpReq

type RegisterOtpReq struct {

	// email of the user registering
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// first name of the user
	FirstName string `protobuf:"bytes,2,opt,name=firstName,proto3" json:"firstName,omitempty"`
	// last name of the user
	LastName string `protobuf:"bytes,3,opt,name=lastName,proto3" json:"lastName,omitempty"`
	// contains filtered or unexported fields
}

register OTP request message First Name, Last Name and email are mandatory for sending OTP and it has to match while submitting registeration request

func (*RegisterOtpReq) Descriptor deprecated

func (*RegisterOtpReq) Descriptor() ([]byte, []int)

Deprecated: Use RegisterOtpReq.ProtoReflect.Descriptor instead.

func (*RegisterOtpReq) GetEmail

func (x *RegisterOtpReq) GetEmail() string

func (*RegisterOtpReq) GetFirstName

func (x *RegisterOtpReq) GetFirstName() string

func (*RegisterOtpReq) GetLastName

func (x *RegisterOtpReq) GetLastName() string

func (*RegisterOtpReq) ProtoMessage

func (*RegisterOtpReq) ProtoMessage()

func (*RegisterOtpReq) ProtoReflect

func (x *RegisterOtpReq) ProtoReflect() protoreflect.Message

func (*RegisterOtpReq) Reset

func (x *RegisterOtpReq) Reset()

func (*RegisterOtpReq) String

func (x *RegisterOtpReq) String() string

type RegisterOtpResp

type RegisterOtpResp struct {
	// contains filtered or unexported fields
}

func (*RegisterOtpResp) Descriptor deprecated

func (*RegisterOtpResp) Descriptor() ([]byte, []int)

Deprecated: Use RegisterOtpResp.ProtoReflect.Descriptor instead.

func (*RegisterOtpResp) ProtoMessage

func (*RegisterOtpResp) ProtoMessage()

func (*RegisterOtpResp) ProtoReflect

func (x *RegisterOtpResp) ProtoReflect() protoreflect.Message

func (*RegisterOtpResp) Reset

func (x *RegisterOtpResp) Reset()

func (*RegisterOtpResp) String

func (x *RegisterOtpResp) String() string

type RegistrationClient

type RegistrationClient interface {
	// Public API for someone to request OTP on email for registration, verifying email
	GetRegisterOtp(ctx context.Context, in *RegisterOtpReq, opts ...grpc.CallOption) (*RegisterOtpResp, error)
}

RegistrationClient is the client API for Registration service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type RegistrationServer

type RegistrationServer interface {
	// Public API for someone to request OTP on email for registration, verifying email
	GetRegisterOtp(context.Context, *RegisterOtpReq) (*RegisterOtpResp, error)
	// contains filtered or unexported methods
}

RegistrationServer is the server API for Registration service. All implementations must embed UnimplementedRegistrationServer for forward compatibility.

type ResourceDefinitionClient

type ResourceDefinitionClient interface {
	// Get Resource definitions along with available actions
	GetResources(ctx context.Context, in *ResourceGetReq, opts ...grpc.CallOption) (*ResourceGetResp, error)
}

ResourceDefinitionClient is the client API for ResourceDefinition service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Service provided to expose available resource and actions

type ResourceDefinitionServer

type ResourceDefinitionServer interface {
	// Get Resource definitions along with available actions
	GetResources(context.Context, *ResourceGetReq) (*ResourceGetResp, error)
	// contains filtered or unexported methods
}

ResourceDefinitionServer is the server API for ResourceDefinition service. All implementations must embed UnimplementedResourceDefinitionServer for forward compatibility.

Service provided to expose available resource and actions

type ResourceEntry

type ResourceEntry struct {

	// name of the resource
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// available verbs
	Verbs []string `protobuf:"bytes,2,rep,name=verbs,proto3" json:"verbs,omitempty"`
	// contains filtered or unexported fields
}

Resource entry

func (*ResourceEntry) Descriptor deprecated

func (*ResourceEntry) Descriptor() ([]byte, []int)

Deprecated: Use ResourceEntry.ProtoReflect.Descriptor instead.

func (*ResourceEntry) GetName

func (x *ResourceEntry) GetName() string

func (*ResourceEntry) GetVerbs

func (x *ResourceEntry) GetVerbs() []string

func (*ResourceEntry) ProtoMessage

func (*ResourceEntry) ProtoMessage()

func (*ResourceEntry) ProtoReflect

func (x *ResourceEntry) ProtoReflect() protoreflect.Message

func (*ResourceEntry) Reset

func (x *ResourceEntry) Reset()

func (*ResourceEntry) String

func (x *ResourceEntry) String() string

type ResourceGetReq

type ResourceGetReq struct {
	// contains filtered or unexported fields
}

resources get request eventually this will also need to have scopes field

func (*ResourceGetReq) Descriptor deprecated

func (*ResourceGetReq) Descriptor() ([]byte, []int)

Deprecated: Use ResourceGetReq.ProtoReflect.Descriptor instead.

func (*ResourceGetReq) ProtoMessage

func (*ResourceGetReq) ProtoMessage()

func (*ResourceGetReq) ProtoReflect

func (x *ResourceGetReq) ProtoReflect() protoreflect.Message

func (*ResourceGetReq) Reset

func (x *ResourceGetReq) Reset()

func (*ResourceGetReq) String

func (x *ResourceGetReq) String() string

type ResourceGetResp

type ResourceGetResp struct {
	Items []*ResourceEntry `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

resource get response

func (*ResourceGetResp) Descriptor deprecated

func (*ResourceGetResp) Descriptor() ([]byte, []int)

Deprecated: Use ResourceGetResp.ProtoReflect.Descriptor instead.

func (*ResourceGetResp) GetItems

func (x *ResourceGetResp) GetItems() []*ResourceEntry

func (*ResourceGetResp) ProtoMessage

func (*ResourceGetResp) ProtoMessage()

func (*ResourceGetResp) ProtoReflect

func (x *ResourceGetResp) ProtoReflect() protoreflect.Message

func (*ResourceGetResp) Reset

func (x *ResourceGetResp) Reset()

func (*ResourceGetResp) String

func (x *ResourceGetResp) String() string

type ResourceMatch

type ResourceMatch struct {

	// Matching criteria type
	Criteria ResourceMatchCriteriaDefs_Criteria `protobuf:"varint,1,opt,name=criteria,proto3,enum=api.ResourceMatchCriteriaDefs_Criteria" json:"criteria,omitempty"`
	// The matching key/pattern based on criteria
	// For wildcard: supports * (e.g., "bucket-*", "*-prod", "*")
	// For regex: valid regex pattern
	// For exact/prefix/suffix: literal string
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

Resource matching criteria for fine-grained permission control

func (*ResourceMatch) Descriptor deprecated

func (*ResourceMatch) Descriptor() ([]byte, []int)

Deprecated: Use ResourceMatch.ProtoReflect.Descriptor instead.

func (*ResourceMatch) GetCriteria

func (*ResourceMatch) GetKey

func (x *ResourceMatch) GetKey() string

func (*ResourceMatch) ProtoMessage

func (*ResourceMatch) ProtoMessage()

func (*ResourceMatch) ProtoReflect

func (x *ResourceMatch) ProtoReflect() protoreflect.Message

func (*ResourceMatch) Reset

func (x *ResourceMatch) Reset()

func (*ResourceMatch) String

func (x *ResourceMatch) String() string

type ResourceMatchCriteriaDefs

type ResourceMatchCriteriaDefs struct {
	// contains filtered or unexported fields
}

Matching criteria types for resource-based permissions

func (*ResourceMatchCriteriaDefs) Descriptor deprecated

func (*ResourceMatchCriteriaDefs) Descriptor() ([]byte, []int)

Deprecated: Use ResourceMatchCriteriaDefs.ProtoReflect.Descriptor instead.

func (*ResourceMatchCriteriaDefs) ProtoMessage

func (*ResourceMatchCriteriaDefs) ProtoMessage()

func (*ResourceMatchCriteriaDefs) ProtoReflect

func (*ResourceMatchCriteriaDefs) Reset

func (x *ResourceMatchCriteriaDefs) Reset()

func (*ResourceMatchCriteriaDefs) String

func (x *ResourceMatchCriteriaDefs) String() string

type ResourceMatchCriteriaDefs_Criteria

type ResourceMatchCriteriaDefs_Criteria int32
const (
	// Any/wildcard matching (default)
	ResourceMatchCriteriaDefs_Any ResourceMatchCriteriaDefs_Criteria = 0
	// Exact resource name match
	ResourceMatchCriteriaDefs_Exact ResourceMatchCriteriaDefs_Criteria = 1
	// Resource name starts with the key
	ResourceMatchCriteriaDefs_Prefix ResourceMatchCriteriaDefs_Criteria = 2
	// Resource name ends with the key
	ResourceMatchCriteriaDefs_Suffix ResourceMatchCriteriaDefs_Criteria = 3
	// Resource name matches the regex pattern in key
	ResourceMatchCriteriaDefs_Regex ResourceMatchCriteriaDefs_Criteria = 4
)

func (ResourceMatchCriteriaDefs_Criteria) Descriptor

func (ResourceMatchCriteriaDefs_Criteria) Enum

func (ResourceMatchCriteriaDefs_Criteria) EnumDescriptor deprecated

func (ResourceMatchCriteriaDefs_Criteria) EnumDescriptor() ([]byte, []int)

Deprecated: Use ResourceMatchCriteriaDefs_Criteria.Descriptor instead.

func (ResourceMatchCriteriaDefs_Criteria) Number

func (ResourceMatchCriteriaDefs_Criteria) String

func (ResourceMatchCriteriaDefs_Criteria) Type

type RolePermission

type RolePermission struct {

	// Resource name this permission applies to
	Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// Resource matching criteria (optional, defaults to wildcard with key="*")
	Match *ResourceMatch `protobuf:"bytes,2,opt,name=match,proto3" json:"match,omitempty"`
	// List of allowed verbs/actions for this resource (supports "*" for all verbs)
	Verbs []string `protobuf:"bytes,3,rep,name=verbs,proto3" json:"verbs,omitempty"`
	// Action type: Allow or Deny (Deny takes precedence over Allow)
	Action RolePermissionActionDefs_Action `protobuf:"varint,4,opt,name=action,proto3,enum=api.RolePermissionActionDefs_Action" json:"action,omitempty"`
	// contains filtered or unexported fields
}

Permission definition for custom roles

func (*RolePermission) Descriptor deprecated

func (*RolePermission) Descriptor() ([]byte, []int)

Deprecated: Use RolePermission.ProtoReflect.Descriptor instead.

func (*RolePermission) GetAction

func (*RolePermission) GetMatch

func (x *RolePermission) GetMatch() *ResourceMatch

func (*RolePermission) GetResource

func (x *RolePermission) GetResource() string

func (*RolePermission) GetVerbs

func (x *RolePermission) GetVerbs() []string

func (*RolePermission) ProtoMessage

func (*RolePermission) ProtoMessage()

func (*RolePermission) ProtoReflect

func (x *RolePermission) ProtoReflect() protoreflect.Message

func (*RolePermission) Reset

func (x *RolePermission) Reset()

func (*RolePermission) String

func (x *RolePermission) String() string

type RolePermissionActionDefs

type RolePermissionActionDefs struct {
	// contains filtered or unexported fields
}

Action types for role permissions

func (*RolePermissionActionDefs) Descriptor deprecated

func (*RolePermissionActionDefs) Descriptor() ([]byte, []int)

Deprecated: Use RolePermissionActionDefs.ProtoReflect.Descriptor instead.

func (*RolePermissionActionDefs) ProtoMessage

func (*RolePermissionActionDefs) ProtoMessage()

func (*RolePermissionActionDefs) ProtoReflect

func (x *RolePermissionActionDefs) ProtoReflect() protoreflect.Message

func (*RolePermissionActionDefs) Reset

func (x *RolePermissionActionDefs) Reset()

func (*RolePermissionActionDefs) String

func (x *RolePermissionActionDefs) String() string

type RolePermissionActionDefs_Action

type RolePermissionActionDefs_Action int32
const (
	// Deny the specified verbs on the resource (takes precedence over Allow)
	RolePermissionActionDefs_Deny RolePermissionActionDefs_Action = 0
	// Allow the specified verbs on the resource
	RolePermissionActionDefs_Allow RolePermissionActionDefs_Action = 1
	// Log the specified verbs on the resource (allows access but logs for audit)
	RolePermissionActionDefs_Log RolePermissionActionDefs_Action = 2
)

func (RolePermissionActionDefs_Action) Descriptor

func (RolePermissionActionDefs_Action) Enum

func (RolePermissionActionDefs_Action) EnumDescriptor deprecated

func (RolePermissionActionDefs_Action) EnumDescriptor() ([]byte, []int)

Deprecated: Use RolePermissionActionDefs_Action.Descriptor instead.

func (RolePermissionActionDefs_Action) Number

func (RolePermissionActionDefs_Action) String

func (RolePermissionActionDefs_Action) Type

type TenantAdminCreateConfig

type TenantAdminCreateConfig struct {

	// tenant admin user id
	UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
	// temporary password
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

tenant admin create time config

func (*TenantAdminCreateConfig) Descriptor deprecated

func (*TenantAdminCreateConfig) Descriptor() ([]byte, []int)

Deprecated: Use TenantAdminCreateConfig.ProtoReflect.Descriptor instead.

func (*TenantAdminCreateConfig) GetPassword

func (x *TenantAdminCreateConfig) GetPassword() string

func (*TenantAdminCreateConfig) GetUserId

func (x *TenantAdminCreateConfig) GetUserId() string

func (*TenantAdminCreateConfig) ProtoMessage

func (*TenantAdminCreateConfig) ProtoMessage()

func (*TenantAdminCreateConfig) ProtoReflect

func (x *TenantAdminCreateConfig) ProtoReflect() protoreflect.Message

func (*TenantAdminCreateConfig) Reset

func (x *TenantAdminCreateConfig) Reset()

func (*TenantAdminCreateConfig) String

func (x *TenantAdminCreateConfig) String() string

type TenantClient

type TenantClient interface {
	// Get List of existing tenants
	ListTenants(ctx context.Context, in *TenantsListReq, opts ...grpc.CallOption) (*TenantsListResp, error)
	// Create a new Tenant
	CreateTenant(ctx context.Context, in *TenantCreateReq, opts ...grpc.CallOption) (*TenantCreateResp, error)
	// Get details of existing tenants
	GetTenant(ctx context.Context, in *TenantGetReq, opts ...grpc.CallOption) (*TenantGetResp, error)
	// Get list of available Org units in the system along with associated tenant
	ListOrgUnits(ctx context.Context, in *TenantOrgUnitsListReq, opts ...grpc.CallOption) (*TenantOrgUnitsListResp, error)
}

TenantClient is the client API for Tenant service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Service provided to manage tenants

func NewTenantClient

func NewTenantClient(cc grpc.ClientConnInterface) TenantClient

type TenantCreateReq

type TenantCreateReq struct {

	// tenant ID
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// tenant Display name
	DispName string `protobuf:"bytes,2,opt,name=dispName,proto3" json:"dispName,omitempty"`
	// tenant description
	Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	// default admin config
	Admin *TenantAdminCreateConfig `protobuf:"bytes,4,opt,name=admin,proto3" json:"admin,omitempty"`
	// contains filtered or unexported fields
}

tenant create request

func (*TenantCreateReq) Descriptor deprecated

func (*TenantCreateReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantCreateReq.ProtoReflect.Descriptor instead.

func (*TenantCreateReq) GetAdmin

func (*TenantCreateReq) GetDesc

func (x *TenantCreateReq) GetDesc() string

func (*TenantCreateReq) GetDispName

func (x *TenantCreateReq) GetDispName() string

func (*TenantCreateReq) GetId

func (x *TenantCreateReq) GetId() string

func (*TenantCreateReq) ProtoMessage

func (*TenantCreateReq) ProtoMessage()

func (*TenantCreateReq) ProtoReflect

func (x *TenantCreateReq) ProtoReflect() protoreflect.Message

func (*TenantCreateReq) Reset

func (x *TenantCreateReq) Reset()

func (*TenantCreateReq) String

func (x *TenantCreateReq) String() string

type TenantCreateResp

type TenantCreateResp struct {
	// contains filtered or unexported fields
}

tenant create response

func (*TenantCreateResp) Descriptor deprecated

func (*TenantCreateResp) Descriptor() ([]byte, []int)

Deprecated: Use TenantCreateResp.ProtoReflect.Descriptor instead.

func (*TenantCreateResp) ProtoMessage

func (*TenantCreateResp) ProtoMessage()

func (*TenantCreateResp) ProtoReflect

func (x *TenantCreateResp) ProtoReflect() protoreflect.Message

func (*TenantCreateResp) Reset

func (x *TenantCreateResp) Reset()

func (*TenantCreateResp) String

func (x *TenantCreateResp) String() string

type TenantGetReq

type TenantGetReq struct {

	// tenant id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

tenant get request

func (*TenantGetReq) Descriptor deprecated

func (*TenantGetReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantGetReq.ProtoReflect.Descriptor instead.

func (*TenantGetReq) GetId

func (x *TenantGetReq) GetId() string

func (*TenantGetReq) ProtoMessage

func (*TenantGetReq) ProtoMessage()

func (*TenantGetReq) ProtoReflect

func (x *TenantGetReq) ProtoReflect() protoreflect.Message

func (*TenantGetReq) Reset

func (x *TenantGetReq) Reset()

func (*TenantGetReq) String

func (x *TenantGetReq) String() string

type TenantGetResp

type TenantGetResp struct {

	// tenant id or realm name
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// display name
	DispName string `protobuf:"bytes,2,opt,name=dispName,proto3" json:"dispName,omitempty"`
	// descriptive information for the tenant
	Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	// created since
	Created int64 `protobuf:"varint,4,opt,name=created,proto3" json:"created,omitempty"`
	// default tenant admin
	Admin string `protobuf:"bytes,5,opt,name=admin,proto3" json:"admin,omitempty"`
	// contains filtered or unexported fields
}

tenant get response

func (*TenantGetResp) Descriptor deprecated

func (*TenantGetResp) Descriptor() ([]byte, []int)

Deprecated: Use TenantGetResp.ProtoReflect.Descriptor instead.

func (*TenantGetResp) GetAdmin

func (x *TenantGetResp) GetAdmin() string

func (*TenantGetResp) GetCreated

func (x *TenantGetResp) GetCreated() int64

func (*TenantGetResp) GetDesc

func (x *TenantGetResp) GetDesc() string

func (*TenantGetResp) GetDispName

func (x *TenantGetResp) GetDispName() string

func (*TenantGetResp) GetId

func (x *TenantGetResp) GetId() string

func (*TenantGetResp) ProtoMessage

func (*TenantGetResp) ProtoMessage()

func (*TenantGetResp) ProtoReflect

func (x *TenantGetResp) ProtoReflect() protoreflect.Message

func (*TenantGetResp) Reset

func (x *TenantGetResp) Reset()

func (*TenantGetResp) String

func (x *TenantGetResp) String() string

type TenantListEntry

type TenantListEntry struct {

	// tenant id or realm name
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// display name
	DispName string `protobuf:"bytes,2,opt,name=dispName,proto3" json:"dispName,omitempty"`
	// descriptive information for the tenant
	Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	// created since
	Created int64 `protobuf:"varint,4,opt,name=created,proto3" json:"created,omitempty"`
	// contains filtered or unexported fields
}

tenant information for the list entry

func (*TenantListEntry) Descriptor deprecated

func (*TenantListEntry) Descriptor() ([]byte, []int)

Deprecated: Use TenantListEntry.ProtoReflect.Descriptor instead.

func (*TenantListEntry) GetCreated

func (x *TenantListEntry) GetCreated() int64

func (*TenantListEntry) GetDesc

func (x *TenantListEntry) GetDesc() string

func (*TenantListEntry) GetDispName

func (x *TenantListEntry) GetDispName() string

func (*TenantListEntry) GetId

func (x *TenantListEntry) GetId() string

func (*TenantListEntry) ProtoMessage

func (*TenantListEntry) ProtoMessage()

func (*TenantListEntry) ProtoReflect

func (x *TenantListEntry) ProtoReflect() protoreflect.Message

func (*TenantListEntry) Reset

func (x *TenantListEntry) Reset()

func (*TenantListEntry) String

func (x *TenantListEntry) String() string

type TenantOrgUnitListEntry

type TenantOrgUnitListEntry struct {

	// org unit id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// org unit display name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// org unit description
	Desc string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	// tenant - owner
	Tenant string `protobuf:"bytes,4,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// create time
	Created int64 `protobuf:"varint,5,opt,name=created,proto3" json:"created,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantOrgUnitListEntry) Descriptor deprecated

func (*TenantOrgUnitListEntry) Descriptor() ([]byte, []int)

Deprecated: Use TenantOrgUnitListEntry.ProtoReflect.Descriptor instead.

func (*TenantOrgUnitListEntry) GetCreated

func (x *TenantOrgUnitListEntry) GetCreated() int64

func (*TenantOrgUnitListEntry) GetDesc

func (x *TenantOrgUnitListEntry) GetDesc() string

func (*TenantOrgUnitListEntry) GetId

func (x *TenantOrgUnitListEntry) GetId() string

func (*TenantOrgUnitListEntry) GetName

func (x *TenantOrgUnitListEntry) GetName() string

func (*TenantOrgUnitListEntry) GetTenant

func (x *TenantOrgUnitListEntry) GetTenant() string

func (*TenantOrgUnitListEntry) ProtoMessage

func (*TenantOrgUnitListEntry) ProtoMessage()

func (*TenantOrgUnitListEntry) ProtoReflect

func (x *TenantOrgUnitListEntry) ProtoReflect() protoreflect.Message

func (*TenantOrgUnitListEntry) Reset

func (x *TenantOrgUnitListEntry) Reset()

func (*TenantOrgUnitListEntry) String

func (x *TenantOrgUnitListEntry) String() string

type TenantOrgUnitsListReq

type TenantOrgUnitsListReq struct {

	// filter for specific tenant
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// offset from where to start the list of org units
	Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// limit the response to specified count
	Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

tenant Org unit list request

func (*TenantOrgUnitsListReq) Descriptor deprecated

func (*TenantOrgUnitsListReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantOrgUnitsListReq.ProtoReflect.Descriptor instead.

func (*TenantOrgUnitsListReq) GetLimit

func (x *TenantOrgUnitsListReq) GetLimit() int32

func (*TenantOrgUnitsListReq) GetOffset

func (x *TenantOrgUnitsListReq) GetOffset() int32

func (*TenantOrgUnitsListReq) GetTenant

func (x *TenantOrgUnitsListReq) GetTenant() string

func (*TenantOrgUnitsListReq) ProtoMessage

func (*TenantOrgUnitsListReq) ProtoMessage()

func (*TenantOrgUnitsListReq) ProtoReflect

func (x *TenantOrgUnitsListReq) ProtoReflect() protoreflect.Message

func (*TenantOrgUnitsListReq) Reset

func (x *TenantOrgUnitsListReq) Reset()

func (*TenantOrgUnitsListReq) String

func (x *TenantOrgUnitsListReq) String() string

type TenantOrgUnitsListResp

type TenantOrgUnitsListResp struct {

	// count of org units available
	Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// list of org unit info in response
	Items []*TenantOrgUnitListEntry `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

tenant Org unit list response

func (*TenantOrgUnitsListResp) Descriptor deprecated

func (*TenantOrgUnitsListResp) Descriptor() ([]byte, []int)

Deprecated: Use TenantOrgUnitsListResp.ProtoReflect.Descriptor instead.

func (*TenantOrgUnitsListResp) GetCount

func (x *TenantOrgUnitsListResp) GetCount() int32

func (*TenantOrgUnitsListResp) GetItems

func (*TenantOrgUnitsListResp) ProtoMessage

func (*TenantOrgUnitsListResp) ProtoMessage()

func (*TenantOrgUnitsListResp) ProtoReflect

func (x *TenantOrgUnitsListResp) ProtoReflect() protoreflect.Message

func (*TenantOrgUnitsListResp) Reset

func (x *TenantOrgUnitsListResp) Reset()

func (*TenantOrgUnitsListResp) String

func (x *TenantOrgUnitsListResp) String() string

type TenantServer

type TenantServer interface {
	// Get List of existing tenants
	ListTenants(context.Context, *TenantsListReq) (*TenantsListResp, error)
	// Create a new Tenant
	CreateTenant(context.Context, *TenantCreateReq) (*TenantCreateResp, error)
	// Get details of existing tenants
	GetTenant(context.Context, *TenantGetReq) (*TenantGetResp, error)
	// Get list of available Org units in the system along with associated tenant
	ListOrgUnits(context.Context, *TenantOrgUnitsListReq) (*TenantOrgUnitsListResp, error)
	// contains filtered or unexported methods
}

TenantServer is the server API for Tenant service. All implementations must embed UnimplementedTenantServer for forward compatibility.

Service provided to manage tenants

type TenantUserClient

type TenantUserClient interface {
	// Get List of existing users in a tenant
	GetUsers(ctx context.Context, in *TenantUsersListReq, opts ...grpc.CallOption) (*TenantUsersListResp, error)
	// Create a new user for the given tenant
	CreateUser(ctx context.Context, in *TenantUserCreateReq, opts ...grpc.CallOption) (*TenantUserCreateResp, error)
	// Get an existing user for the given tenant
	GetUser(ctx context.Context, in *TenantUserGetReq, opts ...grpc.CallOption) (*TenantUserGetResp, error)
	// Enable an existing disabled user for the given tenant
	EnableUser(ctx context.Context, in *TenantUserEnableReq, opts ...grpc.CallOption) (*TenantUserEnableResp, error)
	// Disable an existing enabled user for the given tenant
	DisableUser(ctx context.Context, in *TenantUserDisableReq, opts ...grpc.CallOption) (*TenantUserDisableResp, error)
	// Update an existing user for the given tenant
	UpdateUser(ctx context.Context, in *TenantUserUpdateReq, opts ...grpc.CallOption) (*TenantUserUpdateResp, error)
	// Delete an existing user for the given tenant
	DeleteUser(ctx context.Context, in *TenantUserDeleteReq, opts ...grpc.CallOption) (*TenantUserDeleteResp, error)
	// List Active sessions, filter by user if provided
	ListUserSessions(ctx context.Context, in *TenantUserSessionsListReq, opts ...grpc.CallOption) (*TenantUserSessionsListResp, error)
	// logout user from specific session or all sessions
	LogoutUserSession(ctx context.Context, in *TenantUserSessionLogoutReq, opts ...grpc.CallOption) (*TenantUserSessionLogoutResp, error)
	// List org units where a specific user has roles (ops admin cross-tenant access)
	ListTenantUserOrgUnits(ctx context.Context, in *TenantUserOrgUnitsListReq, opts ...grpc.CallOption) (*TenantUserOrgUnitsListResp, error)
}

TenantUserClient is the client API for TenantUser service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Service provided to manage users in Tenants

func NewTenantUserClient

func NewTenantUserClient(cc grpc.ClientConnInterface) TenantUserClient

type TenantUserCreateReq

type TenantUserCreateReq struct {

	// tenant under which this user will be created
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// user ID
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// email address of the user
	Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	// first name of the user
	Firstname string `protobuf:"bytes,4,opt,name=firstname,proto3" json:"firstname,omitempty"`
	// last name of the user
	Lastname string `protobuf:"bytes,5,opt,name=lastname,proto3" json:"lastname,omitempty"`
	// if the user needs to be created disabled
	Disabled bool `protobuf:"varint,6,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// temporary first login password to be set for the user
	Password string `protobuf:"bytes,7,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

user create request message

func (*TenantUserCreateReq) Descriptor deprecated

func (*TenantUserCreateReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantUserCreateReq.ProtoReflect.Descriptor instead.

func (*TenantUserCreateReq) GetDisabled

func (x *TenantUserCreateReq) GetDisabled() bool

func (*TenantUserCreateReq) GetEmail

func (x *TenantUserCreateReq) GetEmail() string

func (*TenantUserCreateReq) GetFirstname

func (x *TenantUserCreateReq) GetFirstname() string

func (*TenantUserCreateReq) GetLastname

func (x *TenantUserCreateReq) GetLastname() string

func (*TenantUserCreateReq) GetPassword

func (x *TenantUserCreateReq) GetPassword() string

func (*TenantUserCreateReq) GetTenant

func (x *TenantUserCreateReq) GetTenant() string

func (*TenantUserCreateReq) GetUsername

func (x *TenantUserCreateReq) GetUsername() string

func (*TenantUserCreateReq) ProtoMessage

func (*TenantUserCreateReq) ProtoMessage()

func (*TenantUserCreateReq) ProtoReflect

func (x *TenantUserCreateReq) ProtoReflect() protoreflect.Message

func (*TenantUserCreateReq) Reset

func (x *TenantUserCreateReq) Reset()

func (*TenantUserCreateReq) String

func (x *TenantUserCreateReq) String() string

type TenantUserCreateResp

type TenantUserCreateResp struct {

	// username or user id
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// user email
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// first name of user
	FirstName string `protobuf:"bytes,3,opt,name=firstName,proto3" json:"firstName,omitempty"`
	// last name of user
	LastName string `protobuf:"bytes,4,opt,name=lastName,proto3" json:"lastName,omitempty"`
	// is user enabled
	Enabled bool `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

response to user create request

func (*TenantUserCreateResp) Descriptor deprecated

func (*TenantUserCreateResp) Descriptor() ([]byte, []int)

Deprecated: Use TenantUserCreateResp.ProtoReflect.Descriptor instead.

func (*TenantUserCreateResp) GetEmail

func (x *TenantUserCreateResp) GetEmail() string

func (*TenantUserCreateResp) GetEnabled

func (x *TenantUserCreateResp) GetEnabled() bool

func (*TenantUserCreateResp) GetFirstName

func (x *TenantUserCreateResp) GetFirstName() string

func (*TenantUserCreateResp) GetLastName

func (x *TenantUserCreateResp) GetLastName() string

func (*TenantUserCreateResp) GetUsername

func (x *TenantUserCreateResp) GetUsername() string

func (*TenantUserCreateResp) ProtoMessage

func (*TenantUserCreateResp) ProtoMessage()

func (*TenantUserCreateResp) ProtoReflect

func (x *TenantUserCreateResp) ProtoReflect() protoreflect.Message

func (*TenantUserCreateResp) Reset

func (x *TenantUserCreateResp) Reset()

func (*TenantUserCreateResp) String

func (x *TenantUserCreateResp) String() string

type TenantUserDeleteReq

type TenantUserDeleteReq struct {

	// tenant under which this action needs to be taken
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// user id which needs to be deleted
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

delete user request message

func (*TenantUserDeleteReq) Descriptor deprecated

func (*TenantUserDeleteReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantUserDeleteReq.ProtoReflect.Descriptor instead.

func (*TenantUserDeleteReq) GetTenant

func (x *TenantUserDeleteReq) GetTenant() string

func (*TenantUserDeleteReq) GetUsername

func (x *TenantUserDeleteReq) GetUsername() string

func (*TenantUserDeleteReq) ProtoMessage

func (*TenantUserDeleteReq) ProtoMessage()

func (*TenantUserDeleteReq) ProtoReflect

func (x *TenantUserDeleteReq) ProtoReflect() protoreflect.Message

func (*TenantUserDeleteReq) Reset

func (x *TenantUserDeleteReq) Reset()

func (*TenantUserDeleteReq) String

func (x *TenantUserDeleteReq) String() string

type TenantUserDeleteResp

type TenantUserDeleteResp struct {
	// contains filtered or unexported fields
}

response to the user delete message

func (*TenantUserDeleteResp) Descriptor deprecated

func (*TenantUserDeleteResp) Descriptor() ([]byte, []int)

Deprecated: Use TenantUserDeleteResp.ProtoReflect.Descriptor instead.

func (*TenantUserDeleteResp) ProtoMessage

func (*TenantUserDeleteResp) ProtoMessage()

func (*TenantUserDeleteResp) ProtoReflect

func (x *TenantUserDeleteResp) ProtoReflect() protoreflect.Message

func (*TenantUserDeleteResp) Reset

func (x *TenantUserDeleteResp) Reset()

func (*TenantUserDeleteResp) String

func (x *TenantUserDeleteResp) String() string

type TenantUserDisableReq

type TenantUserDisableReq struct {

	// tenant under consideration
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// user that needs to be disabled
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

disable user request

func (*TenantUserDisableReq) Descriptor deprecated

func (*TenantUserDisableReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantUserDisableReq.ProtoReflect.Descriptor instead.

func (*TenantUserDisableReq) GetTenant

func (x *TenantUserDisableReq) GetTenant() string

func (*TenantUserDisableReq) GetUsername

func (x *TenantUserDisableReq) GetUsername() string

func (*TenantUserDisableReq) ProtoMessage

func (*TenantUserDisableReq) ProtoMessage()

func (*TenantUserDisableReq) ProtoReflect

func (x *TenantUserDisableReq) ProtoReflect() protoreflect.Message

func (*TenantUserDisableReq) Reset

func (x *TenantUserDisableReq) Reset()

func (*TenantUserDisableReq) String

func (x *TenantUserDisableReq) String() string

type TenantUserDisableResp

type TenantUserDisableResp struct {
	// contains filtered or unexported fields
}

disable user request response

func (*TenantUserDisableResp) Descriptor deprecated

func (*TenantUserDisableResp) Descriptor() ([]byte, []int)

Deprecated: Use TenantUserDisableResp.ProtoReflect.Descriptor instead.

func (*TenantUserDisableResp) ProtoMessage

func (*TenantUserDisableResp) ProtoMessage()

func (*TenantUserDisableResp) ProtoReflect

func (x *TenantUserDisableResp) ProtoReflect() protoreflect.Message

func (*TenantUserDisableResp) Reset

func (x *TenantUserDisableResp) Reset()

func (*TenantUserDisableResp) String

func (x *TenantUserDisableResp) String() string

type TenantUserEnableReq

type TenantUserEnableReq struct {

	// tenant under consideration
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// user that needs to be enabled
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

enable user request

func (*TenantUserEnableReq) Descriptor deprecated

func (*TenantUserEnableReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantUserEnableReq.ProtoReflect.Descriptor instead.

func (*TenantUserEnableReq) GetTenant

func (x *TenantUserEnableReq) GetTenant() string

func (*TenantUserEnableReq) GetUsername

func (x *TenantUserEnableReq) GetUsername() string

func (*TenantUserEnableReq) ProtoMessage

func (*TenantUserEnableReq) ProtoMessage()

func (*TenantUserEnableReq) ProtoReflect

func (x *TenantUserEnableReq) ProtoReflect() protoreflect.Message

func (*TenantUserEnableReq) Reset

func (x *TenantUserEnableReq) Reset()

func (*TenantUserEnableReq) String

func (x *TenantUserEnableReq) String() string

type TenantUserEnableResp

type TenantUserEnableResp struct {
	// contains filtered or unexported fields
}

enable user request response

func (*TenantUserEnableResp) Descriptor deprecated

func (*TenantUserEnableResp) Descriptor() ([]byte, []int)

Deprecated: Use TenantUserEnableResp.ProtoReflect.Descriptor instead.

func (*TenantUserEnableResp) ProtoMessage

func (*TenantUserEnableResp) ProtoMessage()

func (*TenantUserEnableResp) ProtoReflect

func (x *TenantUserEnableResp) ProtoReflect() protoreflect.Message

func (*TenantUserEnableResp) Reset

func (x *TenantUserEnableResp) Reset()

func (*TenantUserEnableResp) String

func (x *TenantUserEnableResp) String() string

type TenantUserGetReq

type TenantUserGetReq struct {

	// tenant under which this action needs to be taken
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// user id which needs to be deleted
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

get user request message

func (*TenantUserGetReq) Descriptor deprecated

func (*TenantUserGetReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantUserGetReq.ProtoReflect.Descriptor instead.

func (*TenantUserGetReq) GetTenant

func (x *TenantUserGetReq) GetTenant() string

func (*TenantUserGetReq) GetUsername

func (x *TenantUserGetReq) GetUsername() string

func (*TenantUserGetReq) ProtoMessage

func (*TenantUserGetReq) ProtoMessage()

func (*TenantUserGetReq) ProtoReflect

func (x *TenantUserGetReq) ProtoReflect() protoreflect.Message

func (*TenantUserGetReq) Reset

func (x *TenantUserGetReq) Reset()

func (*TenantUserGetReq) String

func (x *TenantUserGetReq) String() string

type TenantUserGetResp

type TenantUserGetResp struct {

	// username or user id
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// user email
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// first name of user
	FirstName string `protobuf:"bytes,3,opt,name=firstName,proto3" json:"firstName,omitempty"`
	// last name of user
	LastName string `protobuf:"bytes,4,opt,name=lastName,proto3" json:"lastName,omitempty"`
	// is user enabled
	Enabled bool `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// created since
	Created int64 `protobuf:"varint,6,opt,name=created,proto3" json:"created,omitempty"`
	// last access by the user
	LastAccess int64 `protobuf:"varint,7,opt,name=lastAccess,proto3" json:"lastAccess,omitempty"`
	// contains filtered or unexported fields
}

get user response

func (*TenantUserGetResp) Descriptor deprecated

func (*TenantUserGetResp) Descriptor() ([]byte, []int)

Deprecated: Use TenantUserGetResp.ProtoReflect.Descriptor instead.

func (*TenantUserGetResp) GetCreated

func (x *TenantUserGetResp) GetCreated() int64

func (*TenantUserGetResp) GetEmail

func (x *TenantUserGetResp) GetEmail() string

func (*TenantUserGetResp) GetEnabled

func (x *TenantUserGetResp) GetEnabled() bool

func (*TenantUserGetResp) GetFirstName

func (x *TenantUserGetResp) GetFirstName() string

func (*TenantUserGetResp) GetLastAccess

func (x *TenantUserGetResp) GetLastAccess() int64

func (*TenantUserGetResp) GetLastName

func (x *TenantUserGetResp) GetLastName() string

func (*TenantUserGetResp) GetUsername

func (x *TenantUserGetResp) GetUsername() string

func (*TenantUserGetResp) ProtoMessage

func (*TenantUserGetResp) ProtoMessage()

func (*TenantUserGetResp) ProtoReflect

func (x *TenantUserGetResp) ProtoReflect() protoreflect.Message

func (*TenantUserGetResp) Reset

func (x *TenantUserGetResp) Reset()

func (*TenantUserGetResp) String

func (x *TenantUserGetResp) String() string

type TenantUserListEntry

type TenantUserListEntry struct {

	// username or user id
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// user email
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// first name of user
	FirstName string `protobuf:"bytes,3,opt,name=firstName,proto3" json:"firstName,omitempty"`
	// last name of user
	LastName string `protobuf:"bytes,4,opt,name=lastName,proto3" json:"lastName,omitempty"`
	// is user enabled
	Enabled bool `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// created since
	Created int64 `protobuf:"varint,6,opt,name=created,proto3" json:"created,omitempty"`
	// last access by the user
	LastAccess int64 `protobuf:"varint,7,opt,name=lastAccess,proto3" json:"lastAccess,omitempty"`
	// contains filtered or unexported fields
}

user information for the list entry

func (*TenantUserListEntry) Descriptor deprecated

func (*TenantUserListEntry) Descriptor() ([]byte, []int)

Deprecated: Use TenantUserListEntry.ProtoReflect.Descriptor instead.

func (*TenantUserListEntry) GetCreated

func (x *TenantUserListEntry) GetCreated() int64

func (*TenantUserListEntry) GetEmail

func (x *TenantUserListEntry) GetEmail() string

func (*TenantUserListEntry) GetEnabled

func (x *TenantUserListEntry) GetEnabled() bool

func (*TenantUserListEntry) GetFirstName

func (x *TenantUserListEntry) GetFirstName() string

func (*TenantUserListEntry) GetLastAccess

func (x *TenantUserListEntry) GetLastAccess() int64

func (*TenantUserListEntry) GetLastName

func (x *TenantUserListEntry) GetLastName() string

func (*TenantUserListEntry) GetUsername

func (x *TenantUserListEntry) GetUsername() string

func (*TenantUserListEntry) ProtoMessage

func (*TenantUserListEntry) ProtoMessage()

func (*TenantUserListEntry) ProtoReflect

func (x *TenantUserListEntry) ProtoReflect() protoreflect.Message

func (*TenantUserListEntry) Reset

func (x *TenantUserListEntry) Reset()

func (*TenantUserListEntry) String

func (x *TenantUserListEntry) String() string

type TenantUserOrgUnitWithRoles

type TenantUserOrgUnitWithRoles struct {

	// org unit id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// org unit display name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// current user's role in this org unit
	Role string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

org unit entry with user roles

func (*TenantUserOrgUnitWithRoles) Descriptor deprecated

func (*TenantUserOrgUnitWithRoles) Descriptor() ([]byte, []int)

Deprecated: Use TenantUserOrgUnitWithRoles.ProtoReflect.Descriptor instead.

func (*TenantUserOrgUnitWithRoles) GetId

func (*TenantUserOrgUnitWithRoles) GetName

func (x *TenantUserOrgUnitWithRoles) GetName() string

func (*TenantUserOrgUnitWithRoles) GetRole

func (x *TenantUserOrgUnitWithRoles) GetRole() string

func (*TenantUserOrgUnitWithRoles) ProtoMessage

func (*TenantUserOrgUnitWithRoles) ProtoMessage()

func (*TenantUserOrgUnitWithRoles) ProtoReflect

func (*TenantUserOrgUnitWithRoles) Reset

func (x *TenantUserOrgUnitWithRoles) Reset()

func (*TenantUserOrgUnitWithRoles) String

func (x *TenantUserOrgUnitWithRoles) String() string

type TenantUserOrgUnitsListReq

type TenantUserOrgUnitsListReq struct {

	// tenant id to get org units and roles for
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// username to get org units and roles for
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// offset from where to start
	Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	// limit the number of entries in the response
	Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

request for listing org units with user roles for a tenant

func (*TenantUserOrgUnitsListReq) Descriptor deprecated

func (*TenantUserOrgUnitsListReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantUserOrgUnitsListReq.ProtoReflect.Descriptor instead.

func (*TenantUserOrgUnitsListReq) GetLimit

func (x *TenantUserOrgUnitsListReq) GetLimit() int32

func (*TenantUserOrgUnitsListReq) GetOffset

func (x *TenantUserOrgUnitsListReq) GetOffset() int32

func (*TenantUserOrgUnitsListReq) GetTenant

func (x *TenantUserOrgUnitsListReq) GetTenant() string

func (*TenantUserOrgUnitsListReq) GetUsername

func (x *TenantUserOrgUnitsListReq) GetUsername() string

func (*TenantUserOrgUnitsListReq) ProtoMessage

func (*TenantUserOrgUnitsListReq) ProtoMessage()

func (*TenantUserOrgUnitsListReq) ProtoReflect

func (*TenantUserOrgUnitsListReq) Reset

func (x *TenantUserOrgUnitsListReq) Reset()

func (*TenantUserOrgUnitsListReq) String

func (x *TenantUserOrgUnitsListReq) String() string

type TenantUserOrgUnitsListResp

type TenantUserOrgUnitsListResp struct {

	// total count of org units
	Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// list of org units with their user roles
	Items []*TenantUserOrgUnitWithRoles `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

response for listing org units with user roles

func (*TenantUserOrgUnitsListResp) Descriptor deprecated

func (*TenantUserOrgUnitsListResp) Descriptor() ([]byte, []int)

Deprecated: Use TenantUserOrgUnitsListResp.ProtoReflect.Descriptor instead.

func (*TenantUserOrgUnitsListResp) GetCount

func (x *TenantUserOrgUnitsListResp) GetCount() int32

func (*TenantUserOrgUnitsListResp) GetItems

func (*TenantUserOrgUnitsListResp) ProtoMessage

func (*TenantUserOrgUnitsListResp) ProtoMessage()

func (*TenantUserOrgUnitsListResp) ProtoReflect

func (*TenantUserOrgUnitsListResp) Reset

func (x *TenantUserOrgUnitsListResp) Reset()

func (*TenantUserOrgUnitsListResp) String

func (x *TenantUserOrgUnitsListResp) String() string

type TenantUserServer

type TenantUserServer interface {
	// Get List of existing users in a tenant
	GetUsers(context.Context, *TenantUsersListReq) (*TenantUsersListResp, error)
	// Create a new user for the given tenant
	CreateUser(context.Context, *TenantUserCreateReq) (*TenantUserCreateResp, error)
	// Get an existing user for the given tenant
	GetUser(context.Context, *TenantUserGetReq) (*TenantUserGetResp, error)
	// Enable an existing disabled user for the given tenant
	EnableUser(context.Context, *TenantUserEnableReq) (*TenantUserEnableResp, error)
	// Disable an existing enabled user for the given tenant
	DisableUser(context.Context, *TenantUserDisableReq) (*TenantUserDisableResp, error)
	// Update an existing user for the given tenant
	UpdateUser(context.Context, *TenantUserUpdateReq) (*TenantUserUpdateResp, error)
	// Delete an existing user for the given tenant
	DeleteUser(context.Context, *TenantUserDeleteReq) (*TenantUserDeleteResp, error)
	// List Active sessions, filter by user if provided
	ListUserSessions(context.Context, *TenantUserSessionsListReq) (*TenantUserSessionsListResp, error)
	// logout user from specific session or all sessions
	LogoutUserSession(context.Context, *TenantUserSessionLogoutReq) (*TenantUserSessionLogoutResp, error)
	// List org units where a specific user has roles (ops admin cross-tenant access)
	ListTenantUserOrgUnits(context.Context, *TenantUserOrgUnitsListReq) (*TenantUserOrgUnitsListResp, error)
	// contains filtered or unexported methods
}

TenantUserServer is the server API for TenantUser service. All implementations must embed UnimplementedTenantUserServer for forward compatibility.

Service provided to manage users in Tenants

type TenantUserSessionInfo

type TenantUserSessionInfo struct {

	// user name
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// session id
	SessionId string `protobuf:"bytes,2,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	// start time
	Started int64 `protobuf:"varint,3,opt,name=started,proto3" json:"started,omitempty"`
	// last access time
	LastAccess int64 `protobuf:"varint,4,opt,name=lastAccess,proto3" json:"lastAccess,omitempty"`
	// incoming client ip
	Ip string `protobuf:"bytes,5,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

user session information

func (*TenantUserSessionInfo) Descriptor deprecated

func (*TenantUserSessionInfo) Descriptor() ([]byte, []int)

Deprecated: Use TenantUserSessionInfo.ProtoReflect.Descriptor instead.

func (*TenantUserSessionInfo) GetIp

func (x *TenantUserSessionInfo) GetIp() string

func (*TenantUserSessionInfo) GetLastAccess

func (x *TenantUserSessionInfo) GetLastAccess() int64

func (*TenantUserSessionInfo) GetSessionId

func (x *TenantUserSessionInfo) GetSessionId() string

func (*TenantUserSessionInfo) GetStarted

func (x *TenantUserSessionInfo) GetStarted() int64

func (*TenantUserSessionInfo) GetUsername

func (x *TenantUserSessionInfo) GetUsername() string

func (*TenantUserSessionInfo) ProtoMessage

func (*TenantUserSessionInfo) ProtoMessage()

func (*TenantUserSessionInfo) ProtoReflect

func (x *TenantUserSessionInfo) ProtoReflect() protoreflect.Message

func (*TenantUserSessionInfo) Reset

func (x *TenantUserSessionInfo) Reset()

func (*TenantUserSessionInfo) String

func (x *TenantUserSessionInfo) String() string

type TenantUserSessionLogoutReq

type TenantUserSessionLogoutReq struct {

	// tenant under consideration
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// user to be logged out
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// specific session id if any needs to be logged out
	// optional, if not specified all sessions are logged out
	SessionId string `protobuf:"bytes,3,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	// contains filtered or unexported fields
}

user session logout request

func (*TenantUserSessionLogoutReq) Descriptor deprecated

func (*TenantUserSessionLogoutReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantUserSessionLogoutReq.ProtoReflect.Descriptor instead.

func (*TenantUserSessionLogoutReq) GetSessionId

func (x *TenantUserSessionLogoutReq) GetSessionId() string

func (*TenantUserSessionLogoutReq) GetTenant

func (x *TenantUserSessionLogoutReq) GetTenant() string

func (*TenantUserSessionLogoutReq) GetUsername

func (x *TenantUserSessionLogoutReq) GetUsername() string

func (*TenantUserSessionLogoutReq) ProtoMessage

func (*TenantUserSessionLogoutReq) ProtoMessage()

func (*TenantUserSessionLogoutReq) ProtoReflect

func (*TenantUserSessionLogoutReq) Reset

func (x *TenantUserSessionLogoutReq) Reset()

func (*TenantUserSessionLogoutReq) String

func (x *TenantUserSessionLogoutReq) String() string

type TenantUserSessionLogoutResp

type TenantUserSessionLogoutResp struct {
	// contains filtered or unexported fields
}

user session logout response

func (*TenantUserSessionLogoutResp) Descriptor deprecated

func (*TenantUserSessionLogoutResp) Descriptor() ([]byte, []int)

Deprecated: Use TenantUserSessionLogoutResp.ProtoReflect.Descriptor instead.

func (*TenantUserSessionLogoutResp) ProtoMessage

func (*TenantUserSessionLogoutResp) ProtoMessage()

func (*TenantUserSessionLogoutResp) ProtoReflect

func (*TenantUserSessionLogoutResp) Reset

func (x *TenantUserSessionLogoutResp) Reset()

func (*TenantUserSessionLogoutResp) String

func (x *TenantUserSessionLogoutResp) String() string

type TenantUserSessionsListReq

type TenantUserSessionsListReq struct {

	// tenant under consideration
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// user name to filter for
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// offset to start from
	Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	// limit
	Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

list active sessions request

func (*TenantUserSessionsListReq) Descriptor deprecated

func (*TenantUserSessionsListReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantUserSessionsListReq.ProtoReflect.Descriptor instead.

func (*TenantUserSessionsListReq) GetLimit

func (x *TenantUserSessionsListReq) GetLimit() int32

func (*TenantUserSessionsListReq) GetOffset

func (x *TenantUserSessionsListReq) GetOffset() int32

func (*TenantUserSessionsListReq) GetTenant

func (x *TenantUserSessionsListReq) GetTenant() string

func (*TenantUserSessionsListReq) GetUsername

func (x *TenantUserSessionsListReq) GetUsername() string

func (*TenantUserSessionsListReq) ProtoMessage

func (*TenantUserSessionsListReq) ProtoMessage()

func (*TenantUserSessionsListReq) ProtoReflect

func (*TenantUserSessionsListReq) Reset

func (x *TenantUserSessionsListReq) Reset()

func (*TenantUserSessionsListReq) String

func (x *TenantUserSessionsListReq) String() string

type TenantUserSessionsListResp

type TenantUserSessionsListResp struct {

	// total number of active sessions
	Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// list of active sessions
	Items []*TenantUserSessionInfo `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

response of list active sessions

func (*TenantUserSessionsListResp) Descriptor deprecated

func (*TenantUserSessionsListResp) Descriptor() ([]byte, []int)

Deprecated: Use TenantUserSessionsListResp.ProtoReflect.Descriptor instead.

func (*TenantUserSessionsListResp) GetCount

func (x *TenantUserSessionsListResp) GetCount() int32

func (*TenantUserSessionsListResp) GetItems

func (*TenantUserSessionsListResp) ProtoMessage

func (*TenantUserSessionsListResp) ProtoMessage()

func (*TenantUserSessionsListResp) ProtoReflect

func (*TenantUserSessionsListResp) Reset

func (x *TenantUserSessionsListResp) Reset()

func (*TenantUserSessionsListResp) String

func (x *TenantUserSessionsListResp) String() string

type TenantUserUpdateReq

type TenantUserUpdateReq struct {

	// tenant under which this user will be created
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// user ID
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// email address of the user
	Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	// first name of the user
	Firstname string `protobuf:"bytes,4,opt,name=firstname,proto3" json:"firstname,omitempty"`
	// last name of the user
	Lastname string `protobuf:"bytes,5,opt,name=lastname,proto3" json:"lastname,omitempty"`
	// if the user needs to be created disabled
	Disabled bool `protobuf:"varint,6,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

user update request message

func (*TenantUserUpdateReq) Descriptor deprecated

func (*TenantUserUpdateReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantUserUpdateReq.ProtoReflect.Descriptor instead.

func (*TenantUserUpdateReq) GetDisabled

func (x *TenantUserUpdateReq) GetDisabled() bool

func (*TenantUserUpdateReq) GetEmail

func (x *TenantUserUpdateReq) GetEmail() string

func (*TenantUserUpdateReq) GetFirstname

func (x *TenantUserUpdateReq) GetFirstname() string

func (*TenantUserUpdateReq) GetLastname

func (x *TenantUserUpdateReq) GetLastname() string

func (*TenantUserUpdateReq) GetTenant

func (x *TenantUserUpdateReq) GetTenant() string

func (*TenantUserUpdateReq) GetUsername

func (x *TenantUserUpdateReq) GetUsername() string

func (*TenantUserUpdateReq) ProtoMessage

func (*TenantUserUpdateReq) ProtoMessage()

func (*TenantUserUpdateReq) ProtoReflect

func (x *TenantUserUpdateReq) ProtoReflect() protoreflect.Message

func (*TenantUserUpdateReq) Reset

func (x *TenantUserUpdateReq) Reset()

func (*TenantUserUpdateReq) String

func (x *TenantUserUpdateReq) String() string

type TenantUserUpdateResp

type TenantUserUpdateResp struct {

	// username or user id
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// user email
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// first name of user
	FirstName string `protobuf:"bytes,3,opt,name=firstName,proto3" json:"firstName,omitempty"`
	// last name of user
	LastName string `protobuf:"bytes,4,opt,name=lastName,proto3" json:"lastName,omitempty"`
	// is user enabled
	Enabled bool `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

response to user update request

func (*TenantUserUpdateResp) Descriptor deprecated

func (*TenantUserUpdateResp) Descriptor() ([]byte, []int)

Deprecated: Use TenantUserUpdateResp.ProtoReflect.Descriptor instead.

func (*TenantUserUpdateResp) GetEmail

func (x *TenantUserUpdateResp) GetEmail() string

func (*TenantUserUpdateResp) GetEnabled

func (x *TenantUserUpdateResp) GetEnabled() bool

func (*TenantUserUpdateResp) GetFirstName

func (x *TenantUserUpdateResp) GetFirstName() string

func (*TenantUserUpdateResp) GetLastName

func (x *TenantUserUpdateResp) GetLastName() string

func (*TenantUserUpdateResp) GetUsername

func (x *TenantUserUpdateResp) GetUsername() string

func (*TenantUserUpdateResp) ProtoMessage

func (*TenantUserUpdateResp) ProtoMessage()

func (*TenantUserUpdateResp) ProtoReflect

func (x *TenantUserUpdateResp) ProtoReflect() protoreflect.Message

func (*TenantUserUpdateResp) Reset

func (x *TenantUserUpdateResp) Reset()

func (*TenantUserUpdateResp) String

func (x *TenantUserUpdateResp) String() string

type TenantUsersListReq

type TenantUsersListReq struct {

	// tenant under which the user list is requested
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// offset from where to start the list of users
	Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// limit the response to specified count
	Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// prefix match to consider
	Search string `protobuf:"bytes,4,opt,name=search,proto3" json:"search,omitempty"`
	// contains filtered or unexported fields
}

Request List of users in a tenant

func (*TenantUsersListReq) Descriptor deprecated

func (*TenantUsersListReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantUsersListReq.ProtoReflect.Descriptor instead.

func (*TenantUsersListReq) GetLimit

func (x *TenantUsersListReq) GetLimit() int32

func (*TenantUsersListReq) GetOffset

func (x *TenantUsersListReq) GetOffset() int32

func (*TenantUsersListReq) GetSearch

func (x *TenantUsersListReq) GetSearch() string

func (*TenantUsersListReq) GetTenant

func (x *TenantUsersListReq) GetTenant() string

func (*TenantUsersListReq) ProtoMessage

func (*TenantUsersListReq) ProtoMessage()

func (*TenantUsersListReq) ProtoReflect

func (x *TenantUsersListReq) ProtoReflect() protoreflect.Message

func (*TenantUsersListReq) Reset

func (x *TenantUsersListReq) Reset()

func (*TenantUsersListReq) String

func (x *TenantUsersListReq) String() string

type TenantUsersListResp

type TenantUsersListResp struct {

	// number of users in the tenant
	Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// items - list of users
	Items []*TenantUserListEntry `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

Response to the list of users in a tenant

func (*TenantUsersListResp) Descriptor deprecated

func (*TenantUsersListResp) Descriptor() ([]byte, []int)

Deprecated: Use TenantUsersListResp.ProtoReflect.Descriptor instead.

func (*TenantUsersListResp) GetCount

func (x *TenantUsersListResp) GetCount() int32

func (*TenantUsersListResp) GetItems

func (x *TenantUsersListResp) GetItems() []*TenantUserListEntry

func (*TenantUsersListResp) ProtoMessage

func (*TenantUsersListResp) ProtoMessage()

func (*TenantUsersListResp) ProtoReflect

func (x *TenantUsersListResp) ProtoReflect() protoreflect.Message

func (*TenantUsersListResp) Reset

func (x *TenantUsersListResp) Reset()

func (*TenantUsersListResp) String

func (x *TenantUsersListResp) String() string

type TenantsListReq

type TenantsListReq struct {

	// offset from where to start the list of tenants
	Offset int32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	// limit the response to specified count
	Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

tenant list request

func (*TenantsListReq) Descriptor deprecated

func (*TenantsListReq) Descriptor() ([]byte, []int)

Deprecated: Use TenantsListReq.ProtoReflect.Descriptor instead.

func (*TenantsListReq) GetLimit

func (x *TenantsListReq) GetLimit() int32

func (*TenantsListReq) GetOffset

func (x *TenantsListReq) GetOffset() int32

func (*TenantsListReq) ProtoMessage

func (*TenantsListReq) ProtoMessage()

func (*TenantsListReq) ProtoReflect

func (x *TenantsListReq) ProtoReflect() protoreflect.Message

func (*TenantsListReq) Reset

func (x *TenantsListReq) Reset()

func (*TenantsListReq) String

func (x *TenantsListReq) String() string

type TenantsListResp

type TenantsListResp struct {

	// count of list of tenants
	Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// list of items
	Items []*TenantListEntry `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

tenant list response

func (*TenantsListResp) Descriptor deprecated

func (*TenantsListResp) Descriptor() ([]byte, []int)

Deprecated: Use TenantsListResp.ProtoReflect.Descriptor instead.

func (*TenantsListResp) GetCount

func (x *TenantsListResp) GetCount() int32

func (*TenantsListResp) GetItems

func (x *TenantsListResp) GetItems() []*TenantListEntry

func (*TenantsListResp) ProtoMessage

func (*TenantsListResp) ProtoMessage()

func (*TenantsListResp) ProtoReflect

func (x *TenantsListResp) ProtoReflect() protoreflect.Message

func (*TenantsListResp) Reset

func (x *TenantsListResp) Reset()

func (*TenantsListResp) String

func (x *TenantsListResp) String() string

type UnimplementedCustomerServer

type UnimplementedCustomerServer struct{}

UnimplementedCustomerServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedCustomerServer) AddCustomer

func (UnimplementedCustomerServer) DeleteCustomer

func (UnimplementedCustomerServer) GetCustomer

func (UnimplementedCustomerServer) ListCustomers

func (UnimplementedCustomerServer) UpdateCustomer

type UnimplementedMyAccountServer

type UnimplementedMyAccountServer struct{}

UnimplementedMyAccountServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedMyAccountServer) CreateApiKey

func (UnimplementedMyAccountServer) DeleteApiKey

func (UnimplementedMyAccountServer) DisableApiKey

func (UnimplementedMyAccountServer) EnableApiKey

func (UnimplementedMyAccountServer) GetMyInfo

func (UnimplementedMyAccountServer) GetMySessions

func (UnimplementedMyAccountServer) ListApiKeys

func (UnimplementedMyAccountServer) ListMyAzs

func (UnimplementedMyAccountServer) ListMyOrgUnits

func (UnimplementedMyAccountServer) ListMyRegions

func (UnimplementedMyAccountServer) LogoutMySessions

func (UnimplementedMyAccountServer) SetDefaultOrgUnit

type UnimplementedMyTenantServer

type UnimplementedMyTenantServer struct{}

UnimplementedMyTenantServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedMyTenantServer) GetMyIdentityProvider

func (UnimplementedMyTenantServer) GetMyPasswordPolicy

func (UnimplementedMyTenantServer) UpdateMyPasswordPolicy

type UnimplementedOrgUnitRoleServer

type UnimplementedOrgUnitRoleServer struct{}

UnimplementedOrgUnitRoleServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedOrgUnitRoleServer) CreateCustomRole

func (UnimplementedOrgUnitRoleServer) DeleteCustomRole

func (UnimplementedOrgUnitRoleServer) GetCustomRole

func (UnimplementedOrgUnitRoleServer) ListOrgUnitRoles

func (UnimplementedOrgUnitRoleServer) UpdateCustomRole

type UnimplementedOrgUnitServer

type UnimplementedOrgUnitServer struct{}

UnimplementedOrgUnitServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedOrgUnitServer) CreateOrgUnit

func (UnimplementedOrgUnitServer) DeleteOrgUnit

func (UnimplementedOrgUnitServer) GetOrgUnit

func (UnimplementedOrgUnitServer) GetOrgUnitAccessLogs

func (UnimplementedOrgUnitServer) ListOrgUnits

func (UnimplementedOrgUnitServer) UpdateOrgUnit

type UnimplementedOrgUnitUserServer

type UnimplementedOrgUnitUserServer struct{}

UnimplementedOrgUnitUserServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedOrgUnitUserServer) AddOrgUnitUser

func (UnimplementedOrgUnitUserServer) DeleteOrgUnitUser

func (UnimplementedOrgUnitUserServer) ListOrgUnitUsers

func (UnimplementedOrgUnitUserServer) UpdateOrgUnitUser

type UnimplementedRegistrationServer

type UnimplementedRegistrationServer struct{}

UnimplementedRegistrationServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedRegistrationServer) GetRegisterOtp

type UnimplementedResourceDefinitionServer

type UnimplementedResourceDefinitionServer struct{}

UnimplementedResourceDefinitionServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedResourceDefinitionServer) GetResources

type UnimplementedTenantServer

type UnimplementedTenantServer struct{}

UnimplementedTenantServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedTenantServer) CreateTenant

func (UnimplementedTenantServer) GetTenant

func (UnimplementedTenantServer) ListOrgUnits

func (UnimplementedTenantServer) ListTenants

type UnimplementedTenantUserServer

type UnimplementedTenantUserServer struct{}

UnimplementedTenantUserServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedTenantUserServer) CreateUser

func (UnimplementedTenantUserServer) DeleteUser

func (UnimplementedTenantUserServer) DisableUser

func (UnimplementedTenantUserServer) EnableUser

func (UnimplementedTenantUserServer) GetUser

func (UnimplementedTenantUserServer) GetUsers

func (UnimplementedTenantUserServer) ListTenantUserOrgUnits

func (UnimplementedTenantUserServer) UpdateUser

type UnimplementedUserServer

type UnimplementedUserServer struct{}

UnimplementedUserServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedUserServer) CreateUser

func (UnimplementedUserServer) DeleteUser

func (UnimplementedUserServer) DisableUser

func (UnimplementedUserServer) EnableUser

func (UnimplementedUserServer) GetUser

func (UnimplementedUserServer) GetUsers

func (UnimplementedUserServer) ListUserOrgUnits

func (UnimplementedUserServer) ListUserSessions

func (UnimplementedUserServer) LogoutUserSession

func (UnimplementedUserServer) UpdateUser

type UnsafeCustomerServer

type UnsafeCustomerServer interface {
	// contains filtered or unexported methods
}

UnsafeCustomerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CustomerServer will result in compilation errors.

type UnsafeMyAccountServer

type UnsafeMyAccountServer interface {
	// contains filtered or unexported methods
}

UnsafeMyAccountServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MyAccountServer will result in compilation errors.

type UnsafeMyTenantServer

type UnsafeMyTenantServer interface {
	// contains filtered or unexported methods
}

UnsafeMyTenantServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MyTenantServer will result in compilation errors.

type UnsafeOrgUnitRoleServer

type UnsafeOrgUnitRoleServer interface {
	// contains filtered or unexported methods
}

UnsafeOrgUnitRoleServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrgUnitRoleServer will result in compilation errors.

type UnsafeOrgUnitServer

type UnsafeOrgUnitServer interface {
	// contains filtered or unexported methods
}

UnsafeOrgUnitServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrgUnitServer will result in compilation errors.

type UnsafeOrgUnitUserServer

type UnsafeOrgUnitUserServer interface {
	// contains filtered or unexported methods
}

UnsafeOrgUnitUserServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrgUnitUserServer will result in compilation errors.

type UnsafeRegistrationServer

type UnsafeRegistrationServer interface {
	// contains filtered or unexported methods
}

UnsafeRegistrationServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RegistrationServer will result in compilation errors.

type UnsafeResourceDefinitionServer

type UnsafeResourceDefinitionServer interface {
	// contains filtered or unexported methods
}

UnsafeResourceDefinitionServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourceDefinitionServer will result in compilation errors.

type UnsafeTenantServer

type UnsafeTenantServer interface {
	// contains filtered or unexported methods
}

UnsafeTenantServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TenantServer will result in compilation errors.

type UnsafeTenantUserServer

type UnsafeTenantUserServer interface {
	// contains filtered or unexported methods
}

UnsafeTenantUserServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TenantUserServer will result in compilation errors.

type UnsafeUserServer

type UnsafeUserServer interface {
	// contains filtered or unexported methods
}

UnsafeUserServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServer will result in compilation errors.

type UpdateCustomRoleReq

type UpdateCustomRoleReq struct {

	// Organization unit ID
	Ou string `protobuf:"bytes,1,opt,name=ou,proto3" json:"ou,omitempty"`
	// Name of the custom role to update
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Updated description explaining the purpose of this custom role
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Updated list of permissions granted by this custom role
	Permissions []*RolePermission `protobuf:"bytes,4,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

Update custom role request

func (*UpdateCustomRoleReq) Descriptor deprecated

func (*UpdateCustomRoleReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCustomRoleReq.ProtoReflect.Descriptor instead.

func (*UpdateCustomRoleReq) GetDescription

func (x *UpdateCustomRoleReq) GetDescription() string

func (*UpdateCustomRoleReq) GetName

func (x *UpdateCustomRoleReq) GetName() string

func (*UpdateCustomRoleReq) GetOu

func (x *UpdateCustomRoleReq) GetOu() string

func (*UpdateCustomRoleReq) GetPermissions

func (x *UpdateCustomRoleReq) GetPermissions() []*RolePermission

func (*UpdateCustomRoleReq) ProtoMessage

func (*UpdateCustomRoleReq) ProtoMessage()

func (*UpdateCustomRoleReq) ProtoReflect

func (x *UpdateCustomRoleReq) ProtoReflect() protoreflect.Message

func (*UpdateCustomRoleReq) Reset

func (x *UpdateCustomRoleReq) Reset()

func (*UpdateCustomRoleReq) String

func (x *UpdateCustomRoleReq) String() string

type UpdateCustomRoleResp

type UpdateCustomRoleResp struct {
	// contains filtered or unexported fields
}

Update custom role response

func (*UpdateCustomRoleResp) Descriptor deprecated

func (*UpdateCustomRoleResp) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCustomRoleResp.ProtoReflect.Descriptor instead.

func (*UpdateCustomRoleResp) ProtoMessage

func (*UpdateCustomRoleResp) ProtoMessage()

func (*UpdateCustomRoleResp) ProtoReflect

func (x *UpdateCustomRoleResp) ProtoReflect() protoreflect.Message

func (*UpdateCustomRoleResp) Reset

func (x *UpdateCustomRoleResp) Reset()

func (*UpdateCustomRoleResp) String

func (x *UpdateCustomRoleResp) String() string

type UserClient

type UserClient interface {
	// Get List of existing users in a tenant
	GetUsers(ctx context.Context, in *UsersListReq, opts ...grpc.CallOption) (*UsersListResp, error)
	// Create a new user for the given tenant
	CreateUser(ctx context.Context, in *UserCreateReq, opts ...grpc.CallOption) (*UserCreateResp, error)
	// Get an existing user for the given tenant
	GetUser(ctx context.Context, in *UserGetReq, opts ...grpc.CallOption) (*UserGetResp, error)
	// Enable an existing disabled user for the given tenant
	EnableUser(ctx context.Context, in *UserEnableReq, opts ...grpc.CallOption) (*UserEnableResp, error)
	// Disable an existing enabled user for the given tenant
	DisableUser(ctx context.Context, in *UserDisableReq, opts ...grpc.CallOption) (*UserDisableResp, error)
	// Update an existing user for the given tenant
	UpdateUser(ctx context.Context, in *UserUpdateReq, opts ...grpc.CallOption) (*UserUpdateResp, error)
	// Delete an existing user for the given tenant
	DeleteUser(ctx context.Context, in *UserDeleteReq, opts ...grpc.CallOption) (*UserDeleteResp, error)
	// List Active sessions, filter by user if provided
	ListUserSessions(ctx context.Context, in *UserSessionsListReq, opts ...grpc.CallOption) (*UserSessionsListResp, error)
	// logout user from specific session or all sessions
	LogoutUserSession(ctx context.Context, in *UserSessionLogoutReq, opts ...grpc.CallOption) (*UserSessionLogoutResp, error)
	// List org units where a specific user has roles (tenant admin within-tenant access)
	ListUserOrgUnits(ctx context.Context, in *UserOrgUnitsListReq, opts ...grpc.CallOption) (*UserOrgUnitsListResp, error)
}

UserClient is the client API for User service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Service provided to manage users

func NewUserClient

func NewUserClient(cc grpc.ClientConnInterface) UserClient

type UserCreateReq

type UserCreateReq struct {

	// user ID
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// email address of the user
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// first name of the user
	Firstname string `protobuf:"bytes,3,opt,name=firstname,proto3" json:"firstname,omitempty"`
	// last name of the user
	Lastname string `protobuf:"bytes,4,opt,name=lastname,proto3" json:"lastname,omitempty"`
	// if the user needs to be created disabled
	Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// temporary first login password to be set for the user
	Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

user create request message

func (*UserCreateReq) Descriptor deprecated

func (*UserCreateReq) Descriptor() ([]byte, []int)

Deprecated: Use UserCreateReq.ProtoReflect.Descriptor instead.

func (*UserCreateReq) GetDisabled

func (x *UserCreateReq) GetDisabled() bool

func (*UserCreateReq) GetEmail

func (x *UserCreateReq) GetEmail() string

func (*UserCreateReq) GetFirstname

func (x *UserCreateReq) GetFirstname() string

func (*UserCreateReq) GetLastname

func (x *UserCreateReq) GetLastname() string

func (*UserCreateReq) GetPassword

func (x *UserCreateReq) GetPassword() string

func (*UserCreateReq) GetUsername

func (x *UserCreateReq) GetUsername() string

func (*UserCreateReq) ProtoMessage

func (*UserCreateReq) ProtoMessage()

func (*UserCreateReq) ProtoReflect

func (x *UserCreateReq) ProtoReflect() protoreflect.Message

func (*UserCreateReq) Reset

func (x *UserCreateReq) Reset()

func (*UserCreateReq) String

func (x *UserCreateReq) String() string

type UserCreateResp

type UserCreateResp struct {

	// username or user id
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// user email
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// first name of user
	FirstName string `protobuf:"bytes,3,opt,name=firstName,proto3" json:"firstName,omitempty"`
	// last name of user
	LastName string `protobuf:"bytes,4,opt,name=lastName,proto3" json:"lastName,omitempty"`
	// is user enabled
	Enabled bool `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

response to user create request

func (*UserCreateResp) Descriptor deprecated

func (*UserCreateResp) Descriptor() ([]byte, []int)

Deprecated: Use UserCreateResp.ProtoReflect.Descriptor instead.

func (*UserCreateResp) GetEmail

func (x *UserCreateResp) GetEmail() string

func (*UserCreateResp) GetEnabled

func (x *UserCreateResp) GetEnabled() bool

func (*UserCreateResp) GetFirstName

func (x *UserCreateResp) GetFirstName() string

func (*UserCreateResp) GetLastName

func (x *UserCreateResp) GetLastName() string

func (*UserCreateResp) GetUsername

func (x *UserCreateResp) GetUsername() string

func (*UserCreateResp) ProtoMessage

func (*UserCreateResp) ProtoMessage()

func (*UserCreateResp) ProtoReflect

func (x *UserCreateResp) ProtoReflect() protoreflect.Message

func (*UserCreateResp) Reset

func (x *UserCreateResp) Reset()

func (*UserCreateResp) String

func (x *UserCreateResp) String() string

type UserDeleteReq

type UserDeleteReq struct {

	// user id which needs to be deleted
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

delete user request message

func (*UserDeleteReq) Descriptor deprecated

func (*UserDeleteReq) Descriptor() ([]byte, []int)

Deprecated: Use UserDeleteReq.ProtoReflect.Descriptor instead.

func (*UserDeleteReq) GetUsername

func (x *UserDeleteReq) GetUsername() string

func (*UserDeleteReq) ProtoMessage

func (*UserDeleteReq) ProtoMessage()

func (*UserDeleteReq) ProtoReflect

func (x *UserDeleteReq) ProtoReflect() protoreflect.Message

func (*UserDeleteReq) Reset

func (x *UserDeleteReq) Reset()

func (*UserDeleteReq) String

func (x *UserDeleteReq) String() string

type UserDeleteResp

type UserDeleteResp struct {
	// contains filtered or unexported fields
}

response to the user delete message

func (*UserDeleteResp) Descriptor deprecated

func (*UserDeleteResp) Descriptor() ([]byte, []int)

Deprecated: Use UserDeleteResp.ProtoReflect.Descriptor instead.

func (*UserDeleteResp) ProtoMessage

func (*UserDeleteResp) ProtoMessage()

func (*UserDeleteResp) ProtoReflect

func (x *UserDeleteResp) ProtoReflect() protoreflect.Message

func (*UserDeleteResp) Reset

func (x *UserDeleteResp) Reset()

func (*UserDeleteResp) String

func (x *UserDeleteResp) String() string

type UserDisableReq

type UserDisableReq struct {

	// user that needs to be disabled
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

disable user request

func (*UserDisableReq) Descriptor deprecated

func (*UserDisableReq) Descriptor() ([]byte, []int)

Deprecated: Use UserDisableReq.ProtoReflect.Descriptor instead.

func (*UserDisableReq) GetUsername

func (x *UserDisableReq) GetUsername() string

func (*UserDisableReq) ProtoMessage

func (*UserDisableReq) ProtoMessage()

func (*UserDisableReq) ProtoReflect

func (x *UserDisableReq) ProtoReflect() protoreflect.Message

func (*UserDisableReq) Reset

func (x *UserDisableReq) Reset()

func (*UserDisableReq) String

func (x *UserDisableReq) String() string

type UserDisableResp

type UserDisableResp struct {
	// contains filtered or unexported fields
}

disable user request response

func (*UserDisableResp) Descriptor deprecated

func (*UserDisableResp) Descriptor() ([]byte, []int)

Deprecated: Use UserDisableResp.ProtoReflect.Descriptor instead.

func (*UserDisableResp) ProtoMessage

func (*UserDisableResp) ProtoMessage()

func (*UserDisableResp) ProtoReflect

func (x *UserDisableResp) ProtoReflect() protoreflect.Message

func (*UserDisableResp) Reset

func (x *UserDisableResp) Reset()

func (*UserDisableResp) String

func (x *UserDisableResp) String() string

type UserEnableReq

type UserEnableReq struct {

	// user that needs to be enabled
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

enable user request

func (*UserEnableReq) Descriptor deprecated

func (*UserEnableReq) Descriptor() ([]byte, []int)

Deprecated: Use UserEnableReq.ProtoReflect.Descriptor instead.

func (*UserEnableReq) GetUsername

func (x *UserEnableReq) GetUsername() string

func (*UserEnableReq) ProtoMessage

func (*UserEnableReq) ProtoMessage()

func (*UserEnableReq) ProtoReflect

func (x *UserEnableReq) ProtoReflect() protoreflect.Message

func (*UserEnableReq) Reset

func (x *UserEnableReq) Reset()

func (*UserEnableReq) String

func (x *UserEnableReq) String() string

type UserEnableResp

type UserEnableResp struct {
	// contains filtered or unexported fields
}

enable user request response

func (*UserEnableResp) Descriptor deprecated

func (*UserEnableResp) Descriptor() ([]byte, []int)

Deprecated: Use UserEnableResp.ProtoReflect.Descriptor instead.

func (*UserEnableResp) ProtoMessage

func (*UserEnableResp) ProtoMessage()

func (*UserEnableResp) ProtoReflect

func (x *UserEnableResp) ProtoReflect() protoreflect.Message

func (*UserEnableResp) Reset

func (x *UserEnableResp) Reset()

func (*UserEnableResp) String

func (x *UserEnableResp) String() string

type UserGetReq

type UserGetReq struct {

	// user id which needs to be deleted
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

get user request message

func (*UserGetReq) Descriptor deprecated

func (*UserGetReq) Descriptor() ([]byte, []int)

Deprecated: Use UserGetReq.ProtoReflect.Descriptor instead.

func (*UserGetReq) GetUsername

func (x *UserGetReq) GetUsername() string

func (*UserGetReq) ProtoMessage

func (*UserGetReq) ProtoMessage()

func (*UserGetReq) ProtoReflect

func (x *UserGetReq) ProtoReflect() protoreflect.Message

func (*UserGetReq) Reset

func (x *UserGetReq) Reset()

func (*UserGetReq) String

func (x *UserGetReq) String() string

type UserGetResp

type UserGetResp struct {

	// username or user id
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// user email
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// first name of user
	FirstName string `protobuf:"bytes,3,opt,name=firstName,proto3" json:"firstName,omitempty"`
	// last name of user
	LastName string `protobuf:"bytes,4,opt,name=lastName,proto3" json:"lastName,omitempty"`
	// is user enabled
	Enabled bool `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// created since
	Created int64 `protobuf:"varint,6,opt,name=created,proto3" json:"created,omitempty"`
	// last access by the user
	LastAccess int64 `protobuf:"varint,7,opt,name=lastAccess,proto3" json:"lastAccess,omitempty"`
	// contains filtered or unexported fields
}

get user response

func (*UserGetResp) Descriptor deprecated

func (*UserGetResp) Descriptor() ([]byte, []int)

Deprecated: Use UserGetResp.ProtoReflect.Descriptor instead.

func (*UserGetResp) GetCreated

func (x *UserGetResp) GetCreated() int64

func (*UserGetResp) GetEmail

func (x *UserGetResp) GetEmail() string

func (*UserGetResp) GetEnabled

func (x *UserGetResp) GetEnabled() bool

func (*UserGetResp) GetFirstName

func (x *UserGetResp) GetFirstName() string

func (*UserGetResp) GetLastAccess

func (x *UserGetResp) GetLastAccess() int64

func (*UserGetResp) GetLastName

func (x *UserGetResp) GetLastName() string

func (*UserGetResp) GetUsername

func (x *UserGetResp) GetUsername() string

func (*UserGetResp) ProtoMessage

func (*UserGetResp) ProtoMessage()

func (*UserGetResp) ProtoReflect

func (x *UserGetResp) ProtoReflect() protoreflect.Message

func (*UserGetResp) Reset

func (x *UserGetResp) Reset()

func (*UserGetResp) String

func (x *UserGetResp) String() string

type UserListEntry

type UserListEntry struct {

	// username or user id
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// user email
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// first name of user
	FirstName string `protobuf:"bytes,3,opt,name=firstName,proto3" json:"firstName,omitempty"`
	// last name of user
	LastName string `protobuf:"bytes,4,opt,name=lastName,proto3" json:"lastName,omitempty"`
	// is user enabled
	Enabled bool `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// created since
	Created int64 `protobuf:"varint,6,opt,name=created,proto3" json:"created,omitempty"`
	// last access by the user
	LastAccess int64 `protobuf:"varint,7,opt,name=lastAccess,proto3" json:"lastAccess,omitempty"`
	// contains filtered or unexported fields
}

user information for the list entry

func (*UserListEntry) Descriptor deprecated

func (*UserListEntry) Descriptor() ([]byte, []int)

Deprecated: Use UserListEntry.ProtoReflect.Descriptor instead.

func (*UserListEntry) GetCreated

func (x *UserListEntry) GetCreated() int64

func (*UserListEntry) GetEmail

func (x *UserListEntry) GetEmail() string

func (*UserListEntry) GetEnabled

func (x *UserListEntry) GetEnabled() bool

func (*UserListEntry) GetFirstName

func (x *UserListEntry) GetFirstName() string

func (*UserListEntry) GetLastAccess

func (x *UserListEntry) GetLastAccess() int64

func (*UserListEntry) GetLastName

func (x *UserListEntry) GetLastName() string

func (*UserListEntry) GetUsername

func (x *UserListEntry) GetUsername() string

func (*UserListEntry) ProtoMessage

func (*UserListEntry) ProtoMessage()

func (*UserListEntry) ProtoReflect

func (x *UserListEntry) ProtoReflect() protoreflect.Message

func (*UserListEntry) Reset

func (x *UserListEntry) Reset()

func (*UserListEntry) String

func (x *UserListEntry) String() string

type UserOrgUnitWithRole

type UserOrgUnitWithRole struct {

	// org unit id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// org unit display name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// current user's role in this org unit
	Role string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

org unit entry with the current user's role

func (*UserOrgUnitWithRole) Descriptor deprecated

func (*UserOrgUnitWithRole) Descriptor() ([]byte, []int)

Deprecated: Use UserOrgUnitWithRole.ProtoReflect.Descriptor instead.

func (*UserOrgUnitWithRole) GetId

func (x *UserOrgUnitWithRole) GetId() string

func (*UserOrgUnitWithRole) GetName

func (x *UserOrgUnitWithRole) GetName() string

func (*UserOrgUnitWithRole) GetRole

func (x *UserOrgUnitWithRole) GetRole() string

func (*UserOrgUnitWithRole) ProtoMessage

func (*UserOrgUnitWithRole) ProtoMessage()

func (*UserOrgUnitWithRole) ProtoReflect

func (x *UserOrgUnitWithRole) ProtoReflect() protoreflect.Message

func (*UserOrgUnitWithRole) Reset

func (x *UserOrgUnitWithRole) Reset()

func (*UserOrgUnitWithRole) String

func (x *UserOrgUnitWithRole) String() string

type UserOrgUnitsListReq

type UserOrgUnitsListReq struct {

	// username parameter from the URL path
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// offset from where to start
	Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// limit the number of entries in the response
	Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

request for listing org units with roles for the current user

func (*UserOrgUnitsListReq) Descriptor deprecated

func (*UserOrgUnitsListReq) Descriptor() ([]byte, []int)

Deprecated: Use UserOrgUnitsListReq.ProtoReflect.Descriptor instead.

func (*UserOrgUnitsListReq) GetLimit

func (x *UserOrgUnitsListReq) GetLimit() int32

func (*UserOrgUnitsListReq) GetOffset

func (x *UserOrgUnitsListReq) GetOffset() int32

func (*UserOrgUnitsListReq) GetUsername

func (x *UserOrgUnitsListReq) GetUsername() string

func (*UserOrgUnitsListReq) ProtoMessage

func (*UserOrgUnitsListReq) ProtoMessage()

func (*UserOrgUnitsListReq) ProtoReflect

func (x *UserOrgUnitsListReq) ProtoReflect() protoreflect.Message

func (*UserOrgUnitsListReq) Reset

func (x *UserOrgUnitsListReq) Reset()

func (*UserOrgUnitsListReq) String

func (x *UserOrgUnitsListReq) String() string

type UserOrgUnitsListResp

type UserOrgUnitsListResp struct {

	// total count of org units the user belongs to
	Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// list of org units with the user's roles
	Items []*UserOrgUnitWithRole `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

response for listing org units with user's roles

func (*UserOrgUnitsListResp) Descriptor deprecated

func (*UserOrgUnitsListResp) Descriptor() ([]byte, []int)

Deprecated: Use UserOrgUnitsListResp.ProtoReflect.Descriptor instead.

func (*UserOrgUnitsListResp) GetCount

func (x *UserOrgUnitsListResp) GetCount() int32

func (*UserOrgUnitsListResp) GetItems

func (x *UserOrgUnitsListResp) GetItems() []*UserOrgUnitWithRole

func (*UserOrgUnitsListResp) ProtoMessage

func (*UserOrgUnitsListResp) ProtoMessage()

func (*UserOrgUnitsListResp) ProtoReflect

func (x *UserOrgUnitsListResp) ProtoReflect() protoreflect.Message

func (*UserOrgUnitsListResp) Reset

func (x *UserOrgUnitsListResp) Reset()

func (*UserOrgUnitsListResp) String

func (x *UserOrgUnitsListResp) String() string

type UserServer

type UserServer interface {
	// Get List of existing users in a tenant
	GetUsers(context.Context, *UsersListReq) (*UsersListResp, error)
	// Create a new user for the given tenant
	CreateUser(context.Context, *UserCreateReq) (*UserCreateResp, error)
	// Get an existing user for the given tenant
	GetUser(context.Context, *UserGetReq) (*UserGetResp, error)
	// Enable an existing disabled user for the given tenant
	EnableUser(context.Context, *UserEnableReq) (*UserEnableResp, error)
	// Disable an existing enabled user for the given tenant
	DisableUser(context.Context, *UserDisableReq) (*UserDisableResp, error)
	// Update an existing user for the given tenant
	UpdateUser(context.Context, *UserUpdateReq) (*UserUpdateResp, error)
	// Delete an existing user for the given tenant
	DeleteUser(context.Context, *UserDeleteReq) (*UserDeleteResp, error)
	// List Active sessions, filter by user if provided
	ListUserSessions(context.Context, *UserSessionsListReq) (*UserSessionsListResp, error)
	// logout user from specific session or all sessions
	LogoutUserSession(context.Context, *UserSessionLogoutReq) (*UserSessionLogoutResp, error)
	// List org units where a specific user has roles (tenant admin within-tenant access)
	ListUserOrgUnits(context.Context, *UserOrgUnitsListReq) (*UserOrgUnitsListResp, error)
	// contains filtered or unexported methods
}

UserServer is the server API for User service. All implementations must embed UnimplementedUserServer for forward compatibility.

Service provided to manage users

type UserSessionInfo

type UserSessionInfo struct {

	// user name
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// session id
	SessionId string `protobuf:"bytes,2,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	// start time
	Started int64 `protobuf:"varint,3,opt,name=started,proto3" json:"started,omitempty"`
	// last access time
	LastAccess int64 `protobuf:"varint,4,opt,name=lastAccess,proto3" json:"lastAccess,omitempty"`
	// incoming client ip
	Ip string `protobuf:"bytes,5,opt,name=ip,proto3" json:"ip,omitempty"`
	// location information based on IP (optional, omitted for private IPs)
	Loc *Location `protobuf:"bytes,6,opt,name=loc,proto3,oneof" json:"loc,omitempty"`
	// contains filtered or unexported fields
}

user session information

func (*UserSessionInfo) Descriptor deprecated

func (*UserSessionInfo) Descriptor() ([]byte, []int)

Deprecated: Use UserSessionInfo.ProtoReflect.Descriptor instead.

func (*UserSessionInfo) GetIp

func (x *UserSessionInfo) GetIp() string

func (*UserSessionInfo) GetLastAccess

func (x *UserSessionInfo) GetLastAccess() int64

func (*UserSessionInfo) GetLoc

func (x *UserSessionInfo) GetLoc() *Location

func (*UserSessionInfo) GetSessionId

func (x *UserSessionInfo) GetSessionId() string

func (*UserSessionInfo) GetStarted

func (x *UserSessionInfo) GetStarted() int64

func (*UserSessionInfo) GetUsername

func (x *UserSessionInfo) GetUsername() string

func (*UserSessionInfo) ProtoMessage

func (*UserSessionInfo) ProtoMessage()

func (*UserSessionInfo) ProtoReflect

func (x *UserSessionInfo) ProtoReflect() protoreflect.Message

func (*UserSessionInfo) Reset

func (x *UserSessionInfo) Reset()

func (*UserSessionInfo) String

func (x *UserSessionInfo) String() string

type UserSessionLogoutReq

type UserSessionLogoutReq struct {

	// user to be logged out
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// specific session id if any needs to be logged out
	// optional, if not specified all sessions are logged out
	SessionId string `protobuf:"bytes,2,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	// contains filtered or unexported fields
}

user session logout request

func (*UserSessionLogoutReq) Descriptor deprecated

func (*UserSessionLogoutReq) Descriptor() ([]byte, []int)

Deprecated: Use UserSessionLogoutReq.ProtoReflect.Descriptor instead.

func (*UserSessionLogoutReq) GetSessionId

func (x *UserSessionLogoutReq) GetSessionId() string

func (*UserSessionLogoutReq) GetUsername

func (x *UserSessionLogoutReq) GetUsername() string

func (*UserSessionLogoutReq) ProtoMessage

func (*UserSessionLogoutReq) ProtoMessage()

func (*UserSessionLogoutReq) ProtoReflect

func (x *UserSessionLogoutReq) ProtoReflect() protoreflect.Message

func (*UserSessionLogoutReq) Reset

func (x *UserSessionLogoutReq) Reset()

func (*UserSessionLogoutReq) String

func (x *UserSessionLogoutReq) String() string

type UserSessionLogoutResp

type UserSessionLogoutResp struct {
	// contains filtered or unexported fields
}

user session logout response

func (*UserSessionLogoutResp) Descriptor deprecated

func (*UserSessionLogoutResp) Descriptor() ([]byte, []int)

Deprecated: Use UserSessionLogoutResp.ProtoReflect.Descriptor instead.

func (*UserSessionLogoutResp) ProtoMessage

func (*UserSessionLogoutResp) ProtoMessage()

func (*UserSessionLogoutResp) ProtoReflect

func (x *UserSessionLogoutResp) ProtoReflect() protoreflect.Message

func (*UserSessionLogoutResp) Reset

func (x *UserSessionLogoutResp) Reset()

func (*UserSessionLogoutResp) String

func (x *UserSessionLogoutResp) String() string

type UserSessionsListReq

type UserSessionsListReq struct {

	// user name to filter for
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// offset to start from
	Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// limit
	Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

list active sessions request

func (*UserSessionsListReq) Descriptor deprecated

func (*UserSessionsListReq) Descriptor() ([]byte, []int)

Deprecated: Use UserSessionsListReq.ProtoReflect.Descriptor instead.

func (*UserSessionsListReq) GetLimit

func (x *UserSessionsListReq) GetLimit() int32

func (*UserSessionsListReq) GetOffset

func (x *UserSessionsListReq) GetOffset() int32

func (*UserSessionsListReq) GetUsername

func (x *UserSessionsListReq) GetUsername() string

func (*UserSessionsListReq) ProtoMessage

func (*UserSessionsListReq) ProtoMessage()

func (*UserSessionsListReq) ProtoReflect

func (x *UserSessionsListReq) ProtoReflect() protoreflect.Message

func (*UserSessionsListReq) Reset

func (x *UserSessionsListReq) Reset()

func (*UserSessionsListReq) String

func (x *UserSessionsListReq) String() string

type UserSessionsListResp

type UserSessionsListResp struct {

	// total number of active sessions
	Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// list of active sessions
	Items []*UserSessionInfo `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

response of list active sessions

func (*UserSessionsListResp) Descriptor deprecated

func (*UserSessionsListResp) Descriptor() ([]byte, []int)

Deprecated: Use UserSessionsListResp.ProtoReflect.Descriptor instead.

func (*UserSessionsListResp) GetCount

func (x *UserSessionsListResp) GetCount() int32

func (*UserSessionsListResp) GetItems

func (x *UserSessionsListResp) GetItems() []*UserSessionInfo

func (*UserSessionsListResp) ProtoMessage

func (*UserSessionsListResp) ProtoMessage()

func (*UserSessionsListResp) ProtoReflect

func (x *UserSessionsListResp) ProtoReflect() protoreflect.Message

func (*UserSessionsListResp) Reset

func (x *UserSessionsListResp) Reset()

func (*UserSessionsListResp) String

func (x *UserSessionsListResp) String() string

type UserUpdateReq

type UserUpdateReq struct {

	// user ID
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// email address of the user
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// first name of the user
	Firstname string `protobuf:"bytes,3,opt,name=firstname,proto3" json:"firstname,omitempty"`
	// last name of the user
	Lastname string `protobuf:"bytes,4,opt,name=lastname,proto3" json:"lastname,omitempty"`
	// if the user needs to be created disabled
	Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

user update request message

func (*UserUpdateReq) Descriptor deprecated

func (*UserUpdateReq) Descriptor() ([]byte, []int)

Deprecated: Use UserUpdateReq.ProtoReflect.Descriptor instead.

func (*UserUpdateReq) GetDisabled

func (x *UserUpdateReq) GetDisabled() bool

func (*UserUpdateReq) GetEmail

func (x *UserUpdateReq) GetEmail() string

func (*UserUpdateReq) GetFirstname

func (x *UserUpdateReq) GetFirstname() string

func (*UserUpdateReq) GetLastname

func (x *UserUpdateReq) GetLastname() string

func (*UserUpdateReq) GetUsername

func (x *UserUpdateReq) GetUsername() string

func (*UserUpdateReq) ProtoMessage

func (*UserUpdateReq) ProtoMessage()

func (*UserUpdateReq) ProtoReflect

func (x *UserUpdateReq) ProtoReflect() protoreflect.Message

func (*UserUpdateReq) Reset

func (x *UserUpdateReq) Reset()

func (*UserUpdateReq) String

func (x *UserUpdateReq) String() string

type UserUpdateResp

type UserUpdateResp struct {

	// username or user id
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// user email
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// first name of user
	FirstName string `protobuf:"bytes,3,opt,name=firstName,proto3" json:"firstName,omitempty"`
	// last name of user
	LastName string `protobuf:"bytes,4,opt,name=lastName,proto3" json:"lastName,omitempty"`
	// is user enabled
	Enabled bool `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

response to user update request

func (*UserUpdateResp) Descriptor deprecated

func (*UserUpdateResp) Descriptor() ([]byte, []int)

Deprecated: Use UserUpdateResp.ProtoReflect.Descriptor instead.

func (*UserUpdateResp) GetEmail

func (x *UserUpdateResp) GetEmail() string

func (*UserUpdateResp) GetEnabled

func (x *UserUpdateResp) GetEnabled() bool

func (*UserUpdateResp) GetFirstName

func (x *UserUpdateResp) GetFirstName() string

func (*UserUpdateResp) GetLastName

func (x *UserUpdateResp) GetLastName() string

func (*UserUpdateResp) GetUsername

func (x *UserUpdateResp) GetUsername() string

func (*UserUpdateResp) ProtoMessage

func (*UserUpdateResp) ProtoMessage()

func (*UserUpdateResp) ProtoReflect

func (x *UserUpdateResp) ProtoReflect() protoreflect.Message

func (*UserUpdateResp) Reset

func (x *UserUpdateResp) Reset()

func (*UserUpdateResp) String

func (x *UserUpdateResp) String() string

type UsersListReq

type UsersListReq struct {

	// offset from where to start the list of users
	Offset int32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	// limit the response to specified count
	Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// prefix match to consider
	Search string `protobuf:"bytes,3,opt,name=search,proto3" json:"search,omitempty"`
	// contains filtered or unexported fields
}

Request List of users in a tenant

func (*UsersListReq) Descriptor deprecated

func (*UsersListReq) Descriptor() ([]byte, []int)

Deprecated: Use UsersListReq.ProtoReflect.Descriptor instead.

func (*UsersListReq) GetLimit

func (x *UsersListReq) GetLimit() int32

func (*UsersListReq) GetOffset

func (x *UsersListReq) GetOffset() int32

func (*UsersListReq) GetSearch

func (x *UsersListReq) GetSearch() string

func (*UsersListReq) ProtoMessage

func (*UsersListReq) ProtoMessage()

func (*UsersListReq) ProtoReflect

func (x *UsersListReq) ProtoReflect() protoreflect.Message

func (*UsersListReq) Reset

func (x *UsersListReq) Reset()

func (*UsersListReq) String

func (x *UsersListReq) String() string

type UsersListResp

type UsersListResp struct {

	// number of users in the tenant
	Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// items - list of users
	Items []*UserListEntry `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

Response to the list of users in a tenant

func (*UsersListResp) Descriptor deprecated

func (*UsersListResp) Descriptor() ([]byte, []int)

Deprecated: Use UsersListResp.ProtoReflect.Descriptor instead.

func (*UsersListResp) GetCount

func (x *UsersListResp) GetCount() int32

func (*UsersListResp) GetItems

func (x *UsersListResp) GetItems() []*UserListEntry

func (*UsersListResp) ProtoMessage

func (*UsersListResp) ProtoMessage()

func (*UsersListResp) ProtoReflect

func (x *UsersListResp) ProtoReflect() protoreflect.Message

func (*UsersListResp) Reset

func (x *UsersListResp) Reset()

func (*UsersListResp) String

func (x *UsersListResp) String() string

Jump to

Keyboard shortcuts

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