identityv1

package
v0.32.2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IdentityService_FindUser_FullMethodName                      = "/identity.v1.IdentityService/FindUser"
	IdentityService_GetUsers_FullMethodName                      = "/identity.v1.IdentityService/GetUsers"
	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_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_AddUserBlueprints_FullMethodName             = "/identity.v1.IdentityService/AddUserBlueprints"
	IdentityService_RemoveUserBlueprints_FullMethodName          = "/identity.v1.IdentityService/RemoveUserBlueprints"
	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_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_CreateAccessToken_FullMethodName             = "/identity.v1.IdentityService/CreateAccessToken"
	IdentityService_ListAccessTokens_FullMethodName              = "/identity.v1.IdentityService/ListAccessTokens"
	IdentityService_RevokeAccessToken_FullMethodName             = "/identity.v1.IdentityService/RevokeAccessToken"
	IdentityService_ResolveAccessToken_FullMethodName            = "/identity.v1.IdentityService/ResolveAccessToken"
)
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"
)

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,
		},
	},
	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: "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: "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: "AddUserBlueprints",
			Handler:    _IdentityService_AddUserBlueprints_Handler,
		},
		{
			MethodName: "RemoveUserBlueprints",
			Handler:    _IdentityService_RemoveUserBlueprints_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: "UpdateUserCredential",
			Handler:    _IdentityService_UpdateUserCredential_Handler,
		},
		{
			MethodName: "DeleteUserCredential",
			Handler:    _IdentityService_DeleteUserCredential_Handler,
		},
		{
			MethodName: "RemoveUserCredential",
			Handler:    _IdentityService_RemoveUserCredential_Handler,
		},
		{
			MethodName: "GetAvailableIdentityProviders",
			Handler:    _IdentityService_GetAvailableIdentityProviders_Handler,
		},
		{
			MethodName: "CreateAccessToken",
			Handler:    _IdentityService_CreateAccessToken_Handler,
		},
		{
			MethodName: "ListAccessTokens",
			Handler:    _IdentityService_ListAccessTokens_Handler,
		},
		{
			MethodName: "RevokeAccessToken",
			Handler:    _IdentityService_RevokeAccessToken_Handler,
		},
		{
			MethodName: "ResolveAccessToken",
			Handler:    _IdentityService_ResolveAccessToken_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  *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	CreatedAt  *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	LastUsedAt *timestamppb.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"`
	// 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() *timestamppb.Timestamp

func (*AccessTokenInfo) GetExpiresAt

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

func (*AccessTokenInfo) GetId

func (x *AccessTokenInfo) GetId() int64

func (*AccessTokenInfo) GetIsActive

func (x *AccessTokenInfo) GetIsActive() bool

func (*AccessTokenInfo) GetLastUsedAt

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

func (*AccessTokenInfo) GetName

func (x *AccessTokenInfo) GetName() string

func (*AccessTokenInfo) GetScopes

func (x *AccessTokenInfo) GetScopes() []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 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 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 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"`
	// 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) 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 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"`
	// 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.

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) 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 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 *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // omit for non-expiring tokens
	// 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) GetExpiresAt

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

func (*CreateAccessTokenRequest) GetName

func (x *CreateAccessTokenRequest) GetName() string

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 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"`
	Blueprints   []string `protobuf:"bytes,7,rep,name=blueprints,proto3" json:"blueprints,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) GetBlueprints added in v0.32.0

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

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 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 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 FindUserRequest

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

FindUserRequest looks up a user by username or access token.

func (*FindUserRequest) Descriptor deprecated

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

Deprecated: Use FindUserRequest.ProtoReflect.Descriptor instead.

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 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 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 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"`
	// 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) 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. It can be used for authentication and user lookup.
	FindUser(ctx context.Context, in *FindUserRequest, opts ...grpc.CallOption) (*v1.User, 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.
	CompleteUserWebFlow(ctx context.Context, in *CompleteUserWebFlowRequest, opts ...grpc.CallOption) (*v1.User, 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)
}

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. It can be used for authentication and user lookup.
	FindUser(context.Context, *FindUserRequest) (*v1.User, 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.
	CompleteUserWebFlow(context.Context, *CompleteUserWebFlowRequest) (*v1.User, 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)
	// 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. 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)
	// 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)
	// 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)
	// AddUserBlueprints grants a user access to one or more blueprints.
	AddUserBlueprints(ctx context.Context, in *UserBlueprintsRequest, opts ...grpc.CallOption) (*v1.User, error)
	// RemoveUserBlueprints revokes access to one or more blueprints from a user.
	RemoveUserBlueprints(ctx context.Context, in *UserBlueprintsRequest, opts ...grpc.CallOption) (*v1.User, 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)
	// 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)
	// 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)
	// 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)
	// 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)
}

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. 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)
	// 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)
	// 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)
	// AddUserBlueprints grants a user access to one or more blueprints.
	AddUserBlueprints(context.Context, *UserBlueprintsRequest) (*v1.User, error)
	// RemoveUserBlueprints revokes access to one or more blueprints from a user.
	RemoveUserBlueprints(context.Context, *UserBlueprintsRequest) (*v1.User, 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)
	// 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)
	// 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)
	// 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)
	// 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)
	// 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 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 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 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 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 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 ResolveAccessTokenRequest

type ResolveAccessTokenRequest struct {
	Token  string               `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Expiry *durationpb.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 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) 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) AddRegistryUserCredential added in v0.32.0

func (UnimplementedIdentityServiceServer) AddUserAuthKeys added in v0.29.10

func (UnimplementedIdentityServiceServer) AddUserBlueprints added in v0.29.10

func (UnimplementedIdentityServiceServer) AddUserRoles added in v0.29.10

func (UnimplementedIdentityServiceServer) AuthUserPassword added in v0.31.0

func (UnimplementedIdentityServiceServer) AuthUserPublicKey

func (UnimplementedIdentityServiceServer) CompleteUserWebFlow

func (UnimplementedIdentityServiceServer) CreateAccessToken

func (UnimplementedIdentityServiceServer) CreateUser added in v0.32.0

func (UnimplementedIdentityServiceServer) DeleteUser added in v0.32.0

func (UnimplementedIdentityServiceServer) FindUser

func (UnimplementedIdentityServiceServer) GetBlueprintByUserStr

func (UnimplementedIdentityServiceServer) GetUserCredential

func (UnimplementedIdentityServiceServer) GetUserOnboardCapability

func (UnimplementedIdentityServiceServer) GetUsers

func (UnimplementedIdentityServiceServer) IssueUserToken

func (UnimplementedIdentityServiceServer) ListAccessTokens

func (UnimplementedIdentityServiceServer) ListUserAuthKeys added in v0.32.0

func (UnimplementedIdentityServiceServer) ListUserCredentials

func (UnimplementedIdentityServiceServer) OnboardUserDeviceFlow

func (UnimplementedIdentityServiceServer) OnboardUserWebFlow

func (UnimplementedIdentityServiceServer) RemoveUserAuthKey added in v0.32.0

func (UnimplementedIdentityServiceServer) RemoveUserBlueprints added in v0.29.10

func (UnimplementedIdentityServiceServer) RemoveUserCredential added in v0.32.0

func (UnimplementedIdentityServiceServer) RemoveUserRoles added in v0.29.10

func (UnimplementedIdentityServiceServer) ResolveAccessToken

func (UnimplementedIdentityServiceServer) RevokeAccessToken

func (UnimplementedIdentityServiceServer) SetUserPassword added in v0.31.0

func (UnimplementedIdentityServiceServer) UpdateUser added in v0.29.10

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 UpdateUserCredentialRequest added in v0.32.0

type UpdateUserCredentialRequest struct {
	Id      uint32                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Scope   *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	Subject *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	Secret  *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"`
	Active  *wrapperspb.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 UpdateUserRequest added in v0.29.10

type UpdateUserRequest struct {
	Username   string                  `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Fullname   *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=fullname,proto3" json:"fullname,omitempty"`
	Roles      []string                `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"`
	Sudo       *wrapperspb.BoolValue   `protobuf:"bytes,4,opt,name=sudo,proto3" json:"sudo,omitempty"`
	Blueprints []string                `protobuf:"bytes,5,rep,name=blueprints,proto3" json:"blueprints,omitempty"`
	Locked     *wrapperspb.BoolValue   `protobuf:"bytes,6,opt,name=locked,proto3" json:"locked,omitempty"`
	Org        *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=org,proto3" json:"org,omitempty"`
	Email      *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=email,proto3" json:"email,omitempty"`
	Uid        *wrapperspb.UInt32Value `protobuf:"bytes,10,opt,name=uid,proto3" json:"uid,omitempty"`
	Gid        *wrapperspb.UInt32Value `protobuf:"bytes,11,opt,name=gid,proto3" json:"gid,omitempty"`
	Shell      *wrapperspb.StringValue `protobuf:"bytes,12,opt,name=shell,proto3" json:"shell,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.

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

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

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetBlueprints added in v0.29.10

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

func (*UpdateUserRequest) GetEmail added in v0.30.0

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

func (*UpdateUserRequest) GetFullname added in v0.29.10

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

func (*UpdateUserRequest) GetGid added in v0.30.0

func (*UpdateUserRequest) GetLocked added in v0.29.10

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

func (*UpdateUserRequest) GetOrg added in v0.29.18

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() *wrapperspb.StringValue

func (*UpdateUserRequest) GetSudo added in v0.29.10

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

func (*UpdateUserRequest) GetUid added in v0.30.0

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 UserBlueprintsRequest added in v0.29.10

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

UserBlueprintsRequest carries a username and one or more blueprints to grant or revoke.

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

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

Deprecated: Use UserBlueprintsRequest.ProtoReflect.Descriptor instead.

func (*UserBlueprintsRequest) GetBlueprints added in v0.29.10

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

func (*UserBlueprintsRequest) GetUsername added in v0.29.10

func (x *UserBlueprintsRequest) GetUsername() string

func (*UserBlueprintsRequest) ProtoMessage added in v0.29.10

func (*UserBlueprintsRequest) ProtoMessage()

func (*UserBlueprintsRequest) ProtoReflect added in v0.29.10

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

func (*UserBlueprintsRequest) Reset added in v0.29.10

func (x *UserBlueprintsRequest) Reset()

func (*UserBlueprintsRequest) String added in v0.29.10

func (x *UserBlueprintsRequest) 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