identityv1

package
v0.65.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2026 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IdentityService_FindUser_FullMethodName                      = "/identity.v1.IdentityService/FindUser"
	IdentityService_GetUsers_FullMethodName                      = "/identity.v1.IdentityService/GetUsers"
	IdentityService_GetUsersQuerySchema_FullMethodName           = "/identity.v1.IdentityService/GetUsersQuerySchema"
	IdentityService_QueryUsers_FullMethodName                    = "/identity.v1.IdentityService/QueryUsers"
	IdentityService_IssueUserToken_FullMethodName                = "/identity.v1.IdentityService/IssueUserToken"
	IdentityService_GetUserOnboardCapability_FullMethodName      = "/identity.v1.IdentityService/GetUserOnboardCapability"
	IdentityService_OnboardUserDeviceFlow_FullMethodName         = "/identity.v1.IdentityService/OnboardUserDeviceFlow"
	IdentityService_OnboardUserWebFlow_FullMethodName            = "/identity.v1.IdentityService/OnboardUserWebFlow"
	IdentityService_CompleteUserWebFlow_FullMethodName           = "/identity.v1.IdentityService/CompleteUserWebFlow"
	IdentityService_AuthUserPublicKey_FullMethodName             = "/identity.v1.IdentityService/AuthUserPublicKey"
	IdentityService_AuthUserPassword_FullMethodName              = "/identity.v1.IdentityService/AuthUserPassword"
	IdentityService_GetPasswordLockoutStatus_FullMethodName      = "/identity.v1.IdentityService/GetPasswordLockoutStatus"
	IdentityService_ClearPasswordLockout_FullMethodName          = "/identity.v1.IdentityService/ClearPasswordLockout"
	IdentityService_CompleteUserDeviceFlow_FullMethodName        = "/identity.v1.IdentityService/CompleteUserDeviceFlow"
	IdentityService_GetBlueprintByUserStr_FullMethodName         = "/identity.v1.IdentityService/GetBlueprintByUserStr"
	IdentityService_ListUserCredentials_FullMethodName           = "/identity.v1.IdentityService/ListUserCredentials"
	IdentityService_GetUserCredential_FullMethodName             = "/identity.v1.IdentityService/GetUserCredential"
	IdentityService_AddKubernetesUserCredential_FullMethodName   = "/identity.v1.IdentityService/AddKubernetesUserCredential"
	IdentityService_AddGitUserCredential_FullMethodName          = "/identity.v1.IdentityService/AddGitUserCredential"
	IdentityService_AddRegistryUserCredential_FullMethodName     = "/identity.v1.IdentityService/AddRegistryUserCredential"
	IdentityService_CreateUser_FullMethodName                    = "/identity.v1.IdentityService/CreateUser"
	IdentityService_UpdateUser_FullMethodName                    = "/identity.v1.IdentityService/UpdateUser"
	IdentityService_DeleteUser_FullMethodName                    = "/identity.v1.IdentityService/DeleteUser"
	IdentityService_AddUserRoles_FullMethodName                  = "/identity.v1.IdentityService/AddUserRoles"
	IdentityService_RemoveUserRoles_FullMethodName               = "/identity.v1.IdentityService/RemoveUserRoles"
	IdentityService_ListRoles_FullMethodName                     = "/identity.v1.IdentityService/ListRoles"
	IdentityService_ListGlobalRoles_FullMethodName               = "/identity.v1.IdentityService/ListGlobalRoles"
	IdentityService_CreateRole_FullMethodName                    = "/identity.v1.IdentityService/CreateRole"
	IdentityService_UpdateRole_FullMethodName                    = "/identity.v1.IdentityService/UpdateRole"
	IdentityService_DeleteRole_FullMethodName                    = "/identity.v1.IdentityService/DeleteRole"
	IdentityService_AddRoleBlueprints_FullMethodName             = "/identity.v1.IdentityService/AddRoleBlueprints"
	IdentityService_RemoveRoleBlueprints_FullMethodName          = "/identity.v1.IdentityService/RemoveRoleBlueprints"
	IdentityService_ListOrganizations_FullMethodName             = "/identity.v1.IdentityService/ListOrganizations"
	IdentityService_GetOrganization_FullMethodName               = "/identity.v1.IdentityService/GetOrganization"
	IdentityService_GetOrganizationsQuerySchema_FullMethodName   = "/identity.v1.IdentityService/GetOrganizationsQuerySchema"
	IdentityService_QueryOrganizations_FullMethodName            = "/identity.v1.IdentityService/QueryOrganizations"
	IdentityService_CreateOrganization_FullMethodName            = "/identity.v1.IdentityService/CreateOrganization"
	IdentityService_UpdateOrganization_FullMethodName            = "/identity.v1.IdentityService/UpdateOrganization"
	IdentityService_DeleteOrganization_FullMethodName            = "/identity.v1.IdentityService/DeleteOrganization"
	IdentityService_GetOnboardRulesQuerySchema_FullMethodName    = "/identity.v1.IdentityService/GetOnboardRulesQuerySchema"
	IdentityService_QueryOnboardRules_FullMethodName             = "/identity.v1.IdentityService/QueryOnboardRules"
	IdentityService_CreateOnboardRule_FullMethodName             = "/identity.v1.IdentityService/CreateOnboardRule"
	IdentityService_UpdateOnboardRule_FullMethodName             = "/identity.v1.IdentityService/UpdateOnboardRule"
	IdentityService_DeleteOnboardRule_FullMethodName             = "/identity.v1.IdentityService/DeleteOnboardRule"
	IdentityService_ApproveOnboardRequest_FullMethodName         = "/identity.v1.IdentityService/ApproveOnboardRequest"
	IdentityService_RejectOnboardRequest_FullMethodName          = "/identity.v1.IdentityService/RejectOnboardRequest"
	IdentityService_ListUserAuthKeys_FullMethodName              = "/identity.v1.IdentityService/ListUserAuthKeys"
	IdentityService_AddUserAuthKeys_FullMethodName               = "/identity.v1.IdentityService/AddUserAuthKeys"
	IdentityService_RemoveUserAuthKey_FullMethodName             = "/identity.v1.IdentityService/RemoveUserAuthKey"
	IdentityService_SetUserPassword_FullMethodName               = "/identity.v1.IdentityService/SetUserPassword"
	IdentityService_RequestPasswordReset_FullMethodName          = "/identity.v1.IdentityService/RequestPasswordReset"
	IdentityService_ConfirmPasswordReset_FullMethodName          = "/identity.v1.IdentityService/ConfirmPasswordReset"
	IdentityService_UpdateUserCredential_FullMethodName          = "/identity.v1.IdentityService/UpdateUserCredential"
	IdentityService_DeleteUserCredential_FullMethodName          = "/identity.v1.IdentityService/DeleteUserCredential"
	IdentityService_RemoveUserCredential_FullMethodName          = "/identity.v1.IdentityService/RemoveUserCredential"
	IdentityService_GetAvailableIdentityProviders_FullMethodName = "/identity.v1.IdentityService/GetAvailableIdentityProviders"
	IdentityService_ListRepoOwners_FullMethodName                = "/identity.v1.IdentityService/ListRepoOwners"
	IdentityService_ListRepos_FullMethodName                     = "/identity.v1.IdentityService/ListRepos"
	IdentityService_CreateAccessToken_FullMethodName             = "/identity.v1.IdentityService/CreateAccessToken"
	IdentityService_UpdateAccessToken_FullMethodName             = "/identity.v1.IdentityService/UpdateAccessToken"
	IdentityService_ListAccessTokens_FullMethodName              = "/identity.v1.IdentityService/ListAccessTokens"
	IdentityService_RevokeAccessToken_FullMethodName             = "/identity.v1.IdentityService/RevokeAccessToken"
	IdentityService_DeleteAccessToken_FullMethodName             = "/identity.v1.IdentityService/DeleteAccessToken"
	IdentityService_ResolveAccessToken_FullMethodName            = "/identity.v1.IdentityService/ResolveAccessToken"
	IdentityService_ListOrganizationEnvVars_FullMethodName       = "/identity.v1.IdentityService/ListOrganizationEnvVars"
	IdentityService_GetOrganizationEnvVar_FullMethodName         = "/identity.v1.IdentityService/GetOrganizationEnvVar"
	IdentityService_AddOrganizationEnvVar_FullMethodName         = "/identity.v1.IdentityService/AddOrganizationEnvVar"
	IdentityService_UpdateOrganizationEnvVar_FullMethodName      = "/identity.v1.IdentityService/UpdateOrganizationEnvVar"
	IdentityService_DeleteOrganizationEnvVar_FullMethodName      = "/identity.v1.IdentityService/DeleteOrganizationEnvVar"
	IdentityService_ListUserEnvVars_FullMethodName               = "/identity.v1.IdentityService/ListUserEnvVars"
	IdentityService_GetUserEnvVar_FullMethodName                 = "/identity.v1.IdentityService/GetUserEnvVar"
	IdentityService_AddUserEnvVar_FullMethodName                 = "/identity.v1.IdentityService/AddUserEnvVar"
	IdentityService_UpdateUserEnvVar_FullMethodName              = "/identity.v1.IdentityService/UpdateUserEnvVar"
	IdentityService_DeleteUserEnvVar_FullMethodName              = "/identity.v1.IdentityService/DeleteUserEnvVar"
	IdentityService_CreateAnnouncement_FullMethodName            = "/identity.v1.IdentityService/CreateAnnouncement"
	IdentityService_GetAnnouncement_FullMethodName               = "/identity.v1.IdentityService/GetAnnouncement"
	IdentityService_UpdateAnnouncement_FullMethodName            = "/identity.v1.IdentityService/UpdateAnnouncement"
	IdentityService_DeleteAnnouncement_FullMethodName            = "/identity.v1.IdentityService/DeleteAnnouncement"
	IdentityService_ListAnnouncements_FullMethodName             = "/identity.v1.IdentityService/ListAnnouncements"
	IdentityService_ListUnreadAnnouncements_FullMethodName       = "/identity.v1.IdentityService/ListUnreadAnnouncements"
	IdentityService_ListUserAnnouncements_FullMethodName         = "/identity.v1.IdentityService/ListUserAnnouncements"
	IdentityService_MarkAnnouncementRead_FullMethodName          = "/identity.v1.IdentityService/MarkAnnouncementRead"
	IdentityService_GetAnnouncementsQuerySchema_FullMethodName   = "/identity.v1.IdentityService/GetAnnouncementsQuerySchema"
	IdentityService_QueryAnnouncements_FullMethodName            = "/identity.v1.IdentityService/QueryAnnouncements"
	IdentityService_GetVersionInfo_FullMethodName                = "/identity.v1.IdentityService/GetVersionInfo"
	IdentityService_GetUserSettings_FullMethodName               = "/identity.v1.IdentityService/GetUserSettings"
	IdentityService_PutUserSettings_FullMethodName               = "/identity.v1.IdentityService/PutUserSettings"
)
View Source
const (
	IdentityProviderService_ProviderInfo_FullMethodName            = "/identity.v1.IdentityProviderService/ProviderInfo"
	IdentityProviderService_FindUser_FullMethodName                = "/identity.v1.IdentityProviderService/FindUser"
	IdentityProviderService_OnboardUserCapability_FullMethodName   = "/identity.v1.IdentityProviderService/OnboardUserCapability"
	IdentityProviderService_OnboardUserDeviceFlow_FullMethodName   = "/identity.v1.IdentityProviderService/OnboardUserDeviceFlow"
	IdentityProviderService_OnboardUserWebFlow_FullMethodName      = "/identity.v1.IdentityProviderService/OnboardUserWebFlow"
	IdentityProviderService_CompleteUserWebFlow_FullMethodName     = "/identity.v1.IdentityProviderService/CompleteUserWebFlow"
	IdentityProviderService_AuthUserPublicKey_FullMethodName       = "/identity.v1.IdentityProviderService/AuthUserPublicKey"
	IdentityProviderService_GetUserGitToken_FullMethodName         = "/identity.v1.IdentityProviderService/GetUserGitToken"
	IdentityProviderService_GetBlueprintByUserStr_FullMethodName   = "/identity.v1.IdentityProviderService/GetBlueprintByUserStr"
	IdentityProviderService_ListUserAuthKeys_FullMethodName        = "/identity.v1.IdentityProviderService/ListUserAuthKeys"
	IdentityProviderService_ResolvePullRequestToRef_FullMethodName = "/identity.v1.IdentityProviderService/ResolvePullRequestToRef"
	IdentityProviderService_ListRepoOwners_FullMethodName          = "/identity.v1.IdentityProviderService/ListRepoOwners"
	IdentityProviderService_ListRepos_FullMethodName               = "/identity.v1.IdentityProviderService/ListRepos"
	IdentityProviderService_GetVersionInfo_FullMethodName          = "/identity.v1.IdentityProviderService/GetVersionInfo"
)

Variables

View Source
var (
	AuthKeyFormat_name = map[int32]string{
		0: "AUTH_KEY_FORMAT_UNSPECIFIED",
		1: "AUTH_KEY_FORMAT_NORMAL",
		2: "AUTH_KEY_FORMAT_DIGEST",
	}
	AuthKeyFormat_value = map[string]int32{
		"AUTH_KEY_FORMAT_UNSPECIFIED": 0,
		"AUTH_KEY_FORMAT_NORMAL":      1,
		"AUTH_KEY_FORMAT_DIGEST":      2,
	}
)

Enum value maps for AuthKeyFormat.

View Source
var File_identity_v1_identity_proto protoreflect.FileDescriptor
View Source
var File_identity_v1_idp_proto protoreflect.FileDescriptor
View Source
var File_identity_v1_types_proto protoreflect.FileDescriptor
View Source
var IdentityProviderService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "identity.v1.IdentityProviderService",
	HandlerType: (*IdentityProviderServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ProviderInfo",
			Handler:    _IdentityProviderService_ProviderInfo_Handler,
		},
		{
			MethodName: "FindUser",
			Handler:    _IdentityProviderService_FindUser_Handler,
		},
		{
			MethodName: "OnboardUserCapability",
			Handler:    _IdentityProviderService_OnboardUserCapability_Handler,
		},
		{
			MethodName: "OnboardUserDeviceFlow",
			Handler:    _IdentityProviderService_OnboardUserDeviceFlow_Handler,
		},
		{
			MethodName: "OnboardUserWebFlow",
			Handler:    _IdentityProviderService_OnboardUserWebFlow_Handler,
		},
		{
			MethodName: "CompleteUserWebFlow",
			Handler:    _IdentityProviderService_CompleteUserWebFlow_Handler,
		},
		{
			MethodName: "AuthUserPublicKey",
			Handler:    _IdentityProviderService_AuthUserPublicKey_Handler,
		},
		{
			MethodName: "GetUserGitToken",
			Handler:    _IdentityProviderService_GetUserGitToken_Handler,
		},
		{
			MethodName: "GetBlueprintByUserStr",
			Handler:    _IdentityProviderService_GetBlueprintByUserStr_Handler,
		},
		{
			MethodName: "ListUserAuthKeys",
			Handler:    _IdentityProviderService_ListUserAuthKeys_Handler,
		},
		{
			MethodName: "ResolvePullRequestToRef",
			Handler:    _IdentityProviderService_ResolvePullRequestToRef_Handler,
		},
		{
			MethodName: "ListRepoOwners",
			Handler:    _IdentityProviderService_ListRepoOwners_Handler,
		},
		{
			MethodName: "ListRepos",
			Handler:    _IdentityProviderService_ListRepos_Handler,
		},
		{
			MethodName: "GetVersionInfo",
			Handler:    _IdentityProviderService_GetVersionInfo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "identity/v1/idp.proto",
}

IdentityProviderService_ServiceDesc is the grpc.ServiceDesc for IdentityProviderService 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 IdentityService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "identity.v1.IdentityService",
	HandlerType: (*IdentityServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FindUser",
			Handler:    _IdentityService_FindUser_Handler,
		},
		{
			MethodName: "GetUsers",
			Handler:    _IdentityService_GetUsers_Handler,
		},
		{
			MethodName: "GetUsersQuerySchema",
			Handler:    _IdentityService_GetUsersQuerySchema_Handler,
		},
		{
			MethodName: "QueryUsers",
			Handler:    _IdentityService_QueryUsers_Handler,
		},
		{
			MethodName: "IssueUserToken",
			Handler:    _IdentityService_IssueUserToken_Handler,
		},
		{
			MethodName: "GetUserOnboardCapability",
			Handler:    _IdentityService_GetUserOnboardCapability_Handler,
		},
		{
			MethodName: "OnboardUserDeviceFlow",
			Handler:    _IdentityService_OnboardUserDeviceFlow_Handler,
		},
		{
			MethodName: "OnboardUserWebFlow",
			Handler:    _IdentityService_OnboardUserWebFlow_Handler,
		},
		{
			MethodName: "CompleteUserWebFlow",
			Handler:    _IdentityService_CompleteUserWebFlow_Handler,
		},
		{
			MethodName: "AuthUserPublicKey",
			Handler:    _IdentityService_AuthUserPublicKey_Handler,
		},
		{
			MethodName: "AuthUserPassword",
			Handler:    _IdentityService_AuthUserPassword_Handler,
		},
		{
			MethodName: "GetPasswordLockoutStatus",
			Handler:    _IdentityService_GetPasswordLockoutStatus_Handler,
		},
		{
			MethodName: "ClearPasswordLockout",
			Handler:    _IdentityService_ClearPasswordLockout_Handler,
		},
		{
			MethodName: "CompleteUserDeviceFlow",
			Handler:    _IdentityService_CompleteUserDeviceFlow_Handler,
		},
		{
			MethodName: "GetBlueprintByUserStr",
			Handler:    _IdentityService_GetBlueprintByUserStr_Handler,
		},
		{
			MethodName: "ListUserCredentials",
			Handler:    _IdentityService_ListUserCredentials_Handler,
		},
		{
			MethodName: "GetUserCredential",
			Handler:    _IdentityService_GetUserCredential_Handler,
		},
		{
			MethodName: "AddKubernetesUserCredential",
			Handler:    _IdentityService_AddKubernetesUserCredential_Handler,
		},
		{
			MethodName: "AddGitUserCredential",
			Handler:    _IdentityService_AddGitUserCredential_Handler,
		},
		{
			MethodName: "AddRegistryUserCredential",
			Handler:    _IdentityService_AddRegistryUserCredential_Handler,
		},
		{
			MethodName: "CreateUser",
			Handler:    _IdentityService_CreateUser_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _IdentityService_UpdateUser_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _IdentityService_DeleteUser_Handler,
		},
		{
			MethodName: "AddUserRoles",
			Handler:    _IdentityService_AddUserRoles_Handler,
		},
		{
			MethodName: "RemoveUserRoles",
			Handler:    _IdentityService_RemoveUserRoles_Handler,
		},
		{
			MethodName: "ListRoles",
			Handler:    _IdentityService_ListRoles_Handler,
		},
		{
			MethodName: "ListGlobalRoles",
			Handler:    _IdentityService_ListGlobalRoles_Handler,
		},
		{
			MethodName: "CreateRole",
			Handler:    _IdentityService_CreateRole_Handler,
		},
		{
			MethodName: "UpdateRole",
			Handler:    _IdentityService_UpdateRole_Handler,
		},
		{
			MethodName: "DeleteRole",
			Handler:    _IdentityService_DeleteRole_Handler,
		},
		{
			MethodName: "AddRoleBlueprints",
			Handler:    _IdentityService_AddRoleBlueprints_Handler,
		},
		{
			MethodName: "RemoveRoleBlueprints",
			Handler:    _IdentityService_RemoveRoleBlueprints_Handler,
		},
		{
			MethodName: "ListOrganizations",
			Handler:    _IdentityService_ListOrganizations_Handler,
		},
		{
			MethodName: "GetOrganization",
			Handler:    _IdentityService_GetOrganization_Handler,
		},
		{
			MethodName: "GetOrganizationsQuerySchema",
			Handler:    _IdentityService_GetOrganizationsQuerySchema_Handler,
		},
		{
			MethodName: "QueryOrganizations",
			Handler:    _IdentityService_QueryOrganizations_Handler,
		},
		{
			MethodName: "CreateOrganization",
			Handler:    _IdentityService_CreateOrganization_Handler,
		},
		{
			MethodName: "UpdateOrganization",
			Handler:    _IdentityService_UpdateOrganization_Handler,
		},
		{
			MethodName: "DeleteOrganization",
			Handler:    _IdentityService_DeleteOrganization_Handler,
		},
		{
			MethodName: "GetOnboardRulesQuerySchema",
			Handler:    _IdentityService_GetOnboardRulesQuerySchema_Handler,
		},
		{
			MethodName: "QueryOnboardRules",
			Handler:    _IdentityService_QueryOnboardRules_Handler,
		},
		{
			MethodName: "CreateOnboardRule",
			Handler:    _IdentityService_CreateOnboardRule_Handler,
		},
		{
			MethodName: "UpdateOnboardRule",
			Handler:    _IdentityService_UpdateOnboardRule_Handler,
		},
		{
			MethodName: "DeleteOnboardRule",
			Handler:    _IdentityService_DeleteOnboardRule_Handler,
		},
		{
			MethodName: "ApproveOnboardRequest",
			Handler:    _IdentityService_ApproveOnboardRequest_Handler,
		},
		{
			MethodName: "RejectOnboardRequest",
			Handler:    _IdentityService_RejectOnboardRequest_Handler,
		},
		{
			MethodName: "ListUserAuthKeys",
			Handler:    _IdentityService_ListUserAuthKeys_Handler,
		},
		{
			MethodName: "AddUserAuthKeys",
			Handler:    _IdentityService_AddUserAuthKeys_Handler,
		},
		{
			MethodName: "RemoveUserAuthKey",
			Handler:    _IdentityService_RemoveUserAuthKey_Handler,
		},
		{
			MethodName: "SetUserPassword",
			Handler:    _IdentityService_SetUserPassword_Handler,
		},
		{
			MethodName: "RequestPasswordReset",
			Handler:    _IdentityService_RequestPasswordReset_Handler,
		},
		{
			MethodName: "ConfirmPasswordReset",
			Handler:    _IdentityService_ConfirmPasswordReset_Handler,
		},
		{
			MethodName: "UpdateUserCredential",
			Handler:    _IdentityService_UpdateUserCredential_Handler,
		},
		{
			MethodName: "DeleteUserCredential",
			Handler:    _IdentityService_DeleteUserCredential_Handler,
		},
		{
			MethodName: "RemoveUserCredential",
			Handler:    _IdentityService_RemoveUserCredential_Handler,
		},
		{
			MethodName: "GetAvailableIdentityProviders",
			Handler:    _IdentityService_GetAvailableIdentityProviders_Handler,
		},
		{
			MethodName: "ListRepoOwners",
			Handler:    _IdentityService_ListRepoOwners_Handler,
		},
		{
			MethodName: "ListRepos",
			Handler:    _IdentityService_ListRepos_Handler,
		},
		{
			MethodName: "CreateAccessToken",
			Handler:    _IdentityService_CreateAccessToken_Handler,
		},
		{
			MethodName: "UpdateAccessToken",
			Handler:    _IdentityService_UpdateAccessToken_Handler,
		},
		{
			MethodName: "ListAccessTokens",
			Handler:    _IdentityService_ListAccessTokens_Handler,
		},
		{
			MethodName: "RevokeAccessToken",
			Handler:    _IdentityService_RevokeAccessToken_Handler,
		},
		{
			MethodName: "DeleteAccessToken",
			Handler:    _IdentityService_DeleteAccessToken_Handler,
		},
		{
			MethodName: "ResolveAccessToken",
			Handler:    _IdentityService_ResolveAccessToken_Handler,
		},
		{
			MethodName: "ListOrganizationEnvVars",
			Handler:    _IdentityService_ListOrganizationEnvVars_Handler,
		},
		{
			MethodName: "GetOrganizationEnvVar",
			Handler:    _IdentityService_GetOrganizationEnvVar_Handler,
		},
		{
			MethodName: "AddOrganizationEnvVar",
			Handler:    _IdentityService_AddOrganizationEnvVar_Handler,
		},
		{
			MethodName: "UpdateOrganizationEnvVar",
			Handler:    _IdentityService_UpdateOrganizationEnvVar_Handler,
		},
		{
			MethodName: "DeleteOrganizationEnvVar",
			Handler:    _IdentityService_DeleteOrganizationEnvVar_Handler,
		},
		{
			MethodName: "ListUserEnvVars",
			Handler:    _IdentityService_ListUserEnvVars_Handler,
		},
		{
			MethodName: "GetUserEnvVar",
			Handler:    _IdentityService_GetUserEnvVar_Handler,
		},
		{
			MethodName: "AddUserEnvVar",
			Handler:    _IdentityService_AddUserEnvVar_Handler,
		},
		{
			MethodName: "UpdateUserEnvVar",
			Handler:    _IdentityService_UpdateUserEnvVar_Handler,
		},
		{
			MethodName: "DeleteUserEnvVar",
			Handler:    _IdentityService_DeleteUserEnvVar_Handler,
		},
		{
			MethodName: "CreateAnnouncement",
			Handler:    _IdentityService_CreateAnnouncement_Handler,
		},
		{
			MethodName: "GetAnnouncement",
			Handler:    _IdentityService_GetAnnouncement_Handler,
		},
		{
			MethodName: "UpdateAnnouncement",
			Handler:    _IdentityService_UpdateAnnouncement_Handler,
		},
		{
			MethodName: "DeleteAnnouncement",
			Handler:    _IdentityService_DeleteAnnouncement_Handler,
		},
		{
			MethodName: "ListAnnouncements",
			Handler:    _IdentityService_ListAnnouncements_Handler,
		},
		{
			MethodName: "ListUnreadAnnouncements",
			Handler:    _IdentityService_ListUnreadAnnouncements_Handler,
		},
		{
			MethodName: "ListUserAnnouncements",
			Handler:    _IdentityService_ListUserAnnouncements_Handler,
		},
		{
			MethodName: "MarkAnnouncementRead",
			Handler:    _IdentityService_MarkAnnouncementRead_Handler,
		},
		{
			MethodName: "GetAnnouncementsQuerySchema",
			Handler:    _IdentityService_GetAnnouncementsQuerySchema_Handler,
		},
		{
			MethodName: "QueryAnnouncements",
			Handler:    _IdentityService_QueryAnnouncements_Handler,
		},
		{
			MethodName: "GetVersionInfo",
			Handler:    _IdentityService_GetVersionInfo_Handler,
		},
		{
			MethodName: "GetUserSettings",
			Handler:    _IdentityService_GetUserSettings_Handler,
		},
		{
			MethodName: "PutUserSettings",
			Handler:    _IdentityService_PutUserSettings_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "identity/v1/identity.proto",
}

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

Functions

func RegisterIdentityProviderServiceServer

func RegisterIdentityProviderServiceServer(s grpc.ServiceRegistrar, srv IdentityProviderServiceServer)

func RegisterIdentityServiceServer

func RegisterIdentityServiceServer(s grpc.ServiceRegistrar, srv IdentityServiceServer)

Types

type AccessTokenInfo

type AccessTokenInfo struct {
	Id         int64                `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Username   string               `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Name       string               `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Scopes     []string             `protobuf:"bytes,4,rep,name=scopes,proto3" json:"scopes,omitempty"`
	ExpiresAt  *timestamp.Timestamp `protobuf:"bytes,5,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	CreatedAt  *timestamp.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	LastUsedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=last_used_at,json=lastUsedAt,proto3" json:"last_used_at,omitempty"`
	IsActive   bool                 `protobuf:"varint,8,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
	// token_preview holds the first few characters of the token's random portion
	// (after the k8sh_ prefix), letting a user tell their tokens apart without the
	// raw value ever being stored or shown again. Empty for tokens issued before
	// this field existed.
	TokenPreview string `protobuf:"bytes,9,opt,name=token_preview,json=tokenPreview,proto3" json:"token_preview,omitempty"`
	// contains filtered or unexported fields
}

AccessTokenInfo carries access token metadata returned in list responses. The raw token and its hash are never included.

func (*AccessTokenInfo) Descriptor deprecated

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

Deprecated: Use AccessTokenInfo.ProtoReflect.Descriptor instead.

func (*AccessTokenInfo) GetCreatedAt

func (x *AccessTokenInfo) GetCreatedAt() *timestamp.Timestamp

func (*AccessTokenInfo) GetExpiresAt

func (x *AccessTokenInfo) GetExpiresAt() *timestamp.Timestamp

func (*AccessTokenInfo) GetId

func (x *AccessTokenInfo) GetId() int64

func (*AccessTokenInfo) GetIsActive

func (x *AccessTokenInfo) GetIsActive() bool

func (*AccessTokenInfo) GetLastUsedAt

func (x *AccessTokenInfo) GetLastUsedAt() *timestamp.Timestamp

func (*AccessTokenInfo) GetName

func (x *AccessTokenInfo) GetName() string

func (*AccessTokenInfo) GetScopes

func (x *AccessTokenInfo) GetScopes() []string

func (*AccessTokenInfo) GetTokenPreview added in v0.33.0

func (x *AccessTokenInfo) GetTokenPreview() string

func (*AccessTokenInfo) GetUsername

func (x *AccessTokenInfo) GetUsername() string

func (*AccessTokenInfo) ProtoMessage

func (*AccessTokenInfo) ProtoMessage()

func (*AccessTokenInfo) ProtoReflect

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

func (*AccessTokenInfo) Reset

func (x *AccessTokenInfo) Reset()

func (*AccessTokenInfo) String

func (x *AccessTokenInfo) String() string

type AccessTokenScopes added in v0.34.0

type AccessTokenScopes struct {
	Scopes []string `protobuf:"bytes,1,rep,name=scopes,proto3" json:"scopes,omitempty"`
	// contains filtered or unexported fields
}

AccessTokenScopes wraps a scope list so UpdateAccessTokenRequest can distinguish "leave scopes unchanged" (field unset) from "replace scopes" (field set, possibly to an empty list), which a bare repeated field cannot express in proto3.

func (*AccessTokenScopes) Descriptor deprecated added in v0.34.0

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

Deprecated: Use AccessTokenScopes.ProtoReflect.Descriptor instead.

func (*AccessTokenScopes) GetScopes added in v0.34.0

func (x *AccessTokenScopes) GetScopes() []string

func (*AccessTokenScopes) ProtoMessage added in v0.34.0

func (*AccessTokenScopes) ProtoMessage()

func (*AccessTokenScopes) ProtoReflect added in v0.34.0

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

func (*AccessTokenScopes) Reset added in v0.34.0

func (x *AccessTokenScopes) Reset()

func (*AccessTokenScopes) String added in v0.34.0

func (x *AccessTokenScopes) String() string

type AddGitUserCredentialRequest added in v0.32.0

type AddGitUserCredentialRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Scope    string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	Subject  string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	Secret   string `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

AddGitUserCredentialRequest identifies a Git credential to store for a user. scope maps to the credential's service_scope (the git host/repo URL) and subject maps to its subject (the git login name). secret is the credential value (e.g. token or password) to store.

func (*AddGitUserCredentialRequest) Descriptor deprecated added in v0.32.0

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

Deprecated: Use AddGitUserCredentialRequest.ProtoReflect.Descriptor instead.

func (*AddGitUserCredentialRequest) GetScope added in v0.32.0

func (x *AddGitUserCredentialRequest) GetScope() string

func (*AddGitUserCredentialRequest) GetSecret added in v0.32.0

func (x *AddGitUserCredentialRequest) GetSecret() string

func (*AddGitUserCredentialRequest) GetSubject added in v0.32.0

func (x *AddGitUserCredentialRequest) GetSubject() string

func (*AddGitUserCredentialRequest) GetUsername added in v0.32.0

func (x *AddGitUserCredentialRequest) GetUsername() string

func (*AddGitUserCredentialRequest) ProtoMessage added in v0.32.0

func (*AddGitUserCredentialRequest) ProtoMessage()

func (*AddGitUserCredentialRequest) ProtoReflect added in v0.32.0

func (*AddGitUserCredentialRequest) Reset added in v0.32.0

func (x *AddGitUserCredentialRequest) Reset()

func (*AddGitUserCredentialRequest) String added in v0.32.0

func (x *AddGitUserCredentialRequest) String() string

type AddGitUserCredentialResponse added in v0.32.0

type AddGitUserCredentialResponse struct {
	Credential *v1.UserCredential `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"`
	// contains filtered or unexported fields
}

AddGitUserCredentialResponse carries the newly added credential.

func (*AddGitUserCredentialResponse) Descriptor deprecated added in v0.32.0

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

Deprecated: Use AddGitUserCredentialResponse.ProtoReflect.Descriptor instead.

func (*AddGitUserCredentialResponse) GetCredential added in v0.32.0

func (x *AddGitUserCredentialResponse) GetCredential() *v1.UserCredential

func (*AddGitUserCredentialResponse) ProtoMessage added in v0.32.0

func (*AddGitUserCredentialResponse) ProtoMessage()

func (*AddGitUserCredentialResponse) ProtoReflect added in v0.32.0

func (*AddGitUserCredentialResponse) Reset added in v0.32.0

func (x *AddGitUserCredentialResponse) Reset()

func (*AddGitUserCredentialResponse) String added in v0.32.0

type AddKubernetesUserCredentialRequest added in v0.32.0

type AddKubernetesUserCredentialRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Scope    string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	Subject  string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	// contains filtered or unexported fields
}

AddKubernetesUserCredentialRequest identifies a Kubernetes service-account credential to provision for a user. scope maps to the credential's service_scope (the namespace) and subject maps to its subject (the service account name).

func (*AddKubernetesUserCredentialRequest) Descriptor deprecated added in v0.32.0

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

Deprecated: Use AddKubernetesUserCredentialRequest.ProtoReflect.Descriptor instead.

func (*AddKubernetesUserCredentialRequest) GetScope added in v0.32.0

func (*AddKubernetesUserCredentialRequest) GetSubject added in v0.32.0

func (*AddKubernetesUserCredentialRequest) GetUsername added in v0.32.0

func (x *AddKubernetesUserCredentialRequest) GetUsername() string

func (*AddKubernetesUserCredentialRequest) ProtoMessage added in v0.32.0

func (*AddKubernetesUserCredentialRequest) ProtoMessage()

func (*AddKubernetesUserCredentialRequest) ProtoReflect added in v0.32.0

func (*AddKubernetesUserCredentialRequest) Reset added in v0.32.0

func (*AddKubernetesUserCredentialRequest) String added in v0.32.0

type AddKubernetesUserCredentialResponse added in v0.32.0

type AddKubernetesUserCredentialResponse struct {
	Credential *v1.UserCredential `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"`
	// contains filtered or unexported fields
}

AddKubernetesUserCredentialResponse carries the newly added credential.

func (*AddKubernetesUserCredentialResponse) Descriptor deprecated added in v0.32.0

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

Deprecated: Use AddKubernetesUserCredentialResponse.ProtoReflect.Descriptor instead.

func (*AddKubernetesUserCredentialResponse) GetCredential added in v0.32.0

func (*AddKubernetesUserCredentialResponse) ProtoMessage added in v0.32.0

func (*AddKubernetesUserCredentialResponse) ProtoMessage()

func (*AddKubernetesUserCredentialResponse) ProtoReflect added in v0.32.0

func (*AddKubernetesUserCredentialResponse) Reset added in v0.32.0

func (*AddKubernetesUserCredentialResponse) String added in v0.32.0

type AddOrganizationEnvVarRequest added in v0.46.0

type AddOrganizationEnvVarRequest struct {
	Org      string `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"`
	Key      string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Value    string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	IsSecret bool   `protobuf:"varint,4,opt,name=is_secret,json=isSecret,proto3" json:"is_secret,omitempty"`
	// contains filtered or unexported fields
}

AddOrganizationEnvVarRequest creates a new environment variable on an organization.

func (*AddOrganizationEnvVarRequest) Descriptor deprecated added in v0.46.0

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

Deprecated: Use AddOrganizationEnvVarRequest.ProtoReflect.Descriptor instead.

func (*AddOrganizationEnvVarRequest) GetIsSecret added in v0.46.0

func (x *AddOrganizationEnvVarRequest) GetIsSecret() bool

func (*AddOrganizationEnvVarRequest) GetKey added in v0.46.0

func (*AddOrganizationEnvVarRequest) GetOrg added in v0.46.0

func (*AddOrganizationEnvVarRequest) GetValue added in v0.46.0

func (x *AddOrganizationEnvVarRequest) GetValue() string

func (*AddOrganizationEnvVarRequest) ProtoMessage added in v0.46.0

func (*AddOrganizationEnvVarRequest) ProtoMessage()

func (*AddOrganizationEnvVarRequest) ProtoReflect added in v0.46.0

func (*AddOrganizationEnvVarRequest) Reset added in v0.46.0

func (x *AddOrganizationEnvVarRequest) Reset()

func (*AddOrganizationEnvVarRequest) String added in v0.46.0

type AddRegistryUserCredentialRequest added in v0.32.0

type AddRegistryUserCredentialRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Scope    string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	Subject  string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	Secret   string `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

AddRegistryUserCredentialRequest identifies a container registry credential to store for a user. scope maps to the credential's service_scope (the registry host) and subject maps to its subject (the registry login name). secret is the credential value (e.g. token or password) to store.

func (*AddRegistryUserCredentialRequest) Descriptor deprecated added in v0.32.0

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

Deprecated: Use AddRegistryUserCredentialRequest.ProtoReflect.Descriptor instead.

func (*AddRegistryUserCredentialRequest) GetScope added in v0.32.0

func (*AddRegistryUserCredentialRequest) GetSecret added in v0.32.0

func (*AddRegistryUserCredentialRequest) GetSubject added in v0.32.0

func (x *AddRegistryUserCredentialRequest) GetSubject() string

func (*AddRegistryUserCredentialRequest) GetUsername added in v0.32.0

func (x *AddRegistryUserCredentialRequest) GetUsername() string

func (*AddRegistryUserCredentialRequest) ProtoMessage added in v0.32.0

func (*AddRegistryUserCredentialRequest) ProtoMessage()

func (*AddRegistryUserCredentialRequest) ProtoReflect added in v0.32.0

func (*AddRegistryUserCredentialRequest) Reset added in v0.32.0

func (*AddRegistryUserCredentialRequest) String added in v0.32.0

type AddRegistryUserCredentialResponse added in v0.32.0

type AddRegistryUserCredentialResponse struct {
	Credential *v1.UserCredential `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"`
	// contains filtered or unexported fields
}

AddRegistryUserCredentialResponse carries the newly added credential.

func (*AddRegistryUserCredentialResponse) Descriptor deprecated added in v0.32.0

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

Deprecated: Use AddRegistryUserCredentialResponse.ProtoReflect.Descriptor instead.

func (*AddRegistryUserCredentialResponse) GetCredential added in v0.32.0

func (*AddRegistryUserCredentialResponse) ProtoMessage added in v0.32.0

func (*AddRegistryUserCredentialResponse) ProtoMessage()

func (*AddRegistryUserCredentialResponse) ProtoReflect added in v0.32.0

func (*AddRegistryUserCredentialResponse) Reset added in v0.32.0

func (*AddRegistryUserCredentialResponse) String added in v0.32.0

type AddUserEnvVarRequest added in v0.46.0

type AddUserEnvVarRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Key      string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Value    string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	IsSecret bool   `protobuf:"varint,4,opt,name=is_secret,json=isSecret,proto3" json:"is_secret,omitempty"`
	// contains filtered or unexported fields
}

AddUserEnvVarRequest creates a new environment variable owned by a user.

func (*AddUserEnvVarRequest) Descriptor deprecated added in v0.46.0

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

Deprecated: Use AddUserEnvVarRequest.ProtoReflect.Descriptor instead.

func (*AddUserEnvVarRequest) GetIsSecret added in v0.46.0

func (x *AddUserEnvVarRequest) GetIsSecret() bool

func (*AddUserEnvVarRequest) GetKey added in v0.46.0

func (x *AddUserEnvVarRequest) GetKey() string

func (*AddUserEnvVarRequest) GetUsername added in v0.46.0

func (x *AddUserEnvVarRequest) GetUsername() string

func (*AddUserEnvVarRequest) GetValue added in v0.46.0

func (x *AddUserEnvVarRequest) GetValue() string

func (*AddUserEnvVarRequest) ProtoMessage added in v0.46.0

func (*AddUserEnvVarRequest) ProtoMessage()

func (*AddUserEnvVarRequest) ProtoReflect added in v0.46.0

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

func (*AddUserEnvVarRequest) Reset added in v0.46.0

func (x *AddUserEnvVarRequest) Reset()

func (*AddUserEnvVarRequest) String added in v0.46.0

func (x *AddUserEnvVarRequest) String() string

type Announcement added in v0.57.0

type Announcement struct {
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// name is an admin-facing label only — not translated, not shown to end
	// users — so admins can tell announcements apart in a listing.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// translations carries the announcement's body in one or more languages;
	// every announcement has at least one.
	Translations []*AnnouncementTranslation `protobuf:"bytes,3,rep,name=translations,proto3" json:"translations,omitempty"`
	CreatedBy    string                     `protobuf:"bytes,4,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` // username of the author
	// orgs names the organizations this announcement applies to; empty means
	// every organization (global).
	Orgs []string `protobuf:"bytes,5,rep,name=orgs,proto3" json:"orgs,omitempty"`
	// roles further scopes the announcement to users holding at least one of
	// these roles within the applicable org(s); empty means every role.
	Roles []string `protobuf:"bytes,6,rep,name=roles,proto3" json:"roles,omitempty"`
	// active toggles whether this announcement is shown in the user-facing
	// listings (ListUnreadAnnouncements/ListUserAnnouncements) without
	// deleting it; it always remains visible via ListAnnouncements/
	// GetAnnouncement (the admin-facing views).
	Active bool `protobuf:"varint,7,opt,name=active,proto3" json:"active,omitempty"`
	// starts_at/ends_at bound the announcement's optional validity period. An
	// unset bound is open on that side. An announcement outside its period is
	// excluded from ListUnreadAnnouncements even when a user hasn't read it
	// yet, but remains retrievable via ListAnnouncements/ListUserAnnouncements.
	StartsAt  *timestamp.Timestamp `protobuf:"bytes,8,opt,name=starts_at,json=startsAt,proto3" json:"starts_at,omitempty"`
	EndsAt    *timestamp.Timestamp `protobuf:"bytes,9,opt,name=ends_at,json=endsAt,proto3" json:"ends_at,omitempty"`
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// read_count is the number of distinct users who have read this
	// announcement. Populated by GetAnnouncement/ListAnnouncements (the
	// admin-facing views); zero elsewhere.
	ReadCount int32 `protobuf:"varint,12,opt,name=read_count,json=readCount,proto3" json:"read_count,omitempty"`
	// is_read/read_at are populated only by ListUserAnnouncements, reporting
	// whether and when the requesting user read this announcement.
	IsRead bool                 `protobuf:"varint,13,opt,name=is_read,json=isRead,proto3" json:"is_read,omitempty"`
	ReadAt *timestamp.Timestamp `protobuf:"bytes,14,opt,name=read_at,json=readAt,proto3" json:"read_at,omitempty"`
	// email_enabled marks this announcement as eligible to be sent by email,
	// in addition to the per-user announcementsByEmail opt-in stored in
	// UserSettings — an announcement is only emailed to a user when both are
	// true. Defaults to false (not email-eligible) when omitted. No sender
	// exists yet; this only records the flag.
	EmailEnabled bool `protobuf:"varint,15,opt,name=email_enabled,json=emailEnabled,proto3" json:"email_enabled,omitempty"`
	// contains filtered or unexported fields
}

Announcement is a platform message rendered as markdown by clients. It is either global (orgs empty) or scoped to one or more organizations/roles, and optionally bounded to a validity period (starts_at/ends_at).

func (*Announcement) Descriptor deprecated added in v0.57.0

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

Deprecated: Use Announcement.ProtoReflect.Descriptor instead.

func (*Announcement) GetActive added in v0.57.0

func (x *Announcement) GetActive() bool

func (*Announcement) GetCreatedAt added in v0.57.0

func (x *Announcement) GetCreatedAt() *timestamp.Timestamp

func (*Announcement) GetCreatedBy added in v0.57.0

func (x *Announcement) GetCreatedBy() string

func (*Announcement) GetEmailEnabled added in v0.61.2

func (x *Announcement) GetEmailEnabled() bool

func (*Announcement) GetEndsAt added in v0.57.0

func (x *Announcement) GetEndsAt() *timestamp.Timestamp

func (*Announcement) GetId added in v0.57.0

func (x *Announcement) GetId() int32

func (*Announcement) GetIsRead added in v0.57.0

func (x *Announcement) GetIsRead() bool

func (*Announcement) GetName added in v0.57.0

func (x *Announcement) GetName() string

func (*Announcement) GetOrgs added in v0.57.0

func (x *Announcement) GetOrgs() []string

func (*Announcement) GetReadAt added in v0.57.0

func (x *Announcement) GetReadAt() *timestamp.Timestamp

func (*Announcement) GetReadCount added in v0.57.0

func (x *Announcement) GetReadCount() int32

func (*Announcement) GetRoles added in v0.57.0

func (x *Announcement) GetRoles() []string

func (*Announcement) GetStartsAt added in v0.57.0

func (x *Announcement) GetStartsAt() *timestamp.Timestamp

func (*Announcement) GetTranslations added in v0.57.0

func (x *Announcement) GetTranslations() []*AnnouncementTranslation

func (*Announcement) GetUpdatedAt added in v0.57.0

func (x *Announcement) GetUpdatedAt() *timestamp.Timestamp

func (*Announcement) ProtoMessage added in v0.57.0

func (*Announcement) ProtoMessage()

func (*Announcement) ProtoReflect added in v0.57.0

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

func (*Announcement) Reset added in v0.57.0

func (x *Announcement) Reset()

func (*Announcement) String added in v0.57.0

func (x *Announcement) String() string

type AnnouncementList added in v0.57.0

type AnnouncementList struct {
	Announcements []*Announcement `protobuf:"bytes,1,rep,name=announcements,proto3" json:"announcements,omitempty"`
	// contains filtered or unexported fields
}

AnnouncementList holds a list of announcements.

func (*AnnouncementList) Descriptor deprecated added in v0.57.0

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

Deprecated: Use AnnouncementList.ProtoReflect.Descriptor instead.

func (*AnnouncementList) GetAnnouncements added in v0.57.0

func (x *AnnouncementList) GetAnnouncements() []*Announcement

func (*AnnouncementList) ProtoMessage added in v0.57.0

func (*AnnouncementList) ProtoMessage()

func (*AnnouncementList) ProtoReflect added in v0.57.0

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

func (*AnnouncementList) Reset added in v0.57.0

func (x *AnnouncementList) Reset()

func (*AnnouncementList) String added in v0.57.0

func (x *AnnouncementList) String() string

type AnnouncementTranslation added in v0.57.0

type AnnouncementTranslation struct {
	Lang string `protobuf:"bytes,1,opt,name=lang,proto3" json:"lang,omitempty"` // BCP 47 language tag, e.g. "en", "en-US"
	Body string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` // markdown content
	// contains filtered or unexported fields
}

AnnouncementTranslation carries an announcement's body in a single language. Every announcement has at least one.

func (*AnnouncementTranslation) Descriptor deprecated added in v0.57.0

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

Deprecated: Use AnnouncementTranslation.ProtoReflect.Descriptor instead.

func (*AnnouncementTranslation) GetBody added in v0.57.0

func (x *AnnouncementTranslation) GetBody() string

func (*AnnouncementTranslation) GetLang added in v0.57.0

func (x *AnnouncementTranslation) GetLang() string

func (*AnnouncementTranslation) ProtoMessage added in v0.57.0

func (*AnnouncementTranslation) ProtoMessage()

func (*AnnouncementTranslation) ProtoReflect added in v0.57.0

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

func (*AnnouncementTranslation) Reset added in v0.57.0

func (x *AnnouncementTranslation) Reset()

func (*AnnouncementTranslation) String added in v0.57.0

func (x *AnnouncementTranslation) String() string

type ApproveOnboardRuleRequest added in v0.36.0

type ApproveOnboardRuleRequest struct {
	Id        int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	DecidedBy string `protobuf:"bytes,2,opt,name=decided_by,json=decidedBy,proto3" json:"decided_by,omitempty"`
	// contains filtered or unexported fields
}

ApproveOnboardRuleRequest identifies a pending onboard rule by id to approve, flipping its action to "allow". decided_by records who approved it (the caller's identity isn't otherwise available server-side).

func (*ApproveOnboardRuleRequest) Descriptor deprecated added in v0.36.0

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

Deprecated: Use ApproveOnboardRuleRequest.ProtoReflect.Descriptor instead.

func (*ApproveOnboardRuleRequest) GetDecidedBy added in v0.36.0

func (x *ApproveOnboardRuleRequest) GetDecidedBy() string

func (*ApproveOnboardRuleRequest) GetId added in v0.36.0

func (x *ApproveOnboardRuleRequest) GetId() int32

func (*ApproveOnboardRuleRequest) ProtoMessage added in v0.36.0

func (*ApproveOnboardRuleRequest) ProtoMessage()

func (*ApproveOnboardRuleRequest) ProtoReflect added in v0.36.0

func (*ApproveOnboardRuleRequest) Reset added in v0.36.0

func (x *ApproveOnboardRuleRequest) Reset()

func (*ApproveOnboardRuleRequest) String added in v0.36.0

func (x *ApproveOnboardRuleRequest) String() string

type AuthKeyFormat added in v0.32.0

type AuthKeyFormat int32

AuthKeyFormat selects how SSH public key material is returned by ListUserAuthKeys.

const (
	AuthKeyFormat_AUTH_KEY_FORMAT_UNSPECIFIED AuthKeyFormat = 0
	// AUTH_KEY_FORMAT_NORMAL returns the full public key material.
	AuthKeyFormat_AUTH_KEY_FORMAT_NORMAL AuthKeyFormat = 1
	// AUTH_KEY_FORMAT_DIGEST returns only a digest (fingerprint) of the key.
	AuthKeyFormat_AUTH_KEY_FORMAT_DIGEST AuthKeyFormat = 2
)

func (AuthKeyFormat) Descriptor added in v0.32.0

func (AuthKeyFormat) Enum added in v0.32.0

func (x AuthKeyFormat) Enum() *AuthKeyFormat

func (AuthKeyFormat) EnumDescriptor deprecated added in v0.32.0

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

Deprecated: Use AuthKeyFormat.Descriptor instead.

func (AuthKeyFormat) Number added in v0.32.0

func (AuthKeyFormat) String added in v0.32.0

func (x AuthKeyFormat) String() string

func (AuthKeyFormat) Type added in v0.32.0

type AuthUserPasswordRequest added in v0.31.0

type AuthUserPasswordRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

AuthUserPasswordRequest carries the credentials for password authentication. The password is transmitted in plaintext over the (TLS-secured) gRPC channel and compared against the bcrypt hash stored for the user; it is never persisted.

func (*AuthUserPasswordRequest) Descriptor deprecated added in v0.31.0

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

Deprecated: Use AuthUserPasswordRequest.ProtoReflect.Descriptor instead.

func (*AuthUserPasswordRequest) GetPassword added in v0.31.0

func (x *AuthUserPasswordRequest) GetPassword() string

func (*AuthUserPasswordRequest) GetUsername added in v0.31.0

func (x *AuthUserPasswordRequest) GetUsername() string

func (*AuthUserPasswordRequest) ProtoMessage added in v0.31.0

func (*AuthUserPasswordRequest) ProtoMessage()

func (*AuthUserPasswordRequest) ProtoReflect added in v0.31.0

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

func (*AuthUserPasswordRequest) Reset added in v0.31.0

func (x *AuthUserPasswordRequest) Reset()

func (*AuthUserPasswordRequest) String added in v0.31.0

func (x *AuthUserPasswordRequest) String() string

type AuthUserPublicKeyRequest

type AuthUserPublicKeyRequest struct {
	Username  string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

AuthUserPublicKeyRequest carries the credentials for SSH public key authentication.

func (*AuthUserPublicKeyRequest) Descriptor deprecated

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

Deprecated: Use AuthUserPublicKeyRequest.ProtoReflect.Descriptor instead.

func (*AuthUserPublicKeyRequest) GetPublicKey

func (x *AuthUserPublicKeyRequest) GetPublicKey() string

func (*AuthUserPublicKeyRequest) GetUsername

func (x *AuthUserPublicKeyRequest) GetUsername() string

func (*AuthUserPublicKeyRequest) ProtoMessage

func (*AuthUserPublicKeyRequest) ProtoMessage()

func (*AuthUserPublicKeyRequest) ProtoReflect

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

func (*AuthUserPublicKeyRequest) Reset

func (x *AuthUserPublicKeyRequest) Reset()

func (*AuthUserPublicKeyRequest) String

func (x *AuthUserPublicKeyRequest) String() string

type AuthUserResponse

type AuthUserResponse struct {
	Valid bool     `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	User  *v1.User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// locked is true when the account's password auth is temporarily locked
	// out due to repeated failed AuthUserPassword attempts (see identity's
	// password-lockout tracking, keyed by username). Callers should show a
	// generic "account temporarily locked" message rather than "invalid
	// credentials" when this is set, rather than trying to distinguish it
	// from a wrong-password response any other way. Always false for
	// AuthUserPublicKey, which is not subject to password lockout.
	Locked bool `protobuf:"varint,3,opt,name=locked,proto3" json:"locked,omitempty"`
	// contains filtered or unexported fields
}

AuthUserResponse carries the result of an authentication attempt.

func (*AuthUserResponse) Descriptor deprecated

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

Deprecated: Use AuthUserResponse.ProtoReflect.Descriptor instead.

func (*AuthUserResponse) GetLocked added in v0.34.3

func (x *AuthUserResponse) GetLocked() bool

func (*AuthUserResponse) GetUser

func (x *AuthUserResponse) GetUser() *v1.User

func (*AuthUserResponse) GetValid

func (x *AuthUserResponse) GetValid() bool

func (*AuthUserResponse) ProtoMessage

func (*AuthUserResponse) ProtoMessage()

func (*AuthUserResponse) ProtoReflect

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

func (*AuthUserResponse) Reset

func (x *AuthUserResponse) Reset()

func (*AuthUserResponse) String

func (x *AuthUserResponse) String() string

type Blueprint

type Blueprint struct {

	// blueprint holds the raw blueprint content.
	Blueprint []byte `protobuf:"bytes,1,opt,name=blueprint,proto3" json:"blueprint,omitempty"`
	// repo_address is the URL or address of the repository that owns this blueprint.
	RepoAddress string `protobuf:"bytes,2,opt,name=repo_address,json=repoAddress,proto3" json:"repo_address,omitempty"`
	// contains filtered or unexported fields
}

Blueprint carries a raw blueprint definition and the address of its source repository.

func (*Blueprint) Descriptor deprecated

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

Deprecated: Use Blueprint.ProtoReflect.Descriptor instead.

func (*Blueprint) GetBlueprint

func (x *Blueprint) GetBlueprint() []byte

func (*Blueprint) GetRepoAddress

func (x *Blueprint) GetRepoAddress() string

func (*Blueprint) ProtoMessage

func (*Blueprint) ProtoMessage()

func (*Blueprint) ProtoReflect

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

func (*Blueprint) Reset

func (x *Blueprint) Reset()

func (*Blueprint) String

func (x *Blueprint) String() string

type ClearPasswordLockoutResponse added in v0.34.3

type ClearPasswordLockoutResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

ClearPasswordLockoutResponse carries the result of ClearPasswordLockout.

func (*ClearPasswordLockoutResponse) Descriptor deprecated added in v0.34.3

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

Deprecated: Use ClearPasswordLockoutResponse.ProtoReflect.Descriptor instead.

func (*ClearPasswordLockoutResponse) GetSuccess added in v0.34.3

func (x *ClearPasswordLockoutResponse) GetSuccess() bool

func (*ClearPasswordLockoutResponse) ProtoMessage added in v0.34.3

func (*ClearPasswordLockoutResponse) ProtoMessage()

func (*ClearPasswordLockoutResponse) ProtoReflect added in v0.34.3

func (*ClearPasswordLockoutResponse) Reset added in v0.34.3

func (x *ClearPasswordLockoutResponse) Reset()

func (*ClearPasswordLockoutResponse) String added in v0.34.3

type CompleteUserDeviceFlowRequest

type CompleteUserDeviceFlowRequest struct {
	Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

CompleteUserDeviceFlowRequest is sent by the client after the user has authorized the device on the provider side.

func (*CompleteUserDeviceFlowRequest) Descriptor deprecated

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

Deprecated: Use CompleteUserDeviceFlowRequest.ProtoReflect.Descriptor instead.

func (*CompleteUserDeviceFlowRequest) GetProvider

func (x *CompleteUserDeviceFlowRequest) GetProvider() string

func (*CompleteUserDeviceFlowRequest) GetUsername

func (x *CompleteUserDeviceFlowRequest) GetUsername() string

func (*CompleteUserDeviceFlowRequest) ProtoMessage

func (*CompleteUserDeviceFlowRequest) ProtoMessage()

func (*CompleteUserDeviceFlowRequest) ProtoReflect

func (*CompleteUserDeviceFlowRequest) Reset

func (x *CompleteUserDeviceFlowRequest) Reset()

func (*CompleteUserDeviceFlowRequest) String

type CompleteUserDeviceFlowResponse

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

CompleteUserDeviceFlowResponse is returned upon successful completion of device-flow onboarding.

func (*CompleteUserDeviceFlowResponse) Descriptor deprecated

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

Deprecated: Use CompleteUserDeviceFlowResponse.ProtoReflect.Descriptor instead.

func (*CompleteUserDeviceFlowResponse) ProtoMessage

func (*CompleteUserDeviceFlowResponse) ProtoMessage()

func (*CompleteUserDeviceFlowResponse) ProtoReflect

func (*CompleteUserDeviceFlowResponse) Reset

func (x *CompleteUserDeviceFlowResponse) Reset()

func (*CompleteUserDeviceFlowResponse) String

type CompleteUserWebFlowRequest

type CompleteUserWebFlowRequest struct {
	State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	Code  string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

CompleteUserWebFlowRequest carries the OAuth state and authorization code to finalize web-flow onboarding.

func (*CompleteUserWebFlowRequest) Descriptor deprecated

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

Deprecated: Use CompleteUserWebFlowRequest.ProtoReflect.Descriptor instead.

func (*CompleteUserWebFlowRequest) GetCode

func (x *CompleteUserWebFlowRequest) GetCode() string

func (*CompleteUserWebFlowRequest) GetState

func (x *CompleteUserWebFlowRequest) GetState() string

func (*CompleteUserWebFlowRequest) ProtoMessage

func (*CompleteUserWebFlowRequest) ProtoMessage()

func (*CompleteUserWebFlowRequest) ProtoReflect

func (*CompleteUserWebFlowRequest) Reset

func (x *CompleteUserWebFlowRequest) Reset()

func (*CompleteUserWebFlowRequest) String

func (x *CompleteUserWebFlowRequest) String() string

type CompleteUserWebFlowResponse

type CompleteUserWebFlowResponse struct {
	UserToken string `protobuf:"bytes,1,opt,name=user_token,json=userToken,proto3" json:"user_token,omitempty"`
	Pat       string `protobuf:"bytes,2,opt,name=pat,proto3" json:"pat,omitempty"`
	CliState  string `protobuf:"bytes,3,opt,name=cli_state,json=cliState,proto3" json:"cli_state,omitempty"`
	PatError  string `protobuf:"bytes,4,opt,name=pat_error,json=patError,proto3" json:"pat_error,omitempty"`
	NewUser   bool   `protobuf:"varint,5,opt,name=new_user,json=newUser,proto3" json:"new_user,omitempty"`
	// contains filtered or unexported fields
}

CompleteUserWebFlowResponse carries the user token issued upon successful completion of the web flow onboarding process. pat and cli_state are only populated when create_pat=true was set in the originating OnboardUserWebFlowRequest. new_user reports whether this call created the user account (first-time onboarding) as opposed to logging in an account that already existed

func (*CompleteUserWebFlowResponse) Descriptor deprecated

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

Deprecated: Use CompleteUserWebFlowResponse.ProtoReflect.Descriptor instead.

func (*CompleteUserWebFlowResponse) GetCliState

func (x *CompleteUserWebFlowResponse) GetCliState() string

func (*CompleteUserWebFlowResponse) GetNewUser added in v0.40.0

func (x *CompleteUserWebFlowResponse) GetNewUser() bool

func (*CompleteUserWebFlowResponse) GetPat

func (x *CompleteUserWebFlowResponse) GetPat() string

func (*CompleteUserWebFlowResponse) GetPatError

func (x *CompleteUserWebFlowResponse) GetPatError() string

func (*CompleteUserWebFlowResponse) GetUserToken

func (x *CompleteUserWebFlowResponse) GetUserToken() string

func (*CompleteUserWebFlowResponse) ProtoMessage

func (*CompleteUserWebFlowResponse) ProtoMessage()

func (*CompleteUserWebFlowResponse) ProtoReflect

func (*CompleteUserWebFlowResponse) Reset

func (x *CompleteUserWebFlowResponse) Reset()

func (*CompleteUserWebFlowResponse) String

func (x *CompleteUserWebFlowResponse) String() string

type ConfirmPasswordResetRequest added in v0.61.2

type ConfirmPasswordResetRequest struct {
	Token    string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

ConfirmPasswordResetRequest carries the raw token from the emailed confirmation link and the new plaintext password to set.

func (*ConfirmPasswordResetRequest) Descriptor deprecated added in v0.61.2

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

Deprecated: Use ConfirmPasswordResetRequest.ProtoReflect.Descriptor instead.

func (*ConfirmPasswordResetRequest) GetPassword added in v0.61.2

func (x *ConfirmPasswordResetRequest) GetPassword() string

func (*ConfirmPasswordResetRequest) GetToken added in v0.61.2

func (x *ConfirmPasswordResetRequest) GetToken() string

func (*ConfirmPasswordResetRequest) ProtoMessage added in v0.61.2

func (*ConfirmPasswordResetRequest) ProtoMessage()

func (*ConfirmPasswordResetRequest) ProtoReflect added in v0.61.2

func (*ConfirmPasswordResetRequest) Reset added in v0.61.2

func (x *ConfirmPasswordResetRequest) Reset()

func (*ConfirmPasswordResetRequest) String added in v0.61.2

func (x *ConfirmPasswordResetRequest) String() string

type ConfirmPasswordResetResponse added in v0.61.2

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

ConfirmPasswordResetResponse indicates the password was changed and the token consumed.

func (*ConfirmPasswordResetResponse) Descriptor deprecated added in v0.61.2

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

Deprecated: Use ConfirmPasswordResetResponse.ProtoReflect.Descriptor instead.

func (*ConfirmPasswordResetResponse) ProtoMessage added in v0.61.2

func (*ConfirmPasswordResetResponse) ProtoMessage()

func (*ConfirmPasswordResetResponse) ProtoReflect added in v0.61.2

func (*ConfirmPasswordResetResponse) Reset added in v0.61.2

func (x *ConfirmPasswordResetResponse) Reset()

func (*ConfirmPasswordResetResponse) String added in v0.61.2

type CreateAccessTokenRequest

type CreateAccessTokenRequest struct {
	Username  string               `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Name      string               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Scopes    []string             `protobuf:"bytes,3,rep,name=scopes,proto3" json:"scopes,omitempty"`
	ExpiresAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // omit for non-expiring tokens
	// renew controls whether an existing active token with the same username and name
	// is rotated in place instead of a new one being created. Defaults to false, which
	// always creates a new token.
	Renew bool `protobuf:"varint,5,opt,name=renew,proto3" json:"renew,omitempty"`
	// active controls whether the token is created enabled. Omit for the default (active).
	Active *wrappers.BoolValue `protobuf:"bytes,6,opt,name=active,proto3" json:"active,omitempty"`
	// contains filtered or unexported fields
}

CreateAccessTokenRequest carries the parameters for issuing a new access token.

func (*CreateAccessTokenRequest) Descriptor deprecated

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

Deprecated: Use CreateAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*CreateAccessTokenRequest) GetActive added in v0.34.0

func (*CreateAccessTokenRequest) GetExpiresAt

func (x *CreateAccessTokenRequest) GetExpiresAt() *timestamp.Timestamp

func (*CreateAccessTokenRequest) GetName

func (x *CreateAccessTokenRequest) GetName() string

func (*CreateAccessTokenRequest) GetRenew added in v0.33.0

func (x *CreateAccessTokenRequest) GetRenew() bool

func (*CreateAccessTokenRequest) GetScopes

func (x *CreateAccessTokenRequest) GetScopes() []string

func (*CreateAccessTokenRequest) GetUsername

func (x *CreateAccessTokenRequest) GetUsername() string

func (*CreateAccessTokenRequest) ProtoMessage

func (*CreateAccessTokenRequest) ProtoMessage()

func (*CreateAccessTokenRequest) ProtoReflect

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

func (*CreateAccessTokenRequest) Reset

func (x *CreateAccessTokenRequest) Reset()

func (*CreateAccessTokenRequest) String

func (x *CreateAccessTokenRequest) String() string

type CreateAccessTokenResponse

type CreateAccessTokenResponse struct {
	Id    int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

CreateAccessTokenResponse carries the newly issued access token. The raw token is returned exactly once and cannot be retrieved again.

func (*CreateAccessTokenResponse) Descriptor deprecated

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

Deprecated: Use CreateAccessTokenResponse.ProtoReflect.Descriptor instead.

func (*CreateAccessTokenResponse) GetId

func (x *CreateAccessTokenResponse) GetId() int64

func (*CreateAccessTokenResponse) GetToken

func (x *CreateAccessTokenResponse) GetToken() string

func (*CreateAccessTokenResponse) ProtoMessage

func (*CreateAccessTokenResponse) ProtoMessage()

func (*CreateAccessTokenResponse) ProtoReflect

func (*CreateAccessTokenResponse) Reset

func (x *CreateAccessTokenResponse) Reset()

func (*CreateAccessTokenResponse) String

func (x *CreateAccessTokenResponse) String() string

type CreateAnnouncementRequest added in v0.57.0

type CreateAnnouncementRequest struct {
	Name         string                     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Translations []*AnnouncementTranslation `protobuf:"bytes,2,rep,name=translations,proto3" json:"translations,omitempty"`
	CreatedBy    string                     `protobuf:"bytes,3,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	Orgs         []string                   `protobuf:"bytes,4,rep,name=orgs,proto3" json:"orgs,omitempty"`     // empty = every organization (global)
	Roles        []string                   `protobuf:"bytes,5,rep,name=roles,proto3" json:"roles,omitempty"`   // empty = every role within orgs
	Active       *wrappers.BoolValue        `protobuf:"bytes,6,opt,name=active,proto3" json:"active,omitempty"` // omit for the default (active)
	StartsAt     *timestamp.Timestamp       `protobuf:"bytes,7,opt,name=starts_at,json=startsAt,proto3" json:"starts_at,omitempty"`
	EndsAt       *timestamp.Timestamp       `protobuf:"bytes,8,opt,name=ends_at,json=endsAt,proto3" json:"ends_at,omitempty"`
	EmailEnabled *wrappers.BoolValue        `protobuf:"bytes,9,opt,name=email_enabled,json=emailEnabled,proto3" json:"email_enabled,omitempty"` // omit for the default (not email-eligible)
	// contains filtered or unexported fields
}

CreateAnnouncementRequest carries the fields for creating a new announcement. name is an admin-facing label only (not translated, not shown to end users). translations must carry at least one entry — every announcement must be readable in at least one language. created_by is the caller-supplied author username — the server has no other way to learn the caller's identity, same as ApproveOnboardRuleRequest.decided_by. roles further scopes the announcement to users holding at least one of these roles within orgs; empty means every role. active defaults to true (omit for the default); starts_at/ends_at bound the announcement's optional validity period, omit either for an open bound. email_enabled defaults to false (omit for the default — not email-eligible); no sender exists yet, this only records the flag.

func (*CreateAnnouncementRequest) Descriptor deprecated added in v0.57.0

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

Deprecated: Use CreateAnnouncementRequest.ProtoReflect.Descriptor instead.

func (*CreateAnnouncementRequest) GetActive added in v0.57.0

func (*CreateAnnouncementRequest) GetCreatedBy added in v0.57.0

func (x *CreateAnnouncementRequest) GetCreatedBy() string

func (*CreateAnnouncementRequest) GetEmailEnabled added in v0.61.2

func (x *CreateAnnouncementRequest) GetEmailEnabled() *wrappers.BoolValue

func (*CreateAnnouncementRequest) GetEndsAt added in v0.57.0

func (*CreateAnnouncementRequest) GetName added in v0.57.0

func (x *CreateAnnouncementRequest) GetName() string

func (*CreateAnnouncementRequest) GetOrgs added in v0.57.0

func (x *CreateAnnouncementRequest) GetOrgs() []string

func (*CreateAnnouncementRequest) GetRoles added in v0.57.0

func (x *CreateAnnouncementRequest) GetRoles() []string

func (*CreateAnnouncementRequest) GetStartsAt added in v0.57.0

func (x *CreateAnnouncementRequest) GetStartsAt() *timestamp.Timestamp

func (*CreateAnnouncementRequest) GetTranslations added in v0.57.0

func (x *CreateAnnouncementRequest) GetTranslations() []*AnnouncementTranslation

func (*CreateAnnouncementRequest) ProtoMessage added in v0.57.0

func (*CreateAnnouncementRequest) ProtoMessage()

func (*CreateAnnouncementRequest) ProtoReflect added in v0.57.0

func (*CreateAnnouncementRequest) Reset added in v0.57.0

func (x *CreateAnnouncementRequest) Reset()

func (*CreateAnnouncementRequest) String added in v0.57.0

func (x *CreateAnnouncementRequest) String() string

type CreateOnboardRuleRequest added in v0.36.0

type CreateOnboardRuleRequest struct {
	Idp             string   `protobuf:"bytes,1,opt,name=idp,proto3" json:"idp,omitempty"`
	UsernamePattern string   `protobuf:"bytes,2,opt,name=username_pattern,json=usernamePattern,proto3" json:"username_pattern,omitempty"`
	Org             string   `protobuf:"bytes,3,opt,name=org,proto3" json:"org,omitempty"`
	Action          string   `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"`
	Priority        int32    `protobuf:"varint,5,opt,name=priority,proto3" json:"priority,omitempty"`
	Roles           []string `protobuf:"bytes,6,rep,name=roles,proto3" json:"roles,omitempty"`
	Sudo            bool     `protobuf:"varint,7,opt,name=sudo,proto3" json:"sudo,omitempty"`
	Note            string   `protobuf:"bytes,8,opt,name=note,proto3" json:"note,omitempty"`
	// contains filtered or unexported fields
}

CreateOnboardRuleRequest registers a new onboard rule.

func (*CreateOnboardRuleRequest) Descriptor deprecated added in v0.36.0

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

Deprecated: Use CreateOnboardRuleRequest.ProtoReflect.Descriptor instead.

func (*CreateOnboardRuleRequest) GetAction added in v0.36.0

func (x *CreateOnboardRuleRequest) GetAction() string

func (*CreateOnboardRuleRequest) GetIdp added in v0.36.0

func (x *CreateOnboardRuleRequest) GetIdp() string

func (*CreateOnboardRuleRequest) GetNote added in v0.36.0

func (x *CreateOnboardRuleRequest) GetNote() string

func (*CreateOnboardRuleRequest) GetOrg added in v0.36.0

func (x *CreateOnboardRuleRequest) GetOrg() string

func (*CreateOnboardRuleRequest) GetPriority added in v0.36.0

func (x *CreateOnboardRuleRequest) GetPriority() int32

func (*CreateOnboardRuleRequest) GetRoles added in v0.36.0

func (x *CreateOnboardRuleRequest) GetRoles() []string

func (*CreateOnboardRuleRequest) GetSudo added in v0.36.0

func (x *CreateOnboardRuleRequest) GetSudo() bool

func (*CreateOnboardRuleRequest) GetUsernamePattern added in v0.36.0

func (x *CreateOnboardRuleRequest) GetUsernamePattern() string

func (*CreateOnboardRuleRequest) ProtoMessage added in v0.36.0

func (*CreateOnboardRuleRequest) ProtoMessage()

func (*CreateOnboardRuleRequest) ProtoReflect added in v0.36.0

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

func (*CreateOnboardRuleRequest) Reset added in v0.36.0

func (x *CreateOnboardRuleRequest) Reset()

func (*CreateOnboardRuleRequest) String added in v0.36.0

func (x *CreateOnboardRuleRequest) String() string

type CreateOrganizationRequest added in v0.35.0

type CreateOrganizationRequest struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

CreateOrganizationRequest registers a new organization.

func (*CreateOrganizationRequest) Descriptor deprecated added in v0.35.0

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

Deprecated: Use CreateOrganizationRequest.ProtoReflect.Descriptor instead.

func (*CreateOrganizationRequest) GetDescription added in v0.35.0

func (x *CreateOrganizationRequest) GetDescription() string

func (*CreateOrganizationRequest) GetName added in v0.35.0

func (x *CreateOrganizationRequest) GetName() string

func (*CreateOrganizationRequest) ProtoMessage added in v0.35.0

func (*CreateOrganizationRequest) ProtoMessage()

func (*CreateOrganizationRequest) ProtoReflect added in v0.35.0

func (*CreateOrganizationRequest) Reset added in v0.35.0

func (x *CreateOrganizationRequest) Reset()

func (*CreateOrganizationRequest) String added in v0.35.0

func (x *CreateOrganizationRequest) String() string

type CreateRoleRequest added in v0.35.0

type CreateRoleRequest struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Org         string `protobuf:"bytes,3,opt,name=org,proto3" json:"org,omitempty"` // required
	// contains filtered or unexported fields
}

CreateRoleRequest registers a new assignable role, scoped to org. Global roles cannot be created through this RPC — only listed, via ListGlobalRoles.

func (*CreateRoleRequest) Descriptor deprecated added in v0.35.0

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

Deprecated: Use CreateRoleRequest.ProtoReflect.Descriptor instead.

func (*CreateRoleRequest) GetDescription added in v0.35.0

func (x *CreateRoleRequest) GetDescription() string

func (*CreateRoleRequest) GetName added in v0.35.0

func (x *CreateRoleRequest) GetName() string

func (*CreateRoleRequest) GetOrg added in v0.35.0

func (x *CreateRoleRequest) GetOrg() string

func (*CreateRoleRequest) ProtoMessage added in v0.35.0

func (*CreateRoleRequest) ProtoMessage()

func (*CreateRoleRequest) ProtoReflect added in v0.35.0

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

func (*CreateRoleRequest) Reset added in v0.35.0

func (x *CreateRoleRequest) Reset()

func (*CreateRoleRequest) String added in v0.35.0

func (x *CreateRoleRequest) String() string

type CreateUserRequest added in v0.32.0

type CreateUserRequest struct {
	Username     string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Organization string   `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"`
	Fullname     string   `protobuf:"bytes,3,opt,name=fullname,proto3" json:"fullname,omitempty"`
	Email        string   `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	Password     string   `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
	Roles        []string `protobuf:"bytes,6,rep,name=roles,proto3" json:"roles,omitempty"`
	Shell        string   `protobuf:"bytes,8,opt,name=shell,proto3" json:"shell,omitempty"`
	Sudo         bool     `protobuf:"varint,9,opt,name=sudo,proto3" json:"sudo,omitempty"`
	Locked       bool     `protobuf:"varint,10,opt,name=locked,proto3" json:"locked,omitempty"`
	Uid          uint32   `protobuf:"varint,11,opt,name=uid,proto3" json:"uid,omitempty"`
	Gid          uint32   `protobuf:"varint,12,opt,name=gid,proto3" json:"gid,omitempty"`
	// contains filtered or unexported fields
}

CreateUserRequest carries the fields for creating a new local user record. The supplied password, if any, is bcrypt-hashed server-side before being persisted; the raw value is never stored or returned.

func (*CreateUserRequest) Descriptor deprecated added in v0.32.0

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetEmail added in v0.32.0

func (x *CreateUserRequest) GetEmail() string

func (*CreateUserRequest) GetFullname added in v0.32.0

func (x *CreateUserRequest) GetFullname() string

func (*CreateUserRequest) GetGid added in v0.32.0

func (x *CreateUserRequest) GetGid() uint32

func (*CreateUserRequest) GetLocked added in v0.32.0

func (x *CreateUserRequest) GetLocked() bool

func (*CreateUserRequest) GetOrganization added in v0.32.0

func (x *CreateUserRequest) GetOrganization() string

func (*CreateUserRequest) GetPassword added in v0.32.0

func (x *CreateUserRequest) GetPassword() string

func (*CreateUserRequest) GetRoles added in v0.32.0

func (x *CreateUserRequest) GetRoles() []string

func (*CreateUserRequest) GetShell added in v0.32.0

func (x *CreateUserRequest) GetShell() string

func (*CreateUserRequest) GetSudo added in v0.32.0

func (x *CreateUserRequest) GetSudo() bool

func (*CreateUserRequest) GetUid added in v0.32.0

func (x *CreateUserRequest) GetUid() uint32

func (*CreateUserRequest) GetUsername added in v0.32.0

func (x *CreateUserRequest) GetUsername() string

func (*CreateUserRequest) ProtoMessage added in v0.32.0

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect added in v0.32.0

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

func (*CreateUserRequest) Reset added in v0.32.0

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String added in v0.32.0

func (x *CreateUserRequest) String() string

type DeleteAccessTokenRequest added in v0.34.0

type DeleteAccessTokenRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

DeleteAccessTokenRequest identifies the access token to permanently delete by its ID.

func (*DeleteAccessTokenRequest) Descriptor deprecated added in v0.34.0

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

Deprecated: Use DeleteAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*DeleteAccessTokenRequest) GetId added in v0.34.0

func (x *DeleteAccessTokenRequest) GetId() int64

func (*DeleteAccessTokenRequest) ProtoMessage added in v0.34.0

func (*DeleteAccessTokenRequest) ProtoMessage()

func (*DeleteAccessTokenRequest) ProtoReflect added in v0.34.0

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

func (*DeleteAccessTokenRequest) Reset added in v0.34.0

func (x *DeleteAccessTokenRequest) Reset()

func (*DeleteAccessTokenRequest) String added in v0.34.0

func (x *DeleteAccessTokenRequest) String() string

type DeleteAccessTokenResponse added in v0.34.0

type DeleteAccessTokenResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

DeleteAccessTokenResponse indicates whether the deletion was successful.

func (*DeleteAccessTokenResponse) Descriptor deprecated added in v0.34.0

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

Deprecated: Use DeleteAccessTokenResponse.ProtoReflect.Descriptor instead.

func (*DeleteAccessTokenResponse) GetSuccess added in v0.34.0

func (x *DeleteAccessTokenResponse) GetSuccess() bool

func (*DeleteAccessTokenResponse) ProtoMessage added in v0.34.0

func (*DeleteAccessTokenResponse) ProtoMessage()

func (*DeleteAccessTokenResponse) ProtoReflect added in v0.34.0

func (*DeleteAccessTokenResponse) Reset added in v0.34.0

func (x *DeleteAccessTokenResponse) Reset()

func (*DeleteAccessTokenResponse) String added in v0.34.0

func (x *DeleteAccessTokenResponse) String() string

type DeleteAnnouncementRequest added in v0.57.0

type DeleteAnnouncementRequest struct {
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

DeleteAnnouncementRequest identifies the announcement to remove by id.

func (*DeleteAnnouncementRequest) Descriptor deprecated added in v0.57.0

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

Deprecated: Use DeleteAnnouncementRequest.ProtoReflect.Descriptor instead.

func (*DeleteAnnouncementRequest) GetId added in v0.57.0

func (x *DeleteAnnouncementRequest) GetId() int32

func (*DeleteAnnouncementRequest) ProtoMessage added in v0.57.0

func (*DeleteAnnouncementRequest) ProtoMessage()

func (*DeleteAnnouncementRequest) ProtoReflect added in v0.57.0

func (*DeleteAnnouncementRequest) Reset added in v0.57.0

func (x *DeleteAnnouncementRequest) Reset()

func (*DeleteAnnouncementRequest) String added in v0.57.0

func (x *DeleteAnnouncementRequest) String() string

type DeleteAnnouncementResponse added in v0.57.0

type DeleteAnnouncementResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

DeleteAnnouncementResponse indicates whether the deletion was successful.

func (*DeleteAnnouncementResponse) Descriptor deprecated added in v0.57.0

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

Deprecated: Use DeleteAnnouncementResponse.ProtoReflect.Descriptor instead.

func (*DeleteAnnouncementResponse) GetSuccess added in v0.57.0

func (x *DeleteAnnouncementResponse) GetSuccess() bool

func (*DeleteAnnouncementResponse) ProtoMessage added in v0.57.0

func (*DeleteAnnouncementResponse) ProtoMessage()

func (*DeleteAnnouncementResponse) ProtoReflect added in v0.57.0

func (*DeleteAnnouncementResponse) Reset added in v0.57.0

func (x *DeleteAnnouncementResponse) Reset()

func (*DeleteAnnouncementResponse) String added in v0.57.0

func (x *DeleteAnnouncementResponse) String() string

type DeleteOnboardRuleRequest added in v0.36.0

type DeleteOnboardRuleRequest struct {
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

DeleteOnboardRuleRequest identifies the onboard rule to remove by id.

func (*DeleteOnboardRuleRequest) Descriptor deprecated added in v0.36.0

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

Deprecated: Use DeleteOnboardRuleRequest.ProtoReflect.Descriptor instead.

func (*DeleteOnboardRuleRequest) GetId added in v0.36.0

func (x *DeleteOnboardRuleRequest) GetId() int32

func (*DeleteOnboardRuleRequest) ProtoMessage added in v0.36.0

func (*DeleteOnboardRuleRequest) ProtoMessage()

func (*DeleteOnboardRuleRequest) ProtoReflect added in v0.36.0

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

func (*DeleteOnboardRuleRequest) Reset added in v0.36.0

func (x *DeleteOnboardRuleRequest) Reset()

func (*DeleteOnboardRuleRequest) String added in v0.36.0

func (x *DeleteOnboardRuleRequest) String() string

type DeleteOnboardRuleResponse added in v0.36.0

type DeleteOnboardRuleResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

DeleteOnboardRuleResponse indicates whether the deletion was successful.

func (*DeleteOnboardRuleResponse) Descriptor deprecated added in v0.36.0

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

Deprecated: Use DeleteOnboardRuleResponse.ProtoReflect.Descriptor instead.

func (*DeleteOnboardRuleResponse) GetSuccess added in v0.36.0

func (x *DeleteOnboardRuleResponse) GetSuccess() bool

func (*DeleteOnboardRuleResponse) ProtoMessage added in v0.36.0

func (*DeleteOnboardRuleResponse) ProtoMessage()

func (*DeleteOnboardRuleResponse) ProtoReflect added in v0.36.0

func (*DeleteOnboardRuleResponse) Reset added in v0.36.0

func (x *DeleteOnboardRuleResponse) Reset()

func (*DeleteOnboardRuleResponse) String added in v0.36.0

func (x *DeleteOnboardRuleResponse) String() string

type DeleteOrganizationEnvVarRequest added in v0.46.0

type DeleteOrganizationEnvVarRequest struct {
	Org string `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"`
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

DeleteOrganizationEnvVarRequest identifies the organization environment variable to remove by org and key.

func (*DeleteOrganizationEnvVarRequest) Descriptor deprecated added in v0.46.0

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

Deprecated: Use DeleteOrganizationEnvVarRequest.ProtoReflect.Descriptor instead.

func (*DeleteOrganizationEnvVarRequest) GetKey added in v0.46.0

func (*DeleteOrganizationEnvVarRequest) GetOrg added in v0.46.0

func (*DeleteOrganizationEnvVarRequest) ProtoMessage added in v0.46.0

func (*DeleteOrganizationEnvVarRequest) ProtoMessage()

func (*DeleteOrganizationEnvVarRequest) ProtoReflect added in v0.46.0

func (*DeleteOrganizationEnvVarRequest) Reset added in v0.46.0

func (*DeleteOrganizationEnvVarRequest) String added in v0.46.0

type DeleteOrganizationEnvVarResponse added in v0.46.0

type DeleteOrganizationEnvVarResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

DeleteOrganizationEnvVarResponse indicates whether the deletion was successful.

func (*DeleteOrganizationEnvVarResponse) Descriptor deprecated added in v0.46.0

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

Deprecated: Use DeleteOrganizationEnvVarResponse.ProtoReflect.Descriptor instead.

func (*DeleteOrganizationEnvVarResponse) GetSuccess added in v0.46.0

func (x *DeleteOrganizationEnvVarResponse) GetSuccess() bool

func (*DeleteOrganizationEnvVarResponse) ProtoMessage added in v0.46.0

func (*DeleteOrganizationEnvVarResponse) ProtoMessage()

func (*DeleteOrganizationEnvVarResponse) ProtoReflect added in v0.46.0

func (*DeleteOrganizationEnvVarResponse) Reset added in v0.46.0

func (*DeleteOrganizationEnvVarResponse) String added in v0.46.0

type DeleteOrganizationRequest added in v0.35.0

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

DeleteOrganizationRequest identifies the organization to remove from the registry.

func (*DeleteOrganizationRequest) Descriptor deprecated added in v0.35.0

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

Deprecated: Use DeleteOrganizationRequest.ProtoReflect.Descriptor instead.

func (*DeleteOrganizationRequest) GetName added in v0.35.0

func (x *DeleteOrganizationRequest) GetName() string

func (*DeleteOrganizationRequest) ProtoMessage added in v0.35.0

func (*DeleteOrganizationRequest) ProtoMessage()

func (*DeleteOrganizationRequest) ProtoReflect added in v0.35.0

func (*DeleteOrganizationRequest) Reset added in v0.35.0

func (x *DeleteOrganizationRequest) Reset()

func (*DeleteOrganizationRequest) String added in v0.35.0

func (x *DeleteOrganizationRequest) String() string

type DeleteOrganizationResponse added in v0.35.0

type DeleteOrganizationResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

DeleteOrganizationResponse indicates whether the deletion was successful.

func (*DeleteOrganizationResponse) Descriptor deprecated added in v0.35.0

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

Deprecated: Use DeleteOrganizationResponse.ProtoReflect.Descriptor instead.

func (*DeleteOrganizationResponse) GetSuccess added in v0.35.0

func (x *DeleteOrganizationResponse) GetSuccess() bool

func (*DeleteOrganizationResponse) ProtoMessage added in v0.35.0

func (*DeleteOrganizationResponse) ProtoMessage()

func (*DeleteOrganizationResponse) ProtoReflect added in v0.35.0

func (*DeleteOrganizationResponse) Reset added in v0.35.0

func (x *DeleteOrganizationResponse) Reset()

func (*DeleteOrganizationResponse) String added in v0.35.0

func (x *DeleteOrganizationResponse) String() string

type DeleteRoleRequest added in v0.35.0

type DeleteRoleRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Org  string `protobuf:"bytes,2,opt,name=org,proto3" json:"org,omitempty"` // required
	// contains filtered or unexported fields
}

DeleteRoleRequest identifies the role to remove from the registry. name and org together identify the role. org is required — global roles cannot be removed through this RPC.

func (*DeleteRoleRequest) Descriptor deprecated added in v0.35.0

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

Deprecated: Use DeleteRoleRequest.ProtoReflect.Descriptor instead.

func (*DeleteRoleRequest) GetName added in v0.35.0

func (x *DeleteRoleRequest) GetName() string

func (*DeleteRoleRequest) GetOrg added in v0.35.0

func (x *DeleteRoleRequest) GetOrg() string

func (*DeleteRoleRequest) ProtoMessage added in v0.35.0

func (*DeleteRoleRequest) ProtoMessage()

func (*DeleteRoleRequest) ProtoReflect added in v0.35.0

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

func (*DeleteRoleRequest) Reset added in v0.35.0

func (x *DeleteRoleRequest) Reset()

func (*DeleteRoleRequest) String added in v0.35.0

func (x *DeleteRoleRequest) String() string

type DeleteRoleResponse added in v0.35.0

type DeleteRoleResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

DeleteRoleResponse indicates whether the deletion was successful.

func (*DeleteRoleResponse) Descriptor deprecated added in v0.35.0

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

Deprecated: Use DeleteRoleResponse.ProtoReflect.Descriptor instead.

func (*DeleteRoleResponse) GetSuccess added in v0.35.0

func (x *DeleteRoleResponse) GetSuccess() bool

func (*DeleteRoleResponse) ProtoMessage added in v0.35.0

func (*DeleteRoleResponse) ProtoMessage()

func (*DeleteRoleResponse) ProtoReflect added in v0.35.0

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

func (*DeleteRoleResponse) Reset added in v0.35.0

func (x *DeleteRoleResponse) Reset()

func (*DeleteRoleResponse) String added in v0.35.0

func (x *DeleteRoleResponse) String() string

type DeleteUserCredentialRequest

type DeleteUserCredentialRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

DeleteUserCredentialRequest identifies the external credential to delete by its ID.

func (*DeleteUserCredentialRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserCredentialRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserCredentialRequest) GetId

func (*DeleteUserCredentialRequest) ProtoMessage

func (*DeleteUserCredentialRequest) ProtoMessage()

func (*DeleteUserCredentialRequest) ProtoReflect

func (*DeleteUserCredentialRequest) Reset

func (x *DeleteUserCredentialRequest) Reset()

func (*DeleteUserCredentialRequest) String

func (x *DeleteUserCredentialRequest) String() string

type DeleteUserCredentialResponse

type DeleteUserCredentialResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

DeleteUserCredentialResponse indicates whether the deletion was successful.

func (*DeleteUserCredentialResponse) Descriptor deprecated

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

Deprecated: Use DeleteUserCredentialResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserCredentialResponse) GetSuccess

func (x *DeleteUserCredentialResponse) GetSuccess() bool

func (*DeleteUserCredentialResponse) ProtoMessage

func (*DeleteUserCredentialResponse) ProtoMessage()

func (*DeleteUserCredentialResponse) ProtoReflect

func (*DeleteUserCredentialResponse) Reset

func (x *DeleteUserCredentialResponse) Reset()

func (*DeleteUserCredentialResponse) String

type DeleteUserEnvVarRequest added in v0.46.0

type DeleteUserEnvVarRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Key      string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

DeleteUserEnvVarRequest identifies the user-owned environment variable to remove by username and key.

func (*DeleteUserEnvVarRequest) Descriptor deprecated added in v0.46.0

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

Deprecated: Use DeleteUserEnvVarRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserEnvVarRequest) GetKey added in v0.46.0

func (x *DeleteUserEnvVarRequest) GetKey() string

func (*DeleteUserEnvVarRequest) GetUsername added in v0.46.0

func (x *DeleteUserEnvVarRequest) GetUsername() string

func (*DeleteUserEnvVarRequest) ProtoMessage added in v0.46.0

func (*DeleteUserEnvVarRequest) ProtoMessage()

func (*DeleteUserEnvVarRequest) ProtoReflect added in v0.46.0

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

func (*DeleteUserEnvVarRequest) Reset added in v0.46.0

func (x *DeleteUserEnvVarRequest) Reset()

func (*DeleteUserEnvVarRequest) String added in v0.46.0

func (x *DeleteUserEnvVarRequest) String() string

type DeleteUserEnvVarResponse added in v0.46.0

type DeleteUserEnvVarResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

DeleteUserEnvVarResponse indicates whether the deletion was successful.

func (*DeleteUserEnvVarResponse) Descriptor deprecated added in v0.46.0

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

Deprecated: Use DeleteUserEnvVarResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserEnvVarResponse) GetSuccess added in v0.46.0

func (x *DeleteUserEnvVarResponse) GetSuccess() bool

func (*DeleteUserEnvVarResponse) ProtoMessage added in v0.46.0

func (*DeleteUserEnvVarResponse) ProtoMessage()

func (*DeleteUserEnvVarResponse) ProtoReflect added in v0.46.0

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

func (*DeleteUserEnvVarResponse) Reset added in v0.46.0

func (x *DeleteUserEnvVarResponse) Reset()

func (*DeleteUserEnvVarResponse) String added in v0.46.0

func (x *DeleteUserEnvVarResponse) String() string

type DeleteUserRequest added in v0.32.0

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

DeleteUserRequest identifies the user record to delete by username.

func (*DeleteUserRequest) Descriptor deprecated added in v0.32.0

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetUsername added in v0.32.0

func (x *DeleteUserRequest) GetUsername() string

func (*DeleteUserRequest) ProtoMessage added in v0.32.0

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect added in v0.32.0

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

func (*DeleteUserRequest) Reset added in v0.32.0

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String added in v0.32.0

func (x *DeleteUserRequest) String() string

type DeleteUserResponse added in v0.32.0

type DeleteUserResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

DeleteUserResponse indicates whether the deletion was successful.

func (*DeleteUserResponse) Descriptor deprecated added in v0.32.0

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

Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserResponse) GetSuccess added in v0.32.0

func (x *DeleteUserResponse) GetSuccess() bool

func (*DeleteUserResponse) ProtoMessage added in v0.32.0

func (*DeleteUserResponse) ProtoMessage()

func (*DeleteUserResponse) ProtoReflect added in v0.32.0

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

func (*DeleteUserResponse) Reset added in v0.32.0

func (x *DeleteUserResponse) Reset()

func (*DeleteUserResponse) String added in v0.32.0

func (x *DeleteUserResponse) String() string

type EnvVar added in v0.46.0

type EnvVar struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// value is empty and redacted is true when this entry was returned by a
	// ListXEnvVars call and is_secret is true — secret values are only ever
	// returned in full by GetOrganizationEnvVar/GetUserEnvVar, or by the
	// Add/Update response for the write that just set them.
	Value    string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	IsSecret bool   `protobuf:"varint,3,opt,name=is_secret,json=isSecret,proto3" json:"is_secret,omitempty"`
	Redacted bool   `protobuf:"varint,4,opt,name=redacted,proto3" json:"redacted,omitempty"`
	// origin is "org" or "user", identifying which table this entry's
	// effective value came from. Only set by ListUserEnvVars/GetUserEnvVar;
	// empty for organization-scoped calls.
	Origin    string               `protobuf:"bytes,5,opt,name=origin,proto3" json:"origin,omitempty"`
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

EnvVar is a single environment variable entry belonging to an organization or a user. Keys are case-insensitive and normalized to upper case by the server; only valid POSIX environment variable name characters are accepted ([A-Z_][A-Z0-9_]*).

func (*EnvVar) Descriptor deprecated added in v0.46.0

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

Deprecated: Use EnvVar.ProtoReflect.Descriptor instead.

func (*EnvVar) GetCreatedAt added in v0.46.0

func (x *EnvVar) GetCreatedAt() *timestamp.Timestamp

func (*EnvVar) GetIsSecret added in v0.46.0

func (x *EnvVar) GetIsSecret() bool

func (*EnvVar) GetKey added in v0.46.0

func (x *EnvVar) GetKey() string

func (*EnvVar) GetOrigin added in v0.46.0

func (x *EnvVar) GetOrigin() string

func (*EnvVar) GetRedacted added in v0.46.0

func (x *EnvVar) GetRedacted() bool

func (*EnvVar) GetUpdatedAt added in v0.46.0

func (x *EnvVar) GetUpdatedAt() *timestamp.Timestamp

func (*EnvVar) GetValue added in v0.46.0

func (x *EnvVar) GetValue() string

func (*EnvVar) ProtoMessage added in v0.46.0

func (*EnvVar) ProtoMessage()

func (*EnvVar) ProtoReflect added in v0.46.0

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

func (*EnvVar) Reset added in v0.46.0

func (x *EnvVar) Reset()

func (*EnvVar) String added in v0.46.0

func (x *EnvVar) String() string

type EnvVarList added in v0.46.0

type EnvVarList struct {
	EnvVars []*EnvVar `protobuf:"bytes,1,rep,name=env_vars,json=envVars,proto3" json:"env_vars,omitempty"`
	// contains filtered or unexported fields
}

EnvVarList holds a list of environment variables.

func (*EnvVarList) Descriptor deprecated added in v0.46.0

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

Deprecated: Use EnvVarList.ProtoReflect.Descriptor instead.

func (*EnvVarList) GetEnvVars added in v0.46.0

func (x *EnvVarList) GetEnvVars() []*EnvVar

func (*EnvVarList) ProtoMessage added in v0.46.0

func (*EnvVarList) ProtoMessage()

func (*EnvVarList) ProtoReflect added in v0.46.0

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

func (*EnvVarList) Reset added in v0.46.0

func (x *EnvVarList) Reset()

func (*EnvVarList) String added in v0.46.0

func (x *EnvVarList) String() string

type FindUserRequest

type FindUserRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Email    string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

FindUserRequest looks up a user by username or email. Exactly one of username or email should be set.

func (*FindUserRequest) Descriptor deprecated

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

Deprecated: Use FindUserRequest.ProtoReflect.Descriptor instead.

func (*FindUserRequest) GetEmail added in v0.34.1

func (x *FindUserRequest) GetEmail() string

func (*FindUserRequest) GetUsername

func (x *FindUserRequest) GetUsername() string

func (*FindUserRequest) ProtoMessage

func (*FindUserRequest) ProtoMessage()

func (*FindUserRequest) ProtoReflect

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

func (*FindUserRequest) Reset

func (x *FindUserRequest) Reset()

func (*FindUserRequest) String

func (x *FindUserRequest) String() string

type GetAnnouncementRequest added in v0.57.0

type GetAnnouncementRequest struct {
	Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

GetAnnouncementRequest identifies the announcement to retrieve by id.

func (*GetAnnouncementRequest) Descriptor deprecated added in v0.57.0

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

Deprecated: Use GetAnnouncementRequest.ProtoReflect.Descriptor instead.

func (*GetAnnouncementRequest) GetId added in v0.57.0

func (x *GetAnnouncementRequest) GetId() int32

func (*GetAnnouncementRequest) ProtoMessage added in v0.57.0

func (*GetAnnouncementRequest) ProtoMessage()

func (*GetAnnouncementRequest) ProtoReflect added in v0.57.0

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

func (*GetAnnouncementRequest) Reset added in v0.57.0

func (x *GetAnnouncementRequest) Reset()

func (*GetAnnouncementRequest) String added in v0.57.0

func (x *GetAnnouncementRequest) String() string

type GetAnnouncementsQuerySchemaRequest added in v0.57.0

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

GetAnnouncementsQuerySchemaRequest carries no fields today. Left as a message rather than google.protobuf.Empty so parameters can be added later without changing the RPC signature.

func (*GetAnnouncementsQuerySchemaRequest) Descriptor deprecated added in v0.57.0

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

Deprecated: Use GetAnnouncementsQuerySchemaRequest.ProtoReflect.Descriptor instead.

func (*GetAnnouncementsQuerySchemaRequest) ProtoMessage added in v0.57.0

func (*GetAnnouncementsQuerySchemaRequest) ProtoMessage()

func (*GetAnnouncementsQuerySchemaRequest) ProtoReflect added in v0.57.0

func (*GetAnnouncementsQuerySchemaRequest) Reset added in v0.57.0

func (*GetAnnouncementsQuerySchemaRequest) String added in v0.57.0

type GetAvailableIdentityProvidersRequest

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

GetAvailableIdentityProvidersRequest is an empty request message to query available identity providers.

func (*GetAvailableIdentityProvidersRequest) Descriptor deprecated

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

Deprecated: Use GetAvailableIdentityProvidersRequest.ProtoReflect.Descriptor instead.

func (*GetAvailableIdentityProvidersRequest) ProtoMessage

func (*GetAvailableIdentityProvidersRequest) ProtoMessage()

func (*GetAvailableIdentityProvidersRequest) ProtoReflect

func (*GetAvailableIdentityProvidersRequest) Reset

func (*GetAvailableIdentityProvidersRequest) String

type GetAvailableIdentityProvidersResponse

type GetAvailableIdentityProvidersResponse struct {
	Providers []*IdentityProviderInfo `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"`
	// contains filtered or unexported fields
}

GetAvailableIdentityProvidersResponse carries the list of available identity providers.

func (*GetAvailableIdentityProvidersResponse) Descriptor deprecated

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

Deprecated: Use GetAvailableIdentityProvidersResponse.ProtoReflect.Descriptor instead.

func (*GetAvailableIdentityProvidersResponse) GetProviders

func (*GetAvailableIdentityProvidersResponse) ProtoMessage

func (*GetAvailableIdentityProvidersResponse) ProtoMessage()

func (*GetAvailableIdentityProvidersResponse) ProtoReflect

func (*GetAvailableIdentityProvidersResponse) Reset

func (*GetAvailableIdentityProvidersResponse) String

type GetOnboardRulesQuerySchemaRequest added in v0.36.0

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

GetOnboardRulesQuerySchemaRequest carries no fields today. Left as a message rather than google.protobuf.Empty so parameters can be added later without changing the RPC signature.

func (*GetOnboardRulesQuerySchemaRequest) Descriptor deprecated added in v0.36.0

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

Deprecated: Use GetOnboardRulesQuerySchemaRequest.ProtoReflect.Descriptor instead.

func (*GetOnboardRulesQuerySchemaRequest) ProtoMessage added in v0.36.0

func (*GetOnboardRulesQuerySchemaRequest) ProtoMessage()

func (*GetOnboardRulesQuerySchemaRequest) ProtoReflect added in v0.36.0

func (*GetOnboardRulesQuerySchemaRequest) Reset added in v0.36.0

func (*GetOnboardRulesQuerySchemaRequest) String added in v0.36.0

type GetOrganizationEnvVarRequest added in v0.46.0

type GetOrganizationEnvVarRequest struct {
	Org string `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"`
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

GetOrganizationEnvVarRequest identifies a single organization environment variable by org and key.

func (*GetOrganizationEnvVarRequest) Descriptor deprecated added in v0.46.0

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

Deprecated: Use GetOrganizationEnvVarRequest.ProtoReflect.Descriptor instead.

func (*GetOrganizationEnvVarRequest) GetKey added in v0.46.0

func (*GetOrganizationEnvVarRequest) GetOrg added in v0.46.0

func (*GetOrganizationEnvVarRequest) ProtoMessage added in v0.46.0

func (*GetOrganizationEnvVarRequest) ProtoMessage()

func (*GetOrganizationEnvVarRequest) ProtoReflect added in v0.46.0

func (*GetOrganizationEnvVarRequest) Reset added in v0.46.0

func (x *GetOrganizationEnvVarRequest) Reset()

func (*GetOrganizationEnvVarRequest) String added in v0.46.0

type GetOrganizationRequest added in v0.36.0

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

GetOrganizationRequest identifies a single organization to retrieve by name.

func (*GetOrganizationRequest) Descriptor deprecated added in v0.36.0

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

Deprecated: Use GetOrganizationRequest.ProtoReflect.Descriptor instead.

func (*GetOrganizationRequest) GetName added in v0.36.0

func (x *GetOrganizationRequest) GetName() string

func (*GetOrganizationRequest) ProtoMessage added in v0.36.0

func (*GetOrganizationRequest) ProtoMessage()

func (*GetOrganizationRequest) ProtoReflect added in v0.36.0

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

func (*GetOrganizationRequest) Reset added in v0.36.0

func (x *GetOrganizationRequest) Reset()

func (*GetOrganizationRequest) String added in v0.36.0

func (x *GetOrganizationRequest) String() string

type GetOrganizationsQuerySchemaRequest added in v0.36.0

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

GetOrganizationsQuerySchemaRequest requests the query.v1.Descriptor for the organizations resource. It carries no fields today; left as a message rather than google.protobuf.Empty so parameters can be added later without changing the RPC signature.

func (*GetOrganizationsQuerySchemaRequest) Descriptor deprecated added in v0.36.0

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

Deprecated: Use GetOrganizationsQuerySchemaRequest.ProtoReflect.Descriptor instead.

func (*GetOrganizationsQuerySchemaRequest) ProtoMessage added in v0.36.0

func (*GetOrganizationsQuerySchemaRequest) ProtoMessage()

func (*GetOrganizationsQuerySchemaRequest) ProtoReflect added in v0.36.0

func (*GetOrganizationsQuerySchemaRequest) Reset added in v0.36.0

func (*GetOrganizationsQuerySchemaRequest) String added in v0.36.0

type GetUserCredentialRequest

type GetUserCredentialRequest struct {
	Username     string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	ServiceName  string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	ServiceScope string `protobuf:"bytes,3,opt,name=service_scope,json=serviceScope,proto3" json:"service_scope,omitempty"`
	// contains filtered or unexported fields
}

GetUserCredentialRequest identifies a specific credential by service name and optional scope.

func (*GetUserCredentialRequest) Descriptor deprecated

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

Deprecated: Use GetUserCredentialRequest.ProtoReflect.Descriptor instead.

func (*GetUserCredentialRequest) GetServiceName

func (x *GetUserCredentialRequest) GetServiceName() string

func (*GetUserCredentialRequest) GetServiceScope

func (x *GetUserCredentialRequest) GetServiceScope() string

func (*GetUserCredentialRequest) GetUsername

func (x *GetUserCredentialRequest) GetUsername() string

func (*GetUserCredentialRequest) ProtoMessage

func (*GetUserCredentialRequest) ProtoMessage()

func (*GetUserCredentialRequest) ProtoReflect

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

func (*GetUserCredentialRequest) Reset

func (x *GetUserCredentialRequest) Reset()

func (*GetUserCredentialRequest) String

func (x *GetUserCredentialRequest) String() string

type GetUserEnvVarRequest added in v0.46.0

type GetUserEnvVarRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Key      string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

GetUserEnvVarRequest identifies a single effective environment variable by username and key.

func (*GetUserEnvVarRequest) Descriptor deprecated added in v0.46.0

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

Deprecated: Use GetUserEnvVarRequest.ProtoReflect.Descriptor instead.

func (*GetUserEnvVarRequest) GetKey added in v0.46.0

func (x *GetUserEnvVarRequest) GetKey() string

func (*GetUserEnvVarRequest) GetUsername added in v0.46.0

func (x *GetUserEnvVarRequest) GetUsername() string

func (*GetUserEnvVarRequest) ProtoMessage added in v0.46.0

func (*GetUserEnvVarRequest) ProtoMessage()

func (*GetUserEnvVarRequest) ProtoReflect added in v0.46.0

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

func (*GetUserEnvVarRequest) Reset added in v0.46.0

func (x *GetUserEnvVarRequest) Reset()

func (*GetUserEnvVarRequest) String added in v0.46.0

func (x *GetUserEnvVarRequest) String() string

type GetUserSettingsRequest added in v0.59.0

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

GetUserSettingsRequest identifies the user whose settings are being read.

func (*GetUserSettingsRequest) Descriptor deprecated added in v0.59.0

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

Deprecated: Use GetUserSettingsRequest.ProtoReflect.Descriptor instead.

func (*GetUserSettingsRequest) GetUsername added in v0.59.0

func (x *GetUserSettingsRequest) GetUsername() string

func (*GetUserSettingsRequest) ProtoMessage added in v0.59.0

func (*GetUserSettingsRequest) ProtoMessage()

func (*GetUserSettingsRequest) ProtoReflect added in v0.59.0

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

func (*GetUserSettingsRequest) Reset added in v0.59.0

func (x *GetUserSettingsRequest) Reset()

func (*GetUserSettingsRequest) String added in v0.59.0

func (x *GetUserSettingsRequest) String() string

type GetUserSettingsResponse added in v0.59.0

type GetUserSettingsResponse struct {
	Version   int32                `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Data      []byte               `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`                            // opaque JSON; Identity never parses it
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // zero value if never set
	// contains filtered or unexported fields
}

GetUserSettingsResponse carries a user's stored settings. A user with no settings row returns the zero value for every field — there is no found/not-found flag, so callers should not special-case NotFound here.

func (*GetUserSettingsResponse) Descriptor deprecated added in v0.59.0

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

Deprecated: Use GetUserSettingsResponse.ProtoReflect.Descriptor instead.

func (*GetUserSettingsResponse) GetData added in v0.59.0

func (x *GetUserSettingsResponse) GetData() []byte

func (*GetUserSettingsResponse) GetUpdatedAt added in v0.59.0

func (x *GetUserSettingsResponse) GetUpdatedAt() *timestamp.Timestamp

func (*GetUserSettingsResponse) GetVersion added in v0.59.0

func (x *GetUserSettingsResponse) GetVersion() int32

func (*GetUserSettingsResponse) ProtoMessage added in v0.59.0

func (*GetUserSettingsResponse) ProtoMessage()

func (*GetUserSettingsResponse) ProtoReflect added in v0.59.0

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

func (*GetUserSettingsResponse) Reset added in v0.59.0

func (x *GetUserSettingsResponse) Reset()

func (*GetUserSettingsResponse) String added in v0.59.0

func (x *GetUserSettingsResponse) String() string

type GetUsersQuerySchemaRequest added in v0.35.0

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

GetUsersQuerySchemaRequest requests the query.v1.Descriptor for the users resource. It carries no fields today; left as a message rather than google.protobuf.Empty so parameters (e.g. org-scoping) can be added later without changing the RPC signature.

func (*GetUsersQuerySchemaRequest) Descriptor deprecated added in v0.35.0

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

Deprecated: Use GetUsersQuerySchemaRequest.ProtoReflect.Descriptor instead.

func (*GetUsersQuerySchemaRequest) ProtoMessage added in v0.35.0

func (*GetUsersQuerySchemaRequest) ProtoMessage()

func (*GetUsersQuerySchemaRequest) ProtoReflect added in v0.35.0

func (*GetUsersQuerySchemaRequest) Reset added in v0.35.0

func (x *GetUsersQuerySchemaRequest) Reset()

func (*GetUsersQuerySchemaRequest) String added in v0.35.0

func (x *GetUsersQuerySchemaRequest) String() string

type GetUsersRequest

type GetUsersRequest struct {
	Limit  int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// Optional filters applied before limit/offset, as an AND-of-ORs: a user
	// must match every filter field that is set, and a repeated field matches
	// when the user has at least one of the listed values. An unset/empty
	// field imposes no restriction on that dimension.
	Roles      []string `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"`           // user must have at least one of these roles
	Blueprints []string `protobuf:"bytes,4,rep,name=blueprints,proto3" json:"blueprints,omitempty"` // user must have at least one of these blueprints
	Org        string   `protobuf:"bytes,5,opt,name=org,proto3" json:"org,omitempty"`               // user must belong to this organization
	// contains filtered or unexported fields
}

GetUsersRequest carries pagination parameters, plus optional filters sourced from the user:list authz obligations (see pkg/authz/user.go), for listing users.

func (*GetUsersRequest) Descriptor deprecated

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

Deprecated: Use GetUsersRequest.ProtoReflect.Descriptor instead.

func (*GetUsersRequest) GetBlueprints added in v0.30.7

func (x *GetUsersRequest) GetBlueprints() []string

func (*GetUsersRequest) GetLimit

func (x *GetUsersRequest) GetLimit() int32

func (*GetUsersRequest) GetOffset

func (x *GetUsersRequest) GetOffset() int32

func (*GetUsersRequest) GetOrg added in v0.30.7

func (x *GetUsersRequest) GetOrg() string

func (*GetUsersRequest) GetRoles added in v0.30.7

func (x *GetUsersRequest) GetRoles() []string

func (*GetUsersRequest) ProtoMessage

func (*GetUsersRequest) ProtoMessage()

func (*GetUsersRequest) ProtoReflect

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

func (*GetUsersRequest) Reset

func (x *GetUsersRequest) Reset()

func (*GetUsersRequest) String

func (x *GetUsersRequest) String() string

type GetUsersResponse

type GetUsersResponse struct {
	Users []*v1.User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

GetUsersResponse carries the paginated list of users.

func (*GetUsersResponse) Descriptor deprecated

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

Deprecated: Use GetUsersResponse.ProtoReflect.Descriptor instead.

func (*GetUsersResponse) GetUsers

func (x *GetUsersResponse) GetUsers() []*v1.User

func (*GetUsersResponse) ProtoMessage

func (*GetUsersResponse) ProtoMessage()

func (*GetUsersResponse) ProtoReflect

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

func (*GetUsersResponse) Reset

func (x *GetUsersResponse) Reset()

func (*GetUsersResponse) String

func (x *GetUsersResponse) String() string

type IdentityProviderInfo

type IdentityProviderInfo struct {
	Name         string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Capabilities []string `protobuf:"bytes,2,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
	// version_info is the build and version metadata reported by the provider's
	// own GetVersionInfo RPC. It is unset for in-process providers (e.g. the
	// file provider) and for remote providers that could not be reached.
	VersionInfo *v1.GetVersionInfoResponse `protobuf:"bytes,3,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
	// contains filtered or unexported fields
}

IdentityProviderInfo carries data about the identity provider

func (*IdentityProviderInfo) Descriptor deprecated

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

Deprecated: Use IdentityProviderInfo.ProtoReflect.Descriptor instead.

func (*IdentityProviderInfo) GetCapabilities

func (x *IdentityProviderInfo) GetCapabilities() []string

func (*IdentityProviderInfo) GetName

func (x *IdentityProviderInfo) GetName() string

func (*IdentityProviderInfo) GetVersionInfo added in v0.49.0

func (x *IdentityProviderInfo) GetVersionInfo() *v1.GetVersionInfoResponse

func (*IdentityProviderInfo) ProtoMessage

func (*IdentityProviderInfo) ProtoMessage()

func (*IdentityProviderInfo) ProtoReflect

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

func (*IdentityProviderInfo) Reset

func (x *IdentityProviderInfo) Reset()

func (*IdentityProviderInfo) String

func (x *IdentityProviderInfo) String() string

type IdentityProviderServiceClient

type IdentityProviderServiceClient interface {
	// ProviderInfo returns metadata about the identity provider, including its name,
	// capabilities, user max age, and address.
	ProviderInfo(ctx context.Context, in *ProviderInfoRequest, opts ...grpc.CallOption) (*ProviderInfoResponse, error)
	// FindUser retrieves a user by username, re-evaluating the provider's
	// onboarding decision for them. It can be used for authentication and user
	// lookup.
	FindUser(ctx context.Context, in *FindUserRequest, opts ...grpc.CallOption) (*v1.UserResult, error)
	// OnboardCapability returns the onboarding capability details for a user.
	OnboardUserCapability(ctx context.Context, in *Username, opts ...grpc.CallOption) (*v1.UserOnboardCapability, error)
	// OnboardUserDeviceFlow initiates the device flow onboarding process for a user.
	OnboardUserDeviceFlow(ctx context.Context, in *OnboardUserDeviceFlowRequest, opts ...grpc.CallOption) (*v1.OnboardUserDeviceFlow, error)
	// OnboardUserWebFlow initiates the web flow onboarding process for a user.
	OnboardUserWebFlow(ctx context.Context, in *OnboardUserWebFlowRequest, opts ...grpc.CallOption) (*v1.OnboardUserWebFlow, error)
	// CompleteUserWebFlow completes the web flow onboarding process using the
	// provided state and code, returning the onboarding decision computed for
	// the user plus optional management info for the client to present.
	CompleteUserWebFlow(ctx context.Context, in *CompleteUserWebFlowRequest, opts ...grpc.CallOption) (*v1.UserResult, error)
	// AuthUserPublicKey authenticates a user using a public key and returns the authentication result
	AuthUserPublicKey(ctx context.Context, in *AuthUserPublicKeyRequest, opts ...grpc.CallOption) (*AuthUserResponse, error)
	// GetUserGitToken retrieves an authentication token for a user.
	GetUserGitToken(ctx context.Context, in *Username, opts ...grpc.CallOption) (*UserToken, error)
	// GetBlueprintByUserStr retrieves a blueprint associated with a user string identifier.
	GetBlueprintByUserStr(ctx context.Context, in *UserStr, opts ...grpc.CallOption) (*Blueprint, error)
	// ListUserAuthKeys retrieves all SSH public keys registered for a user.
	ListUserAuthKeys(ctx context.Context, in *Username, opts ...grpc.CallOption) (*ListUserAuthKeysResponse, error)
	// ResolvePullRequestToRef resolves a pull request to a repository reference (e.g., branch or commit).
	ResolvePullRequestToRef(ctx context.Context, in *RepoPullRequestRequest, opts ...grpc.CallOption) (*RepoRefResponse, error)
	// ListRepoOwners lists the repository owners (the user's personal account plus any
	// organizations) that the user has access to on the provider. It is the first step
	// in browsing repositories: the login chosen here becomes the repo_owner of a
	// subsequent ListRepos call.
	ListRepoOwners(ctx context.Context, in *Username, opts ...grpc.CallOption) (*RepoOwnerList, error)
	// ListRepos lists the repositories under the given owner that the user can access.
	ListRepos(ctx context.Context, in *ListReposRequest, opts ...grpc.CallOption) (*RepoList, error)
	// GetVersionInfo returns build and version metadata for this service: its
	// released semantic version, the git commit it was built from, and a short
	// description of what the service does.
	GetVersionInfo(ctx context.Context, in *v1.GetVersionInfoRequest, opts ...grpc.CallOption) (*v1.GetVersionInfoResponse, error)
}

IdentityProviderServiceClient is the client API for IdentityProviderService 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.

IdentityProviderService defines the gRPC service for identity provider operations

type IdentityProviderServiceServer

type IdentityProviderServiceServer interface {
	// ProviderInfo returns metadata about the identity provider, including its name,
	// capabilities, user max age, and address.
	ProviderInfo(context.Context, *ProviderInfoRequest) (*ProviderInfoResponse, error)
	// FindUser retrieves a user by username, re-evaluating the provider's
	// onboarding decision for them. It can be used for authentication and user
	// lookup.
	FindUser(context.Context, *FindUserRequest) (*v1.UserResult, error)
	// OnboardCapability returns the onboarding capability details for a user.
	OnboardUserCapability(context.Context, *Username) (*v1.UserOnboardCapability, error)
	// OnboardUserDeviceFlow initiates the device flow onboarding process for a user.
	OnboardUserDeviceFlow(context.Context, *OnboardUserDeviceFlowRequest) (*v1.OnboardUserDeviceFlow, error)
	// OnboardUserWebFlow initiates the web flow onboarding process for a user.
	OnboardUserWebFlow(context.Context, *OnboardUserWebFlowRequest) (*v1.OnboardUserWebFlow, error)
	// CompleteUserWebFlow completes the web flow onboarding process using the
	// provided state and code, returning the onboarding decision computed for
	// the user plus optional management info for the client to present.
	CompleteUserWebFlow(context.Context, *CompleteUserWebFlowRequest) (*v1.UserResult, error)
	// AuthUserPublicKey authenticates a user using a public key and returns the authentication result
	AuthUserPublicKey(context.Context, *AuthUserPublicKeyRequest) (*AuthUserResponse, error)
	// GetUserGitToken retrieves an authentication token for a user.
	GetUserGitToken(context.Context, *Username) (*UserToken, error)
	// GetBlueprintByUserStr retrieves a blueprint associated with a user string identifier.
	GetBlueprintByUserStr(context.Context, *UserStr) (*Blueprint, error)
	// ListUserAuthKeys retrieves all SSH public keys registered for a user.
	ListUserAuthKeys(context.Context, *Username) (*ListUserAuthKeysResponse, error)
	// ResolvePullRequestToRef resolves a pull request to a repository reference (e.g., branch or commit).
	ResolvePullRequestToRef(context.Context, *RepoPullRequestRequest) (*RepoRefResponse, error)
	// ListRepoOwners lists the repository owners (the user's personal account plus any
	// organizations) that the user has access to on the provider. It is the first step
	// in browsing repositories: the login chosen here becomes the repo_owner of a
	// subsequent ListRepos call.
	ListRepoOwners(context.Context, *Username) (*RepoOwnerList, error)
	// ListRepos lists the repositories under the given owner that the user can access.
	ListRepos(context.Context, *ListReposRequest) (*RepoList, error)
	// GetVersionInfo returns build and version metadata for this service: its
	// released semantic version, the git commit it was built from, and a short
	// description of what the service does.
	GetVersionInfo(context.Context, *v1.GetVersionInfoRequest) (*v1.GetVersionInfoResponse, error)
	// contains filtered or unexported methods
}

IdentityProviderServiceServer is the server API for IdentityProviderService service. All implementations must embed UnimplementedIdentityProviderServiceServer for forward compatibility.

IdentityProviderService defines the gRPC service for identity provider operations

type IdentityServiceClient

type IdentityServiceClient interface {
	// FindUser retrieves a user by username or email. It can be used for authentication and user lookup.
	FindUser(ctx context.Context, in *FindUserRequest, opts ...grpc.CallOption) (*v1.User, error)
	// GetUsers retrieves a list of users with pagination support.
	GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*UserList, error)
	// GetUsersQuerySchema returns the query.v1.Descriptor advertising which
	// user fields are queryable/sortable via QueryUsers, and which operators
	// are valid on each.
	GetUsersQuerySchema(ctx context.Context, in *GetUsersQuerySchemaRequest, opts ...grpc.CallOption) (*v11.Descriptor, error)
	// QueryUsers retrieves users matching a generic query.v1.Payload, as
	// advertised by GetUsersQuerySchema.
	QueryUsers(ctx context.Context, in *QueryUsersRequest, opts ...grpc.CallOption) (*UserList, error)
	// IssueUserToken issues a new JWT access token for a user
	IssueUserToken(ctx context.Context, in *IssueUserTokenRequest, opts ...grpc.CallOption) (*IssueUserTokenResponse, error)
	// GetUserOnboardCapability checks if the identity provider supports onboarding and returns the capability details.
	GetUserOnboardCapability(ctx context.Context, in *Username, opts ...grpc.CallOption) (*v1.UserOnboardCapability, error)
	// OnboardUserDeviceFlow initiates the device flow onboarding process for a user.
	OnboardUserDeviceFlow(ctx context.Context, in *OnboardUserDeviceFlowRequest, opts ...grpc.CallOption) (*v1.OnboardUserDeviceFlow, error)
	// OnboardUserWebFlow initiates the web flow onboarding process for a user.
	OnboardUserWebFlow(ctx context.Context, in *OnboardUserWebFlowRequest, opts ...grpc.CallOption) (*v1.OnboardUserWebFlow, error)
	// CompleteUserWebFlow completes the web flow onboarding process using the provided state and code.
	CompleteUserWebFlow(ctx context.Context, in *CompleteUserWebFlowRequest, opts ...grpc.CallOption) (*CompleteUserWebFlowResponse, error)
	// AuthUserPublicKey authenticates a user using a public key and returns the authentication result
	// along with user details if valid.
	AuthUserPublicKey(ctx context.Context, in *AuthUserPublicKeyRequest, opts ...grpc.CallOption) (*AuthUserResponse, error)
	// AuthUserPassword checks a password against a user's stored bcrypt hash and
	// returns the result along with user details if valid. It does not evaluate
	// the user:auth authz policy itself — it is shared by SSH and web login
	// surfaces (and by non-login callers, e.g. requiring the current password
	// before a change), each of which is responsible for its own authorization.
	AuthUserPassword(ctx context.Context, in *AuthUserPasswordRequest, opts ...grpc.CallOption) (*AuthUserResponse, error)
	// GetPasswordLockoutStatus returns the current password-lockout state for a
	// username. Used to populate UserProfile.PasswordLocked/PasswordLockedUntil
	// without api-server tracking lockout state itself.
	GetPasswordLockoutStatus(ctx context.Context, in *Username, opts ...grpc.CallOption) (*PasswordLockoutStatus, error)
	// ClearPasswordLockout resets a username's password-lockout state immediately,
	// letting an admin (or the user) unstick a legitimate lockout without
	// waiting for it to expire naturally.
	ClearPasswordLockout(ctx context.Context, in *Username, opts ...grpc.CallOption) (*ClearPasswordLockoutResponse, error)
	// CompleteUserDeviceFlow is called by the client after the user has completed
	// device-flow authorization on the provider side. It provisions the git
	// credential and returns the user's access token.
	CompleteUserDeviceFlow(ctx context.Context, in *CompleteUserDeviceFlowRequest, opts ...grpc.CallOption) (*CompleteUserDeviceFlowResponse, error)
	// GetBlueprintByUserStr retrieves a blueprint associated with a user string identifier.
	GetBlueprintByUserStr(ctx context.Context, in *UserStr, opts ...grpc.CallOption) (*Blueprint, error)
	// ListUserCredentials retrieves all credentials associated with a user, or a single
	// credential when id is set.
	ListUserCredentials(ctx context.Context, in *ListUserCredentialsRequest, opts ...grpc.CallOption) (*ListUserCredentialsResponse, error)
	// GetUserCredential retrieves a specific credential for a user by service name and scope.
	GetUserCredential(ctx context.Context, in *GetUserCredentialRequest, opts ...grpc.CallOption) (*v1.UserCredential, error)
	// AddKubernetesUserCredential provisions a Kubernetes service-account credential for a user.
	// The secret is left unset — kubernetes credentials are resolved on demand via the
	// TokenRequest API when the credential is fetched.
	AddKubernetesUserCredential(ctx context.Context, in *AddKubernetesUserCredentialRequest, opts ...grpc.CallOption) (*AddKubernetesUserCredentialResponse, error)
	// AddGitUserCredential stores a Git credential for a user. credential_source is always
	// "stored" — the secret is persisted as given and returned as-is on resolution.
	AddGitUserCredential(ctx context.Context, in *AddGitUserCredentialRequest, opts ...grpc.CallOption) (*AddGitUserCredentialResponse, error)
	// AddRegistryUserCredential stores a container registry credential for a user.
	// credential_source is always "stored" — the secret is persisted as given and returned
	// as-is on resolution.
	AddRegistryUserCredential(ctx context.Context, in *AddRegistryUserCredentialRequest, opts ...grpc.CallOption) (*AddRegistryUserCredentialResponse, error)
	// CreateUser creates a new local user record. The supplied password, if any,
	// is bcrypt-hashed server-side before being persisted, the same as SetUserPassword.
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*v1.User, error)
	// UpdateUser applies a partial update to a user record. Only fields wrapped
	// in a value type (or repeated fields that are non-empty) are applied.
	UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*v1.User, error)
	// DeleteUser permanently removes a user record by username. Credentials and
	// access tokens owned by the user are removed along with it (ON DELETE CASCADE).
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error)
	// AddUserRoles adds one or more roles to a user without affecting existing roles.
	AddUserRoles(ctx context.Context, in *UserRolesRequest, opts ...grpc.CallOption) (*v1.User, error)
	// RemoveUserRoles removes one or more roles from a user.
	RemoveUserRoles(ctx context.Context, in *UserRolesRequest, opts ...grpc.CallOption) (*v1.User, error)
	// ListRoles returns the roles assignable within an organization: those
	// scoped to it plus all global roles. org is required.
	ListRoles(ctx context.Context, in *ListRolesRequest, opts ...grpc.CallOption) (*RoleList, error)
	// ListGlobalRoles returns the roles assignable across every organization.
	// Global roles can only be listed, never created, updated, or deleted.
	ListGlobalRoles(ctx context.Context, in *ListGlobalRolesRequest, opts ...grpc.CallOption) (*RoleList, error)
	// CreateRole registers a new assignable role scoped to org. org is
	// required; global roles cannot be created through this RPC.
	CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*Role, error)
	// UpdateRole updates a role's description. Name and org are immutable and
	// cannot be changed. org is required; global roles cannot be updated
	// through this RPC.
	UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...grpc.CallOption) (*Role, error)
	// DeleteRole removes a role from the registry. Fails if any user still
	// holds the role. org is required; global roles cannot be removed through
	// this RPC.
	DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...grpc.CallOption) (*DeleteRoleResponse, error)
	// AddRoleBlueprints grants a role one or more blueprints; every user
	// holding the role gains access to them. org is required; global roles are
	// not supported through this RPC.
	AddRoleBlueprints(ctx context.Context, in *RoleBlueprintsRequest, opts ...grpc.CallOption) (*Role, error)
	// RemoveRoleBlueprints revokes one or more blueprints from a role.
	RemoveRoleBlueprints(ctx context.Context, in *RoleBlueprintsRequest, opts ...grpc.CallOption) (*Role, error)
	// ListOrganizations returns the registered organizations.
	ListOrganizations(ctx context.Context, in *ListOrganizationsRequest, opts ...grpc.CallOption) (*OrganizationList, error)
	// GetOrganization retrieves a single organization by name.
	GetOrganization(ctx context.Context, in *GetOrganizationRequest, opts ...grpc.CallOption) (*Organization, error)
	// GetOrganizationsQuerySchema returns the query.v1.Descriptor advertising
	// which organization fields are queryable/sortable via QueryOrganizations,
	// and which operators are valid on each.
	GetOrganizationsQuerySchema(ctx context.Context, in *GetOrganizationsQuerySchemaRequest, opts ...grpc.CallOption) (*v11.Descriptor, error)
	// QueryOrganizations retrieves organizations matching a generic
	// query.v1.Payload, as advertised by GetOrganizationsQuerySchema.
	QueryOrganizations(ctx context.Context, in *QueryOrganizationsRequest, opts ...grpc.CallOption) (*OrganizationList, error)
	// CreateOrganization registers a new organization.
	CreateOrganization(ctx context.Context, in *CreateOrganizationRequest, opts ...grpc.CallOption) (*Organization, error)
	// UpdateOrganization updates an organization's description. The name is
	// immutable and cannot be changed.
	UpdateOrganization(ctx context.Context, in *UpdateOrganizationRequest, opts ...grpc.CallOption) (*Organization, error)
	// DeleteOrganization removes an organization from the registry. Fails if
	// any user or role still references it.
	DeleteOrganization(ctx context.Context, in *DeleteOrganizationRequest, opts ...grpc.CallOption) (*DeleteOrganizationResponse, error)
	// GetOnboardRulesQuerySchema returns the query.v1.Descriptor advertising
	// which onboard rule fields are queryable/sortable via QueryOnboardRules,
	// and which operators are valid on each.
	GetOnboardRulesQuerySchema(ctx context.Context, in *GetOnboardRulesQuerySchemaRequest, opts ...grpc.CallOption) (*v11.Descriptor, error)
	// QueryOnboardRules retrieves onboard rules matching a generic
	// query.v1.Payload, as advertised by GetOnboardRulesQuerySchema. Filtering
	// by action = "waitlist" is how a frontend renders the pending approval
	// queue — there is no separate RPC for that.
	QueryOnboardRules(ctx context.Context, in *QueryOnboardRulesRequest, opts ...grpc.CallOption) (*OnboardRuleList, error)
	// CreateOnboardRule registers a new onboard rule (a standing pattern
	// policy, or a one-off decision for a specific username).
	CreateOnboardRule(ctx context.Context, in *CreateOnboardRuleRequest, opts ...grpc.CallOption) (*OnboardRule, error)
	// UpdateOnboardRule fully replaces the mutable fields of an onboard rule.
	// idp/username_pattern/org are immutable.
	UpdateOnboardRule(ctx context.Context, in *UpdateOnboardRuleRequest, opts ...grpc.CallOption) (*OnboardRule, error)
	// DeleteOnboardRule removes an onboard rule from the registry.
	DeleteOnboardRule(ctx context.Context, in *DeleteOnboardRuleRequest, opts ...grpc.CallOption) (*DeleteOnboardRuleResponse, error)
	// ApproveOnboardRequest approves a pending ("waitlist") onboard rule,
	// flipping its action to "allow", and immediately onboards the user it
	// names rather than waiting for their next login attempt.
	ApproveOnboardRequest(ctx context.Context, in *ApproveOnboardRuleRequest, opts ...grpc.CallOption) (*v1.User, error)
	// RejectOnboardRequest rejects a pending ("waitlist") onboard rule,
	// flipping its action to "reject" so the user cannot re-trigger a new
	// waitlist entry by trying again.
	RejectOnboardRequest(ctx context.Context, in *RejectOnboardRuleRequest, opts ...grpc.CallOption) (*OnboardRule, error)
	// ListUserAuthKeys retrieves all SSH public keys registered for a user, in
	// either normal or digest-only form depending on the request's format field.
	ListUserAuthKeys(ctx context.Context, in *ListUserAuthKeysRequest, opts ...grpc.CallOption) (*ListUserAuthKeysResponse, error)
	// AddUserAuthKeys registers one or more SSH public keys for a user.
	AddUserAuthKeys(ctx context.Context, in *UserAuthKeysRequest, opts ...grpc.CallOption) (*v1.User, error)
	// RemoveUserAuthKey removes a single SSH public key from a user, identified
	// by its index in the list returned by ListUserAuthKeys.
	RemoveUserAuthKey(ctx context.Context, in *RemoveUserAuthKeyRequest, opts ...grpc.CallOption) (*v1.User, error)
	// SetUserPassword sets or replaces a user's local password, used by AuthUserPassword.
	// The supplied password is bcrypt-hashed server-side before being persisted; it is
	// never stored or returned in plaintext. Pass an empty password to clear it, which
	// disables password auth for the user.
	SetUserPassword(ctx context.Context, in *SetUserPasswordRequest, opts ...grpc.CallOption) (*v1.User, error)
	// RequestPasswordReset issues a single-use password-reset link for username and
	// emails it to the user's on-file address, if one is on file and SMTP is configured.
	// Called by api-server after its own user:auth policy gate passes; api-server
	// discards the outcome either way (its HTTP response is already sent), so this RPC
	// never surfaces a send failure to the caller — it always returns success, logging
	// failures (missing email, SMTP unavailable, token-store unavailable) internally
	// instead. Repeated calls for the same username within a short cooldown window are
	// silently no-ops that still return success.
	RequestPasswordReset(ctx context.Context, in *RequestPasswordResetRequest, opts ...grpc.CallOption) (*RequestPasswordResetResponse, error)
	// ConfirmPasswordReset redeems a token issued by RequestPasswordReset, folding
	// "consume token" + "set new password" + "clear login lockout" into a single RPC.
	// An invalid, expired, or unknown token returns codes.InvalidArgument (never
	// codes.NotFound, so callers' default gRPC-to-HTTP error mapping keeps producing a
	// 400 response without a bespoke override). Any other failure returns codes.Internal.
	ConfirmPasswordReset(ctx context.Context, in *ConfirmPasswordResetRequest, opts ...grpc.CallOption) (*ConfirmPasswordResetResponse, error)
	// UpdateUserCredential partially updates a credential by ID. Only fields wrapped in a value
	// type that are set (non-nil) are applied. Credentials whose credential_source matches
	// "idp.k8shell.io/*" — provisioned by the onboarding flow — may only have active updated;
	// attempts to change scope, subject, or secret are rejected.
	UpdateUserCredential(ctx context.Context, in *UpdateUserCredentialRequest, opts ...grpc.CallOption) (*UpdateUserCredentialResponse, error)
	// DeleteUserCredential deletes an external credential by its ID.
	DeleteUserCredential(ctx context.Context, in *DeleteUserCredentialRequest, opts ...grpc.CallOption) (*DeleteUserCredentialResponse, error)
	// RemoveUserCredential removes a specific credential owned by a user, identified by ID.
	RemoveUserCredential(ctx context.Context, in *RemoveUserCredentialRequest, opts ...grpc.CallOption) (*RemoveUserCredentialResponse, error)
	// GetAvailableIdentityProviders returns a list of available identity providers.
	GetAvailableIdentityProviders(ctx context.Context, in *GetAvailableIdentityProvidersRequest, opts ...grpc.CallOption) (*GetAvailableIdentityProvidersResponse, error)
	// ListRepoOwners lists the repository owners — the user's own account plus any
	// organizations they belong to — available to the user on their identity provider.
	// It is the first step in browsing repositories: the login of a returned owner
	// becomes the repo_owner of a subsequent ListRepos call. Delegates to the
	// provider that sourced the user.
	ListRepoOwners(ctx context.Context, in *Username, opts ...grpc.CallOption) (*RepoOwnerList, error)
	// ListRepos lists the repositories under the given owner that the user can access
	// on their identity provider. Delegates to the provider that sourced the user.
	ListRepos(ctx context.Context, in *ListReposRequest, opts ...grpc.CallOption) (*RepoList, error)
	// CreateAccessToken issues a new Personal Access Token for a user. The raw token is
	// returned once in the response and is not recoverable after that.
	CreateAccessToken(ctx context.Context, in *CreateAccessTokenRequest, opts ...grpc.CallOption) (*CreateAccessTokenResponse, error)
	// UpdateAccessToken partially updates an existing access token's active state and/or
	// scopes, enforcing username ownership. Fields left unset in the request are unchanged.
	UpdateAccessToken(ctx context.Context, in *UpdateAccessTokenRequest, opts ...grpc.CallOption) (*UpdateAccessTokenResponse, error)
	// ListAccessTokens returns access token metadata (no raw tokens or hashes) for a user.
	ListAccessTokens(ctx context.Context, in *Username, opts ...grpc.CallOption) (*ListAccessTokensResponse, error)
	// RevokeAccessToken soft-deletes an access token by ID, enforcing username ownership.
	RevokeAccessToken(ctx context.Context, in *RevokeAccessTokenRequest, opts ...grpc.CallOption) (*RevokeAccessTokenResponse, error)
	// DeleteAccessToken permanently deletes an access token by ID.
	DeleteAccessToken(ctx context.Context, in *DeleteAccessTokenRequest, opts ...grpc.CallOption) (*DeleteAccessTokenResponse, error)
	// ResolveAccessToken looks up an access token by its raw value, updates last_used_at,
	// and returns the owning user plus the token's scopes. Called by API gateways
	// on every request that carries a k8sh_ token.
	ResolveAccessToken(ctx context.Context, in *ResolveAccessTokenRequest, opts ...grpc.CallOption) (*ResolveAccessTokenResponse, error)
	// ListOrganizationEnvVars returns the environment variables defined directly
	// on an organization. Secret values are redacted; use GetOrganizationEnvVar
	// to retrieve one in full.
	ListOrganizationEnvVars(ctx context.Context, in *ListOrganizationEnvVarsRequest, opts ...grpc.CallOption) (*EnvVarList, error)
	// GetOrganizationEnvVar retrieves a single organization environment
	// variable by key, including its value in full regardless of is_secret.
	GetOrganizationEnvVar(ctx context.Context, in *GetOrganizationEnvVarRequest, opts ...grpc.CallOption) (*EnvVar, error)
	// AddOrganizationEnvVar creates a new environment variable on an
	// organization. Fails with AlreadyExists if the (normalized) key is
	// already defined for the org.
	AddOrganizationEnvVar(ctx context.Context, in *AddOrganizationEnvVarRequest, opts ...grpc.CallOption) (*EnvVar, error)
	// UpdateOrganizationEnvVar partially updates an existing organization
	// environment variable's value and/or is_secret flag. The key is
	// immutable.
	UpdateOrganizationEnvVar(ctx context.Context, in *UpdateOrganizationEnvVarRequest, opts ...grpc.CallOption) (*EnvVar, error)
	// DeleteOrganizationEnvVar removes an environment variable from an
	// organization.
	DeleteOrganizationEnvVar(ctx context.Context, in *DeleteOrganizationEnvVarRequest, opts ...grpc.CallOption) (*DeleteOrganizationEnvVarResponse, error)
	// ListUserEnvVars returns the effective environment variables for a user:
	// the variables defined on the user's organization, overridden by any
	// variable the user has defined with the same (normalized) key. The
	// origin field on each entry identifies which table it came from. Secret
	// values are redacted; use GetUserEnvVar to retrieve one in full.
	ListUserEnvVars(ctx context.Context, in *ListUserEnvVarsRequest, opts ...grpc.CallOption) (*EnvVarList, error)
	// GetUserEnvVar retrieves a single effective environment variable for a
	// user by key — the user's own override if one exists, otherwise the
	// organization's value — including its value in full regardless of
	// is_secret.
	GetUserEnvVar(ctx context.Context, in *GetUserEnvVarRequest, opts ...grpc.CallOption) (*EnvVar, error)
	// AddUserEnvVar creates a new environment variable owned by the user,
	// overriding any organization variable with the same (normalized) key.
	// Fails with AlreadyExists if the user already owns a variable with that
	// key.
	AddUserEnvVar(ctx context.Context, in *AddUserEnvVarRequest, opts ...grpc.CallOption) (*EnvVar, error)
	// UpdateUserEnvVar partially updates an existing user-owned environment
	// variable's value and/or is_secret flag. The key is immutable. Fails
	// with NotFound if the key is only defined at the organization level —
	// AddUserEnvVar must be used to create an override first.
	UpdateUserEnvVar(ctx context.Context, in *UpdateUserEnvVarRequest, opts ...grpc.CallOption) (*EnvVar, error)
	// DeleteUserEnvVar removes a user-owned environment variable, restoring
	// the organization's value (if any) as the effective value for that key.
	DeleteUserEnvVar(ctx context.Context, in *DeleteUserEnvVarRequest, opts ...grpc.CallOption) (*DeleteUserEnvVarResponse, error)
	// CreateAnnouncement creates a new announcement. It is global when orgs is
	// empty, otherwise scoped to the listed organizations.
	CreateAnnouncement(ctx context.Context, in *CreateAnnouncementRequest, opts ...grpc.CallOption) (*Announcement, error)
	// GetAnnouncement retrieves a single announcement by id, including its
	// read_count (the number of distinct users who have read it).
	GetAnnouncement(ctx context.Context, in *GetAnnouncementRequest, opts ...grpc.CallOption) (*Announcement, error)
	// UpdateAnnouncement partially updates an announcement's title, body, org
	// scope, and/or validity period.
	UpdateAnnouncement(ctx context.Context, in *UpdateAnnouncementRequest, opts ...grpc.CallOption) (*Announcement, error)
	// DeleteAnnouncement permanently removes an announcement, along with its
	// read tracking.
	DeleteAnnouncement(ctx context.Context, in *DeleteAnnouncementRequest, opts ...grpc.CallOption) (*DeleteAnnouncementResponse, error)
	// ListAnnouncements returns announcements for administration: every
	// announcement, optionally filtered to those that apply to org, each with
	// its read_count populated. Unlike ListUnreadAnnouncements/
	// ListUserAnnouncements it is not scoped to a requesting user and is not
	// filtered by validity period.
	ListAnnouncements(ctx context.Context, in *ListAnnouncementsRequest, opts ...grpc.CallOption) (*AnnouncementList, error)
	// ListUnreadAnnouncements returns announcements that apply to username's
	// organization (global or scoped to it), currently fall within their
	// validity period, and that username has not yet read. An announcement
	// outside its validity period is excluded here even if unread — use
	// ListUserAnnouncements to retrieve it regardless.
	ListUnreadAnnouncements(ctx context.Context, in *ListUnreadAnnouncementsRequest, opts ...grpc.CallOption) (*AnnouncementList, error)
	// ListUserAnnouncements returns every announcement that applies to
	// username's organization (global or scoped to it), regardless of
	// validity period or read status, with is_read/read_at populated per
	// announcement so a client can distinguish ones already seen — including
	// ones outside their validity period or already read, unlike
	// ListUnreadAnnouncements.
	ListUserAnnouncements(ctx context.Context, in *ListUserAnnouncementsRequest, opts ...grpc.CallOption) (*AnnouncementList, error)
	// MarkAnnouncementRead records that username has read an announcement.
	// Idempotent — marking an already-read announcement again does not change
	// its original read_at.
	MarkAnnouncementRead(ctx context.Context, in *MarkAnnouncementReadRequest, opts ...grpc.CallOption) (*MarkAnnouncementReadResponse, error)
	// GetAnnouncementsQuerySchema returns the query.v1.Descriptor advertising
	// which announcement fields are queryable/sortable via QueryAnnouncements,
	// and which operators are valid on each.
	GetAnnouncementsQuerySchema(ctx context.Context, in *GetAnnouncementsQuerySchemaRequest, opts ...grpc.CallOption) (*v11.Descriptor, error)
	// QueryAnnouncements retrieves announcements matching a generic
	// query.v1.Payload, as advertised by GetAnnouncementsQuerySchema — the
	// administration-facing search/filter surface, complementing
	// ListAnnouncements. Like ListAnnouncements it is not scoped to a
	// requesting user's roles and is not filtered by active or validity
	// period; each result's read_count is left zero (see Announcement.read_count)
	// since it is not a queryable/sortable field.
	QueryAnnouncements(ctx context.Context, in *QueryAnnouncementsRequest, opts ...grpc.CallOption) (*AnnouncementList, error)
	// GetVersionInfo returns build and version metadata for this service: its
	// released semantic version, the git commit it was built from, and a short
	// description of what the service does.
	GetVersionInfo(ctx context.Context, in *v1.GetVersionInfoRequest, opts ...grpc.CallOption) (*v1.GetVersionInfoResponse, error)
	// GetUserSettings retrieves a user's stored settings blob. A user with no
	// settings row returns the zero-value response (version 0, empty data,
	// zero-value updated_at, unset controlled) rather than a NotFound error.
	GetUserSettings(ctx context.Context, in *GetUserSettingsRequest, opts ...grpc.CallOption) (*GetUserSettingsResponse, error)
	// PutUserSettings replaces a user's settings blob (last-write-wins —
	// version is not used for optimistic-concurrency conflict detection, only
	// as an informational counter). Identity does not interpret data beyond
	// enforcing its size cap.
	PutUserSettings(ctx context.Context, in *PutUserSettingsRequest, opts ...grpc.CallOption) (*PutUserSettingsResponse, error)
}

IdentityServiceClient is the client API for IdentityService 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.

IdentityService provides operations for user management, authentication, onboarding, and external credential management.

type IdentityServiceServer

type IdentityServiceServer interface {
	// FindUser retrieves a user by username or email. It can be used for authentication and user lookup.
	FindUser(context.Context, *FindUserRequest) (*v1.User, error)
	// GetUsers retrieves a list of users with pagination support.
	GetUsers(context.Context, *GetUsersRequest) (*UserList, error)
	// GetUsersQuerySchema returns the query.v1.Descriptor advertising which
	// user fields are queryable/sortable via QueryUsers, and which operators
	// are valid on each.
	GetUsersQuerySchema(context.Context, *GetUsersQuerySchemaRequest) (*v11.Descriptor, error)
	// QueryUsers retrieves users matching a generic query.v1.Payload, as
	// advertised by GetUsersQuerySchema.
	QueryUsers(context.Context, *QueryUsersRequest) (*UserList, error)
	// IssueUserToken issues a new JWT access token for a user
	IssueUserToken(context.Context, *IssueUserTokenRequest) (*IssueUserTokenResponse, error)
	// GetUserOnboardCapability checks if the identity provider supports onboarding and returns the capability details.
	GetUserOnboardCapability(context.Context, *Username) (*v1.UserOnboardCapability, error)
	// OnboardUserDeviceFlow initiates the device flow onboarding process for a user.
	OnboardUserDeviceFlow(context.Context, *OnboardUserDeviceFlowRequest) (*v1.OnboardUserDeviceFlow, error)
	// OnboardUserWebFlow initiates the web flow onboarding process for a user.
	OnboardUserWebFlow(context.Context, *OnboardUserWebFlowRequest) (*v1.OnboardUserWebFlow, error)
	// CompleteUserWebFlow completes the web flow onboarding process using the provided state and code.
	CompleteUserWebFlow(context.Context, *CompleteUserWebFlowRequest) (*CompleteUserWebFlowResponse, error)
	// AuthUserPublicKey authenticates a user using a public key and returns the authentication result
	// along with user details if valid.
	AuthUserPublicKey(context.Context, *AuthUserPublicKeyRequest) (*AuthUserResponse, error)
	// AuthUserPassword checks a password against a user's stored bcrypt hash and
	// returns the result along with user details if valid. It does not evaluate
	// the user:auth authz policy itself — it is shared by SSH and web login
	// surfaces (and by non-login callers, e.g. requiring the current password
	// before a change), each of which is responsible for its own authorization.
	AuthUserPassword(context.Context, *AuthUserPasswordRequest) (*AuthUserResponse, error)
	// GetPasswordLockoutStatus returns the current password-lockout state for a
	// username. Used to populate UserProfile.PasswordLocked/PasswordLockedUntil
	// without api-server tracking lockout state itself.
	GetPasswordLockoutStatus(context.Context, *Username) (*PasswordLockoutStatus, error)
	// ClearPasswordLockout resets a username's password-lockout state immediately,
	// letting an admin (or the user) unstick a legitimate lockout without
	// waiting for it to expire naturally.
	ClearPasswordLockout(context.Context, *Username) (*ClearPasswordLockoutResponse, error)
	// CompleteUserDeviceFlow is called by the client after the user has completed
	// device-flow authorization on the provider side. It provisions the git
	// credential and returns the user's access token.
	CompleteUserDeviceFlow(context.Context, *CompleteUserDeviceFlowRequest) (*CompleteUserDeviceFlowResponse, error)
	// GetBlueprintByUserStr retrieves a blueprint associated with a user string identifier.
	GetBlueprintByUserStr(context.Context, *UserStr) (*Blueprint, error)
	// ListUserCredentials retrieves all credentials associated with a user, or a single
	// credential when id is set.
	ListUserCredentials(context.Context, *ListUserCredentialsRequest) (*ListUserCredentialsResponse, error)
	// GetUserCredential retrieves a specific credential for a user by service name and scope.
	GetUserCredential(context.Context, *GetUserCredentialRequest) (*v1.UserCredential, error)
	// AddKubernetesUserCredential provisions a Kubernetes service-account credential for a user.
	// The secret is left unset — kubernetes credentials are resolved on demand via the
	// TokenRequest API when the credential is fetched.
	AddKubernetesUserCredential(context.Context, *AddKubernetesUserCredentialRequest) (*AddKubernetesUserCredentialResponse, error)
	// AddGitUserCredential stores a Git credential for a user. credential_source is always
	// "stored" — the secret is persisted as given and returned as-is on resolution.
	AddGitUserCredential(context.Context, *AddGitUserCredentialRequest) (*AddGitUserCredentialResponse, error)
	// AddRegistryUserCredential stores a container registry credential for a user.
	// credential_source is always "stored" — the secret is persisted as given and returned
	// as-is on resolution.
	AddRegistryUserCredential(context.Context, *AddRegistryUserCredentialRequest) (*AddRegistryUserCredentialResponse, error)
	// CreateUser creates a new local user record. The supplied password, if any,
	// is bcrypt-hashed server-side before being persisted, the same as SetUserPassword.
	CreateUser(context.Context, *CreateUserRequest) (*v1.User, error)
	// UpdateUser applies a partial update to a user record. Only fields wrapped
	// in a value type (or repeated fields that are non-empty) are applied.
	UpdateUser(context.Context, *UpdateUserRequest) (*v1.User, error)
	// DeleteUser permanently removes a user record by username. Credentials and
	// access tokens owned by the user are removed along with it (ON DELETE CASCADE).
	DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
	// AddUserRoles adds one or more roles to a user without affecting existing roles.
	AddUserRoles(context.Context, *UserRolesRequest) (*v1.User, error)
	// RemoveUserRoles removes one or more roles from a user.
	RemoveUserRoles(context.Context, *UserRolesRequest) (*v1.User, error)
	// ListRoles returns the roles assignable within an organization: those
	// scoped to it plus all global roles. org is required.
	ListRoles(context.Context, *ListRolesRequest) (*RoleList, error)
	// ListGlobalRoles returns the roles assignable across every organization.
	// Global roles can only be listed, never created, updated, or deleted.
	ListGlobalRoles(context.Context, *ListGlobalRolesRequest) (*RoleList, error)
	// CreateRole registers a new assignable role scoped to org. org is
	// required; global roles cannot be created through this RPC.
	CreateRole(context.Context, *CreateRoleRequest) (*Role, error)
	// UpdateRole updates a role's description. Name and org are immutable and
	// cannot be changed. org is required; global roles cannot be updated
	// through this RPC.
	UpdateRole(context.Context, *UpdateRoleRequest) (*Role, error)
	// DeleteRole removes a role from the registry. Fails if any user still
	// holds the role. org is required; global roles cannot be removed through
	// this RPC.
	DeleteRole(context.Context, *DeleteRoleRequest) (*DeleteRoleResponse, error)
	// AddRoleBlueprints grants a role one or more blueprints; every user
	// holding the role gains access to them. org is required; global roles are
	// not supported through this RPC.
	AddRoleBlueprints(context.Context, *RoleBlueprintsRequest) (*Role, error)
	// RemoveRoleBlueprints revokes one or more blueprints from a role.
	RemoveRoleBlueprints(context.Context, *RoleBlueprintsRequest) (*Role, error)
	// ListOrganizations returns the registered organizations.
	ListOrganizations(context.Context, *ListOrganizationsRequest) (*OrganizationList, error)
	// GetOrganization retrieves a single organization by name.
	GetOrganization(context.Context, *GetOrganizationRequest) (*Organization, error)
	// GetOrganizationsQuerySchema returns the query.v1.Descriptor advertising
	// which organization fields are queryable/sortable via QueryOrganizations,
	// and which operators are valid on each.
	GetOrganizationsQuerySchema(context.Context, *GetOrganizationsQuerySchemaRequest) (*v11.Descriptor, error)
	// QueryOrganizations retrieves organizations matching a generic
	// query.v1.Payload, as advertised by GetOrganizationsQuerySchema.
	QueryOrganizations(context.Context, *QueryOrganizationsRequest) (*OrganizationList, error)
	// CreateOrganization registers a new organization.
	CreateOrganization(context.Context, *CreateOrganizationRequest) (*Organization, error)
	// UpdateOrganization updates an organization's description. The name is
	// immutable and cannot be changed.
	UpdateOrganization(context.Context, *UpdateOrganizationRequest) (*Organization, error)
	// DeleteOrganization removes an organization from the registry. Fails if
	// any user or role still references it.
	DeleteOrganization(context.Context, *DeleteOrganizationRequest) (*DeleteOrganizationResponse, error)
	// GetOnboardRulesQuerySchema returns the query.v1.Descriptor advertising
	// which onboard rule fields are queryable/sortable via QueryOnboardRules,
	// and which operators are valid on each.
	GetOnboardRulesQuerySchema(context.Context, *GetOnboardRulesQuerySchemaRequest) (*v11.Descriptor, error)
	// QueryOnboardRules retrieves onboard rules matching a generic
	// query.v1.Payload, as advertised by GetOnboardRulesQuerySchema. Filtering
	// by action = "waitlist" is how a frontend renders the pending approval
	// queue — there is no separate RPC for that.
	QueryOnboardRules(context.Context, *QueryOnboardRulesRequest) (*OnboardRuleList, error)
	// CreateOnboardRule registers a new onboard rule (a standing pattern
	// policy, or a one-off decision for a specific username).
	CreateOnboardRule(context.Context, *CreateOnboardRuleRequest) (*OnboardRule, error)
	// UpdateOnboardRule fully replaces the mutable fields of an onboard rule.
	// idp/username_pattern/org are immutable.
	UpdateOnboardRule(context.Context, *UpdateOnboardRuleRequest) (*OnboardRule, error)
	// DeleteOnboardRule removes an onboard rule from the registry.
	DeleteOnboardRule(context.Context, *DeleteOnboardRuleRequest) (*DeleteOnboardRuleResponse, error)
	// ApproveOnboardRequest approves a pending ("waitlist") onboard rule,
	// flipping its action to "allow", and immediately onboards the user it
	// names rather than waiting for their next login attempt.
	ApproveOnboardRequest(context.Context, *ApproveOnboardRuleRequest) (*v1.User, error)
	// RejectOnboardRequest rejects a pending ("waitlist") onboard rule,
	// flipping its action to "reject" so the user cannot re-trigger a new
	// waitlist entry by trying again.
	RejectOnboardRequest(context.Context, *RejectOnboardRuleRequest) (*OnboardRule, error)
	// ListUserAuthKeys retrieves all SSH public keys registered for a user, in
	// either normal or digest-only form depending on the request's format field.
	ListUserAuthKeys(context.Context, *ListUserAuthKeysRequest) (*ListUserAuthKeysResponse, error)
	// AddUserAuthKeys registers one or more SSH public keys for a user.
	AddUserAuthKeys(context.Context, *UserAuthKeysRequest) (*v1.User, error)
	// RemoveUserAuthKey removes a single SSH public key from a user, identified
	// by its index in the list returned by ListUserAuthKeys.
	RemoveUserAuthKey(context.Context, *RemoveUserAuthKeyRequest) (*v1.User, error)
	// SetUserPassword sets or replaces a user's local password, used by AuthUserPassword.
	// The supplied password is bcrypt-hashed server-side before being persisted; it is
	// never stored or returned in plaintext. Pass an empty password to clear it, which
	// disables password auth for the user.
	SetUserPassword(context.Context, *SetUserPasswordRequest) (*v1.User, error)
	// RequestPasswordReset issues a single-use password-reset link for username and
	// emails it to the user's on-file address, if one is on file and SMTP is configured.
	// Called by api-server after its own user:auth policy gate passes; api-server
	// discards the outcome either way (its HTTP response is already sent), so this RPC
	// never surfaces a send failure to the caller — it always returns success, logging
	// failures (missing email, SMTP unavailable, token-store unavailable) internally
	// instead. Repeated calls for the same username within a short cooldown window are
	// silently no-ops that still return success.
	RequestPasswordReset(context.Context, *RequestPasswordResetRequest) (*RequestPasswordResetResponse, error)
	// ConfirmPasswordReset redeems a token issued by RequestPasswordReset, folding
	// "consume token" + "set new password" + "clear login lockout" into a single RPC.
	// An invalid, expired, or unknown token returns codes.InvalidArgument (never
	// codes.NotFound, so callers' default gRPC-to-HTTP error mapping keeps producing a
	// 400 response without a bespoke override). Any other failure returns codes.Internal.
	ConfirmPasswordReset(context.Context, *ConfirmPasswordResetRequest) (*ConfirmPasswordResetResponse, error)
	// UpdateUserCredential partially updates a credential by ID. Only fields wrapped in a value
	// type that are set (non-nil) are applied. Credentials whose credential_source matches
	// "idp.k8shell.io/*" — provisioned by the onboarding flow — may only have active updated;
	// attempts to change scope, subject, or secret are rejected.
	UpdateUserCredential(context.Context, *UpdateUserCredentialRequest) (*UpdateUserCredentialResponse, error)
	// DeleteUserCredential deletes an external credential by its ID.
	DeleteUserCredential(context.Context, *DeleteUserCredentialRequest) (*DeleteUserCredentialResponse, error)
	// RemoveUserCredential removes a specific credential owned by a user, identified by ID.
	RemoveUserCredential(context.Context, *RemoveUserCredentialRequest) (*RemoveUserCredentialResponse, error)
	// GetAvailableIdentityProviders returns a list of available identity providers.
	GetAvailableIdentityProviders(context.Context, *GetAvailableIdentityProvidersRequest) (*GetAvailableIdentityProvidersResponse, error)
	// ListRepoOwners lists the repository owners — the user's own account plus any
	// organizations they belong to — available to the user on their identity provider.
	// It is the first step in browsing repositories: the login of a returned owner
	// becomes the repo_owner of a subsequent ListRepos call. Delegates to the
	// provider that sourced the user.
	ListRepoOwners(context.Context, *Username) (*RepoOwnerList, error)
	// ListRepos lists the repositories under the given owner that the user can access
	// on their identity provider. Delegates to the provider that sourced the user.
	ListRepos(context.Context, *ListReposRequest) (*RepoList, error)
	// CreateAccessToken issues a new Personal Access Token for a user. The raw token is
	// returned once in the response and is not recoverable after that.
	CreateAccessToken(context.Context, *CreateAccessTokenRequest) (*CreateAccessTokenResponse, error)
	// UpdateAccessToken partially updates an existing access token's active state and/or
	// scopes, enforcing username ownership. Fields left unset in the request are unchanged.
	UpdateAccessToken(context.Context, *UpdateAccessTokenRequest) (*UpdateAccessTokenResponse, error)
	// ListAccessTokens returns access token metadata (no raw tokens or hashes) for a user.
	ListAccessTokens(context.Context, *Username) (*ListAccessTokensResponse, error)
	// RevokeAccessToken soft-deletes an access token by ID, enforcing username ownership.
	RevokeAccessToken(context.Context, *RevokeAccessTokenRequest) (*RevokeAccessTokenResponse, error)
	// DeleteAccessToken permanently deletes an access token by ID.
	DeleteAccessToken(context.Context, *DeleteAccessTokenRequest) (*DeleteAccessTokenResponse, error)
	// ResolveAccessToken looks up an access token by its raw value, updates last_used_at,
	// and returns the owning user plus the token's scopes. Called by API gateways
	// on every request that carries a k8sh_ token.
	ResolveAccessToken(context.Context, *ResolveAccessTokenRequest) (*ResolveAccessTokenResponse, error)
	// ListOrganizationEnvVars returns the environment variables defined directly
	// on an organization. Secret values are redacted; use GetOrganizationEnvVar
	// to retrieve one in full.
	ListOrganizationEnvVars(context.Context, *ListOrganizationEnvVarsRequest) (*EnvVarList, error)
	// GetOrganizationEnvVar retrieves a single organization environment
	// variable by key, including its value in full regardless of is_secret.
	GetOrganizationEnvVar(context.Context, *GetOrganizationEnvVarRequest) (*EnvVar, error)
	// AddOrganizationEnvVar creates a new environment variable on an
	// organization. Fails with AlreadyExists if the (normalized) key is
	// already defined for the org.
	AddOrganizationEnvVar(context.Context, *AddOrganizationEnvVarRequest) (*EnvVar, error)
	// UpdateOrganizationEnvVar partially updates an existing organization
	// environment variable's value and/or is_secret flag. The key is
	// immutable.
	UpdateOrganizationEnvVar(context.Context, *UpdateOrganizationEnvVarRequest) (*EnvVar, error)
	// DeleteOrganizationEnvVar removes an environment variable from an
	// organization.
	DeleteOrganizationEnvVar(context.Context, *DeleteOrganizationEnvVarRequest) (*DeleteOrganizationEnvVarResponse, error)
	// ListUserEnvVars returns the effective environment variables for a user:
	// the variables defined on the user's organization, overridden by any
	// variable the user has defined with the same (normalized) key. The
	// origin field on each entry identifies which table it came from. Secret
	// values are redacted; use GetUserEnvVar to retrieve one in full.
	ListUserEnvVars(context.Context, *ListUserEnvVarsRequest) (*EnvVarList, error)
	// GetUserEnvVar retrieves a single effective environment variable for a
	// user by key — the user's own override if one exists, otherwise the
	// organization's value — including its value in full regardless of
	// is_secret.
	GetUserEnvVar(context.Context, *GetUserEnvVarRequest) (*EnvVar, error)
	// AddUserEnvVar creates a new environment variable owned by the user,
	// overriding any organization variable with the same (normalized) key.
	// Fails with AlreadyExists if the user already owns a variable with that
	// key.
	AddUserEnvVar(context.Context, *AddUserEnvVarRequest) (*EnvVar, error)
	// UpdateUserEnvVar partially updates an existing user-owned environment
	// variable's value and/or is_secret flag. The key is immutable. Fails
	// with NotFound if the key is only defined at the organization level —
	// AddUserEnvVar must be used to create an override first.
	UpdateUserEnvVar(context.Context, *UpdateUserEnvVarRequest) (*EnvVar, error)
	// DeleteUserEnvVar removes a user-owned environment variable, restoring
	// the organization's value (if any) as the effective value for that key.
	DeleteUserEnvVar(context.Context, *DeleteUserEnvVarRequest) (*DeleteUserEnvVarResponse, error)
	// CreateAnnouncement creates a new announcement. It is global when orgs is
	// empty, otherwise scoped to the listed organizations.
	CreateAnnouncement(context.Context, *CreateAnnouncementRequest) (*Announcement, error)
	// GetAnnouncement retrieves a single announcement by id, including its
	// read_count (the number of distinct users who have read it).
	GetAnnouncement(context.Context, *GetAnnouncementRequest) (*Announcement, error)
	// UpdateAnnouncement partially updates an announcement's title, body, org
	// scope, and/or validity period.
	UpdateAnnouncement(context.Context, *UpdateAnnouncementRequest) (*Announcement, error)
	// DeleteAnnouncement permanently removes an announcement, along with its
	// read tracking.
	DeleteAnnouncement(context.Context, *DeleteAnnouncementRequest) (*DeleteAnnouncementResponse, error)
	// ListAnnouncements returns announcements for administration: every
	// announcement, optionally filtered to those that apply to org, each with
	// its read_count populated. Unlike ListUnreadAnnouncements/
	// ListUserAnnouncements it is not scoped to a requesting user and is not
	// filtered by validity period.
	ListAnnouncements(context.Context, *ListAnnouncementsRequest) (*AnnouncementList, error)
	// ListUnreadAnnouncements returns announcements that apply to username's
	// organization (global or scoped to it), currently fall within their
	// validity period, and that username has not yet read. An announcement
	// outside its validity period is excluded here even if unread — use
	// ListUserAnnouncements to retrieve it regardless.
	ListUnreadAnnouncements(context.Context, *ListUnreadAnnouncementsRequest) (*AnnouncementList, error)
	// ListUserAnnouncements returns every announcement that applies to
	// username's organization (global or scoped to it), regardless of
	// validity period or read status, with is_read/read_at populated per
	// announcement so a client can distinguish ones already seen — including
	// ones outside their validity period or already read, unlike
	// ListUnreadAnnouncements.
	ListUserAnnouncements(context.Context, *ListUserAnnouncementsRequest) (*AnnouncementList, error)
	// MarkAnnouncementRead records that username has read an announcement.
	// Idempotent — marking an already-read announcement again does not change
	// its original read_at.
	MarkAnnouncementRead(context.Context, *MarkAnnouncementReadRequest) (*MarkAnnouncementReadResponse, error)
	// GetAnnouncementsQuerySchema returns the query.v1.Descriptor advertising
	// which announcement fields are queryable/sortable via QueryAnnouncements,
	// and which operators are valid on each.
	GetAnnouncementsQuerySchema(context.Context, *GetAnnouncementsQuerySchemaRequest) (*v11.Descriptor, error)
	// QueryAnnouncements retrieves announcements matching a generic
	// query.v1.Payload, as advertised by GetAnnouncementsQuerySchema — the
	// administration-facing search/filter surface, complementing
	// ListAnnouncements. Like ListAnnouncements it is not scoped to a
	// requesting user's roles and is not filtered by active or validity
	// period; each result's read_count is left zero (see Announcement.read_count)
	// since it is not a queryable/sortable field.
	QueryAnnouncements(context.Context, *QueryAnnouncementsRequest) (*AnnouncementList, error)
	// GetVersionInfo returns build and version metadata for this service: its
	// released semantic version, the git commit it was built from, and a short
	// description of what the service does.
	GetVersionInfo(context.Context, *v1.GetVersionInfoRequest) (*v1.GetVersionInfoResponse, error)
	// GetUserSettings retrieves a user's stored settings blob. A user with no
	// settings row returns the zero-value response (version 0, empty data,
	// zero-value updated_at, unset controlled) rather than a NotFound error.
	GetUserSettings(context.Context, *GetUserSettingsRequest) (*GetUserSettingsResponse, error)
	// PutUserSettings replaces a user's settings blob (last-write-wins —
	// version is not used for optimistic-concurrency conflict detection, only
	// as an informational counter). Identity does not interpret data beyond
	// enforcing its size cap.
	PutUserSettings(context.Context, *PutUserSettingsRequest) (*PutUserSettingsResponse, error)
	// contains filtered or unexported methods
}

IdentityServiceServer is the server API for IdentityService service. All implementations must embed UnimplementedIdentityServiceServer for forward compatibility.

IdentityService provides operations for user management, authentication, onboarding, and external credential management.

type IssueUserTokenRequest

type IssueUserTokenRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Source   string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

IssueUserTokenRequest carries the username for a token issuance request.

func (*IssueUserTokenRequest) Descriptor deprecated

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

Deprecated: Use IssueUserTokenRequest.ProtoReflect.Descriptor instead.

func (*IssueUserTokenRequest) GetSource

func (x *IssueUserTokenRequest) GetSource() string

func (*IssueUserTokenRequest) GetUsername

func (x *IssueUserTokenRequest) GetUsername() string

func (*IssueUserTokenRequest) ProtoMessage

func (*IssueUserTokenRequest) ProtoMessage()

func (*IssueUserTokenRequest) ProtoReflect

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

func (*IssueUserTokenRequest) Reset

func (x *IssueUserTokenRequest) Reset()

func (*IssueUserTokenRequest) String

func (x *IssueUserTokenRequest) String() string

type IssueUserTokenResponse

type IssueUserTokenResponse struct {
	UserToken string `protobuf:"bytes,1,opt,name=user_token,json=userToken,proto3" json:"user_token,omitempty"`
	// contains filtered or unexported fields
}

IssueUserTokenResponse carries the newly issued JWT access token.

func (*IssueUserTokenResponse) Descriptor deprecated

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

Deprecated: Use IssueUserTokenResponse.ProtoReflect.Descriptor instead.

func (*IssueUserTokenResponse) GetUserToken

func (x *IssueUserTokenResponse) GetUserToken() string

func (*IssueUserTokenResponse) ProtoMessage

func (*IssueUserTokenResponse) ProtoMessage()

func (*IssueUserTokenResponse) ProtoReflect

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

func (*IssueUserTokenResponse) Reset

func (x *IssueUserTokenResponse) Reset()

func (*IssueUserTokenResponse) String

func (x *IssueUserTokenResponse) String() string

type ListAccessTokensResponse

type ListAccessTokensResponse struct {
	Tokens []*AccessTokenInfo `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
	// contains filtered or unexported fields
}

ListAccessTokensResponse carries access token metadata for a user (no raw tokens or hashes).

func (*ListAccessTokensResponse) Descriptor deprecated

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

Deprecated: Use ListAccessTokensResponse.ProtoReflect.Descriptor instead.

func (*ListAccessTokensResponse) GetTokens

func (x *ListAccessTokensResponse) GetTokens() []*AccessTokenInfo

func (*ListAccessTokensResponse) ProtoMessage

func (*ListAccessTokensResponse) ProtoMessage()

func (*ListAccessTokensResponse) ProtoReflect

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

func (*ListAccessTokensResponse) Reset

func (x *ListAccessTokensResponse) Reset()

func (*ListAccessTokensResponse) String

func (x *ListAccessTokensResponse) String() string

type ListAnnouncementsRequest added in v0.57.0

type ListAnnouncementsRequest struct {
	Org    string `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"`
	Limit  int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset int32  `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

ListAnnouncementsRequest carries the admin-facing listing parameters. org, when set, limits results to announcements that apply to org (global ones plus any scoped to it); omit to list every announcement regardless of scope.

func (*ListAnnouncementsRequest) Descriptor deprecated added in v0.57.0

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

Deprecated: Use ListAnnouncementsRequest.ProtoReflect.Descriptor instead.

func (*ListAnnouncementsRequest) GetLimit added in v0.57.0

func (x *ListAnnouncementsRequest) GetLimit() int32

func (*ListAnnouncementsRequest) GetOffset added in v0.57.0

func (x *ListAnnouncementsRequest) GetOffset() int32

func (*ListAnnouncementsRequest) GetOrg added in v0.57.0

func (x *ListAnnouncementsRequest) GetOrg() string

func (*ListAnnouncementsRequest) ProtoMessage added in v0.57.0

func (*ListAnnouncementsRequest) ProtoMessage()

func (*ListAnnouncementsRequest) ProtoReflect added in v0.57.0

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

func (*ListAnnouncementsRequest) Reset added in v0.57.0

func (x *ListAnnouncementsRequest) Reset()

func (*ListAnnouncementsRequest) String added in v0.57.0

func (x *ListAnnouncementsRequest) String() string

type ListGlobalRolesRequest added in v0.35.0

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

ListGlobalRolesRequest carries no fields; global roles are not scoped by organization. Left as a message rather than google.protobuf.Empty so filters can be added later without changing the RPC signature.

func (*ListGlobalRolesRequest) Descriptor deprecated added in v0.35.0

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

Deprecated: Use ListGlobalRolesRequest.ProtoReflect.Descriptor instead.

func (*ListGlobalRolesRequest) ProtoMessage added in v0.35.0

func (*ListGlobalRolesRequest) ProtoMessage()

func (*ListGlobalRolesRequest) ProtoReflect added in v0.35.0

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

func (*ListGlobalRolesRequest) Reset added in v0.35.0

func (x *ListGlobalRolesRequest) Reset()

func (*ListGlobalRolesRequest) String added in v0.35.0

func (x *ListGlobalRolesRequest) String() string

type ListOrganizationEnvVarsRequest added in v0.46.0

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

ListOrganizationEnvVarsRequest identifies the organization whose environment variables are being listed.

func (*ListOrganizationEnvVarsRequest) Descriptor deprecated added in v0.46.0

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

Deprecated: Use ListOrganizationEnvVarsRequest.ProtoReflect.Descriptor instead.

func (*ListOrganizationEnvVarsRequest) GetOrg added in v0.46.0

func (*ListOrganizationEnvVarsRequest) ProtoMessage added in v0.46.0

func (*ListOrganizationEnvVarsRequest) ProtoMessage()

func (*ListOrganizationEnvVarsRequest) ProtoReflect added in v0.46.0

func (*ListOrganizationEnvVarsRequest) Reset added in v0.46.0

func (x *ListOrganizationEnvVarsRequest) Reset()

func (*ListOrganizationEnvVarsRequest) String added in v0.46.0

type ListOrganizationsRequest added in v0.35.0

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

ListOrganizationsRequest carries no fields today; organizations are not scoped by anything else, unlike roles. Left as a message rather than google.protobuf.Empty so filters can be added later without changing the RPC signature.

func (*ListOrganizationsRequest) Descriptor deprecated added in v0.35.0

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

Deprecated: Use ListOrganizationsRequest.ProtoReflect.Descriptor instead.

func (*ListOrganizationsRequest) ProtoMessage added in v0.35.0

func (*ListOrganizationsRequest) ProtoMessage()

func (*ListOrganizationsRequest) ProtoReflect added in v0.35.0

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

func (*ListOrganizationsRequest) Reset added in v0.35.0

func (x *ListOrganizationsRequest) Reset()

func (*ListOrganizationsRequest) String added in v0.35.0

func (x *ListOrganizationsRequest) String() string

type ListReposRequest added in v0.38.0

type ListReposRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// repo_owner is a login returned by ListRepoOwners.
	RepoOwner string `protobuf:"bytes,2,opt,name=repo_owner,json=repoOwner,proto3" json:"repo_owner,omitempty"`
	// contains filtered or unexported fields
}

ListReposRequest selects the user and owner whose repositories are being listed.

func (*ListReposRequest) Descriptor deprecated added in v0.38.0

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

Deprecated: Use ListReposRequest.ProtoReflect.Descriptor instead.

func (*ListReposRequest) GetRepoOwner added in v0.38.0

func (x *ListReposRequest) GetRepoOwner() string

func (*ListReposRequest) GetUsername added in v0.38.0

func (x *ListReposRequest) GetUsername() string

func (*ListReposRequest) ProtoMessage added in v0.38.0

func (*ListReposRequest) ProtoMessage()

func (*ListReposRequest) ProtoReflect added in v0.38.0

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

func (*ListReposRequest) Reset added in v0.38.0

func (x *ListReposRequest) Reset()

func (*ListReposRequest) String added in v0.38.0

func (x *ListReposRequest) String() string

type ListRolesRequest added in v0.35.0

type ListRolesRequest struct {
	Org string `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"` // required; the organization to list roles for
	// contains filtered or unexported fields
}

ListRolesRequest carries the org whose assignable roles are being listed, sourced from the role:list authz obligations. The result includes both roles scoped to this org and global roles, since a caller assigning roles within an org may still assign a global one.

func (*ListRolesRequest) Descriptor deprecated added in v0.35.0

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

Deprecated: Use ListRolesRequest.ProtoReflect.Descriptor instead.

func (*ListRolesRequest) GetOrg added in v0.35.0

func (x *ListRolesRequest) GetOrg() string

func (*ListRolesRequest) ProtoMessage added in v0.35.0

func (*ListRolesRequest) ProtoMessage()

func (*ListRolesRequest) ProtoReflect added in v0.35.0

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

func (*ListRolesRequest) Reset added in v0.35.0

func (x *ListRolesRequest) Reset()

func (*ListRolesRequest) String added in v0.35.0

func (x *ListRolesRequest) String() string

type ListUnreadAnnouncementsRequest added in v0.57.0

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

ListUnreadAnnouncementsRequest identifies the user whose unread, in-period, applicable announcements are being listed.

func (*ListUnreadAnnouncementsRequest) Descriptor deprecated added in v0.57.0

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

Deprecated: Use ListUnreadAnnouncementsRequest.ProtoReflect.Descriptor instead.

func (*ListUnreadAnnouncementsRequest) GetUsername added in v0.57.0

func (x *ListUnreadAnnouncementsRequest) GetUsername() string

func (*ListUnreadAnnouncementsRequest) ProtoMessage added in v0.57.0

func (*ListUnreadAnnouncementsRequest) ProtoMessage()

func (*ListUnreadAnnouncementsRequest) ProtoReflect added in v0.57.0

func (*ListUnreadAnnouncementsRequest) Reset added in v0.57.0

func (x *ListUnreadAnnouncementsRequest) Reset()

func (*ListUnreadAnnouncementsRequest) String added in v0.57.0

type ListUserAnnouncementsRequest added in v0.57.0

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

ListUserAnnouncementsRequest identifies the user whose applicable announcements (read or unread, in or out of period) are being listed.

func (*ListUserAnnouncementsRequest) Descriptor deprecated added in v0.57.0

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

Deprecated: Use ListUserAnnouncementsRequest.ProtoReflect.Descriptor instead.

func (*ListUserAnnouncementsRequest) GetUsername added in v0.57.0

func (x *ListUserAnnouncementsRequest) GetUsername() string

func (*ListUserAnnouncementsRequest) ProtoMessage added in v0.57.0

func (*ListUserAnnouncementsRequest) ProtoMessage()

func (*ListUserAnnouncementsRequest) ProtoReflect added in v0.57.0

func (*ListUserAnnouncementsRequest) Reset added in v0.57.0

func (x *ListUserAnnouncementsRequest) Reset()

func (*ListUserAnnouncementsRequest) String added in v0.57.0

type ListUserAuthKeysRequest added in v0.32.0

type ListUserAuthKeysRequest struct {
	Username string        `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Format   AuthKeyFormat `protobuf:"varint,2,opt,name=format,proto3,enum=identity.v1.AuthKeyFormat" json:"format,omitempty"`
	// contains filtered or unexported fields
}

ListUserAuthKeysRequest carries the username and desired key format for ListUserAuthKeys.

func (*ListUserAuthKeysRequest) Descriptor deprecated added in v0.32.0

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

Deprecated: Use ListUserAuthKeysRequest.ProtoReflect.Descriptor instead.

func (*ListUserAuthKeysRequest) GetFormat added in v0.32.0

func (x *ListUserAuthKeysRequest) GetFormat() AuthKeyFormat

func (*ListUserAuthKeysRequest) GetUsername added in v0.32.0

func (x *ListUserAuthKeysRequest) GetUsername() string

func (*ListUserAuthKeysRequest) ProtoMessage added in v0.32.0

func (*ListUserAuthKeysRequest) ProtoMessage()

func (*ListUserAuthKeysRequest) ProtoReflect added in v0.32.0

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

func (*ListUserAuthKeysRequest) Reset added in v0.32.0

func (x *ListUserAuthKeysRequest) Reset()

func (*ListUserAuthKeysRequest) String added in v0.32.0

func (x *ListUserAuthKeysRequest) String() string

type ListUserAuthKeysResponse added in v0.32.0

type ListUserAuthKeysResponse struct {
	AuthKeys []*UserAuthKey `protobuf:"bytes,1,rep,name=auth_keys,json=authKeys,proto3" json:"auth_keys,omitempty"`
	// contains filtered or unexported fields
}

ListUserAuthKeysResponse carries all SSH public keys registered for a user.

func (*ListUserAuthKeysResponse) Descriptor deprecated added in v0.32.0

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

Deprecated: Use ListUserAuthKeysResponse.ProtoReflect.Descriptor instead.

func (*ListUserAuthKeysResponse) GetAuthKeys added in v0.32.0

func (x *ListUserAuthKeysResponse) GetAuthKeys() []*UserAuthKey

func (*ListUserAuthKeysResponse) ProtoMessage added in v0.32.0

func (*ListUserAuthKeysResponse) ProtoMessage()

func (*ListUserAuthKeysResponse) ProtoReflect added in v0.32.0

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

func (*ListUserAuthKeysResponse) Reset added in v0.32.0

func (x *ListUserAuthKeysResponse) Reset()

func (*ListUserAuthKeysResponse) String added in v0.32.0

func (x *ListUserAuthKeysResponse) String() string

type ListUserCredentialsRequest added in v0.32.0

type ListUserCredentialsRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Id       uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

ListUserCredentialsRequest lists credentials for a user, optionally filtered to a single credential by ID.

func (*ListUserCredentialsRequest) Descriptor deprecated added in v0.32.0

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

Deprecated: Use ListUserCredentialsRequest.ProtoReflect.Descriptor instead.

func (*ListUserCredentialsRequest) GetId added in v0.32.0

func (*ListUserCredentialsRequest) GetUsername added in v0.32.0

func (x *ListUserCredentialsRequest) GetUsername() string

func (*ListUserCredentialsRequest) ProtoMessage added in v0.32.0

func (*ListUserCredentialsRequest) ProtoMessage()

func (*ListUserCredentialsRequest) ProtoReflect added in v0.32.0

func (*ListUserCredentialsRequest) Reset added in v0.32.0

func (x *ListUserCredentialsRequest) Reset()

func (*ListUserCredentialsRequest) String added in v0.32.0

func (x *ListUserCredentialsRequest) String() string

type ListUserCredentialsResponse

type ListUserCredentialsResponse struct {
	Credentials []*v1.UserCredential `protobuf:"bytes,1,rep,name=credentials,proto3" json:"credentials,omitempty"`
	// contains filtered or unexported fields
}

ListUserCredentialsResponse carries all credentials associated with a user.

func (*ListUserCredentialsResponse) Descriptor deprecated

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

Deprecated: Use ListUserCredentialsResponse.ProtoReflect.Descriptor instead.

func (*ListUserCredentialsResponse) GetCredentials

func (x *ListUserCredentialsResponse) GetCredentials() []*v1.UserCredential

func (*ListUserCredentialsResponse) ProtoMessage

func (*ListUserCredentialsResponse) ProtoMessage()

func (*ListUserCredentialsResponse) ProtoReflect

func (*ListUserCredentialsResponse) Reset

func (x *ListUserCredentialsResponse) Reset()

func (*ListUserCredentialsResponse) String

func (x *ListUserCredentialsResponse) String() string

type ListUserEnvVarsRequest added in v0.46.0

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

ListUserEnvVarsRequest identifies the user whose effective environment variables are being listed.

func (*ListUserEnvVarsRequest) Descriptor deprecated added in v0.46.0

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

Deprecated: Use ListUserEnvVarsRequest.ProtoReflect.Descriptor instead.

func (*ListUserEnvVarsRequest) GetUsername added in v0.46.0

func (x *ListUserEnvVarsRequest) GetUsername() string

func (*ListUserEnvVarsRequest) ProtoMessage added in v0.46.0

func (*ListUserEnvVarsRequest) ProtoMessage()

func (*ListUserEnvVarsRequest) ProtoReflect added in v0.46.0

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

func (*ListUserEnvVarsRequest) Reset added in v0.46.0

func (x *ListUserEnvVarsRequest) Reset()

func (*ListUserEnvVarsRequest) String added in v0.46.0

func (x *ListUserEnvVarsRequest) String() string

type MarkAnnouncementReadRequest added in v0.57.0

type MarkAnnouncementReadRequest struct {
	Id       int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

MarkAnnouncementReadRequest identifies the announcement and the user recording that they've read it.

func (*MarkAnnouncementReadRequest) Descriptor deprecated added in v0.57.0

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

Deprecated: Use MarkAnnouncementReadRequest.ProtoReflect.Descriptor instead.

func (*MarkAnnouncementReadRequest) GetId added in v0.57.0

func (*MarkAnnouncementReadRequest) GetUsername added in v0.57.0

func (x *MarkAnnouncementReadRequest) GetUsername() string

func (*MarkAnnouncementReadRequest) ProtoMessage added in v0.57.0

func (*MarkAnnouncementReadRequest) ProtoMessage()

func (*MarkAnnouncementReadRequest) ProtoReflect added in v0.57.0

func (*MarkAnnouncementReadRequest) Reset added in v0.57.0

func (x *MarkAnnouncementReadRequest) Reset()

func (*MarkAnnouncementReadRequest) String added in v0.57.0

func (x *MarkAnnouncementReadRequest) String() string

type MarkAnnouncementReadResponse added in v0.57.0

type MarkAnnouncementReadResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

MarkAnnouncementReadResponse indicates whether the read was recorded.

func (*MarkAnnouncementReadResponse) Descriptor deprecated added in v0.57.0

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

Deprecated: Use MarkAnnouncementReadResponse.ProtoReflect.Descriptor instead.

func (*MarkAnnouncementReadResponse) GetSuccess added in v0.57.0

func (x *MarkAnnouncementReadResponse) GetSuccess() bool

func (*MarkAnnouncementReadResponse) ProtoMessage added in v0.57.0

func (*MarkAnnouncementReadResponse) ProtoMessage()

func (*MarkAnnouncementReadResponse) ProtoReflect added in v0.57.0

func (*MarkAnnouncementReadResponse) Reset added in v0.57.0

func (x *MarkAnnouncementReadResponse) Reset()

func (*MarkAnnouncementReadResponse) String added in v0.57.0

type OnboardRule added in v0.36.0

type OnboardRule struct {
	Id              int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Idp             string `protobuf:"bytes,2,opt,name=idp,proto3" json:"idp,omitempty"`                                                // provider name, "local", or "*" (any)
	UsernamePattern string `protobuf:"bytes,3,opt,name=username_pattern,json=usernamePattern,proto3" json:"username_pattern,omitempty"` // exact username, or a pattern containing '*'
	// org is the destination organization a matching user is placed into —
	// not a scope filter — replacing whatever the identity provider itself
	// reported. Always set; there is no "global" org for this table.
	Org      string `protobuf:"bytes,4,opt,name=org,proto3" json:"org,omitempty"`
	Action   string `protobuf:"bytes,5,opt,name=action,proto3" json:"action,omitempty"`      // "allow" | "reject" | "waitlist"
	Priority int32  `protobuf:"varint,6,opt,name=priority,proto3" json:"priority,omitempty"` // lower wins among matching rows of the same specificity
	// status tracks the outcome of an actual onboarding attempt against this
	// row, separate from action (the configured policy/decision): "none" (no
	// attempt yet), "pending" (hit as a "waitlist" decision, no admin
	// decision yet), "rejected" (rejected, either directly by an
	// action="reject" rule or by an admin after waitlist), "onboarded" (the
	// user was actually created and exists in org's user list). Not
	// admin-editable directly — set by the server as attempts resolve.
	Status string `protobuf:"bytes,17,opt,name=status,proto3" json:"status,omitempty"`
	// roles/sudo are the attributes applied to the user when this row
	// resolves to "allow" (replacing what OPA's onboarding obligations used
	// to grant). roles must be valid within org (org-scoped-or-global).
	Roles []string `protobuf:"bytes,7,rep,name=roles,proto3" json:"roles,omitempty"`
	Sudo  bool     `protobuf:"varint,8,opt,name=sudo,proto3" json:"sudo,omitempty"`
	// fullname/email are display metadata for system-inserted (waitlist-hit)
	// rows, so an admin can see who's asking without a fresh provider
	// round-trip.
	Fullname    string               `protobuf:"bytes,9,opt,name=fullname,proto3" json:"fullname,omitempty"`
	Email       string               `protobuf:"bytes,10,opt,name=email,proto3" json:"email,omitempty"`
	Note        string               `protobuf:"bytes,11,opt,name=note,proto3" json:"note,omitempty"`                                  // admin comment / rejection reason
	RequestedAt *timestamp.Timestamp `protobuf:"bytes,12,opt,name=requested_at,json=requestedAt,proto3" json:"requested_at,omitempty"` // set only for system-inserted rows
	DecidedAt   *timestamp.Timestamp `protobuf:"bytes,13,opt,name=decided_at,json=decidedAt,proto3" json:"decided_at,omitempty"`       // set when action moves out of "waitlist"
	DecidedBy   string               `protobuf:"bytes,14,opt,name=decided_by,json=decidedBy,proto3" json:"decided_by,omitempty"`       // admin username who approved/rejected
	CreatedAt   *timestamp.Timestamp `protobuf:"bytes,15,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   *timestamp.Timestamp `protobuf:"bytes,16,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

OnboardRule controls whether a new user may onboard, and what they get when they do. A row is either a pattern rule (username_pattern contains '*'), admin-authored as a standing policy (e.g. idp="github", username_pattern="*", action="waitlist" as that idp's catch-all), or a concrete decision (username_pattern has no '*'): either a one-off admin-authored allow/reject for a specific person, or a row the system inserted the first time that exact user hit a "waitlist" pattern rule. There is no separate waitlist table — approving a pending row is simply flipping its action from "waitlist" to "allow".

func (*OnboardRule) Descriptor deprecated added in v0.36.0

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

Deprecated: Use OnboardRule.ProtoReflect.Descriptor instead.

func (*OnboardRule) GetAction added in v0.36.0

func (x *OnboardRule) GetAction() string

func (*OnboardRule) GetCreatedAt added in v0.36.0

func (x *OnboardRule) GetCreatedAt() *timestamp.Timestamp

func (*OnboardRule) GetDecidedAt added in v0.36.0

func (x *OnboardRule) GetDecidedAt() *timestamp.Timestamp

func (*OnboardRule) GetDecidedBy added in v0.36.0

func (x *OnboardRule) GetDecidedBy() string

func (*OnboardRule) GetEmail added in v0.36.0

func (x *OnboardRule) GetEmail() string

func (*OnboardRule) GetFullname added in v0.36.0

func (x *OnboardRule) GetFullname() string

func (*OnboardRule) GetId added in v0.36.0

func (x *OnboardRule) GetId() int32

func (*OnboardRule) GetIdp added in v0.36.0

func (x *OnboardRule) GetIdp() string

func (*OnboardRule) GetNote added in v0.36.0

func (x *OnboardRule) GetNote() string

func (*OnboardRule) GetOrg added in v0.36.0

func (x *OnboardRule) GetOrg() string

func (*OnboardRule) GetPriority added in v0.36.0

func (x *OnboardRule) GetPriority() int32

func (*OnboardRule) GetRequestedAt added in v0.36.0

func (x *OnboardRule) GetRequestedAt() *timestamp.Timestamp

func (*OnboardRule) GetRoles added in v0.36.0

func (x *OnboardRule) GetRoles() []string

func (*OnboardRule) GetStatus added in v0.36.0

func (x *OnboardRule) GetStatus() string

func (*OnboardRule) GetSudo added in v0.36.0

func (x *OnboardRule) GetSudo() bool

func (*OnboardRule) GetUpdatedAt added in v0.36.0

func (x *OnboardRule) GetUpdatedAt() *timestamp.Timestamp

func (*OnboardRule) GetUsernamePattern added in v0.36.0

func (x *OnboardRule) GetUsernamePattern() string

func (*OnboardRule) ProtoMessage added in v0.36.0

func (*OnboardRule) ProtoMessage()

func (*OnboardRule) ProtoReflect added in v0.36.0

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

func (*OnboardRule) Reset added in v0.36.0

func (x *OnboardRule) Reset()

func (*OnboardRule) String added in v0.36.0

func (x *OnboardRule) String() string

type OnboardRuleList added in v0.36.0

type OnboardRuleList struct {
	Rules []*OnboardRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

OnboardRuleList holds a list of onboard rules.

func (*OnboardRuleList) Descriptor deprecated added in v0.36.0

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

Deprecated: Use OnboardRuleList.ProtoReflect.Descriptor instead.

func (*OnboardRuleList) GetRules added in v0.36.0

func (x *OnboardRuleList) GetRules() []*OnboardRule

func (*OnboardRuleList) ProtoMessage added in v0.36.0

func (*OnboardRuleList) ProtoMessage()

func (*OnboardRuleList) ProtoReflect added in v0.36.0

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

func (*OnboardRuleList) Reset added in v0.36.0

func (x *OnboardRuleList) Reset()

func (*OnboardRuleList) String added in v0.36.0

func (x *OnboardRuleList) String() string

type OnboardUserDeviceFlowRequest

type OnboardUserDeviceFlowRequest struct {
	Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

OnboardUserDeviceFlowRequest initiates a device-flow onboarding session for the given provider.

func (*OnboardUserDeviceFlowRequest) Descriptor deprecated

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

Deprecated: Use OnboardUserDeviceFlowRequest.ProtoReflect.Descriptor instead.

func (*OnboardUserDeviceFlowRequest) GetProvider

func (x *OnboardUserDeviceFlowRequest) GetProvider() string

func (*OnboardUserDeviceFlowRequest) GetUsername

func (x *OnboardUserDeviceFlowRequest) GetUsername() string

func (*OnboardUserDeviceFlowRequest) ProtoMessage

func (*OnboardUserDeviceFlowRequest) ProtoMessage()

func (*OnboardUserDeviceFlowRequest) ProtoReflect

func (*OnboardUserDeviceFlowRequest) Reset

func (x *OnboardUserDeviceFlowRequest) Reset()

func (*OnboardUserDeviceFlowRequest) String

type OnboardUserWebFlowRequest

type OnboardUserWebFlowRequest struct {
	Provider    string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	RedirectUri string `protobuf:"bytes,2,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
	CliState    string `protobuf:"bytes,3,opt,name=cli_state,json=cliState,proto3" json:"cli_state,omitempty"`
	CreatePat   bool   `protobuf:"varint,4,opt,name=create_pat,json=createPat,proto3" json:"create_pat,omitempty"`
	// contains filtered or unexported fields
}

OnboardUserWebFlowRequest initiates a web-flow onboarding session for the given provider.

func (*OnboardUserWebFlowRequest) Descriptor deprecated

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

Deprecated: Use OnboardUserWebFlowRequest.ProtoReflect.Descriptor instead.

func (*OnboardUserWebFlowRequest) GetCliState

func (x *OnboardUserWebFlowRequest) GetCliState() string

func (*OnboardUserWebFlowRequest) GetCreatePat

func (x *OnboardUserWebFlowRequest) GetCreatePat() bool

func (*OnboardUserWebFlowRequest) GetProvider

func (x *OnboardUserWebFlowRequest) GetProvider() string

func (*OnboardUserWebFlowRequest) GetRedirectUri

func (x *OnboardUserWebFlowRequest) GetRedirectUri() string

func (*OnboardUserWebFlowRequest) ProtoMessage

func (*OnboardUserWebFlowRequest) ProtoMessage()

func (*OnboardUserWebFlowRequest) ProtoReflect

func (*OnboardUserWebFlowRequest) Reset

func (x *OnboardUserWebFlowRequest) Reset()

func (*OnboardUserWebFlowRequest) String

func (x *OnboardUserWebFlowRequest) String() string

type Organization added in v0.35.0

type Organization struct {
	Name        string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // unique
	Description string               `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	CreatedAt   *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// admin_usernames and user_count are computed fields populated by
	// ListOrganizations — they are not stored on the organization itself and
	// are ignored (left empty/zero) by CreateOrganization's response.
	AdminUsernames []string `protobuf:"bytes,4,rep,name=admin_usernames,json=adminUsernames,proto3" json:"admin_usernames,omitempty"` // users in this org holding the "org-admin" role
	UserCount      int32    `protobuf:"varint,5,opt,name=user_count,json=userCount,proto3" json:"user_count,omitempty"`               // total number of users in this org
	// read_only is true for the built-in "default" organization only: it
	// cannot be updated or deleted, since it's the fallback organization every
	// k8Shell deployment is seeded with. UpdateOrganization/DeleteOrganization
	// reject any attempt against it with FailedPrecondition. Computed from
	// name, not stored.
	ReadOnly bool `protobuf:"varint,6,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
	// contains filtered or unexported fields
}

Organization is a named tenant that groups users. Every user belongs to exactly one organization (see common.v1.User.organization).

func (*Organization) Descriptor deprecated added in v0.35.0

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

Deprecated: Use Organization.ProtoReflect.Descriptor instead.

func (*Organization) GetAdminUsernames added in v0.35.0

func (x *Organization) GetAdminUsernames() []string

func (*Organization) GetCreatedAt added in v0.35.0

func (x *Organization) GetCreatedAt() *timestamp.Timestamp

func (*Organization) GetDescription added in v0.35.0

func (x *Organization) GetDescription() string

func (*Organization) GetName added in v0.35.0

func (x *Organization) GetName() string

func (*Organization) GetReadOnly added in v0.36.0

func (x *Organization) GetReadOnly() bool

func (*Organization) GetUserCount added in v0.35.0

func (x *Organization) GetUserCount() int32

func (*Organization) ProtoMessage added in v0.35.0

func (*Organization) ProtoMessage()

func (*Organization) ProtoReflect added in v0.35.0

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

func (*Organization) Reset added in v0.35.0

func (x *Organization) Reset()

func (*Organization) String added in v0.35.0

func (x *Organization) String() string

type OrganizationList added in v0.35.0

type OrganizationList struct {
	Organizations []*Organization `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"`
	// contains filtered or unexported fields
}

OrganizationList holds a list of organizations.

func (*OrganizationList) Descriptor deprecated added in v0.35.0

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

Deprecated: Use OrganizationList.ProtoReflect.Descriptor instead.

func (*OrganizationList) GetOrganizations added in v0.35.0

func (x *OrganizationList) GetOrganizations() []*Organization

func (*OrganizationList) ProtoMessage added in v0.35.0

func (*OrganizationList) ProtoMessage()

func (*OrganizationList) ProtoReflect added in v0.35.0

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

func (*OrganizationList) Reset added in v0.35.0

func (x *OrganizationList) Reset()

func (*OrganizationList) String added in v0.35.0

func (x *OrganizationList) String() string

type PasswordLockoutStatus added in v0.34.3

type PasswordLockoutStatus struct {
	Locked      bool  `protobuf:"varint,1,opt,name=locked,proto3" json:"locked,omitempty"`
	LockedUntil int64 `protobuf:"varint,2,opt,name=locked_until,json=lockedUntil,proto3" json:"locked_until,omitempty"` // unix seconds; 0 when not locked
	// contains filtered or unexported fields
}

PasswordLockoutStatus carries a username's current password-lockout state, as returned by GetPasswordLockoutStatus.

func (*PasswordLockoutStatus) Descriptor deprecated added in v0.34.3

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

Deprecated: Use PasswordLockoutStatus.ProtoReflect.Descriptor instead.

func (*PasswordLockoutStatus) GetLocked added in v0.34.3

func (x *PasswordLockoutStatus) GetLocked() bool

func (*PasswordLockoutStatus) GetLockedUntil added in v0.34.3

func (x *PasswordLockoutStatus) GetLockedUntil() int64

func (*PasswordLockoutStatus) ProtoMessage added in v0.34.3

func (*PasswordLockoutStatus) ProtoMessage()

func (*PasswordLockoutStatus) ProtoReflect added in v0.34.3

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

func (*PasswordLockoutStatus) Reset added in v0.34.3

func (x *PasswordLockoutStatus) Reset()

func (*PasswordLockoutStatus) String added in v0.34.3

func (x *PasswordLockoutStatus) String() string

type ProviderInfoRequest

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

ProviderInfoRequest is an empty request message used to query provider metadata.

func (*ProviderInfoRequest) Descriptor deprecated

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

Deprecated: Use ProviderInfoRequest.ProtoReflect.Descriptor instead.

func (*ProviderInfoRequest) ProtoMessage

func (*ProviderInfoRequest) ProtoMessage()

func (*ProviderInfoRequest) ProtoReflect

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

func (*ProviderInfoRequest) Reset

func (x *ProviderInfoRequest) Reset()

func (*ProviderInfoRequest) String

func (x *ProviderInfoRequest) String() string

type ProviderInfoResponse

type ProviderInfoResponse struct {
	Name         string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Capabilities []string `protobuf:"bytes,2,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
	UserMaxAge   uint32   `protobuf:"varint,3,opt,name=user_max_age,json=userMaxAge,proto3" json:"user_max_age,omitempty"`
	Address      string   `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

ProviderInfoResponse carries metadata about the identity provider.

func (*ProviderInfoResponse) Descriptor deprecated

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

Deprecated: Use ProviderInfoResponse.ProtoReflect.Descriptor instead.

func (*ProviderInfoResponse) GetAddress

func (x *ProviderInfoResponse) GetAddress() string

func (*ProviderInfoResponse) GetCapabilities

func (x *ProviderInfoResponse) GetCapabilities() []string

func (*ProviderInfoResponse) GetName

func (x *ProviderInfoResponse) GetName() string

func (*ProviderInfoResponse) GetUserMaxAge

func (x *ProviderInfoResponse) GetUserMaxAge() uint32

func (*ProviderInfoResponse) ProtoMessage

func (*ProviderInfoResponse) ProtoMessage()

func (*ProviderInfoResponse) ProtoReflect

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

func (*ProviderInfoResponse) Reset

func (x *ProviderInfoResponse) Reset()

func (*ProviderInfoResponse) String

func (x *ProviderInfoResponse) String() string

type PutUserSettingsRequest added in v0.59.0

type PutUserSettingsRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Version  int32  `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	Data     []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

PutUserSettingsRequest replaces a user's settings. version is echoed back in future GetUserSettingsResponse.version calls as an informational counter only — it is not checked against the stored version, so this is always a last-write-wins replace, never a conditional update. data is size-capped (~64KB) at api-server; Identity re-enforces the same cap at its own boundary since other internal callers could bypass the gateway.

func (*PutUserSettingsRequest) Descriptor deprecated added in v0.59.0

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

Deprecated: Use PutUserSettingsRequest.ProtoReflect.Descriptor instead.

func (*PutUserSettingsRequest) GetData added in v0.59.0

func (x *PutUserSettingsRequest) GetData() []byte

func (*PutUserSettingsRequest) GetUsername added in v0.59.0

func (x *PutUserSettingsRequest) GetUsername() string

func (*PutUserSettingsRequest) GetVersion added in v0.59.0

func (x *PutUserSettingsRequest) GetVersion() int32

func (*PutUserSettingsRequest) ProtoMessage added in v0.59.0

func (*PutUserSettingsRequest) ProtoMessage()

func (*PutUserSettingsRequest) ProtoReflect added in v0.59.0

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

func (*PutUserSettingsRequest) Reset added in v0.59.0

func (x *PutUserSettingsRequest) Reset()

func (*PutUserSettingsRequest) String added in v0.59.0

func (x *PutUserSettingsRequest) String() string

type PutUserSettingsResponse added in v0.59.0

type PutUserSettingsResponse struct {
	Version   int32                `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

PutUserSettingsResponse confirms the write with the settings' new version and timestamp.

func (*PutUserSettingsResponse) Descriptor deprecated added in v0.59.0

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

Deprecated: Use PutUserSettingsResponse.ProtoReflect.Descriptor instead.

func (*PutUserSettingsResponse) GetUpdatedAt added in v0.59.0

func (x *PutUserSettingsResponse) GetUpdatedAt() *timestamp.Timestamp

func (*PutUserSettingsResponse) GetVersion added in v0.59.0

func (x *PutUserSettingsResponse) GetVersion() int32

func (*PutUserSettingsResponse) ProtoMessage added in v0.59.0

func (*PutUserSettingsResponse) ProtoMessage()

func (*PutUserSettingsResponse) ProtoReflect added in v0.59.0

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

func (*PutUserSettingsResponse) Reset added in v0.59.0

func (x *PutUserSettingsResponse) Reset()

func (*PutUserSettingsResponse) String added in v0.59.0

func (x *PutUserSettingsResponse) String() string

type QueryAnnouncementsRequest added in v0.57.0

type QueryAnnouncementsRequest struct {
	Query *v11.Payload `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

QueryAnnouncementsRequest carries a generic query against the fields advertised by GetAnnouncementsQuerySchema.

func (*QueryAnnouncementsRequest) Descriptor deprecated added in v0.57.0

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

Deprecated: Use QueryAnnouncementsRequest.ProtoReflect.Descriptor instead.

func (*QueryAnnouncementsRequest) GetQuery added in v0.57.0

func (x *QueryAnnouncementsRequest) GetQuery() *v11.Payload

func (*QueryAnnouncementsRequest) ProtoMessage added in v0.57.0

func (*QueryAnnouncementsRequest) ProtoMessage()

func (*QueryAnnouncementsRequest) ProtoReflect added in v0.57.0

func (*QueryAnnouncementsRequest) Reset added in v0.57.0

func (x *QueryAnnouncementsRequest) Reset()

func (*QueryAnnouncementsRequest) String added in v0.57.0

func (x *QueryAnnouncementsRequest) String() string

type QueryOnboardRulesRequest added in v0.36.0

type QueryOnboardRulesRequest struct {
	Query *v11.Payload `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

QueryOnboardRulesRequest carries a generic query against the fields advertised by GetOnboardRulesQuerySchema. A frontend renders the pending approval queue by filtering action = "waitlist", and manages standing rules with any other filter — there is no separate "list waitlist" RPC.

func (*QueryOnboardRulesRequest) Descriptor deprecated added in v0.36.0

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

Deprecated: Use QueryOnboardRulesRequest.ProtoReflect.Descriptor instead.

func (*QueryOnboardRulesRequest) GetQuery added in v0.36.0

func (x *QueryOnboardRulesRequest) GetQuery() *v11.Payload

func (*QueryOnboardRulesRequest) ProtoMessage added in v0.36.0

func (*QueryOnboardRulesRequest) ProtoMessage()

func (*QueryOnboardRulesRequest) ProtoReflect added in v0.36.0

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

func (*QueryOnboardRulesRequest) Reset added in v0.36.0

func (x *QueryOnboardRulesRequest) Reset()

func (*QueryOnboardRulesRequest) String added in v0.36.0

func (x *QueryOnboardRulesRequest) String() string

type QueryOrganizationsRequest added in v0.36.0

type QueryOrganizationsRequest struct {
	Query *v11.Payload `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

QueryOrganizationsRequest carries a generic query against the fields advertised by GetOrganizationsQuerySchema.

func (*QueryOrganizationsRequest) Descriptor deprecated added in v0.36.0

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

Deprecated: Use QueryOrganizationsRequest.ProtoReflect.Descriptor instead.

func (*QueryOrganizationsRequest) GetQuery added in v0.36.0

func (x *QueryOrganizationsRequest) GetQuery() *v11.Payload

func (*QueryOrganizationsRequest) ProtoMessage added in v0.36.0

func (*QueryOrganizationsRequest) ProtoMessage()

func (*QueryOrganizationsRequest) ProtoReflect added in v0.36.0

func (*QueryOrganizationsRequest) Reset added in v0.36.0

func (x *QueryOrganizationsRequest) Reset()

func (*QueryOrganizationsRequest) String added in v0.36.0

func (x *QueryOrganizationsRequest) String() string

type QueryUsersRequest added in v0.35.0

type QueryUsersRequest struct {
	Query *v11.Payload `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

QueryUsersRequest carries a generic query against the fields advertised by GetUsersQuerySchema.

func (*QueryUsersRequest) Descriptor deprecated added in v0.35.0

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

Deprecated: Use QueryUsersRequest.ProtoReflect.Descriptor instead.

func (*QueryUsersRequest) GetQuery added in v0.35.0

func (x *QueryUsersRequest) GetQuery() *v11.Payload

func (*QueryUsersRequest) ProtoMessage added in v0.35.0

func (*QueryUsersRequest) ProtoMessage()

func (*QueryUsersRequest) ProtoReflect added in v0.35.0

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

func (*QueryUsersRequest) Reset added in v0.35.0

func (x *QueryUsersRequest) Reset()

func (*QueryUsersRequest) String added in v0.35.0

func (x *QueryUsersRequest) String() string

type RejectOnboardRuleRequest added in v0.36.0

type RejectOnboardRuleRequest struct {
	Id        int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	DecidedBy string `protobuf:"bytes,2,opt,name=decided_by,json=decidedBy,proto3" json:"decided_by,omitempty"`
	Note      string `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"`
	// contains filtered or unexported fields
}

RejectOnboardRuleRequest identifies a pending onboard rule by id to reject, flipping its action to "reject". decided_by records who rejected it; note is an optional reason recorded on the row.

func (*RejectOnboardRuleRequest) Descriptor deprecated added in v0.36.0

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

Deprecated: Use RejectOnboardRuleRequest.ProtoReflect.Descriptor instead.

func (*RejectOnboardRuleRequest) GetDecidedBy added in v0.36.0

func (x *RejectOnboardRuleRequest) GetDecidedBy() string

func (*RejectOnboardRuleRequest) GetId added in v0.36.0

func (x *RejectOnboardRuleRequest) GetId() int32

func (*RejectOnboardRuleRequest) GetNote added in v0.36.0

func (x *RejectOnboardRuleRequest) GetNote() string

func (*RejectOnboardRuleRequest) ProtoMessage added in v0.36.0

func (*RejectOnboardRuleRequest) ProtoMessage()

func (*RejectOnboardRuleRequest) ProtoReflect added in v0.36.0

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

func (*RejectOnboardRuleRequest) Reset added in v0.36.0

func (x *RejectOnboardRuleRequest) Reset()

func (*RejectOnboardRuleRequest) String added in v0.36.0

func (x *RejectOnboardRuleRequest) String() string

type RemoveUserAuthKeyRequest added in v0.32.0

type RemoveUserAuthKeyRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Index    uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

RemoveUserAuthKeyRequest identifies a single SSH public key to remove from a user by its index in the list returned by ListUserAuthKeys.

func (*RemoveUserAuthKeyRequest) Descriptor deprecated added in v0.32.0

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

Deprecated: Use RemoveUserAuthKeyRequest.ProtoReflect.Descriptor instead.

func (*RemoveUserAuthKeyRequest) GetIndex added in v0.32.0

func (x *RemoveUserAuthKeyRequest) GetIndex() uint32

func (*RemoveUserAuthKeyRequest) GetUsername added in v0.32.0

func (x *RemoveUserAuthKeyRequest) GetUsername() string

func (*RemoveUserAuthKeyRequest) ProtoMessage added in v0.32.0

func (*RemoveUserAuthKeyRequest) ProtoMessage()

func (*RemoveUserAuthKeyRequest) ProtoReflect added in v0.32.0

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

func (*RemoveUserAuthKeyRequest) Reset added in v0.32.0

func (x *RemoveUserAuthKeyRequest) Reset()

func (*RemoveUserAuthKeyRequest) String added in v0.32.0

func (x *RemoveUserAuthKeyRequest) String() string

type RemoveUserCredentialRequest added in v0.32.0

type RemoveUserCredentialRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Id       uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

RemoveUserCredentialRequest identifies a credential to remove for a user, by ID.

func (*RemoveUserCredentialRequest) Descriptor deprecated added in v0.32.0

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

Deprecated: Use RemoveUserCredentialRequest.ProtoReflect.Descriptor instead.

func (*RemoveUserCredentialRequest) GetId added in v0.32.0

func (*RemoveUserCredentialRequest) GetUsername added in v0.32.0

func (x *RemoveUserCredentialRequest) GetUsername() string

func (*RemoveUserCredentialRequest) ProtoMessage added in v0.32.0

func (*RemoveUserCredentialRequest) ProtoMessage()

func (*RemoveUserCredentialRequest) ProtoReflect added in v0.32.0

func (*RemoveUserCredentialRequest) Reset added in v0.32.0

func (x *RemoveUserCredentialRequest) Reset()

func (*RemoveUserCredentialRequest) String added in v0.32.0

func (x *RemoveUserCredentialRequest) String() string

type RemoveUserCredentialResponse added in v0.32.0

type RemoveUserCredentialResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

RemoveUserCredentialResponse indicates whether the removal was successful.

func (*RemoveUserCredentialResponse) Descriptor deprecated added in v0.32.0

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

Deprecated: Use RemoveUserCredentialResponse.ProtoReflect.Descriptor instead.

func (*RemoveUserCredentialResponse) GetSuccess added in v0.32.0

func (x *RemoveUserCredentialResponse) GetSuccess() bool

func (*RemoveUserCredentialResponse) ProtoMessage added in v0.32.0

func (*RemoveUserCredentialResponse) ProtoMessage()

func (*RemoveUserCredentialResponse) ProtoReflect added in v0.32.0

func (*RemoveUserCredentialResponse) Reset added in v0.32.0

func (x *RemoveUserCredentialResponse) Reset()

func (*RemoveUserCredentialResponse) String added in v0.32.0

type Repo added in v0.38.0

type Repo struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// full_name is "<owner_login>/<name>".
	FullName      string `protobuf:"bytes,2,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	Description   string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Private       bool   `protobuf:"varint,4,opt,name=private,proto3" json:"private,omitempty"`
	DefaultBranch string `protobuf:"bytes,5,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch,omitempty"`
	HtmlUrl       string `protobuf:"bytes,6,opt,name=html_url,json=htmlUrl,proto3" json:"html_url,omitempty"`
	// contains filtered or unexported fields
}

Repo is a repository owned by a RepoOwner.

func (*Repo) Descriptor deprecated added in v0.38.0

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

Deprecated: Use Repo.ProtoReflect.Descriptor instead.

func (*Repo) GetDefaultBranch added in v0.38.0

func (x *Repo) GetDefaultBranch() string

func (*Repo) GetDescription added in v0.38.0

func (x *Repo) GetDescription() string

func (*Repo) GetFullName added in v0.38.0

func (x *Repo) GetFullName() string

func (*Repo) GetHtmlUrl added in v0.38.0

func (x *Repo) GetHtmlUrl() string

func (*Repo) GetName added in v0.38.0

func (x *Repo) GetName() string

func (*Repo) GetPrivate added in v0.38.0

func (x *Repo) GetPrivate() bool

func (*Repo) ProtoMessage added in v0.38.0

func (*Repo) ProtoMessage()

func (*Repo) ProtoReflect added in v0.38.0

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

func (*Repo) Reset added in v0.38.0

func (x *Repo) Reset()

func (*Repo) String added in v0.38.0

func (x *Repo) String() string

type RepoList added in v0.38.0

type RepoList struct {
	Repos []*Repo `protobuf:"bytes,1,rep,name=repos,proto3" json:"repos,omitempty"`
	// contains filtered or unexported fields
}

RepoList holds the repositories under a single owner.

func (*RepoList) Descriptor deprecated added in v0.38.0

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

Deprecated: Use RepoList.ProtoReflect.Descriptor instead.

func (*RepoList) GetRepos added in v0.38.0

func (x *RepoList) GetRepos() []*Repo

func (*RepoList) ProtoMessage added in v0.38.0

func (*RepoList) ProtoMessage()

func (*RepoList) ProtoReflect added in v0.38.0

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

func (*RepoList) Reset added in v0.38.0

func (x *RepoList) Reset()

func (*RepoList) String added in v0.38.0

func (x *RepoList) String() string

type RepoOwner added in v0.38.0

type RepoOwner struct {

	// login is the owner's handle, passed as ListReposRequest.repo_owner to list its
	// repositories.
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	// kind is "user" for the caller's personal account or "organization" for a group.
	Kind        string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	AvatarUrl   string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	// contains filtered or unexported fields
}

RepoOwner is an entity that can own repositories on the provider: the user's own personal account, or an organization/group the user belongs to.

func (*RepoOwner) Descriptor deprecated added in v0.38.0

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

Deprecated: Use RepoOwner.ProtoReflect.Descriptor instead.

func (*RepoOwner) GetAvatarUrl added in v0.38.0

func (x *RepoOwner) GetAvatarUrl() string

func (*RepoOwner) GetDescription added in v0.38.0

func (x *RepoOwner) GetDescription() string

func (*RepoOwner) GetKind added in v0.38.0

func (x *RepoOwner) GetKind() string

func (*RepoOwner) GetLogin added in v0.38.0

func (x *RepoOwner) GetLogin() string

func (*RepoOwner) ProtoMessage added in v0.38.0

func (*RepoOwner) ProtoMessage()

func (*RepoOwner) ProtoReflect added in v0.38.0

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

func (*RepoOwner) Reset added in v0.38.0

func (x *RepoOwner) Reset()

func (*RepoOwner) String added in v0.38.0

func (x *RepoOwner) String() string

type RepoOwnerList added in v0.38.0

type RepoOwnerList struct {
	Owners []*RepoOwner `protobuf:"bytes,1,rep,name=owners,proto3" json:"owners,omitempty"`
	// contains filtered or unexported fields
}

RepoOwnerList holds the repo owners a user has access to.

func (*RepoOwnerList) Descriptor deprecated added in v0.38.0

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

Deprecated: Use RepoOwnerList.ProtoReflect.Descriptor instead.

func (*RepoOwnerList) GetOwners added in v0.38.0

func (x *RepoOwnerList) GetOwners() []*RepoOwner

func (*RepoOwnerList) ProtoMessage added in v0.38.0

func (*RepoOwnerList) ProtoMessage()

func (*RepoOwnerList) ProtoReflect added in v0.38.0

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

func (*RepoOwnerList) Reset added in v0.38.0

func (x *RepoOwnerList) Reset()

func (*RepoOwnerList) String added in v0.38.0

func (x *RepoOwnerList) String() string

type RepoPullRequestRequest

type RepoPullRequestRequest struct {
	Username          string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	RepoOwner         string `protobuf:"bytes,2,opt,name=repo_owner,json=repoOwner,proto3" json:"repo_owner,omitempty"`
	RepoName          string `protobuf:"bytes,3,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"`
	PullRequestNumber int32  `protobuf:"varint,4,opt,name=pull_request_number,json=pullRequestNumber,proto3" json:"pull_request_number,omitempty"`
	// contains filtered or unexported fields
}

RepoPullRequestRequest identifies a pull request within a repository for a given user.

func (*RepoPullRequestRequest) Descriptor deprecated

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

Deprecated: Use RepoPullRequestRequest.ProtoReflect.Descriptor instead.

func (*RepoPullRequestRequest) GetPullRequestNumber

func (x *RepoPullRequestRequest) GetPullRequestNumber() int32

func (*RepoPullRequestRequest) GetRepoName

func (x *RepoPullRequestRequest) GetRepoName() string

func (*RepoPullRequestRequest) GetRepoOwner

func (x *RepoPullRequestRequest) GetRepoOwner() string

func (*RepoPullRequestRequest) GetUsername

func (x *RepoPullRequestRequest) GetUsername() string

func (*RepoPullRequestRequest) ProtoMessage

func (*RepoPullRequestRequest) ProtoMessage()

func (*RepoPullRequestRequest) ProtoReflect

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

func (*RepoPullRequestRequest) Reset

func (x *RepoPullRequestRequest) Reset()

func (*RepoPullRequestRequest) String

func (x *RepoPullRequestRequest) String() string

type RepoRefResponse

type RepoRefResponse struct {
	RepoRef string `protobuf:"bytes,1,opt,name=repo_ref,json=repoRef,proto3" json:"repo_ref,omitempty"`
	// contains filtered or unexported fields
}

RepoRefResponse carries the resolved repository reference for a pull request.

func (*RepoRefResponse) Descriptor deprecated

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

Deprecated: Use RepoRefResponse.ProtoReflect.Descriptor instead.

func (*RepoRefResponse) GetRepoRef

func (x *RepoRefResponse) GetRepoRef() string

func (*RepoRefResponse) ProtoMessage

func (*RepoRefResponse) ProtoMessage()

func (*RepoRefResponse) ProtoReflect

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

func (*RepoRefResponse) Reset

func (x *RepoRefResponse) Reset()

func (*RepoRefResponse) String

func (x *RepoRefResponse) String() string

type RequestPasswordResetRequest added in v0.61.2

type RequestPasswordResetRequest struct {
	Username       string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	ConfirmUrlBase string `protobuf:"bytes,2,opt,name=confirm_url_base,json=confirmUrlBase,proto3" json:"confirm_url_base,omitempty"`
	// contains filtered or unexported fields
}

RequestPasswordResetRequest carries a pre-resolved username (the caller has already looked it up) and the base URL the emailed confirmation link should point to; identity appends "?token=<raw>" (or "&token=<raw>" if confirm_url_base already has a query string) to it.

func (*RequestPasswordResetRequest) Descriptor deprecated added in v0.61.2

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

Deprecated: Use RequestPasswordResetRequest.ProtoReflect.Descriptor instead.

func (*RequestPasswordResetRequest) GetConfirmUrlBase added in v0.61.2

func (x *RequestPasswordResetRequest) GetConfirmUrlBase() string

func (*RequestPasswordResetRequest) GetUsername added in v0.61.2

func (x *RequestPasswordResetRequest) GetUsername() string

func (*RequestPasswordResetRequest) ProtoMessage added in v0.61.2

func (*RequestPasswordResetRequest) ProtoMessage()

func (*RequestPasswordResetRequest) ProtoReflect added in v0.61.2

func (*RequestPasswordResetRequest) Reset added in v0.61.2

func (x *RequestPasswordResetRequest) Reset()

func (*RequestPasswordResetRequest) String added in v0.61.2

func (x *RequestPasswordResetRequest) String() string

type RequestPasswordResetResponse added in v0.61.2

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

RequestPasswordResetResponse is always returned, even when the email could not be sent — see RequestPasswordReset's doc comment.

func (*RequestPasswordResetResponse) Descriptor deprecated added in v0.61.2

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

Deprecated: Use RequestPasswordResetResponse.ProtoReflect.Descriptor instead.

func (*RequestPasswordResetResponse) ProtoMessage added in v0.61.2

func (*RequestPasswordResetResponse) ProtoMessage()

func (*RequestPasswordResetResponse) ProtoReflect added in v0.61.2

func (*RequestPasswordResetResponse) Reset added in v0.61.2

func (x *RequestPasswordResetResponse) Reset()

func (*RequestPasswordResetResponse) String added in v0.61.2

type ResolveAccessTokenRequest

type ResolveAccessTokenRequest struct {
	Token  string             `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Expiry *duration.Duration `protobuf:"bytes,2,opt,name=expiry,proto3" json:"expiry,omitempty"` // JWT lifetime to issue; omit to use the server default
	// contains filtered or unexported fields
}

ResolveAccessTokenRequest carries the raw access token value presented by a client.

func (*ResolveAccessTokenRequest) Descriptor deprecated

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

Deprecated: Use ResolveAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*ResolveAccessTokenRequest) GetExpiry

func (*ResolveAccessTokenRequest) GetToken

func (x *ResolveAccessTokenRequest) GetToken() string

func (*ResolveAccessTokenRequest) ProtoMessage

func (*ResolveAccessTokenRequest) ProtoMessage()

func (*ResolveAccessTokenRequest) ProtoReflect

func (*ResolveAccessTokenRequest) Reset

func (x *ResolveAccessTokenRequest) Reset()

func (*ResolveAccessTokenRequest) String

func (x *ResolveAccessTokenRequest) String() string

type ResolveAccessTokenResponse

type ResolveAccessTokenResponse struct {
	User      *v1.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Scopes    []string `protobuf:"bytes,2,rep,name=scopes,proto3" json:"scopes,omitempty"`
	UserToken string   `protobuf:"bytes,3,opt,name=user_token,json=userToken,proto3" json:"user_token,omitempty"`
	// contains filtered or unexported fields
}

ResolveAccessTokenResponse carries the owning user, the token's scopes, and a freshly issued JWT. The JWT is scoped to the same identity as the PAT and is what the API gateway uses for subsequent authz calls — the gateway does not need to hold the raw PAT beyond this point.

func (*ResolveAccessTokenResponse) Descriptor deprecated

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

Deprecated: Use ResolveAccessTokenResponse.ProtoReflect.Descriptor instead.

func (*ResolveAccessTokenResponse) GetScopes

func (x *ResolveAccessTokenResponse) GetScopes() []string

func (*ResolveAccessTokenResponse) GetUser

func (x *ResolveAccessTokenResponse) GetUser() *v1.User

func (*ResolveAccessTokenResponse) GetUserToken

func (x *ResolveAccessTokenResponse) GetUserToken() string

func (*ResolveAccessTokenResponse) ProtoMessage

func (*ResolveAccessTokenResponse) ProtoMessage()

func (*ResolveAccessTokenResponse) ProtoReflect

func (*ResolveAccessTokenResponse) Reset

func (x *ResolveAccessTokenResponse) Reset()

func (*ResolveAccessTokenResponse) String

func (x *ResolveAccessTokenResponse) String() string

type RevokeAccessTokenRequest

type RevokeAccessTokenRequest struct {
	Id       int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

RevokeAccessTokenRequest identifies the access token to revoke and asserts ownership.

func (*RevokeAccessTokenRequest) Descriptor deprecated

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

Deprecated: Use RevokeAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*RevokeAccessTokenRequest) GetId

func (x *RevokeAccessTokenRequest) GetId() int64

func (*RevokeAccessTokenRequest) GetUsername

func (x *RevokeAccessTokenRequest) GetUsername() string

func (*RevokeAccessTokenRequest) ProtoMessage

func (*RevokeAccessTokenRequest) ProtoMessage()

func (*RevokeAccessTokenRequest) ProtoReflect

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

func (*RevokeAccessTokenRequest) Reset

func (x *RevokeAccessTokenRequest) Reset()

func (*RevokeAccessTokenRequest) String

func (x *RevokeAccessTokenRequest) String() string

type RevokeAccessTokenResponse

type RevokeAccessTokenResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

RevokeAccessTokenResponse indicates whether the revocation was successful.

func (*RevokeAccessTokenResponse) Descriptor deprecated

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

Deprecated: Use RevokeAccessTokenResponse.ProtoReflect.Descriptor instead.

func (*RevokeAccessTokenResponse) GetSuccess

func (x *RevokeAccessTokenResponse) GetSuccess() bool

func (*RevokeAccessTokenResponse) ProtoMessage

func (*RevokeAccessTokenResponse) ProtoMessage()

func (*RevokeAccessTokenResponse) ProtoReflect

func (*RevokeAccessTokenResponse) Reset

func (x *RevokeAccessTokenResponse) Reset()

func (*RevokeAccessTokenResponse) String

func (x *RevokeAccessTokenResponse) String() string

type Role added in v0.35.0

type Role struct {
	Name        string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // unique; exact string stored in User.roles
	Description string               `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Org         string               `protobuf:"bytes,3,opt,name=org,proto3" json:"org,omitempty"` // optional; empty means global
	CreatedAt   *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// user_count is a computed, read-only field populated by ListRoles — the
	// number of users currently holding this role. Not stored on the role
	// itself and ignored (left zero) by CreateRole/UpdateRole's response.
	UserCount int32 `protobuf:"varint,5,opt,name=user_count,json=userCount,proto3" json:"user_count,omitempty"`
	// blueprints are the blueprint names this role grants. A user's effective
	// blueprint access is the union of blueprints across every role they hold
	// (see AddRoleBlueprints/RemoveRoleBlueprints).
	Blueprints []string `protobuf:"bytes,6,rep,name=blueprints,proto3" json:"blueprints,omitempty"`
	// contains filtered or unexported fields
}

Role is a role that may be assigned to users. Roles are flat, opaque name strings; any structure in the name (e.g. "<group>-admin") is a policy-level convention and is deliberately not modelled here.

func (*Role) Descriptor deprecated added in v0.35.0

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

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetBlueprints added in v0.36.0

func (x *Role) GetBlueprints() []string

func (*Role) GetCreatedAt added in v0.35.0

func (x *Role) GetCreatedAt() *timestamp.Timestamp

func (*Role) GetDescription added in v0.35.0

func (x *Role) GetDescription() string

func (*Role) GetName added in v0.35.0

func (x *Role) GetName() string

func (*Role) GetOrg added in v0.35.0

func (x *Role) GetOrg() string

func (*Role) GetUserCount added in v0.35.0

func (x *Role) GetUserCount() int32

func (*Role) ProtoMessage added in v0.35.0

func (*Role) ProtoMessage()

func (*Role) ProtoReflect added in v0.35.0

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

func (*Role) Reset added in v0.35.0

func (x *Role) Reset()

func (*Role) String added in v0.35.0

func (x *Role) String() string

type RoleBlueprintsRequest added in v0.36.0

type RoleBlueprintsRequest struct {
	Name       string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Org        string   `protobuf:"bytes,2,opt,name=org,proto3" json:"org,omitempty"` // required
	Blueprints []string `protobuf:"bytes,3,rep,name=blueprints,proto3" json:"blueprints,omitempty"`
	// contains filtered or unexported fields
}

RoleBlueprintsRequest carries a role name/org and one or more blueprints to grant or revoke. name and org together identify the role, matching UpdateRoleRequest/DeleteRoleRequest; org is required — global roles are not supported here.

func (*RoleBlueprintsRequest) Descriptor deprecated added in v0.36.0

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

Deprecated: Use RoleBlueprintsRequest.ProtoReflect.Descriptor instead.

func (*RoleBlueprintsRequest) GetBlueprints added in v0.36.0

func (x *RoleBlueprintsRequest) GetBlueprints() []string

func (*RoleBlueprintsRequest) GetName added in v0.36.0

func (x *RoleBlueprintsRequest) GetName() string

func (*RoleBlueprintsRequest) GetOrg added in v0.36.0

func (x *RoleBlueprintsRequest) GetOrg() string

func (*RoleBlueprintsRequest) ProtoMessage added in v0.36.0

func (*RoleBlueprintsRequest) ProtoMessage()

func (*RoleBlueprintsRequest) ProtoReflect added in v0.36.0

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

func (*RoleBlueprintsRequest) Reset added in v0.36.0

func (x *RoleBlueprintsRequest) Reset()

func (*RoleBlueprintsRequest) String added in v0.36.0

func (x *RoleBlueprintsRequest) String() string

type RoleList added in v0.35.0

type RoleList struct {
	Roles []*Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

RoleList holds a list of roles.

func (*RoleList) Descriptor deprecated added in v0.35.0

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

Deprecated: Use RoleList.ProtoReflect.Descriptor instead.

func (*RoleList) GetRoles added in v0.35.0

func (x *RoleList) GetRoles() []*Role

func (*RoleList) ProtoMessage added in v0.35.0

func (*RoleList) ProtoMessage()

func (*RoleList) ProtoReflect added in v0.35.0

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

func (*RoleList) Reset added in v0.35.0

func (x *RoleList) Reset()

func (*RoleList) String added in v0.35.0

func (x *RoleList) String() string

type SetUserPasswordRequest added in v0.31.0

type SetUserPasswordRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

SetUserPasswordRequest carries a new plaintext password to set for a user. The server hashes the password with bcrypt before persisting it; the raw value is never stored or returned.

func (*SetUserPasswordRequest) Descriptor deprecated added in v0.31.0

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

Deprecated: Use SetUserPasswordRequest.ProtoReflect.Descriptor instead.

func (*SetUserPasswordRequest) GetPassword added in v0.31.0

func (x *SetUserPasswordRequest) GetPassword() string

func (*SetUserPasswordRequest) GetUsername added in v0.31.0

func (x *SetUserPasswordRequest) GetUsername() string

func (*SetUserPasswordRequest) ProtoMessage added in v0.31.0

func (*SetUserPasswordRequest) ProtoMessage()

func (*SetUserPasswordRequest) ProtoReflect added in v0.31.0

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

func (*SetUserPasswordRequest) Reset added in v0.31.0

func (x *SetUserPasswordRequest) Reset()

func (*SetUserPasswordRequest) String added in v0.31.0

func (x *SetUserPasswordRequest) String() string

type UnimplementedIdentityProviderServiceServer

type UnimplementedIdentityProviderServiceServer struct{}

UnimplementedIdentityProviderServiceServer 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 (UnimplementedIdentityProviderServiceServer) AuthUserPublicKey

func (UnimplementedIdentityProviderServiceServer) CompleteUserWebFlow

func (UnimplementedIdentityProviderServiceServer) FindUser

func (UnimplementedIdentityProviderServiceServer) GetBlueprintByUserStr

func (UnimplementedIdentityProviderServiceServer) GetUserGitToken

func (UnimplementedIdentityProviderServiceServer) GetVersionInfo added in v0.49.0

func (UnimplementedIdentityProviderServiceServer) ListRepoOwners added in v0.38.0

func (UnimplementedIdentityProviderServiceServer) ListRepos added in v0.38.0

func (UnimplementedIdentityProviderServiceServer) ListUserAuthKeys added in v0.32.0

func (UnimplementedIdentityProviderServiceServer) OnboardUserCapability

func (UnimplementedIdentityProviderServiceServer) OnboardUserDeviceFlow

func (UnimplementedIdentityProviderServiceServer) OnboardUserWebFlow

func (UnimplementedIdentityProviderServiceServer) ProviderInfo

func (UnimplementedIdentityProviderServiceServer) ResolvePullRequestToRef

type UnimplementedIdentityServiceServer

type UnimplementedIdentityServiceServer struct{}

UnimplementedIdentityServiceServer 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 (UnimplementedIdentityServiceServer) AddGitUserCredential added in v0.32.0

func (UnimplementedIdentityServiceServer) AddKubernetesUserCredential added in v0.32.0

func (UnimplementedIdentityServiceServer) AddOrganizationEnvVar added in v0.46.0

func (UnimplementedIdentityServiceServer) AddRegistryUserCredential added in v0.32.0

func (UnimplementedIdentityServiceServer) AddRoleBlueprints added in v0.36.0

func (UnimplementedIdentityServiceServer) AddUserAuthKeys added in v0.29.10

func (UnimplementedIdentityServiceServer) AddUserEnvVar added in v0.46.0

func (UnimplementedIdentityServiceServer) AddUserRoles added in v0.29.10

func (UnimplementedIdentityServiceServer) ApproveOnboardRequest added in v0.36.0

func (UnimplementedIdentityServiceServer) AuthUserPassword added in v0.31.0

func (UnimplementedIdentityServiceServer) AuthUserPublicKey

func (UnimplementedIdentityServiceServer) ClearPasswordLockout added in v0.34.3

func (UnimplementedIdentityServiceServer) CompleteUserWebFlow

func (UnimplementedIdentityServiceServer) ConfirmPasswordReset added in v0.61.2

func (UnimplementedIdentityServiceServer) CreateAccessToken

func (UnimplementedIdentityServiceServer) CreateAnnouncement added in v0.57.0

func (UnimplementedIdentityServiceServer) CreateOnboardRule added in v0.36.0

func (UnimplementedIdentityServiceServer) CreateOrganization added in v0.35.0

func (UnimplementedIdentityServiceServer) CreateRole added in v0.35.0

func (UnimplementedIdentityServiceServer) CreateUser added in v0.32.0

func (UnimplementedIdentityServiceServer) DeleteAccessToken added in v0.34.0

func (UnimplementedIdentityServiceServer) DeleteAnnouncement added in v0.57.0

func (UnimplementedIdentityServiceServer) DeleteOnboardRule added in v0.36.0

func (UnimplementedIdentityServiceServer) DeleteOrganization added in v0.35.0

func (UnimplementedIdentityServiceServer) DeleteOrganizationEnvVar added in v0.46.0

func (UnimplementedIdentityServiceServer) DeleteRole added in v0.35.0

func (UnimplementedIdentityServiceServer) DeleteUser added in v0.32.0

func (UnimplementedIdentityServiceServer) DeleteUserEnvVar added in v0.46.0

func (UnimplementedIdentityServiceServer) FindUser

func (UnimplementedIdentityServiceServer) GetAnnouncement added in v0.57.0

func (UnimplementedIdentityServiceServer) GetAnnouncementsQuerySchema added in v0.57.0

func (UnimplementedIdentityServiceServer) GetBlueprintByUserStr

func (UnimplementedIdentityServiceServer) GetOnboardRulesQuerySchema added in v0.36.0

func (UnimplementedIdentityServiceServer) GetOrganization added in v0.36.0

func (UnimplementedIdentityServiceServer) GetOrganizationEnvVar added in v0.46.0

func (UnimplementedIdentityServiceServer) GetOrganizationsQuerySchema added in v0.36.0

func (UnimplementedIdentityServiceServer) GetPasswordLockoutStatus added in v0.34.3

func (UnimplementedIdentityServiceServer) GetUserCredential

func (UnimplementedIdentityServiceServer) GetUserEnvVar added in v0.46.0

func (UnimplementedIdentityServiceServer) GetUserOnboardCapability

func (UnimplementedIdentityServiceServer) GetUserSettings added in v0.59.0

func (UnimplementedIdentityServiceServer) GetUsers

func (UnimplementedIdentityServiceServer) GetUsersQuerySchema added in v0.35.0

func (UnimplementedIdentityServiceServer) GetVersionInfo added in v0.49.0

func (UnimplementedIdentityServiceServer) IssueUserToken

func (UnimplementedIdentityServiceServer) ListAccessTokens

func (UnimplementedIdentityServiceServer) ListAnnouncements added in v0.57.0

func (UnimplementedIdentityServiceServer) ListGlobalRoles added in v0.35.0

func (UnimplementedIdentityServiceServer) ListOrganizationEnvVars added in v0.46.0

func (UnimplementedIdentityServiceServer) ListOrganizations added in v0.35.0

func (UnimplementedIdentityServiceServer) ListRepoOwners added in v0.38.0

func (UnimplementedIdentityServiceServer) ListRepos added in v0.38.0

func (UnimplementedIdentityServiceServer) ListRoles added in v0.35.0

func (UnimplementedIdentityServiceServer) ListUnreadAnnouncements added in v0.57.0

func (UnimplementedIdentityServiceServer) ListUserAnnouncements added in v0.57.0

func (UnimplementedIdentityServiceServer) ListUserAuthKeys added in v0.32.0

func (UnimplementedIdentityServiceServer) ListUserCredentials

func (UnimplementedIdentityServiceServer) ListUserEnvVars added in v0.46.0

func (UnimplementedIdentityServiceServer) MarkAnnouncementRead added in v0.57.0

func (UnimplementedIdentityServiceServer) OnboardUserDeviceFlow

func (UnimplementedIdentityServiceServer) OnboardUserWebFlow

func (UnimplementedIdentityServiceServer) PutUserSettings added in v0.59.0

func (UnimplementedIdentityServiceServer) QueryAnnouncements added in v0.57.0

func (UnimplementedIdentityServiceServer) QueryOnboardRules added in v0.36.0

func (UnimplementedIdentityServiceServer) QueryOrganizations added in v0.36.0

func (UnimplementedIdentityServiceServer) QueryUsers added in v0.35.0

func (UnimplementedIdentityServiceServer) RejectOnboardRequest added in v0.36.0

func (UnimplementedIdentityServiceServer) RemoveRoleBlueprints added in v0.36.0

func (UnimplementedIdentityServiceServer) RemoveUserAuthKey added in v0.32.0

func (UnimplementedIdentityServiceServer) RemoveUserCredential added in v0.32.0

func (UnimplementedIdentityServiceServer) RemoveUserRoles added in v0.29.10

func (UnimplementedIdentityServiceServer) RequestPasswordReset added in v0.61.2

func (UnimplementedIdentityServiceServer) ResolveAccessToken

func (UnimplementedIdentityServiceServer) RevokeAccessToken

func (UnimplementedIdentityServiceServer) SetUserPassword added in v0.31.0

func (UnimplementedIdentityServiceServer) UpdateAccessToken added in v0.34.0

func (UnimplementedIdentityServiceServer) UpdateAnnouncement added in v0.57.0

func (UnimplementedIdentityServiceServer) UpdateOnboardRule added in v0.36.0

func (UnimplementedIdentityServiceServer) UpdateOrganization added in v0.35.0

func (UnimplementedIdentityServiceServer) UpdateOrganizationEnvVar added in v0.46.0

func (UnimplementedIdentityServiceServer) UpdateRole added in v0.35.0

func (UnimplementedIdentityServiceServer) UpdateUser added in v0.29.10

func (UnimplementedIdentityServiceServer) UpdateUserEnvVar added in v0.46.0

type UnsafeIdentityProviderServiceServer

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

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

type UnsafeIdentityServiceServer

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

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

type UpdateAccessTokenRequest added in v0.34.0

type UpdateAccessTokenRequest struct {
	Id       int64               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Username string              `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` // asserts ownership, like RevokeAccessTokenRequest
	Active   *wrappers.BoolValue `protobuf:"bytes,3,opt,name=active,proto3" json:"active,omitempty"`
	Scopes   *AccessTokenScopes  `protobuf:"bytes,4,opt,name=scopes,proto3" json:"scopes,omitempty"`
	// contains filtered or unexported fields
}

UpdateAccessTokenRequest partially updates an access token. Only active and scopes may be changed; any other field on the token (name, expiry, etc.) is immutable after creation. Fields left unset are not modified.

func (*UpdateAccessTokenRequest) Descriptor deprecated added in v0.34.0

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

Deprecated: Use UpdateAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*UpdateAccessTokenRequest) GetActive added in v0.34.0

func (*UpdateAccessTokenRequest) GetId added in v0.34.0

func (x *UpdateAccessTokenRequest) GetId() int64

func (*UpdateAccessTokenRequest) GetScopes added in v0.34.0

func (*UpdateAccessTokenRequest) GetUsername added in v0.34.0

func (x *UpdateAccessTokenRequest) GetUsername() string

func (*UpdateAccessTokenRequest) ProtoMessage added in v0.34.0

func (*UpdateAccessTokenRequest) ProtoMessage()

func (*UpdateAccessTokenRequest) ProtoReflect added in v0.34.0

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

func (*UpdateAccessTokenRequest) Reset added in v0.34.0

func (x *UpdateAccessTokenRequest) Reset()

func (*UpdateAccessTokenRequest) String added in v0.34.0

func (x *UpdateAccessTokenRequest) String() string

type UpdateAccessTokenResponse added in v0.34.0

type UpdateAccessTokenResponse struct {
	Token *AccessTokenInfo `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

UpdateAccessTokenResponse carries the updated access token metadata.

func (*UpdateAccessTokenResponse) Descriptor deprecated added in v0.34.0

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

Deprecated: Use UpdateAccessTokenResponse.ProtoReflect.Descriptor instead.

func (*UpdateAccessTokenResponse) GetToken added in v0.34.0

func (*UpdateAccessTokenResponse) ProtoMessage added in v0.34.0

func (*UpdateAccessTokenResponse) ProtoMessage()

func (*UpdateAccessTokenResponse) ProtoReflect added in v0.34.0

func (*UpdateAccessTokenResponse) Reset added in v0.34.0

func (x *UpdateAccessTokenResponse) Reset()

func (*UpdateAccessTokenResponse) String added in v0.34.0

func (x *UpdateAccessTokenResponse) String() string

type UpdateAnnouncementRequest added in v0.57.0

type UpdateAnnouncementRequest struct {
	Id            int32                      `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name          *wrappers.StringValue      `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Translations  []*AnnouncementTranslation `protobuf:"bytes,3,rep,name=translations,proto3" json:"translations,omitempty"`
	Orgs          []string                   `protobuf:"bytes,4,rep,name=orgs,proto3" json:"orgs,omitempty"`
	ClearOrgs     bool                       `protobuf:"varint,5,opt,name=clear_orgs,json=clearOrgs,proto3" json:"clear_orgs,omitempty"`
	Roles         []string                   `protobuf:"bytes,6,rep,name=roles,proto3" json:"roles,omitempty"`
	ClearRoles    bool                       `protobuf:"varint,7,opt,name=clear_roles,json=clearRoles,proto3" json:"clear_roles,omitempty"`
	Active        *wrappers.BoolValue        `protobuf:"bytes,8,opt,name=active,proto3" json:"active,omitempty"`
	StartsAt      *timestamp.Timestamp       `protobuf:"bytes,9,opt,name=starts_at,json=startsAt,proto3" json:"starts_at,omitempty"`
	ClearStartsAt bool                       `protobuf:"varint,10,opt,name=clear_starts_at,json=clearStartsAt,proto3" json:"clear_starts_at,omitempty"`
	EndsAt        *timestamp.Timestamp       `protobuf:"bytes,11,opt,name=ends_at,json=endsAt,proto3" json:"ends_at,omitempty"`
	ClearEndsAt   bool                       `protobuf:"varint,12,opt,name=clear_ends_at,json=clearEndsAt,proto3" json:"clear_ends_at,omitempty"`
	EmailEnabled  *wrappers.BoolValue        `protobuf:"bytes,13,opt,name=email_enabled,json=emailEnabled,proto3" json:"email_enabled,omitempty"`
	// contains filtered or unexported fields
}

UpdateAnnouncementRequest partially updates an announcement identified by id. name/active/email_enabled are applied when set. translations, when non-empty, replaces the announcement's entire translation set — leave it empty to keep the existing translations unchanged; it can never be replaced with an empty set, since every announcement must keep at least one language. Because proto3 cannot distinguish an absent "orgs"/"roles" list from an explicitly empty one on the wire, clear_orgs/clear_roles must be set to make the announcement apply to every organization/role; orgs/roles must be empty when their own clear_* flag is set — mirroring UpdateUserRequest.clear_roles. clear_starts_at/clear_ends_at remove the corresponding bound (open-ended) the same way; set at most one of a bound (or orgs/roles) and its own clear_* flag.

func (*UpdateAnnouncementRequest) Descriptor deprecated added in v0.57.0

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

Deprecated: Use UpdateAnnouncementRequest.ProtoReflect.Descriptor instead.

func (*UpdateAnnouncementRequest) GetActive added in v0.57.0

func (*UpdateAnnouncementRequest) GetClearEndsAt added in v0.57.0

func (x *UpdateAnnouncementRequest) GetClearEndsAt() bool

func (*UpdateAnnouncementRequest) GetClearOrgs added in v0.57.0

func (x *UpdateAnnouncementRequest) GetClearOrgs() bool

func (*UpdateAnnouncementRequest) GetClearRoles added in v0.57.0

func (x *UpdateAnnouncementRequest) GetClearRoles() bool

func (*UpdateAnnouncementRequest) GetClearStartsAt added in v0.57.0

func (x *UpdateAnnouncementRequest) GetClearStartsAt() bool

func (*UpdateAnnouncementRequest) GetEmailEnabled added in v0.61.2

func (x *UpdateAnnouncementRequest) GetEmailEnabled() *wrappers.BoolValue

func (*UpdateAnnouncementRequest) GetEndsAt added in v0.57.0

func (*UpdateAnnouncementRequest) GetId added in v0.57.0

func (x *UpdateAnnouncementRequest) GetId() int32

func (*UpdateAnnouncementRequest) GetName added in v0.57.0

func (*UpdateAnnouncementRequest) GetOrgs added in v0.57.0

func (x *UpdateAnnouncementRequest) GetOrgs() []string

func (*UpdateAnnouncementRequest) GetRoles added in v0.57.0

func (x *UpdateAnnouncementRequest) GetRoles() []string

func (*UpdateAnnouncementRequest) GetStartsAt added in v0.57.0

func (x *UpdateAnnouncementRequest) GetStartsAt() *timestamp.Timestamp

func (*UpdateAnnouncementRequest) GetTranslations added in v0.57.0

func (x *UpdateAnnouncementRequest) GetTranslations() []*AnnouncementTranslation

func (*UpdateAnnouncementRequest) ProtoMessage added in v0.57.0

func (*UpdateAnnouncementRequest) ProtoMessage()

func (*UpdateAnnouncementRequest) ProtoReflect added in v0.57.0

func (*UpdateAnnouncementRequest) Reset added in v0.57.0

func (x *UpdateAnnouncementRequest) Reset()

func (*UpdateAnnouncementRequest) String added in v0.57.0

func (x *UpdateAnnouncementRequest) String() string

type UpdateOnboardRuleRequest added in v0.36.0

type UpdateOnboardRuleRequest struct {
	Id       int32    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Action   string   `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	Priority int32    `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"`
	Roles    []string `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"`
	Sudo     bool     `protobuf:"varint,5,opt,name=sudo,proto3" json:"sudo,omitempty"`
	Note     string   `protobuf:"bytes,6,opt,name=note,proto3" json:"note,omitempty"`
	// fullname/email let an admin correct the display metadata recorded for
	// system-inserted (waitlist-hit) rows; see OnboardRule.fullname/email.
	Fullname string `protobuf:"bytes,7,opt,name=fullname,proto3" json:"fullname,omitempty"`
	Email    string `protobuf:"bytes,8,opt,name=email,proto3" json:"email,omitempty"`
	// username_pattern replaces the rule's matching pattern: '*', a
	// comma-delimited list of usernames, or a single exact username. Required,
	// same as on CreateOnboardRuleRequest.
	UsernamePattern string `protobuf:"bytes,9,opt,name=username_pattern,json=usernamePattern,proto3" json:"username_pattern,omitempty"`
	// contains filtered or unexported fields
}

UpdateOnboardRuleRequest fully replaces the mutable fields of an onboard rule identified by id. idp/org are immutable — delete and recreate the rule to change them.

func (*UpdateOnboardRuleRequest) Descriptor deprecated added in v0.36.0

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

Deprecated: Use UpdateOnboardRuleRequest.ProtoReflect.Descriptor instead.

func (*UpdateOnboardRuleRequest) GetAction added in v0.36.0

func (x *UpdateOnboardRuleRequest) GetAction() string

func (*UpdateOnboardRuleRequest) GetEmail added in v0.40.0

func (x *UpdateOnboardRuleRequest) GetEmail() string

func (*UpdateOnboardRuleRequest) GetFullname added in v0.40.0

func (x *UpdateOnboardRuleRequest) GetFullname() string

func (*UpdateOnboardRuleRequest) GetId added in v0.36.0

func (x *UpdateOnboardRuleRequest) GetId() int32

func (*UpdateOnboardRuleRequest) GetNote added in v0.36.0

func (x *UpdateOnboardRuleRequest) GetNote() string

func (*UpdateOnboardRuleRequest) GetPriority added in v0.36.0

func (x *UpdateOnboardRuleRequest) GetPriority() int32

func (*UpdateOnboardRuleRequest) GetRoles added in v0.36.0

func (x *UpdateOnboardRuleRequest) GetRoles() []string

func (*UpdateOnboardRuleRequest) GetSudo added in v0.36.0

func (x *UpdateOnboardRuleRequest) GetSudo() bool

func (*UpdateOnboardRuleRequest) GetUsernamePattern added in v0.56.0

func (x *UpdateOnboardRuleRequest) GetUsernamePattern() string

func (*UpdateOnboardRuleRequest) ProtoMessage added in v0.36.0

func (*UpdateOnboardRuleRequest) ProtoMessage()

func (*UpdateOnboardRuleRequest) ProtoReflect added in v0.36.0

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

func (*UpdateOnboardRuleRequest) Reset added in v0.36.0

func (x *UpdateOnboardRuleRequest) Reset()

func (*UpdateOnboardRuleRequest) String added in v0.36.0

func (x *UpdateOnboardRuleRequest) String() string

type UpdateOrganizationEnvVarRequest added in v0.46.0

type UpdateOrganizationEnvVarRequest struct {
	Org      string                `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"`
	Key      string                `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Value    *wrappers.StringValue `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	IsSecret *wrappers.BoolValue   `protobuf:"bytes,4,opt,name=is_secret,json=isSecret,proto3" json:"is_secret,omitempty"`
	// contains filtered or unexported fields
}

UpdateOrganizationEnvVarRequest partially updates an organization environment variable identified by org and key. Only fields wrapped in a value type that are set (non-nil) are applied.

func (*UpdateOrganizationEnvVarRequest) Descriptor deprecated added in v0.46.0

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

Deprecated: Use UpdateOrganizationEnvVarRequest.ProtoReflect.Descriptor instead.

func (*UpdateOrganizationEnvVarRequest) GetIsSecret added in v0.46.0

func (*UpdateOrganizationEnvVarRequest) GetKey added in v0.46.0

func (*UpdateOrganizationEnvVarRequest) GetOrg added in v0.46.0

func (*UpdateOrganizationEnvVarRequest) GetValue added in v0.46.0

func (*UpdateOrganizationEnvVarRequest) ProtoMessage added in v0.46.0

func (*UpdateOrganizationEnvVarRequest) ProtoMessage()

func (*UpdateOrganizationEnvVarRequest) ProtoReflect added in v0.46.0

func (*UpdateOrganizationEnvVarRequest) Reset added in v0.46.0

func (*UpdateOrganizationEnvVarRequest) String added in v0.46.0

type UpdateOrganizationRequest added in v0.35.0

type UpdateOrganizationRequest struct {
	Name        string                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description *wrappers.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

UpdateOrganizationRequest partially updates an organization's description. Name is immutable and used only to identify the organization.

func (*UpdateOrganizationRequest) Descriptor deprecated added in v0.35.0

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

Deprecated: Use UpdateOrganizationRequest.ProtoReflect.Descriptor instead.

func (*UpdateOrganizationRequest) GetDescription added in v0.35.0

func (x *UpdateOrganizationRequest) GetDescription() *wrappers.StringValue

func (*UpdateOrganizationRequest) GetName added in v0.35.0

func (x *UpdateOrganizationRequest) GetName() string

func (*UpdateOrganizationRequest) ProtoMessage added in v0.35.0

func (*UpdateOrganizationRequest) ProtoMessage()

func (*UpdateOrganizationRequest) ProtoReflect added in v0.35.0

func (*UpdateOrganizationRequest) Reset added in v0.35.0

func (x *UpdateOrganizationRequest) Reset()

func (*UpdateOrganizationRequest) String added in v0.35.0

func (x *UpdateOrganizationRequest) String() string

type UpdateRoleRequest added in v0.35.0

type UpdateRoleRequest struct {
	Name        string                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Org         string                `protobuf:"bytes,2,opt,name=org,proto3" json:"org,omitempty"` // required
	Description *wrappers.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

UpdateRoleRequest partially updates a role's description. name and org together identify the role and are immutable. org is required — global roles cannot be updated through this RPC.

func (*UpdateRoleRequest) Descriptor deprecated added in v0.35.0

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

Deprecated: Use UpdateRoleRequest.ProtoReflect.Descriptor instead.

func (*UpdateRoleRequest) GetDescription added in v0.35.0

func (x *UpdateRoleRequest) GetDescription() *wrappers.StringValue

func (*UpdateRoleRequest) GetName added in v0.35.0

func (x *UpdateRoleRequest) GetName() string

func (*UpdateRoleRequest) GetOrg added in v0.35.0

func (x *UpdateRoleRequest) GetOrg() string

func (*UpdateRoleRequest) ProtoMessage added in v0.35.0

func (*UpdateRoleRequest) ProtoMessage()

func (*UpdateRoleRequest) ProtoReflect added in v0.35.0

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

func (*UpdateRoleRequest) Reset added in v0.35.0

func (x *UpdateRoleRequest) Reset()

func (*UpdateRoleRequest) String added in v0.35.0

func (x *UpdateRoleRequest) String() string

type UpdateUserCredentialRequest added in v0.32.0

type UpdateUserCredentialRequest struct {
	Id      uint32                `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Scope   *wrappers.StringValue `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	Subject *wrappers.StringValue `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	Secret  *wrappers.StringValue `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"`
	Active  *wrappers.BoolValue   `protobuf:"bytes,5,opt,name=active,proto3" json:"active,omitempty"`
	// contains filtered or unexported fields
}

UpdateUserCredentialRequest partially updates a credential identified by id. Only fields wrapped in a value type that are set (non-nil) are applied; unset fields leave the existing value intact.

func (*UpdateUserCredentialRequest) Descriptor deprecated added in v0.32.0

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

Deprecated: Use UpdateUserCredentialRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserCredentialRequest) GetActive added in v0.32.0

func (*UpdateUserCredentialRequest) GetId added in v0.32.0

func (*UpdateUserCredentialRequest) GetScope added in v0.32.0

func (*UpdateUserCredentialRequest) GetSecret added in v0.32.0

func (*UpdateUserCredentialRequest) GetSubject added in v0.32.0

func (*UpdateUserCredentialRequest) ProtoMessage added in v0.32.0

func (*UpdateUserCredentialRequest) ProtoMessage()

func (*UpdateUserCredentialRequest) ProtoReflect added in v0.32.0

func (*UpdateUserCredentialRequest) Reset added in v0.32.0

func (x *UpdateUserCredentialRequest) Reset()

func (*UpdateUserCredentialRequest) String added in v0.32.0

func (x *UpdateUserCredentialRequest) String() string

type UpdateUserCredentialResponse

type UpdateUserCredentialResponse struct {
	Credential *v1.UserCredential `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"`
	// contains filtered or unexported fields
}

UpdateUserCredentialResponse carries the updated credential.

func (*UpdateUserCredentialResponse) Descriptor deprecated

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

Deprecated: Use UpdateUserCredentialResponse.ProtoReflect.Descriptor instead.

func (*UpdateUserCredentialResponse) GetCredential

func (x *UpdateUserCredentialResponse) GetCredential() *v1.UserCredential

func (*UpdateUserCredentialResponse) ProtoMessage

func (*UpdateUserCredentialResponse) ProtoMessage()

func (*UpdateUserCredentialResponse) ProtoReflect

func (*UpdateUserCredentialResponse) Reset

func (x *UpdateUserCredentialResponse) Reset()

func (*UpdateUserCredentialResponse) String

type UpdateUserEnvVarRequest added in v0.46.0

type UpdateUserEnvVarRequest struct {
	Username string                `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Key      string                `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Value    *wrappers.StringValue `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	IsSecret *wrappers.BoolValue   `protobuf:"bytes,4,opt,name=is_secret,json=isSecret,proto3" json:"is_secret,omitempty"`
	// contains filtered or unexported fields
}

UpdateUserEnvVarRequest partially updates a user-owned environment variable identified by username and key. Only fields wrapped in a value type that are set (non-nil) are applied.

func (*UpdateUserEnvVarRequest) Descriptor deprecated added in v0.46.0

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

Deprecated: Use UpdateUserEnvVarRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserEnvVarRequest) GetIsSecret added in v0.46.0

func (x *UpdateUserEnvVarRequest) GetIsSecret() *wrappers.BoolValue

func (*UpdateUserEnvVarRequest) GetKey added in v0.46.0

func (x *UpdateUserEnvVarRequest) GetKey() string

func (*UpdateUserEnvVarRequest) GetUsername added in v0.46.0

func (x *UpdateUserEnvVarRequest) GetUsername() string

func (*UpdateUserEnvVarRequest) GetValue added in v0.46.0

func (*UpdateUserEnvVarRequest) ProtoMessage added in v0.46.0

func (*UpdateUserEnvVarRequest) ProtoMessage()

func (*UpdateUserEnvVarRequest) ProtoReflect added in v0.46.0

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

func (*UpdateUserEnvVarRequest) Reset added in v0.46.0

func (x *UpdateUserEnvVarRequest) Reset()

func (*UpdateUserEnvVarRequest) String added in v0.46.0

func (x *UpdateUserEnvVarRequest) String() string

type UpdateUserRequest added in v0.29.10

type UpdateUserRequest struct {
	Username   string                `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Fullname   *wrappers.StringValue `protobuf:"bytes,2,opt,name=fullname,proto3" json:"fullname,omitempty"`
	Roles      []string              `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"`
	Sudo       *wrappers.BoolValue   `protobuf:"bytes,4,opt,name=sudo,proto3" json:"sudo,omitempty"`
	Locked     *wrappers.BoolValue   `protobuf:"bytes,6,opt,name=locked,proto3" json:"locked,omitempty"`
	Org        *wrappers.StringValue `protobuf:"bytes,8,opt,name=org,proto3" json:"org,omitempty"`
	Email      *wrappers.StringValue `protobuf:"bytes,9,opt,name=email,proto3" json:"email,omitempty"`
	Uid        *wrappers.UInt32Value `protobuf:"bytes,10,opt,name=uid,proto3" json:"uid,omitempty"`
	Gid        *wrappers.UInt32Value `protobuf:"bytes,11,opt,name=gid,proto3" json:"gid,omitempty"`
	Shell      *wrappers.StringValue `protobuf:"bytes,12,opt,name=shell,proto3" json:"shell,omitempty"`
	ClearRoles bool                  `protobuf:"varint,13,opt,name=clear_roles,json=clearRoles,proto3" json:"clear_roles,omitempty"`
	// contains filtered or unexported fields
}

UpdateUserRequest carries a partial update for a user record. Only wrapper-typed fields that are set (non-nil) and repeated fields that are non-empty will be applied; unset fields leave the existing value intact. Because proto3 cannot distinguish an absent "roles" list from an explicitly empty one on the wire, clear_roles must be set to remove all of a user's roles; roles must be empty when clear_roles is set.

func (*UpdateUserRequest) Descriptor deprecated added in v0.29.10

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

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetClearRoles added in v0.36.0

func (x *UpdateUserRequest) GetClearRoles() bool

func (*UpdateUserRequest) GetEmail added in v0.30.0

func (x *UpdateUserRequest) GetEmail() *wrappers.StringValue

func (*UpdateUserRequest) GetFullname added in v0.29.10

func (x *UpdateUserRequest) GetFullname() *wrappers.StringValue

func (*UpdateUserRequest) GetGid added in v0.30.0

func (x *UpdateUserRequest) GetGid() *wrappers.UInt32Value

func (*UpdateUserRequest) GetLocked added in v0.29.10

func (x *UpdateUserRequest) GetLocked() *wrappers.BoolValue

func (*UpdateUserRequest) GetOrg added in v0.29.18

func (x *UpdateUserRequest) GetOrg() *wrappers.StringValue

func (*UpdateUserRequest) GetRoles added in v0.29.10

func (x *UpdateUserRequest) GetRoles() []string

func (*UpdateUserRequest) GetShell added in v0.30.3

func (x *UpdateUserRequest) GetShell() *wrappers.StringValue

func (*UpdateUserRequest) GetSudo added in v0.29.10

func (x *UpdateUserRequest) GetSudo() *wrappers.BoolValue

func (*UpdateUserRequest) GetUid added in v0.30.0

func (x *UpdateUserRequest) GetUid() *wrappers.UInt32Value

func (*UpdateUserRequest) GetUsername added in v0.29.10

func (x *UpdateUserRequest) GetUsername() string

func (*UpdateUserRequest) ProtoMessage added in v0.29.10

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) ProtoReflect added in v0.29.10

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

func (*UpdateUserRequest) Reset added in v0.29.10

func (x *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String added in v0.29.10

func (x *UpdateUserRequest) String() string

type UserAuthKey added in v0.32.0

type UserAuthKey struct {

	// key is the SSH public key material.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// source identifies how the key was registered (e.g. "manual", "github").
	Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

UserAuthKey represents a single SSH public key registered for a user.

func (*UserAuthKey) Descriptor deprecated added in v0.32.0

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

Deprecated: Use UserAuthKey.ProtoReflect.Descriptor instead.

func (*UserAuthKey) GetKey added in v0.32.0

func (x *UserAuthKey) GetKey() string

func (*UserAuthKey) GetSource added in v0.32.0

func (x *UserAuthKey) GetSource() string

func (*UserAuthKey) ProtoMessage added in v0.32.0

func (*UserAuthKey) ProtoMessage()

func (*UserAuthKey) ProtoReflect added in v0.32.0

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

func (*UserAuthKey) Reset added in v0.32.0

func (x *UserAuthKey) Reset()

func (*UserAuthKey) String added in v0.32.0

func (x *UserAuthKey) String() string

type UserAuthKeysRequest added in v0.29.10

type UserAuthKeysRequest struct {
	Username string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	AuthKeys []string `protobuf:"bytes,2,rep,name=auth_keys,json=authKeys,proto3" json:"auth_keys,omitempty"`
	// contains filtered or unexported fields
}

UserAuthKeysRequest carries a username and one or more SSH public keys to register.

func (*UserAuthKeysRequest) Descriptor deprecated added in v0.29.10

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

Deprecated: Use UserAuthKeysRequest.ProtoReflect.Descriptor instead.

func (*UserAuthKeysRequest) GetAuthKeys added in v0.29.10

func (x *UserAuthKeysRequest) GetAuthKeys() []string

func (*UserAuthKeysRequest) GetUsername added in v0.29.10

func (x *UserAuthKeysRequest) GetUsername() string

func (*UserAuthKeysRequest) ProtoMessage added in v0.29.10

func (*UserAuthKeysRequest) ProtoMessage()

func (*UserAuthKeysRequest) ProtoReflect added in v0.29.10

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

func (*UserAuthKeysRequest) Reset added in v0.29.10

func (x *UserAuthKeysRequest) Reset()

func (*UserAuthKeysRequest) String added in v0.29.10

func (x *UserAuthKeysRequest) String() string

type UserList

type UserList struct {
	Users []*v1.User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

UserList holds a paginated list of users.

func (*UserList) Descriptor deprecated

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

Deprecated: Use UserList.ProtoReflect.Descriptor instead.

func (*UserList) GetUsers

func (x *UserList) GetUsers() []*v1.User

func (*UserList) ProtoMessage

func (*UserList) ProtoMessage()

func (*UserList) ProtoReflect

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

func (*UserList) Reset

func (x *UserList) Reset()

func (*UserList) String

func (x *UserList) String() string

type UserRolesRequest added in v0.29.10

type UserRolesRequest struct {
	Username string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Roles    []string `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

UserRolesRequest carries a username and one or more roles to add or remove.

func (*UserRolesRequest) Descriptor deprecated added in v0.29.10

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

Deprecated: Use UserRolesRequest.ProtoReflect.Descriptor instead.

func (*UserRolesRequest) GetRoles added in v0.29.10

func (x *UserRolesRequest) GetRoles() []string

func (*UserRolesRequest) GetUsername added in v0.29.10

func (x *UserRolesRequest) GetUsername() string

func (*UserRolesRequest) ProtoMessage added in v0.29.10

func (*UserRolesRequest) ProtoMessage()

func (*UserRolesRequest) ProtoReflect added in v0.29.10

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

func (*UserRolesRequest) Reset added in v0.29.10

func (x *UserRolesRequest) Reset()

func (*UserRolesRequest) String added in v0.29.10

func (x *UserRolesRequest) String() string

type UserStr

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

UserStr carries a raw user string, which may encode username, organization, or other attributes.

func (*UserStr) Descriptor deprecated

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

Deprecated: Use UserStr.ProtoReflect.Descriptor instead.

func (*UserStr) GetUserstr

func (x *UserStr) GetUserstr() string

func (*UserStr) ProtoMessage

func (*UserStr) ProtoMessage()

func (*UserStr) ProtoReflect

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

func (*UserStr) Reset

func (x *UserStr) Reset()

func (*UserStr) String

func (x *UserStr) String() string

type UserToken

type UserToken struct {
	Token       string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// contains filtered or unexported fields
}

UserToken holds a provider-issued authentication token for a user.

func (*UserToken) Descriptor deprecated

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

Deprecated: Use UserToken.ProtoReflect.Descriptor instead.

func (*UserToken) GetServiceName

func (x *UserToken) GetServiceName() string

func (*UserToken) GetToken

func (x *UserToken) GetToken() string

func (*UserToken) ProtoMessage

func (*UserToken) ProtoMessage()

func (*UserToken) ProtoReflect

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

func (*UserToken) Reset

func (x *UserToken) Reset()

func (*UserToken) String

func (x *UserToken) String() string

type Username

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

Username carries a single username identifier.

func (*Username) Descriptor deprecated

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

Deprecated: Use Username.ProtoReflect.Descriptor instead.

func (*Username) GetUsername

func (x *Username) GetUsername() string

func (*Username) ProtoMessage

func (*Username) ProtoMessage()

func (*Username) ProtoReflect

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

func (*Username) Reset

func (x *Username) Reset()

func (*Username) String

func (x *Username) String() string

Jump to

Keyboard shortcuts

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