Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterCredentialBindingServer(s grpc.ServiceRegistrar, srv CredentialBindingServer)
- func RegisterCredentialHostServer(s grpc.ServiceRegistrar, srv CredentialHostServer)
- func RegisterCredentialPluginServer(s grpc.ServiceRegistrar, srv CredentialPluginServer)
- type ApprovalPending
- type BindRequest
- func (*BindRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BindRequest) GetBrokerId() uint32
- func (x *BindRequest) GetChannelAuthenticated() bool
- func (x *BindRequest) GetVersion() uint32
- func (*BindRequest) ProtoMessage()
- func (x *BindRequest) ProtoReflect() protoreflect.Message
- func (x *BindRequest) Reset()
- func (x *BindRequest) String() string
- type Candidate
- type Candidates
- func (*Candidates) Descriptor() ([]byte, []int)deprecated
- func (x *Candidates) GetCandidates() []*Candidate
- func (x *Candidates) GetVersion() uint32
- func (*Candidates) ProtoMessage()
- func (x *Candidates) ProtoReflect() protoreflect.Message
- func (x *Candidates) Reset()
- func (x *Candidates) String() string
- type Claim
- type ConnectionDraft
- func (*ConnectionDraft) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectionDraft) GetEndpoint() string
- func (x *ConnectionDraft) GetLabel() string
- func (x *ConnectionDraft) GetPlugin() string
- func (x *ConnectionDraft) GetSlotDraftKeys() map[string]string
- func (*ConnectionDraft) ProtoMessage()
- func (x *ConnectionDraft) ProtoReflect() protoreflect.Message
- func (x *ConnectionDraft) Reset()
- func (x *ConnectionDraft) String() string
- type CredentialBindingClient
- type CredentialBindingServer
- type CredentialDraft
- func (*CredentialDraft) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialDraft) GetLocalKey() string
- func (x *CredentialDraft) GetMaterial() *Material
- func (x *CredentialDraft) GetMetadata() *Metadata
- func (*CredentialDraft) ProtoMessage()
- func (x *CredentialDraft) ProtoReflect() protoreflect.Message
- func (x *CredentialDraft) Reset()
- func (x *CredentialDraft) String() string
- type CredentialFailure
- func (*CredentialFailure) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialFailure) GetCode() string
- func (x *CredentialFailure) GetSlot() string
- func (x *CredentialFailure) GetSuggestedIssuer() *IssuerRef
- func (*CredentialFailure) ProtoMessage()
- func (x *CredentialFailure) ProtoReflect() protoreflect.Message
- func (x *CredentialFailure) Reset()
- func (x *CredentialFailure) String() string
- type CredentialHostClient
- type CredentialHostServer
- type CredentialHost_WatchClient
- type CredentialHost_WatchServer
- type CredentialPluginClient
- type CredentialPluginServer
- type Description
- func (*Description) Descriptor() ([]byte, []int)deprecated
- func (x *Description) GetMetadata() *Metadata
- func (x *Description) GetVersion() uint32
- func (*Description) ProtoMessage()
- func (x *Description) ProtoReflect() protoreflect.Message
- func (x *Description) Reset()
- func (x *Description) String() string
- type DeviceCode
- func (*DeviceCode) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceCode) GetUserCode() string
- func (x *DeviceCode) GetVerificationUri() string
- func (*DeviceCode) ProtoMessage()
- func (x *DeviceCode) ProtoReflect() protoreflect.Message
- func (x *DeviceCode) Reset()
- func (x *DeviceCode) String() string
- type DiscoveryRequest
- func (*DiscoveryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoveryRequest) GetIssuerId() string
- func (x *DiscoveryRequest) GetVersion() uint32
- func (*DiscoveryRequest) ProtoMessage()
- func (x *DiscoveryRequest) ProtoReflect() protoreflect.Message
- func (x *DiscoveryRequest) Reset()
- func (x *DiscoveryRequest) String() string
- type Envelope
- func (*Envelope) Descriptor() ([]byte, []int)deprecated
- func (x *Envelope) GetDeliveryMode() string
- func (x *Envelope) GetExpiry() *Expiry
- func (x *Envelope) GetGrantId() string
- func (x *Envelope) GetHolderBinding() *HolderBinding
- func (x *Envelope) GetIssuer() *IssuerRef
- func (x *Envelope) GetLeaseHandle() []byte
- func (x *Envelope) GetMaxTtl() *durationpb.Duration
- func (x *Envelope) GetParentLeases() [][]byte
- func (x *Envelope) GetPrincipalChain() []*Principal
- func (x *Envelope) GetRenewAfter() *timestamppb.Timestamp
- func (x *Envelope) GetRenewable() bool
- func (x *Envelope) GetRevision() uint64
- func (x *Envelope) GetRevocationClass() string
- func (x *Envelope) GetScope() []string
- func (x *Envelope) GetTenant() string
- func (x *Envelope) GetTypeId() string
- func (*Envelope) ProtoMessage()
- func (x *Envelope) ProtoReflect() protoreflect.Message
- func (x *Envelope) Reset()
- func (x *Envelope) String() string
- type Expiry
- func (*Expiry) Descriptor() ([]byte, []int)deprecated
- func (x *Expiry) GetExpiresAt() *timestamppb.Timestamp
- func (x *Expiry) GetKind() isExpiry_Kind
- func (x *Expiry) GetStaticExpiry() *emptypb.Empty
- func (x *Expiry) GetUnknownUntilRejected() *emptypb.Empty
- func (*Expiry) ProtoMessage()
- func (x *Expiry) ProtoReflect() protoreflect.Message
- func (x *Expiry) Reset()
- func (x *Expiry) String() string
- type Expiry_ExpiresAt
- type Expiry_StaticExpiry
- type Expiry_UnknownUntilRejected
- type Features
- type Field
- func (*Field) Descriptor() ([]byte, []int)deprecated
- func (x *Field) GetFormat() string
- func (x *Field) GetMultiline() bool
- func (x *Field) GetName() string
- func (x *Field) GetRequired() bool
- func (x *Field) GetSecret() bool
- func (*Field) ProtoMessage()
- func (x *Field) ProtoReflect() protoreflect.Message
- func (x *Field) Reset()
- func (x *Field) String() string
- type Form
- type HolderBinding
- func (*HolderBinding) Descriptor() ([]byte, []int)deprecated
- func (x *HolderBinding) GetMethod() string
- func (x *HolderBinding) GetPublicKeyThumbprint() []byte
- func (*HolderBinding) ProtoMessage()
- func (x *HolderBinding) ProtoReflect() protoreflect.Message
- func (x *HolderBinding) Reset()
- func (x *HolderBinding) String() string
- type ImportDrafts
- func (*ImportDrafts) Descriptor() ([]byte, []int)deprecated
- func (x *ImportDrafts) GetConnections() []*ConnectionDraft
- func (x *ImportDrafts) GetCredentials() []*CredentialDraft
- func (x *ImportDrafts) GetVersion() uint32
- func (*ImportDrafts) ProtoMessage()
- func (x *ImportDrafts) ProtoReflect() protoreflect.Message
- func (x *ImportDrafts) Reset()
- func (x *ImportDrafts) String() string
- type ImportRequest
- func (*ImportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportRequest) GetDocument() []byte
- func (x *ImportRequest) GetTypeId() string
- func (x *ImportRequest) GetVersion() uint32
- func (*ImportRequest) ProtoMessage()
- func (x *ImportRequest) ProtoReflect() protoreflect.Message
- func (x *ImportRequest) Reset()
- func (x *ImportRequest) String() string
- type Inventory
- func (*Inventory) Descriptor() ([]byte, []int)deprecated
- func (x *Inventory) GetIssuers() []*Issuer
- func (x *Inventory) GetSlots() []*Slot
- func (x *Inventory) GetTypes() []*Type
- func (x *Inventory) GetVersion() uint32
- func (*Inventory) ProtoMessage()
- func (x *Inventory) ProtoReflect() protoreflect.Message
- func (x *Inventory) Reset()
- func (x *Inventory) String() string
- type IssueRequest
- func (*IssueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IssueRequest) GetCandidateKey() string
- func (x *IssueRequest) GetInputs() []*Source
- func (x *IssueRequest) GetIssuerId() string
- func (x *IssueRequest) GetMaxTtl() *durationpb.Duration
- func (x *IssueRequest) GetOperationId() string
- func (x *IssueRequest) GetPendingHandle() []byte
- func (x *IssueRequest) GetProtectedPromptAnswer() []byte
- func (x *IssueRequest) GetSilent() bool
- func (x *IssueRequest) GetTarget() []*Claim
- func (x *IssueRequest) GetVersion() uint32
- func (*IssueRequest) ProtoMessage()
- func (x *IssueRequest) ProtoReflect() protoreflect.Message
- func (x *IssueRequest) Reset()
- func (x *IssueRequest) String() string
- type IssueResult
- func (*IssueResult) Descriptor() ([]byte, []int)deprecated
- func (x *IssueResult) GetIssued() *Issued
- func (x *IssueResult) GetOutcome() isIssueResult_Outcome
- func (x *IssueResult) GetPending() *Pending
- func (x *IssueResult) GetVersion() uint32
- func (*IssueResult) ProtoMessage()
- func (x *IssueResult) ProtoReflect() protoreflect.Message
- func (x *IssueResult) Reset()
- func (x *IssueResult) String() string
- type IssueResult_Issued
- type IssueResult_Pending
- type Issued
- func (*Issued) Descriptor() ([]byte, []int)deprecated
- func (x *Issued) GetExpiry() *Expiry
- func (x *Issued) GetIssuerPrivateState() []byte
- func (x *Issued) GetMaterial() *Material
- func (x *Issued) GetMaxTtl() *durationpb.Duration
- func (x *Issued) GetRenewAfter() *timestamppb.Timestamp
- func (x *Issued) GetRenewable() bool
- func (*Issued) ProtoMessage()
- func (x *Issued) ProtoReflect() protoreflect.Message
- func (x *Issued) Reset()
- func (x *Issued) String() string
- type Issuer
- func (*Issuer) Descriptor() ([]byte, []int)deprecated
- func (x *Issuer) GetId() string
- func (x *Issuer) GetInteractionKinds() []string
- func (x *Issuer) GetObserves() bool
- func (x *Issuer) GetProduces() string
- func (x *Issuer) GetRenews() bool
- func (x *Issuer) GetRequires() []*Slot
- func (x *Issuer) GetRevocationClass() string
- func (x *Issuer) GetRevokes() bool
- func (*Issuer) ProtoMessage()
- func (x *Issuer) ProtoReflect() protoreflect.Message
- func (x *Issuer) Reset()
- func (x *Issuer) String() string
- type IssuerRef
- type LeaseOperation
- func (*LeaseOperation) Descriptor() ([]byte, []int)deprecated
- func (x *LeaseOperation) GetInputs() []*Source
- func (x *LeaseOperation) GetIssuerId() string
- func (x *LeaseOperation) GetIssuerPrivateState() []byte
- func (x *LeaseOperation) GetLeaseHandle() []byte
- func (x *LeaseOperation) GetMaxTtl() *durationpb.Duration
- func (x *LeaseOperation) GetOperationId() string
- func (x *LeaseOperation) GetPendingHandle() []byte
- func (x *LeaseOperation) GetProtectedPromptAnswer() []byte
- func (x *LeaseOperation) GetRevision() uint64
- func (x *LeaseOperation) GetSilent() bool
- func (x *LeaseOperation) GetVersion() uint32
- func (*LeaseOperation) ProtoMessage()
- func (x *LeaseOperation) ProtoReflect() protoreflect.Message
- func (x *LeaseOperation) Reset()
- func (x *LeaseOperation) String() string
- type LeaseReply
- func (*LeaseReply) Descriptor() ([]byte, []int)deprecated
- func (x *LeaseReply) GetEnvelope() *Envelope
- func (x *LeaseReply) GetMaterial() *Material
- func (x *LeaseReply) GetVersion() uint32
- func (*LeaseReply) ProtoMessage()
- func (x *LeaseReply) ProtoReflect() protoreflect.Message
- func (x *LeaseReply) Reset()
- func (x *LeaseReply) String() string
- type Material
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetIdentityLabel() string
- func (x *Metadata) GetPrivilegeTier() *PrivilegeTier
- func (x *Metadata) GetProvenance() string
- func (x *Metadata) GetTargetClaims() []*Claim
- func (x *Metadata) GetTypeId() string
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- type Observation
- func (*Observation) Descriptor() ([]byte, []int)deprecated
- func (x *Observation) GetObservedAt() *timestamppb.Timestamp
- func (x *Observation) GetOutcome() string
- func (x *Observation) GetVersion() uint32
- func (*Observation) ProtoMessage()
- func (x *Observation) ProtoReflect() protoreflect.Message
- func (x *Observation) Reset()
- func (x *Observation) String() string
- type OpenURL
- type Pending
- type Principal
- type PrivilegeTier
- func (*PrivilegeTier) Descriptor() ([]byte, []int)deprecated
- func (x *PrivilegeTier) GetOrdinal() uint32
- func (x *PrivilegeTier) GetScale() string
- func (*PrivilegeTier) ProtoMessage()
- func (x *PrivilegeTier) ProtoReflect() protoreflect.Message
- func (x *PrivilegeTier) Reset()
- func (x *PrivilegeTier) String() string
- type PromptReply
- func (*PromptReply) Descriptor() ([]byte, []int)deprecated
- func (x *PromptReply) GetDisposition() string
- func (x *PromptReply) GetVersion() uint32
- func (*PromptReply) ProtoMessage()
- func (x *PromptReply) ProtoReflect() protoreflect.Message
- func (x *PromptReply) Reset()
- func (x *PromptReply) String() string
- type PromptRequest
- func (*PromptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PromptRequest) GetApprovalPending() *ApprovalPending
- func (x *PromptRequest) GetDeviceCode() *DeviceCode
- func (x *PromptRequest) GetFormMfa() *Form
- func (x *PromptRequest) GetKind() isPromptRequest_Kind
- func (x *PromptRequest) GetOpenUrl() *OpenURL
- func (x *PromptRequest) GetOperationId() string
- func (x *PromptRequest) GetVersion() uint32
- func (*PromptRequest) ProtoMessage()
- func (x *PromptRequest) ProtoReflect() protoreflect.Message
- func (x *PromptRequest) Reset()
- func (x *PromptRequest) String() string
- type PromptRequest_ApprovalPending
- type PromptRequest_DeviceCode
- type PromptRequest_FormMfa
- type PromptRequest_OpenUrl
- type Rejection
- func (*Rejection) Descriptor() ([]byte, []int)deprecated
- func (x *Rejection) GetLeaseHandle() []byte
- func (x *Rejection) GetReason() string
- func (x *Rejection) GetRevision() uint64
- func (x *Rejection) GetSourceRef() []byte
- func (x *Rejection) GetVersion() uint32
- func (*Rejection) ProtoMessage()
- func (x *Rejection) ProtoReflect() protoreflect.Message
- func (x *Rejection) Reset()
- func (x *Rejection) String() string
- type Replacement
- func (*Replacement) Descriptor() ([]byte, []int)deprecated
- func (x *Replacement) GetRevision() uint64
- func (x *Replacement) GetStatus() string
- func (x *Replacement) GetVersion() uint32
- func (*Replacement) ProtoMessage()
- func (x *Replacement) ProtoReflect() protoreflect.Message
- func (x *Replacement) Reset()
- func (x *Replacement) String() string
- type Slot
- type Source
- type SourceRequest
- func (*SourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SourceRequest) GetSourceRef() []byte
- func (x *SourceRequest) GetVersion() uint32
- func (*SourceRequest) ProtoMessage()
- func (x *SourceRequest) ProtoReflect() protoreflect.Message
- func (x *SourceRequest) Reset()
- func (x *SourceRequest) String() string
- type SourceSet
- func (*SourceSet) Descriptor() ([]byte, []int)deprecated
- func (x *SourceSet) GetBindingRevision() uint64
- func (x *SourceSet) GetConnectionId() string
- func (x *SourceSet) GetSlots() []*Source
- func (x *SourceSet) GetVersion() uint32
- func (*SourceSet) ProtoMessage()
- func (x *SourceSet) ProtoReflect() protoreflect.Message
- func (x *SourceSet) Reset()
- func (x *SourceSet) String() string
- type Type
- func (*Type) Descriptor() ([]byte, []int)deprecated
- func (x *Type) GetDescribes() bool
- func (x *Type) GetExtends() string
- func (x *Type) GetFields() []*Field
- func (x *Type) GetId() string
- func (x *Type) GetImports() bool
- func (*Type) ProtoMessage()
- func (x *Type) ProtoReflect() protoreflect.Message
- func (x *Type) Reset()
- func (x *Type) String() string
- type TypedMaterial
- func (*TypedMaterial) Descriptor() ([]byte, []int)deprecated
- func (x *TypedMaterial) GetMaterial() *Material
- func (x *TypedMaterial) GetTypeId() string
- func (x *TypedMaterial) GetVersion() uint32
- func (*TypedMaterial) ProtoMessage()
- func (x *TypedMaterial) ProtoReflect() protoreflect.Message
- func (x *TypedMaterial) Reset()
- func (x *TypedMaterial) String() string
- type UnimplementedCredentialBindingServer
- type UnimplementedCredentialHostServer
- func (UnimplementedCredentialHostServer) Get(context.Context, *SourceRequest) (*LeaseReply, error)
- func (UnimplementedCredentialHostServer) Invalidate(context.Context, *Rejection) (*Version, error)
- func (UnimplementedCredentialHostServer) Prompt(context.Context, *PromptRequest) (*PromptReply, error)
- func (UnimplementedCredentialHostServer) Watch(*SourceRequest, CredentialHost_WatchServer) error
- type UnimplementedCredentialPluginServer
- func (UnimplementedCredentialPluginServer) AttachSources(context.Context, *SourceSet) (*Version, error)
- func (UnimplementedCredentialPluginServer) Declarations(context.Context, *Version) (*Inventory, error)
- func (UnimplementedCredentialPluginServer) Describe(context.Context, *TypedMaterial) (*Description, error)
- func (UnimplementedCredentialPluginServer) Discover(context.Context, *DiscoveryRequest) (*Candidates, error)
- func (UnimplementedCredentialPluginServer) Import(context.Context, *ImportRequest) (*ImportDrafts, error)
- func (UnimplementedCredentialPluginServer) Issue(context.Context, *IssueRequest) (*IssueResult, error)
- func (UnimplementedCredentialPluginServer) Negotiate(context.Context, *Features) (*Features, error)
- func (UnimplementedCredentialPluginServer) Observe(context.Context, *LeaseOperation) (*Observation, error)
- func (UnimplementedCredentialPluginServer) Renew(context.Context, *LeaseOperation) (*IssueResult, error)
- func (UnimplementedCredentialPluginServer) Revoke(context.Context, *LeaseOperation) (*Observation, error)
- func (UnimplementedCredentialPluginServer) Validate(context.Context, *TypedMaterial) (*Version, error)
- type UnsafeCredentialBindingServer
- type UnsafeCredentialHostServer
- type UnsafeCredentialPluginServer
- type Version
Constants ¶
const ( CredentialPlugin_Negotiate_FullMethodName = "/omniview.sdk.credential.v1.CredentialPlugin/Negotiate" CredentialPlugin_Declarations_FullMethodName = "/omniview.sdk.credential.v1.CredentialPlugin/Declarations" CredentialPlugin_AttachSources_FullMethodName = "/omniview.sdk.credential.v1.CredentialPlugin/AttachSources" CredentialPlugin_Validate_FullMethodName = "/omniview.sdk.credential.v1.CredentialPlugin/Validate" CredentialPlugin_Describe_FullMethodName = "/omniview.sdk.credential.v1.CredentialPlugin/Describe" CredentialPlugin_Import_FullMethodName = "/omniview.sdk.credential.v1.CredentialPlugin/Import" CredentialPlugin_Discover_FullMethodName = "/omniview.sdk.credential.v1.CredentialPlugin/Discover" CredentialPlugin_Issue_FullMethodName = "/omniview.sdk.credential.v1.CredentialPlugin/Issue" CredentialPlugin_Renew_FullMethodName = "/omniview.sdk.credential.v1.CredentialPlugin/Renew" CredentialPlugin_Revoke_FullMethodName = "/omniview.sdk.credential.v1.CredentialPlugin/Revoke" CredentialPlugin_Observe_FullMethodName = "/omniview.sdk.credential.v1.CredentialPlugin/Observe" )
const ( CredentialHost_Get_FullMethodName = "/omniview.sdk.credential.v1.CredentialHost/Get" CredentialHost_Invalidate_FullMethodName = "/omniview.sdk.credential.v1.CredentialHost/Invalidate" CredentialHost_Watch_FullMethodName = "/omniview.sdk.credential.v1.CredentialHost/Watch" CredentialHost_Prompt_FullMethodName = "/omniview.sdk.credential.v1.CredentialHost/Prompt" )
const (
CredentialBinding_Bind_FullMethodName = "/omniview.sdk.credential.v1.CredentialBinding/Bind"
)
Variables ¶
var CredentialBinding_ServiceDesc = grpc.ServiceDesc{ ServiceName: "omniview.sdk.credential.v1.CredentialBinding", HandlerType: (*CredentialBindingServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Bind", Handler: _CredentialBinding_Bind_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/v1/credential/binding.proto", }
CredentialBinding_ServiceDesc is the grpc.ServiceDesc for CredentialBinding service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CredentialHost_ServiceDesc = grpc.ServiceDesc{ ServiceName: "omniview.sdk.credential.v1.CredentialHost", HandlerType: (*CredentialHostServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _CredentialHost_Get_Handler, }, { MethodName: "Invalidate", Handler: _CredentialHost_Invalidate_Handler, }, { MethodName: "Prompt", Handler: _CredentialHost_Prompt_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Watch", Handler: _CredentialHost_Watch_Handler, ServerStreams: true, }, }, Metadata: "proto/v1/credential/host.proto", }
CredentialHost_ServiceDesc is the grpc.ServiceDesc for CredentialHost service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CredentialPlugin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "omniview.sdk.credential.v1.CredentialPlugin", HandlerType: (*CredentialPluginServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Negotiate", Handler: _CredentialPlugin_Negotiate_Handler, }, { MethodName: "Declarations", Handler: _CredentialPlugin_Declarations_Handler, }, { MethodName: "AttachSources", Handler: _CredentialPlugin_AttachSources_Handler, }, { MethodName: "Validate", Handler: _CredentialPlugin_Validate_Handler, }, { MethodName: "Describe", Handler: _CredentialPlugin_Describe_Handler, }, { MethodName: "Import", Handler: _CredentialPlugin_Import_Handler, }, { MethodName: "Discover", Handler: _CredentialPlugin_Discover_Handler, }, { MethodName: "Issue", Handler: _CredentialPlugin_Issue_Handler, }, { MethodName: "Renew", Handler: _CredentialPlugin_Renew_Handler, }, { MethodName: "Revoke", Handler: _CredentialPlugin_Revoke_Handler, }, { MethodName: "Observe", Handler: _CredentialPlugin_Observe_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/v1/credential/credential.proto", }
CredentialPlugin_ServiceDesc is the grpc.ServiceDesc for CredentialPlugin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_proto_v1_credential_binding_proto protoreflect.FileDescriptor
var File_proto_v1_credential_credential_proto protoreflect.FileDescriptor
var File_proto_v1_credential_host_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCredentialBindingServer ¶
func RegisterCredentialBindingServer(s grpc.ServiceRegistrar, srv CredentialBindingServer)
func RegisterCredentialHostServer ¶
func RegisterCredentialHostServer(s grpc.ServiceRegistrar, srv CredentialHostServer)
func RegisterCredentialPluginServer ¶
func RegisterCredentialPluginServer(s grpc.ServiceRegistrar, srv CredentialPluginServer)
Types ¶
type ApprovalPending ¶
type ApprovalPending struct {
// contains filtered or unexported fields
}
Public metadata: ApprovalPending signals outstanding approval without an upstream ticket or private state. A displayed indication is not approval.
func (*ApprovalPending) Descriptor
deprecated
func (*ApprovalPending) Descriptor() ([]byte, []int)
Deprecated: Use ApprovalPending.ProtoReflect.Descriptor instead.
func (*ApprovalPending) ProtoMessage ¶
func (*ApprovalPending) ProtoMessage()
func (*ApprovalPending) ProtoReflect ¶
func (x *ApprovalPending) ProtoReflect() protoreflect.Message
func (*ApprovalPending) Reset ¶
func (x *ApprovalPending) Reset()
func (*ApprovalPending) String ¶
func (x *ApprovalPending) String() string
type BindRequest ¶
type BindRequest struct {
// Public metadata: required credential wire version; must equal 1.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Public metadata: required nonzero ID of the dedicated callback broker. It
// is routing information, not proof of identity or permission to acquire.
BrokerId uint32 `protobuf:"varint,2,opt,name=broker_id,json=brokerId,proto3" json:"broker_id,omitempty"`
// Public metadata: required, explicitly present and true. The host asserts this
// only for mutually authenticated TLS with the intended plugin. Absent or false
// must fail closed, as must a missing or unverified peer before protected decode.
ChannelAuthenticated *bool `` /* 128-byte string literal not displayed */
// contains filtered or unexported fields
}
Public metadata: BindRequest offers the callback to the intended plugin. Both a positive indication and independently verified peer mTLS are required; neither substitutes for the other.
func (*BindRequest) Descriptor
deprecated
func (*BindRequest) Descriptor() ([]byte, []int)
Deprecated: Use BindRequest.ProtoReflect.Descriptor instead.
func (*BindRequest) GetBrokerId ¶
func (x *BindRequest) GetBrokerId() uint32
func (*BindRequest) GetChannelAuthenticated ¶
func (x *BindRequest) GetChannelAuthenticated() bool
func (*BindRequest) GetVersion ¶
func (x *BindRequest) GetVersion() uint32
func (*BindRequest) ProtoMessage ¶
func (*BindRequest) ProtoMessage()
func (*BindRequest) ProtoReflect ¶
func (x *BindRequest) ProtoReflect() protoreflect.Message
func (*BindRequest) Reset ¶
func (x *BindRequest) Reset()
func (*BindRequest) String ¶
func (x *BindRequest) String() string
type Candidate ¶
type Candidate struct {
// Public metadata: required issuer-local candidate key, not a capability or grant.
IssuerKey string `protobuf:"bytes,1,opt,name=issuer_key,json=issuerKey,proto3" json:"issuer_key,omitempty"`
// Public metadata: required candidate description for review and authorized selection.
Metadata *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
Public metadata: Candidate describes an issuable instance. It contains no material or source reference and cannot by itself authorize Issue.
func (*Candidate) Descriptor
deprecated
func (*Candidate) GetIssuerKey ¶
func (*Candidate) GetMetadata ¶
func (*Candidate) ProtoMessage ¶
func (*Candidate) ProtoMessage()
func (*Candidate) ProtoReflect ¶
func (x *Candidate) ProtoReflect() protoreflect.Message
type Candidates ¶
type Candidates struct {
// Public metadata: required credential wire version; must equal 1.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Public metadata: candidates with distinct issuer keys; empty means none discovered.
Candidates []*Candidate `protobuf:"bytes,2,rep,name=candidates,proto3" json:"candidates,omitempty"`
// contains filtered or unexported fields
}
Public metadata: Candidates is one bounded discovery snapshot, not a watch or lease cache.
func (*Candidates) Descriptor
deprecated
func (*Candidates) Descriptor() ([]byte, []int)
Deprecated: Use Candidates.ProtoReflect.Descriptor instead.
func (*Candidates) GetCandidates ¶
func (x *Candidates) GetCandidates() []*Candidate
func (*Candidates) GetVersion ¶
func (x *Candidates) GetVersion() uint32
func (*Candidates) ProtoMessage ¶
func (*Candidates) ProtoMessage()
func (*Candidates) ProtoReflect ¶
func (x *Candidates) ProtoReflect() protoreflect.Message
func (*Candidates) Reset ¶
func (x *Candidates) Reset()
func (*Candidates) String ¶
func (x *Candidates) String() string
type Claim ¶
type Claim struct {
// Public metadata: required host-recognized claim kind.
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
// Public metadata: required value of that kind. Validate before display or
// target matching; never copy material or unchecked provider output here.
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
Public metadata: Claim describes an allowlisted target, not proof of identity or a grant.
func (*Claim) Descriptor
deprecated
func (*Claim) ProtoMessage ¶
func (*Claim) ProtoMessage()
func (*Claim) ProtoReflect ¶
func (x *Claim) ProtoReflect() protoreflect.Message
type ConnectionDraft ¶
type ConnectionDraft struct {
// Public metadata: required ID of the plugin that owns the proposed connection.
Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
// Public metadata: required connection label for host review.
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
// Public metadata: optional endpoint; empty means unspecified. URI userinfo
// is forbidden regardless of scheme. The host must still validate the destination.
Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// Public metadata: consumer slot name to a credential local_key in this
// result. Proposed bindings only, never persistent IDs or material.
SlotDraftKeys map[string]string `` /* 176-byte string literal not displayed */
// contains filtered or unexported fields
}
Public metadata: ConnectionDraft proposes connection metadata and draft bindings. It does not create, start or authorize a connection without host confirmation.
func (*ConnectionDraft) Descriptor
deprecated
func (*ConnectionDraft) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionDraft.ProtoReflect.Descriptor instead.
func (*ConnectionDraft) GetEndpoint ¶
func (x *ConnectionDraft) GetEndpoint() string
func (*ConnectionDraft) GetLabel ¶
func (x *ConnectionDraft) GetLabel() string
func (*ConnectionDraft) GetPlugin ¶
func (x *ConnectionDraft) GetPlugin() string
func (*ConnectionDraft) GetSlotDraftKeys ¶
func (x *ConnectionDraft) GetSlotDraftKeys() map[string]string
func (*ConnectionDraft) ProtoMessage ¶
func (*ConnectionDraft) ProtoMessage()
func (*ConnectionDraft) ProtoReflect ¶
func (x *ConnectionDraft) ProtoReflect() protoreflect.Message
func (*ConnectionDraft) Reset ¶
func (x *ConnectionDraft) Reset()
func (*ConnectionDraft) String ¶
func (x *ConnectionDraft) String() string
type CredentialBindingClient ¶
type CredentialBindingClient interface {
// Bind installs the callback once per process after bilateral negotiation.
// The plugin dials the offered broker ID and echoes the exact version. Reject
// rebinds; retire the process on ambiguous acceptance. The bind context does
// not own the channel lifetime. Close the channel on process retirement.
Bind(ctx context.Context, in *BindRequest, opts ...grpc.CallOption) (*Version, error)
}
CredentialBindingClient is the client API for CredentialBinding service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCredentialBindingClient ¶
func NewCredentialBindingClient(cc grpc.ClientConnInterface) CredentialBindingClient
type CredentialBindingServer ¶
type CredentialBindingServer interface {
// Bind installs the callback once per process after bilateral negotiation.
// The plugin dials the offered broker ID and echoes the exact version. Reject
// rebinds; retire the process on ambiguous acceptance. The bind context does
// not own the channel lifetime. Close the channel on process retirement.
Bind(context.Context, *BindRequest) (*Version, error)
}
CredentialBindingServer is the server API for CredentialBinding service. All implementations should embed UnimplementedCredentialBindingServer for forward compatibility
type CredentialDraft ¶
type CredentialDraft struct {
// Public metadata: required unique, result-local key; not a stored credential ID.
LocalKey string `protobuf:"bytes,1,opt,name=local_key,json=localKey,proto3" json:"local_key,omitempty"`
// Public metadata: required description of the proposed credential.
Metadata *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
// Protected: required credential material for the host's protected store.
Material *Material `protobuf:"bytes,3,opt,name=material,proto3" json:"material,omitempty"`
// contains filtered or unexported fields
}
Protected: CredentialDraft proposes one imported credential and carries its material to the trusted host. A preview uses reviewed metadata, never the draft.
func (*CredentialDraft) Descriptor
deprecated
func (*CredentialDraft) Descriptor() ([]byte, []int)
Deprecated: Use CredentialDraft.ProtoReflect.Descriptor instead.
func (*CredentialDraft) GetLocalKey ¶
func (x *CredentialDraft) GetLocalKey() string
func (*CredentialDraft) GetMaterial ¶
func (x *CredentialDraft) GetMaterial() *Material
func (*CredentialDraft) GetMetadata ¶
func (x *CredentialDraft) GetMetadata() *Metadata
func (*CredentialDraft) ProtoMessage ¶
func (*CredentialDraft) ProtoMessage()
func (*CredentialDraft) ProtoReflect ¶
func (x *CredentialDraft) ProtoReflect() protoreflect.Message
func (*CredentialDraft) Reset ¶
func (x *CredentialDraft) Reset()
func (*CredentialDraft) String ¶
func (x *CredentialDraft) String() string
type CredentialFailure ¶
type CredentialFailure struct {
// Public metadata: required code: CREDENTIAL_REQUIRED (no eligible binding),
// REAUTHENTICATION_REQUIRED (sign-in needed) or ACCESS_REQUIRED (grant needed).
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
// Public metadata: affected slot. Required for CREDENTIAL_REQUIRED. Otherwise
// omission refers to this operation's issuer or credential, not an inferred slot.
Slot string `protobuf:"bytes,2,opt,name=slot,proto3" json:"slot,omitempty"`
// Public metadata: optional host-verified suggestion for ACCESS_REQUIRED.
// A selectable issuer is not a grant, permission to escalate or an instruction.
SuggestedIssuer *IssuerRef `protobuf:"bytes,3,opt,name=suggested_issuer,json=suggestedIssuer,proto3" json:"suggested_issuer,omitempty"`
// contains filtered or unexported fields
}
Public metadata: CredentialFailure is a bounded, classification-only gRPC status detail, not an RPC frame. No version, provider prose, material or handles. Pair it with domain-qualified ErrorInfo; preserve cancellation and deadlines.
func (*CredentialFailure) Descriptor
deprecated
func (*CredentialFailure) Descriptor() ([]byte, []int)
Deprecated: Use CredentialFailure.ProtoReflect.Descriptor instead.
func (*CredentialFailure) GetCode ¶
func (x *CredentialFailure) GetCode() string
func (*CredentialFailure) GetSlot ¶
func (x *CredentialFailure) GetSlot() string
func (*CredentialFailure) GetSuggestedIssuer ¶
func (x *CredentialFailure) GetSuggestedIssuer() *IssuerRef
func (*CredentialFailure) ProtoMessage ¶
func (*CredentialFailure) ProtoMessage()
func (*CredentialFailure) ProtoReflect ¶
func (x *CredentialFailure) ProtoReflect() protoreflect.Message
func (*CredentialFailure) Reset ¶
func (x *CredentialFailure) Reset()
func (*CredentialFailure) String ¶
func (x *CredentialFailure) String() string
type CredentialHostClient ¶
type CredentialHostClient interface {
// Get resolves this caller's scoped source to its current authorized lease.
// Fence the result against the live binding, target, expiry and dependencies
// before delivering material, including after an upstream call.
Get(ctx context.Context, in *SourceRequest, opts ...grpc.CallOption) (*LeaseReply, error)
// Invalidate reports the exact lease revision the target rejected. Coalesce
// concurrent rejections; never evict a replacement on a late report.
Invalidate(ctx context.Context, in *Rejection, opts ...grpc.CallOption) (*Version, error)
// Watch sends the current revision and status first, then replacements for
// that source. Recheck authorization on every delivery. Each bounded stream
// item is metadata only; call Get for material, including after missed updates.
// Close on generation retirement, not at the original start RPC's deadline.
Watch(ctx context.Context, in *SourceRequest, opts ...grpc.CallOption) (CredentialHost_WatchClient, error)
// Prompt requests a trusted host surface for one authorized interactive issue
// or renewal. Acknowledge presentation, not sign-in or approval. Never prompt
// in silent mode or return a submitted form answer on this RPC.
Prompt(ctx context.Context, in *PromptRequest, opts ...grpc.CallOption) (*PromptReply, error)
}
CredentialHostClient is the client API for CredentialHost service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCredentialHostClient ¶
func NewCredentialHostClient(cc grpc.ClientConnInterface) CredentialHostClient
type CredentialHostServer ¶
type CredentialHostServer interface {
// Get resolves this caller's scoped source to its current authorized lease.
// Fence the result against the live binding, target, expiry and dependencies
// before delivering material, including after an upstream call.
Get(context.Context, *SourceRequest) (*LeaseReply, error)
// Invalidate reports the exact lease revision the target rejected. Coalesce
// concurrent rejections; never evict a replacement on a late report.
Invalidate(context.Context, *Rejection) (*Version, error)
// Watch sends the current revision and status first, then replacements for
// that source. Recheck authorization on every delivery. Each bounded stream
// item is metadata only; call Get for material, including after missed updates.
// Close on generation retirement, not at the original start RPC's deadline.
Watch(*SourceRequest, CredentialHost_WatchServer) error
// Prompt requests a trusted host surface for one authorized interactive issue
// or renewal. Acknowledge presentation, not sign-in or approval. Never prompt
// in silent mode or return a submitted form answer on this RPC.
Prompt(context.Context, *PromptRequest) (*PromptReply, error)
}
CredentialHostServer is the server API for CredentialHost service. All implementations should embed UnimplementedCredentialHostServer for forward compatibility
type CredentialHost_WatchClient ¶
type CredentialHost_WatchClient interface {
Recv() (*Replacement, error)
grpc.ClientStream
}
type CredentialHost_WatchServer ¶
type CredentialHost_WatchServer interface {
Send(*Replacement) error
grpc.ServerStream
}
type CredentialPluginClient ¶
type CredentialPluginClient interface {
// Negotiate exchanges exact versions and feature sets without material. Only
// mutual features may be used. Success neither binds a channel nor grants access.
Negotiate(ctx context.Context, in *Features, opts ...grpc.CallOption) (*Features, error)
// Declarations returns the bounded inventory of types, issuers and slots. It
// neither discovers credential instances nor authorizes a binding.
Declarations(ctx context.Context, in *Version, opts ...grpc.CallOption) (*Inventory, error)
// AttachSources replaces one connection's complete authorized slot set. The
// SDK, not an author callback, attaches these references to the admitted generation.
AttachSources(ctx context.Context, in *SourceSet, opts ...grpc.CallOption) (*Version, error)
// Validate checks protected material against the named type after base schema
// checks. A rejection must not echo a field value or native error.
Validate(ctx context.Context, in *TypedMaterial, opts ...grpc.CallOption) (*Version, error)
// Describe derives only allowlisted metadata from protected material. Call
// only if the type declares describes; the result is not proof of access.
Describe(ctx context.Context, in *TypedMaterial, opts ...grpc.CallOption) (*Description, error)
// Import parses a protected foreign document for a type that declares imports.
// Return drafts only; never execute helpers, follow secret paths, start or bind.
Import(ctx context.Context, in *ImportRequest, opts ...grpc.CallOption) (*ImportDrafts, error)
// Discover pulls bounded candidate metadata for one issuer. There is no
// discovery watch, material delivery or implicit selection of a profile.
Discover(ctx context.Context, in *DiscoveryRequest, opts ...grpc.CallOption) (*Candidates, error)
// Issue mints one authorized candidate using only the supplied input sources,
// or returns a private continuation without blocking for human interaction.
Issue(ctx context.Context, in *IssueRequest, opts ...grpc.CallOption) (*IssueResult, error)
// Renew asks a renewing issuer to extend the identified grant, or resume its
// pending renewal. Creating a different lease is re-issue, not renewal.
Renew(ctx context.Context, in *LeaseOperation, opts ...grpc.CallOption) (*IssueResult, error)
// Revoke asks a revoking issuer to invalidate the identified lease. Stop
// delivery locally regardless; uncertainty must not become confirmed revocation.
Revoke(ctx context.Context, in *LeaseOperation, opts ...grpc.CallOption) (*Observation, error)
// Observe asks an observing issuer about the upstream lease, not the host
// cache or connection readiness. Verified revocation requires confirmation.
Observe(ctx context.Context, in *LeaseOperation, opts ...grpc.CallOption) (*Observation, error)
}
CredentialPluginClient is the client API for CredentialPlugin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCredentialPluginClient ¶
func NewCredentialPluginClient(cc grpc.ClientConnInterface) CredentialPluginClient
type CredentialPluginServer ¶
type CredentialPluginServer interface {
// Negotiate exchanges exact versions and feature sets without material. Only
// mutual features may be used. Success neither binds a channel nor grants access.
Negotiate(context.Context, *Features) (*Features, error)
// Declarations returns the bounded inventory of types, issuers and slots. It
// neither discovers credential instances nor authorizes a binding.
Declarations(context.Context, *Version) (*Inventory, error)
// AttachSources replaces one connection's complete authorized slot set. The
// SDK, not an author callback, attaches these references to the admitted generation.
AttachSources(context.Context, *SourceSet) (*Version, error)
// Validate checks protected material against the named type after base schema
// checks. A rejection must not echo a field value or native error.
Validate(context.Context, *TypedMaterial) (*Version, error)
// Describe derives only allowlisted metadata from protected material. Call
// only if the type declares describes; the result is not proof of access.
Describe(context.Context, *TypedMaterial) (*Description, error)
// Import parses a protected foreign document for a type that declares imports.
// Return drafts only; never execute helpers, follow secret paths, start or bind.
Import(context.Context, *ImportRequest) (*ImportDrafts, error)
// Discover pulls bounded candidate metadata for one issuer. There is no
// discovery watch, material delivery or implicit selection of a profile.
Discover(context.Context, *DiscoveryRequest) (*Candidates, error)
// Issue mints one authorized candidate using only the supplied input sources,
// or returns a private continuation without blocking for human interaction.
Issue(context.Context, *IssueRequest) (*IssueResult, error)
// Renew asks a renewing issuer to extend the identified grant, or resume its
// pending renewal. Creating a different lease is re-issue, not renewal.
Renew(context.Context, *LeaseOperation) (*IssueResult, error)
// Revoke asks a revoking issuer to invalidate the identified lease. Stop
// delivery locally regardless; uncertainty must not become confirmed revocation.
Revoke(context.Context, *LeaseOperation) (*Observation, error)
// Observe asks an observing issuer about the upstream lease, not the host
// cache or connection readiness. Verified revocation requires confirmation.
Observe(context.Context, *LeaseOperation) (*Observation, error)
}
CredentialPluginServer is the server API for CredentialPlugin service. All implementations should embed UnimplementedCredentialPluginServer for forward compatibility
type Description ¶
type Description struct {
// Public metadata: required credential wire version; must equal 1.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Public metadata: required allowlisted identity and target metadata for the type.
Metadata *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
Public metadata: Description returns only reviewed claims, never the source material.
func (*Description) Descriptor
deprecated
func (*Description) Descriptor() ([]byte, []int)
Deprecated: Use Description.ProtoReflect.Descriptor instead.
func (*Description) GetMetadata ¶
func (x *Description) GetMetadata() *Metadata
func (*Description) GetVersion ¶
func (x *Description) GetVersion() uint32
func (*Description) ProtoMessage ¶
func (*Description) ProtoMessage()
func (*Description) ProtoReflect ¶
func (x *Description) ProtoReflect() protoreflect.Message
func (*Description) Reset ¶
func (x *Description) Reset()
func (*Description) String ¶
func (x *Description) String() string
type DeviceCode ¶
type DeviceCode struct {
// Protected: required challenge URI; constrain the HTTPS destination before presentation.
VerificationUri string `protobuf:"bytes,1,opt,name=verification_uri,json=verificationUri,proto3" json:"verification_uri,omitempty"`
// Protected: required short user-facing code. Render only on the trusted sign-in
// surface; never log it or substitute the issuer-private device polling code.
UserCode string `protobuf:"bytes,2,opt,name=user_code,json=userCode,proto3" json:"user_code,omitempty"`
// contains filtered or unexported fields
}
Protected: DeviceCode carries a user-facing challenge for the designated trusted sign-in surface. Never include polling secrets, responses or session state.
func (*DeviceCode) Descriptor
deprecated
func (*DeviceCode) Descriptor() ([]byte, []int)
Deprecated: Use DeviceCode.ProtoReflect.Descriptor instead.
func (*DeviceCode) GetUserCode ¶
func (x *DeviceCode) GetUserCode() string
func (*DeviceCode) GetVerificationUri ¶
func (x *DeviceCode) GetVerificationUri() string
func (*DeviceCode) ProtoMessage ¶
func (*DeviceCode) ProtoMessage()
func (*DeviceCode) ProtoReflect ¶
func (x *DeviceCode) ProtoReflect() protoreflect.Message
func (*DeviceCode) Reset ¶
func (x *DeviceCode) Reset()
func (*DeviceCode) String ¶
func (x *DeviceCode) String() string
type DiscoveryRequest ¶
type DiscoveryRequest struct {
// Public metadata: required credential wire version; must equal 1.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Public metadata: required ID of a declared issuer on the called plugin.
IssuerId string `protobuf:"bytes,2,opt,name=issuer_id,json=issuerId,proto3" json:"issuer_id,omitempty"`
// contains filtered or unexported fields
}
Public metadata: DiscoveryRequest requests a bounded candidate pull for one issuer.
func (*DiscoveryRequest) Descriptor
deprecated
func (*DiscoveryRequest) Descriptor() ([]byte, []int)
Deprecated: Use DiscoveryRequest.ProtoReflect.Descriptor instead.
func (*DiscoveryRequest) GetIssuerId ¶
func (x *DiscoveryRequest) GetIssuerId() string
func (*DiscoveryRequest) GetVersion ¶
func (x *DiscoveryRequest) GetVersion() uint32
func (*DiscoveryRequest) ProtoMessage ¶
func (*DiscoveryRequest) ProtoMessage()
func (*DiscoveryRequest) ProtoReflect ¶
func (x *DiscoveryRequest) ProtoReflect() protoreflect.Message
func (*DiscoveryRequest) Reset ¶
func (x *DiscoveryRequest) Reset()
func (*DiscoveryRequest) String ¶
func (x *DiscoveryRequest) String() string
type Envelope ¶
type Envelope struct {
// Public metadata: required exact type ID of the projection authorized for this slot.
TypeId string `protobuf:"bytes,1,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"`
// Public metadata: required identity of the plugin and issuer that produced the lease.
Issuer *IssuerRef `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"`
// Protected: required opaque lease handle, distinct from a source reference.
// Renewal retains lease identity; re-issue creates a different handle.
LeaseHandle []byte `protobuf:"bytes,3,opt,name=lease_handle,json=leaseHandle,proto3" json:"lease_handle,omitempty"`
// Public metadata: required nonzero lease revision. Report this exact revision on rejection.
Revision uint64 `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"`
// Public metadata: required explicit expiry. Rejected, revoked or expired material is ineligible.
Expiry *Expiry `protobuf:"bytes,5,opt,name=expiry,proto3" json:"expiry,omitempty"`
// Public metadata: optional absolute scheduling hint, never evidence of validity.
RenewAfter *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=renew_after,json=renewAfter,proto3" json:"renew_after,omitempty"`
// Public metadata: true only when this lease is renewable. Renewal still requires authorization.
Renewable bool `protobuf:"varint,7,opt,name=renewable,proto3" json:"renewable,omitempty"`
// Public metadata: optional positive maximum TTL applicable to the authorized lease.
MaxTtl *durationpb.Duration `protobuf:"bytes,8,opt,name=max_ttl,json=maxTtl,proto3" json:"max_ttl,omitempty"`
// Public metadata: required issuer class: ttl-bound, explicit or verified.
// Local removal alone cannot confirm remote revocation.
RevocationClass string `protobuf:"bytes,9,opt,name=revocation_class,json=revocationClass,proto3" json:"revocation_class,omitempty"`
// Protected: handles of all direct input leases, empty for a root. Fence every
// dependency. A parent handle cannot be exchanged for its material.
ParentLeases [][]byte `protobuf:"bytes,10,rep,name=parent_leases,json=parentLeases,proto3" json:"parent_leases,omitempty"`
// Protected: reserved grant reference, not material; must be absent in v1.
GrantId *string `protobuf:"bytes,11,opt,name=grant_id,json=grantId,proto3,oneof" json:"grant_id,omitempty"`
// Protected: ordered principal metadata only, reserved. No entry is admitted in v1.
PrincipalChain []*Principal `protobuf:"bytes,12,rep,name=principal_chain,json=principalChain,proto3" json:"principal_chain,omitempty"`
// Protected: reserved tenant metadata only; must be absent in v1.
Tenant *string `protobuf:"bytes,13,opt,name=tenant,proto3,oneof" json:"tenant,omitempty"`
// Public metadata: required delivery mode. V1 accepts only material. Reject
// omitted, injected, identity and all other modes; do not fall back to material.
DeliveryMode string `protobuf:"bytes,14,opt,name=delivery_mode,json=deliveryMode,proto3" json:"delivery_mode,omitempty"`
// Protected: reserved scope metadata only. No entry is admitted in v1.
Scope []string `protobuf:"bytes,15,rep,name=scope,proto3" json:"scope,omitempty"`
// Protected: reserved holder-binding metadata only; must be absent in v1.
HolderBinding *HolderBinding `protobuf:"bytes,16,opt,name=holder_binding,json=holderBinding,proto3" json:"holder_binding,omitempty"`
// contains filtered or unexported fields
}
Protected: Envelope is the host-stamped consumer lease contract, not a UI view. It carries lease handles but never issuer-private state, parent material or prompt answers. The host records the actual input leases. Fields 11, 12, 13, 15 and 16 have descriptors for future negotiation; they are not protobuf reserved tags. V1 rejects any wire occurrence of those fields, even empty. Never discard or reinterpret an authority constraint.
func (*Envelope) Descriptor
deprecated
func (*Envelope) GetDeliveryMode ¶
func (*Envelope) GetGrantId ¶
func (*Envelope) GetHolderBinding ¶
func (x *Envelope) GetHolderBinding() *HolderBinding
func (*Envelope) GetLeaseHandle ¶
func (*Envelope) GetMaxTtl ¶
func (x *Envelope) GetMaxTtl() *durationpb.Duration
func (*Envelope) GetParentLeases ¶
func (*Envelope) GetPrincipalChain ¶
func (*Envelope) GetRenewAfter ¶
func (x *Envelope) GetRenewAfter() *timestamppb.Timestamp
func (*Envelope) GetRenewable ¶
func (*Envelope) GetRevision ¶
func (*Envelope) GetRevocationClass ¶
func (*Envelope) ProtoMessage ¶
func (*Envelope) ProtoMessage()
func (*Envelope) ProtoReflect ¶
func (x *Envelope) ProtoReflect() protoreflect.Message
type Expiry ¶
type Expiry struct {
// Public metadata: required single choice.
//
// Types that are valid to be assigned to Kind:
//
// *Expiry_ExpiresAt
// *Expiry_UnknownUntilRejected
// *Expiry_StaticExpiry
Kind isExpiry_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}
Public metadata: Expiry selects exactly one expiry model. No zero timestamp or omitted branch represents unknown or static expiry. None proves target validity.
func (*Expiry) Descriptor
deprecated
func (*Expiry) GetExpiresAt ¶
func (x *Expiry) GetExpiresAt() *timestamppb.Timestamp
func (*Expiry) GetStaticExpiry ¶
func (*Expiry) GetUnknownUntilRejected ¶
func (*Expiry) ProtoMessage ¶
func (*Expiry) ProtoMessage()
func (*Expiry) ProtoReflect ¶
func (x *Expiry) ProtoReflect() protoreflect.Message
type Expiry_ExpiresAt ¶
type Expiry_ExpiresAt struct {
// Public metadata: valid timestamp setting an absolute upper bound on delivery.
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=expires_at,json=expiresAt,proto3,oneof"`
}
type Expiry_StaticExpiry ¶
type Features ¶
type Features struct {
// Public metadata: required credential wire version; must equal 1. No ranges.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Public metadata: distinct feature names. V1 defines credential.material.v1,
// credential.types.v1, credential.issuers.v1, credential.slots.v1,
// credential.host-callback.v1 and credential.prompt.v1. Material exchange needs
// the material feature and the features for the requested behavior.
Features []string `protobuf:"bytes,2,rep,name=features,proto3" json:"features,omitempty"`
// contains filtered or unexported fields
}
Public metadata: Features advertises one peer's protocol features. Infer no roles or grants from a manifest. Use only the intersection of advertisements.
func (*Features) Descriptor
deprecated
func (*Features) GetFeatures ¶
func (*Features) GetVersion ¶
func (*Features) ProtoMessage ¶
func (*Features) ProtoMessage()
func (*Features) ProtoReflect ¶
func (x *Features) ProtoReflect() protoreflect.Message
type Field ¶
type Field struct {
// Public metadata: required schema-local name, unique within the schema or form.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Public metadata: true marks a secret field or hidden entry. False never
// makes material or a submitted form answer safe to expose.
Secret bool `protobuf:"varint,2,opt,name=secret,proto3" json:"secret,omitempty"`
// Public metadata: true requires a value. Subtypes cannot weaken this flag.
Required bool `protobuf:"varint,3,opt,name=required,proto3" json:"required,omitempty"`
// Public metadata: optional format identifier. Omitted or explicitly empty means no format.
Format string `protobuf:"bytes,4,opt,name=format,proto3" json:"format,omitempty"`
// Public metadata: true hints that the entry surface should accept multiple lines.
Multiline bool `protobuf:"varint,5,opt,name=multiline,proto3" json:"multiline,omitempty"`
// contains filtered or unexported fields
}
Public metadata: Field describes a schema member or form control, never its value.
func (*Field) Descriptor
deprecated
func (*Field) GetMultiline ¶
func (*Field) GetRequired ¶
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) ProtoReflect ¶
func (x *Field) ProtoReflect() protoreflect.Message
type Form ¶
type Form struct {
// Public metadata: nonempty list of distinct named fields, never defaults or answers.
Fields []*Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
// contains filtered or unexported fields
}
Public metadata: Form describes controls for trusted host entry, not submitted data. Hidden values and MFA answers are protected and must never be echoed.
func (*Form) Descriptor
deprecated
func (*Form) ProtoMessage ¶
func (*Form) ProtoMessage()
func (*Form) ProtoReflect ¶
func (x *Form) ProtoReflect() protoreflect.Message
type HolderBinding ¶
type HolderBinding struct {
// Public metadata: future binding method. No method is negotiated in v1.
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
// Public metadata: thumbprint of a public key, never a private key or proof by itself.
PublicKeyThumbprint []byte `protobuf:"bytes,2,opt,name=public_key_thumbprint,json=publicKeyThumbprint,proto3" json:"public_key_thumbprint,omitempty"`
// contains filtered or unexported fields
}
Protected: HolderBinding contains proof-of-possession metadata only, never private-key material. V1 admits no holder binding; never downgrade a bound lease.
func (*HolderBinding) Descriptor
deprecated
func (*HolderBinding) Descriptor() ([]byte, []int)
Deprecated: Use HolderBinding.ProtoReflect.Descriptor instead.
func (*HolderBinding) GetMethod ¶
func (x *HolderBinding) GetMethod() string
func (*HolderBinding) GetPublicKeyThumbprint ¶
func (x *HolderBinding) GetPublicKeyThumbprint() []byte
func (*HolderBinding) ProtoMessage ¶
func (*HolderBinding) ProtoMessage()
func (*HolderBinding) ProtoReflect ¶
func (x *HolderBinding) ProtoReflect() protoreflect.Message
func (*HolderBinding) Reset ¶
func (x *HolderBinding) Reset()
func (*HolderBinding) String ¶
func (x *HolderBinding) String() string
type ImportDrafts ¶
type ImportDrafts struct {
// Public metadata: required credential wire version; must equal 1.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Protected: imported credentials, including material, with distinct result-local keys.
Credentials []*CredentialDraft `protobuf:"bytes,2,rep,name=credentials,proto3" json:"credentials,omitempty"`
// Public metadata: proposed connections; empty when only credentials are proposed.
Connections []*ConnectionDraft `protobuf:"bytes,3,rep,name=connections,proto3" json:"connections,omitempty"`
// contains filtered or unexported fields
}
Protected: ImportDrafts returns proposals to the trusted host, not a UI readback. The host separates credential material from the preview before display.
func (*ImportDrafts) Descriptor
deprecated
func (*ImportDrafts) Descriptor() ([]byte, []int)
Deprecated: Use ImportDrafts.ProtoReflect.Descriptor instead.
func (*ImportDrafts) GetConnections ¶
func (x *ImportDrafts) GetConnections() []*ConnectionDraft
func (*ImportDrafts) GetCredentials ¶
func (x *ImportDrafts) GetCredentials() []*CredentialDraft
func (*ImportDrafts) GetVersion ¶
func (x *ImportDrafts) GetVersion() uint32
func (*ImportDrafts) ProtoMessage ¶
func (*ImportDrafts) ProtoMessage()
func (*ImportDrafts) ProtoReflect ¶
func (x *ImportDrafts) ProtoReflect() protoreflect.Message
func (*ImportDrafts) Reset ¶
func (x *ImportDrafts) Reset()
func (*ImportDrafts) String ¶
func (x *ImportDrafts) String() string
type ImportRequest ¶
type ImportRequest struct {
// Public metadata: required credential wire version; must equal 1.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Public metadata: required exact type ID whose importer the host selected.
TypeId string `protobuf:"bytes,2,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"`
// Protected: required document bytes. Treat the entire input as secret before
// parsing, including on failure. Never echo it or execute referenced helpers.
Document []byte `protobuf:"bytes,3,opt,name=document,proto3" json:"document,omitempty"`
// contains filtered or unexported fields
}
Protected: ImportRequest gives an authorized type handler a foreign credential document.
func (*ImportRequest) Descriptor
deprecated
func (*ImportRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportRequest.ProtoReflect.Descriptor instead.
func (*ImportRequest) GetDocument ¶
func (x *ImportRequest) GetDocument() []byte
func (*ImportRequest) GetTypeId ¶
func (x *ImportRequest) GetTypeId() string
func (*ImportRequest) GetVersion ¶
func (x *ImportRequest) GetVersion() uint32
func (*ImportRequest) ProtoMessage ¶
func (*ImportRequest) ProtoMessage()
func (*ImportRequest) ProtoReflect ¶
func (x *ImportRequest) ProtoReflect() protoreflect.Message
func (*ImportRequest) Reset ¶
func (x *ImportRequest) Reset()
func (*ImportRequest) String ¶
func (x *ImportRequest) String() string
type Inventory ¶
type Inventory struct {
// Public metadata: required credential wire version; must equal 1.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Public metadata: plugin-owned schemas with distinct IDs; never core declarations.
Types []*Type `protobuf:"bytes,2,rep,name=types,proto3" json:"types,omitempty"`
// Public metadata: issuers with distinct local IDs; not discovered credential instances.
Issuers []*Issuer `protobuf:"bytes,3,rep,name=issuers,proto3" json:"issuers,omitempty"`
// Public metadata: consumer slots with distinct local names; not selected bindings.
Slots []*Slot `protobuf:"bytes,4,rep,name=slots,proto3" json:"slots,omitempty"`
// contains filtered or unexported fields
}
Public metadata: Inventory is the immutable declaration snapshot. At least one role must be nonempty; unused role collections are empty.
func (*Inventory) Descriptor
deprecated
func (*Inventory) GetIssuers ¶
func (*Inventory) GetVersion ¶
func (*Inventory) ProtoMessage ¶
func (*Inventory) ProtoMessage()
func (*Inventory) ProtoReflect ¶
func (x *Inventory) ProtoReflect() protoreflect.Message
type IssueRequest ¶
type IssueRequest struct {
// Public metadata: required credential wire version; must equal 1.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Public metadata: required declared issuer ID in the called plugin.
IssuerId string `protobuf:"bytes,2,opt,name=issuer_id,json=issuerId,proto3" json:"issuer_id,omitempty"`
// Public metadata: required issuer-local key of the selected candidate.
CandidateKey string `protobuf:"bytes,3,opt,name=candidate_key,json=candidateKey,proto3" json:"candidate_key,omitempty"`
// Public metadata: required host operation ID. Mint a fresh, never-reused ID for
// each attempt, including a resume. The sealed pending_handle carries continuity.
OperationId string `protobuf:"bytes,4,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
// Protected: each input has a distinct declared name and a distinct scoped
// reference. Empty for a root. No parent material is pushed in this request.
Inputs []*Source `protobuf:"bytes,5,rep,name=inputs,proto3" json:"inputs,omitempty"`
// Public metadata: true forbids prompting or interactive sign-in. False alone
// is not authorization to interact.
Silent bool `protobuf:"varint,6,opt,name=silent,proto3" json:"silent,omitempty"`
// Protected: optional secret continuation. Omitted or explicitly empty means
// no continuation. Return a handle only to its issuer on an authorized resume.
PendingHandle []byte `protobuf:"bytes,7,opt,name=pending_handle,json=pendingHandle,proto3" json:"pending_handle,omitempty"`
// Public metadata: host-authorized target claims. An empty list does not
// widen a grant or authorize an arbitrary destination.
Target []*Claim `protobuf:"bytes,8,rep,name=target,proto3" json:"target,omitempty"`
// Public metadata: optional positive duration bounding issuance. Reject an
// out-of-policy result; do not rewrite the issuer's claimed expiry.
MaxTtl *durationpb.Duration `protobuf:"bytes,9,opt,name=max_ttl,json=maxTtl,proto3" json:"max_ttl,omitempty"`
// Protected: optional answer bound to this issuer, challenge and operation.
// Omitted or explicitly empty means no answer. Form/MFA answers are secret,
// never display data or a PromptReply payload.
ProtectedPromptAnswer []byte `` /* 127-byte string literal not displayed */
// contains filtered or unexported fields
}
Protected: IssueRequest carries scoped inputs and may carry secret continuation state or answers. The host resolves dependencies; the issuer cannot choose inputs.
func (*IssueRequest) Descriptor
deprecated
func (*IssueRequest) Descriptor() ([]byte, []int)
Deprecated: Use IssueRequest.ProtoReflect.Descriptor instead.
func (*IssueRequest) GetCandidateKey ¶
func (x *IssueRequest) GetCandidateKey() string
func (*IssueRequest) GetInputs ¶
func (x *IssueRequest) GetInputs() []*Source
func (*IssueRequest) GetIssuerId ¶
func (x *IssueRequest) GetIssuerId() string
func (*IssueRequest) GetMaxTtl ¶
func (x *IssueRequest) GetMaxTtl() *durationpb.Duration
func (*IssueRequest) GetOperationId ¶
func (x *IssueRequest) GetOperationId() string
func (*IssueRequest) GetPendingHandle ¶
func (x *IssueRequest) GetPendingHandle() []byte
func (*IssueRequest) GetProtectedPromptAnswer ¶
func (x *IssueRequest) GetProtectedPromptAnswer() []byte
func (*IssueRequest) GetSilent ¶
func (x *IssueRequest) GetSilent() bool
func (*IssueRequest) GetTarget ¶
func (x *IssueRequest) GetTarget() []*Claim
func (*IssueRequest) GetVersion ¶
func (x *IssueRequest) GetVersion() uint32
func (*IssueRequest) ProtoMessage ¶
func (*IssueRequest) ProtoMessage()
func (*IssueRequest) ProtoReflect ¶
func (x *IssueRequest) ProtoReflect() protoreflect.Message
func (*IssueRequest) Reset ¶
func (x *IssueRequest) Reset()
func (*IssueRequest) String ¶
func (x *IssueRequest) String() string
type IssueResult ¶
type IssueResult struct {
// Public metadata: required credential wire version; must equal 1.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Protected: required single outcome. A continuation must not be treated as issued material.
//
// Types that are valid to be assigned to Outcome:
//
// *IssueResult_Issued
// *IssueResult_Pending
Outcome isIssueResult_Outcome `protobuf_oneof:"outcome"`
// contains filtered or unexported fields
}
Protected: IssueResult carries exactly one issue or renewal outcome.
func (*IssueResult) Descriptor
deprecated
func (*IssueResult) Descriptor() ([]byte, []int)
Deprecated: Use IssueResult.ProtoReflect.Descriptor instead.
func (*IssueResult) GetIssued ¶
func (x *IssueResult) GetIssued() *Issued
func (*IssueResult) GetOutcome ¶
func (x *IssueResult) GetOutcome() isIssueResult_Outcome
func (*IssueResult) GetPending ¶
func (x *IssueResult) GetPending() *Pending
func (*IssueResult) GetVersion ¶
func (x *IssueResult) GetVersion() uint32
func (*IssueResult) ProtoMessage ¶
func (*IssueResult) ProtoMessage()
func (*IssueResult) ProtoReflect ¶
func (x *IssueResult) ProtoReflect() protoreflect.Message
func (*IssueResult) Reset ¶
func (x *IssueResult) Reset()
func (*IssueResult) String ¶
func (x *IssueResult) String() string
type IssueResult_Issued ¶
type IssueResult_Issued struct {
// Protected: newly issued or renewed material and its issuer-private state.
Issued *Issued `protobuf:"bytes,2,opt,name=issued,proto3,oneof"`
}
type IssueResult_Pending ¶
type IssueResult_Pending struct {
// Protected: secret continuation for a later authorized attempt; seal at rest.
Pending *Pending `protobuf:"bytes,3,opt,name=pending,proto3,oneof"`
}
type Issued ¶
type Issued struct {
// Protected: required material of the declared output type.
Material *Material `protobuf:"bytes,1,opt,name=material,proto3" json:"material,omitempty"`
// Public metadata: required explicit expiry model for the issued material.
Expiry *Expiry `protobuf:"bytes,2,opt,name=expiry,proto3" json:"expiry,omitempty"`
// Public metadata: optional absolute scheduling hint, not an extension or promise.
RenewAfter *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=renew_after,json=renewAfter,proto3" json:"renew_after,omitempty"`
// Public metadata: true only if the lease is renewable and the issuer implements Renew.
Renewable bool `protobuf:"varint,4,opt,name=renewable,proto3" json:"renewable,omitempty"`
// Protected: optional secret state. Omitted or explicitly empty means no state.
// The host seals it to the issuer, credential, operation and generation and
// replaces it atomically; consumers never receive it.
IssuerPrivateState []byte `protobuf:"bytes,5,opt,name=issuer_private_state,json=issuerPrivateState,proto3" json:"issuer_private_state,omitempty"`
// Public metadata: optional positive maximum TTL applicable to this lease.
MaxTtl *durationpb.Duration `protobuf:"bytes,6,opt,name=max_ttl,json=maxTtl,proto3" json:"max_ttl,omitempty"`
// contains filtered or unexported fields
}
Protected: Issued contains issuer-to-host material, not the consumer lease. The host checks target, TTL, dependencies and authorization before delivery.
func (*Issued) Descriptor
deprecated
func (*Issued) GetIssuerPrivateState ¶
func (*Issued) GetMaterial ¶
func (*Issued) GetMaxTtl ¶
func (x *Issued) GetMaxTtl() *durationpb.Duration
func (*Issued) GetRenewAfter ¶
func (x *Issued) GetRenewAfter() *timestamppb.Timestamp
func (*Issued) GetRenewable ¶
func (*Issued) ProtoMessage ¶
func (*Issued) ProtoMessage()
func (*Issued) ProtoReflect ¶
func (x *Issued) ProtoReflect() protoreflect.Message
type Issuer ¶
type Issuer struct {
// Public metadata: required issuer ID, unique within the declaring plugin.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Public metadata: required exact type ID produced by this issuer.
Produces string `protobuf:"bytes,2,opt,name=produces,proto3" json:"produces,omitempty"`
// Public metadata: distinct named inputs, empty for a root. The host resolves
// them and rejects dependency cycles before issuance.
Requires []*Slot `protobuf:"bytes,3,rep,name=requires,proto3" json:"requires,omitempty"`
// Public metadata: required class: ttl-bound (no remote kill switch), explicit
// (acknowledged revoke) or verified (authoritative observation after revoke).
RevocationClass string `protobuf:"bytes,4,opt,name=revocation_class,json=revocationClass,proto3" json:"revocation_class,omitempty"`
// Public metadata: set of device-code, open-url, form-mfa, approval-pending.
// Empty means no interaction. Advertising a kind does not authorize a prompt.
InteractionKinds []string `protobuf:"bytes,5,rep,name=interaction_kinds,json=interactionKinds,proto3" json:"interaction_kinds,omitempty"`
// Public metadata: true if Renew is implemented. Re-issue alone is not renewal.
Renews bool `protobuf:"varint,6,opt,name=renews,proto3" json:"renews,omitempty"`
// Public metadata: true if Revoke is implemented; required for explicit or verified revocation.
Revokes bool `protobuf:"varint,7,opt,name=revokes,proto3" json:"revokes,omitempty"`
// Public metadata: true if Observe is implemented; required for verified revocation.
Observes bool `protobuf:"varint,8,opt,name=observes,proto3" json:"observes,omitempty"`
// contains filtered or unexported fields
}
Public metadata: Issuer declares how one plugin issues leases of one type. The declaration does not identify the holder of any material or grant any use.
func (*Issuer) Descriptor
deprecated
func (*Issuer) GetInteractionKinds ¶
func (*Issuer) GetObserves ¶
func (*Issuer) GetProduces ¶
func (*Issuer) GetRequires ¶
func (*Issuer) GetRevocationClass ¶
func (*Issuer) GetRevokes ¶
func (*Issuer) ProtoMessage ¶
func (*Issuer) ProtoMessage()
func (*Issuer) ProtoReflect ¶
func (x *Issuer) ProtoReflect() protoreflect.Message
type IssuerRef ¶
type IssuerRef struct {
// Public metadata: required plugin ID; the host independently verifies ownership.
Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
// Public metadata: required issuer ID within that plugin.
Issuer string `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"`
// contains filtered or unexported fields
}
Public metadata: IssuerRef identifies an issuer declaration, not a lease or grant.
func (*IssuerRef) Descriptor
deprecated
func (*IssuerRef) ProtoMessage ¶
func (*IssuerRef) ProtoMessage()
func (*IssuerRef) ProtoReflect ¶
func (x *IssuerRef) ProtoReflect() protoreflect.Message
type LeaseOperation ¶
type LeaseOperation struct {
// Public metadata: required credential wire version; must equal 1.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Public metadata: required local ID of the originating issuer.
IssuerId string `protobuf:"bytes,2,opt,name=issuer_id,json=issuerId,proto3" json:"issuer_id,omitempty"`
// Protected: required opaque handle of the lease being operated on.
LeaseHandle []byte `protobuf:"bytes,3,opt,name=lease_handle,json=leaseHandle,proto3" json:"lease_handle,omitempty"`
// Public metadata: required nonzero lease revision. Fence stale operations.
Revision uint64 `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"`
// Protected: optional secret state from this issuer for this lease.
// Omitted or explicitly empty means no state.
IssuerPrivateState []byte `protobuf:"bytes,5,opt,name=issuer_private_state,json=issuerPrivateState,proto3" json:"issuer_private_state,omitempty"`
// Public metadata: required host operation ID. Mint a fresh, never-reused ID for
// each attempt, including a resumed renewal. The sealed pending_handle carries continuity.
OperationId string `protobuf:"bytes,6,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
// Public metadata: true forbids prompting or interactive sign-in during this operation.
Silent bool `protobuf:"varint,7,opt,name=silent,proto3" json:"silent,omitempty"`
// Protected: optional secret continuation from a pending renewal.
// Omitted or explicitly empty means no continuation.
PendingHandle []byte `protobuf:"bytes,8,opt,name=pending_handle,json=pendingHandle,proto3" json:"pending_handle,omitempty"`
// Protected: each renewal input has a distinct declared name and a distinct
// operation-scoped reference. Empty when no input is needed.
Inputs []*Source `protobuf:"bytes,9,rep,name=inputs,proto3" json:"inputs,omitempty"`
// Public metadata: optional positive maximum TTL authorized for renewal.
MaxTtl *durationpb.Duration `protobuf:"bytes,10,opt,name=max_ttl,json=maxTtl,proto3" json:"max_ttl,omitempty"`
// Protected: optional secret answer to this operation's challenge. Omitted or
// explicitly empty means no answer. Only the authorized issuer may receive it,
// never via PromptReply or a consumer lease.
ProtectedPromptAnswer []byte `` /* 127-byte string literal not displayed */
// contains filtered or unexported fields
}
Protected: LeaseOperation addresses an exact lease revision for renew, revoke or observe. Private state is opened only for the issuer that produced it.
func (*LeaseOperation) Descriptor
deprecated
func (*LeaseOperation) Descriptor() ([]byte, []int)
Deprecated: Use LeaseOperation.ProtoReflect.Descriptor instead.
func (*LeaseOperation) GetInputs ¶
func (x *LeaseOperation) GetInputs() []*Source
func (*LeaseOperation) GetIssuerId ¶
func (x *LeaseOperation) GetIssuerId() string
func (*LeaseOperation) GetIssuerPrivateState ¶
func (x *LeaseOperation) GetIssuerPrivateState() []byte
func (*LeaseOperation) GetLeaseHandle ¶
func (x *LeaseOperation) GetLeaseHandle() []byte
func (*LeaseOperation) GetMaxTtl ¶
func (x *LeaseOperation) GetMaxTtl() *durationpb.Duration
func (*LeaseOperation) GetOperationId ¶
func (x *LeaseOperation) GetOperationId() string
func (*LeaseOperation) GetPendingHandle ¶
func (x *LeaseOperation) GetPendingHandle() []byte
func (*LeaseOperation) GetProtectedPromptAnswer ¶
func (x *LeaseOperation) GetProtectedPromptAnswer() []byte
func (*LeaseOperation) GetRevision ¶
func (x *LeaseOperation) GetRevision() uint64
func (*LeaseOperation) GetSilent ¶
func (x *LeaseOperation) GetSilent() bool
func (*LeaseOperation) GetVersion ¶
func (x *LeaseOperation) GetVersion() uint32
func (*LeaseOperation) ProtoMessage ¶
func (*LeaseOperation) ProtoMessage()
func (*LeaseOperation) ProtoReflect ¶
func (x *LeaseOperation) ProtoReflect() protoreflect.Message
func (*LeaseOperation) Reset ¶
func (x *LeaseOperation) Reset()
func (*LeaseOperation) String ¶
func (x *LeaseOperation) String() string
type LeaseReply ¶
type LeaseReply struct {
// Public metadata: required credential wire version; must equal 1.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Protected: required host-stamped lease contract, including opaque dependency handles.
Envelope *Envelope `protobuf:"bytes,2,opt,name=envelope,proto3" json:"envelope,omitempty"`
// Protected: required material projection for this source. Never deliver
// upstream material or issuer state, or retain a second consumer cache.
Material *Material `protobuf:"bytes,3,opt,name=material,proto3" json:"material,omitempty"`
// contains filtered or unexported fields
}
Protected: LeaseReply carries live credential material. Deliver only to the authorized consumer or issuer input on the verified channel, never to a UI.
func (*LeaseReply) Descriptor
deprecated
func (*LeaseReply) Descriptor() ([]byte, []int)
Deprecated: Use LeaseReply.ProtoReflect.Descriptor instead.
func (*LeaseReply) GetEnvelope ¶
func (x *LeaseReply) GetEnvelope() *Envelope
func (*LeaseReply) GetMaterial ¶
func (x *LeaseReply) GetMaterial() *Material
func (*LeaseReply) GetVersion ¶
func (x *LeaseReply) GetVersion() uint32
func (*LeaseReply) ProtoMessage ¶
func (*LeaseReply) ProtoMessage()
func (*LeaseReply) ProtoReflect ¶
func (x *LeaseReply) ProtoReflect() protoreflect.Message
func (*LeaseReply) Reset ¶
func (x *LeaseReply) Reset()
func (*LeaseReply) String ¶
func (x *LeaseReply) String() string
type Material ¶
type Material struct {
// Protected: exact bytes by unique schema field name. The type determines
// required fields and formats. Never echo keys or values on failure.
Fields map[string][]byte `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
Protected: Material includes all field values, even fields not marked secret. Only the authorized host, type handler, issuer or consumer receives the projection needed for its job. There is no UI or diagnostic representation.
func (*Material) Descriptor
deprecated
func (*Material) ProtoMessage ¶
func (*Material) ProtoMessage()
func (*Material) ProtoReflect ¶
func (x *Material) ProtoReflect() protoreflect.Message
type Metadata ¶
type Metadata struct {
// Public metadata: required exact type ID of the credential.
TypeId string `protobuf:"bytes,1,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"`
// Public metadata: required identity label. Never copy unchecked secret data.
IdentityLabel string `protobuf:"bytes,2,opt,name=identity_label,json=identityLabel,proto3" json:"identity_label,omitempty"`
// Public metadata: optional tier on the issuer's scale; absence means no tier.
PrivilegeTier *PrivilegeTier `protobuf:"bytes,3,opt,name=privilege_tier,json=privilegeTier,proto3" json:"privilege_tier,omitempty"`
// Public metadata: optional provenance. Omitted or explicitly empty means unspecified.
Provenance string `protobuf:"bytes,4,opt,name=provenance,proto3" json:"provenance,omitempty"`
// Public metadata: allowlisted target claims, possibly empty; not a binding or grant.
TargetClaims []*Claim `protobuf:"bytes,5,rep,name=target_claims,json=targetClaims,proto3" json:"target_claims,omitempty"`
// contains filtered or unexported fields
}
Public metadata: Metadata describes a stored or issuable credential. Only allowlisted values may be presented; the description grants no access.
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetIdentityLabel ¶
func (*Metadata) GetPrivilegeTier ¶
func (x *Metadata) GetPrivilegeTier() *PrivilegeTier
func (*Metadata) GetProvenance ¶
func (*Metadata) GetTargetClaims ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type Observation ¶
type Observation struct {
// Public metadata: required credential wire version; must equal 1.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Public metadata: required outcome: active, revoked, unknown or unavailable.
// Neither unknown nor unavailable means revoked or permits restoring delivery.
Outcome string `protobuf:"bytes,2,opt,name=outcome,proto3" json:"outcome,omitempty"`
// Public metadata: required valid observation timestamp, not proof of future validity.
ObservedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=observed_at,json=observedAt,proto3" json:"observed_at,omitempty"`
// contains filtered or unexported fields
}
Public metadata: Observation reports upstream state, not cached readiness or provider text. Only an authoritative result can confirm verified revocation.
func (*Observation) Descriptor
deprecated
func (*Observation) Descriptor() ([]byte, []int)
Deprecated: Use Observation.ProtoReflect.Descriptor instead.
func (*Observation) GetObservedAt ¶
func (x *Observation) GetObservedAt() *timestamppb.Timestamp
func (*Observation) GetOutcome ¶
func (x *Observation) GetOutcome() string
func (*Observation) GetVersion ¶
func (x *Observation) GetVersion() uint32
func (*Observation) ProtoMessage ¶
func (*Observation) ProtoMessage()
func (*Observation) ProtoReflect ¶
func (x *Observation) ProtoReflect() protoreflect.Message
func (*Observation) Reset ¶
func (x *Observation) Reset()
func (*Observation) String ¶
func (x *Observation) String() string
type OpenURL ¶
type OpenURL struct {
// Protected: required authorization URI constrained to a trusted HTTPS origin.
// Use only for designated sign-in, never as public metadata or a log value.
AuthorizationUri string `protobuf:"bytes,1,opt,name=authorization_uri,json=authorizationUri,proto3" json:"authorization_uri,omitempty"`
// Protected: required loopback session binding. Verify state and redirect
// against the authorized operation; do not present this value to the user.
LoopbackSession string `protobuf:"bytes,2,opt,name=loopback_session,json=loopbackSession,proto3" json:"loopback_session,omitempty"`
// contains filtered or unexported fields
}
Protected: OpenURL carries a browser challenge with a host-bound loopback response. Do not open arbitrary plugin URLs or follow unvalidated redirects.
func (*OpenURL) Descriptor
deprecated
func (*OpenURL) GetAuthorizationUri ¶
func (*OpenURL) GetLoopbackSession ¶
func (*OpenURL) ProtoMessage ¶
func (*OpenURL) ProtoMessage()
func (*OpenURL) ProtoReflect ¶
func (x *OpenURL) ProtoReflect() protoreflect.Message
type Pending ¶
type Pending struct {
// Protected: required nonempty secret continuation. Seal it and return it
// only to the same issuer and operation; never show the polling code or ticket.
Handle []byte `protobuf:"bytes,1,opt,name=handle,proto3" json:"handle,omitempty"`
// Public metadata: required positive retry interval, not a promise of approval.
RetryAfter *durationpb.Duration `protobuf:"bytes,2,opt,name=retry_after,json=retryAfter,proto3" json:"retry_after,omitempty"`
// contains filtered or unexported fields
}
Protected: Pending returns a secret continuation, not issued material, while sign-in or approval proceeds. Bound lifetime and attempts; reauthorize on resume.
func (*Pending) Descriptor
deprecated
func (*Pending) GetRetryAfter ¶
func (x *Pending) GetRetryAfter() *durationpb.Duration
func (*Pending) ProtoMessage ¶
func (*Pending) ProtoMessage()
func (*Pending) ProtoReflect ¶
func (x *Pending) ProtoReflect() protoreflect.Message
type Principal ¶
type Principal struct {
// Public metadata: future principal kind. No kind is negotiated in v1.
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
// Protected: identity metadata only, scoped to the kind; not a caller-supplied proof.
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
Protected: Principal holds identity metadata only, not secret credential material. V1 admits no principal chain. A supplied principal is not proof of peer identity.
func (*Principal) Descriptor
deprecated
func (*Principal) ProtoMessage ¶
func (*Principal) ProtoMessage()
func (*Principal) ProtoReflect ¶
func (x *Principal) ProtoReflect() protoreflect.Message
type PrivilegeTier ¶
type PrivilegeTier struct {
// Public metadata: required issuer-local scale name.
Scale string `protobuf:"bytes,1,opt,name=scale,proto3" json:"scale,omitempty"`
// Public metadata: ordinal on that scale; zero is an ordinal, not a missing tier.
Ordinal uint32 `protobuf:"varint,2,opt,name=ordinal,proto3" json:"ordinal,omitempty"`
// contains filtered or unexported fields
}
Public metadata: PrivilegeTier orders candidates on one issuer's named scale. Never compare tiers across issuers or use them for authorization.
func (*PrivilegeTier) Descriptor
deprecated
func (*PrivilegeTier) Descriptor() ([]byte, []int)
Deprecated: Use PrivilegeTier.ProtoReflect.Descriptor instead.
func (*PrivilegeTier) GetOrdinal ¶
func (x *PrivilegeTier) GetOrdinal() uint32
func (*PrivilegeTier) GetScale ¶
func (x *PrivilegeTier) GetScale() string
func (*PrivilegeTier) ProtoMessage ¶
func (*PrivilegeTier) ProtoMessage()
func (*PrivilegeTier) ProtoReflect ¶
func (x *PrivilegeTier) ProtoReflect() protoreflect.Message
func (*PrivilegeTier) Reset ¶
func (x *PrivilegeTier) Reset()
func (*PrivilegeTier) String ¶
func (x *PrivilegeTier) String() string
type PromptReply ¶
type PromptReply struct {
// Public metadata: required credential wire version; must equal 1.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Public metadata: required disposition: presented, denied or cancelled. None
// grants authority to issue material; denial or cancellation is not success.
Disposition string `protobuf:"bytes,2,opt,name=disposition,proto3" json:"disposition,omitempty"`
// contains filtered or unexported fields
}
Public metadata: PromptReply reports presentation only. It never contains answers, approval tickets, private state or proof that authentication completed.
func (*PromptReply) Descriptor
deprecated
func (*PromptReply) Descriptor() ([]byte, []int)
Deprecated: Use PromptReply.ProtoReflect.Descriptor instead.
func (*PromptReply) GetDisposition ¶
func (x *PromptReply) GetDisposition() string
func (*PromptReply) GetVersion ¶
func (x *PromptReply) GetVersion() uint32
func (*PromptReply) ProtoMessage ¶
func (*PromptReply) ProtoMessage()
func (*PromptReply) ProtoReflect ¶
func (x *PromptReply) ProtoReflect() protoreflect.Message
func (*PromptReply) Reset ¶
func (x *PromptReply) Reset()
func (*PromptReply) String ¶
func (x *PromptReply) String() string
type PromptRequest ¶
type PromptRequest struct {
// Public metadata: required credential wire version; must equal 1.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Public metadata: required host ID of the issuer's authorized issue or renewal
// operation. The ID alone never authorizes a prompt or resumption.
OperationId string `protobuf:"bytes,2,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
// Protected: exactly one challenge; it must match a kind declared by this issuer.
//
// Types that are valid to be assigned to Kind:
//
// *PromptRequest_DeviceCode
// *PromptRequest_OpenUrl
// *PromptRequest_FormMfa
// *PromptRequest_ApprovalPending
Kind isPromptRequest_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}
Protected: PromptRequest carries one declared challenge for an authorized, nonsilent operation. Only the designated host surface may present a challenge.
func (*PromptRequest) Descriptor
deprecated
func (*PromptRequest) Descriptor() ([]byte, []int)
Deprecated: Use PromptRequest.ProtoReflect.Descriptor instead.
func (*PromptRequest) GetApprovalPending ¶
func (x *PromptRequest) GetApprovalPending() *ApprovalPending
func (*PromptRequest) GetDeviceCode ¶
func (x *PromptRequest) GetDeviceCode() *DeviceCode
func (*PromptRequest) GetFormMfa ¶
func (x *PromptRequest) GetFormMfa() *Form
func (*PromptRequest) GetKind ¶
func (x *PromptRequest) GetKind() isPromptRequest_Kind
func (*PromptRequest) GetOpenUrl ¶
func (x *PromptRequest) GetOpenUrl() *OpenURL
func (*PromptRequest) GetOperationId ¶
func (x *PromptRequest) GetOperationId() string
func (*PromptRequest) GetVersion ¶
func (x *PromptRequest) GetVersion() uint32
func (*PromptRequest) ProtoMessage ¶
func (*PromptRequest) ProtoMessage()
func (*PromptRequest) ProtoReflect ¶
func (x *PromptRequest) ProtoReflect() protoreflect.Message
func (*PromptRequest) Reset ¶
func (x *PromptRequest) Reset()
func (*PromptRequest) String ¶
func (x *PromptRequest) String() string
type PromptRequest_ApprovalPending ¶
type PromptRequest_ApprovalPending struct {
// Public metadata: approval-pending indication only, never the upstream ticket.
ApprovalPending *ApprovalPending `protobuf:"bytes,6,opt,name=approval_pending,json=approvalPending,proto3,oneof"`
}
type PromptRequest_DeviceCode ¶
type PromptRequest_DeviceCode struct {
// Protected: device-code challenge. Display only the verification URI and user code.
DeviceCode *DeviceCode `protobuf:"bytes,3,opt,name=device_code,json=deviceCode,proto3,oneof"`
}
type PromptRequest_FormMfa ¶
type PromptRequest_FormMfa struct {
// Public metadata: form-mfa schema only. Collect answers on a trusted write-only path.
FormMfa *Form `protobuf:"bytes,5,opt,name=form_mfa,json=formMfa,proto3,oneof"`
}
type PromptRequest_OpenUrl ¶
type PromptRequest_OpenUrl struct {
// Protected: open-url challenge. Constrain HTTPS and bind the loopback session.
OpenUrl *OpenURL `protobuf:"bytes,4,opt,name=open_url,json=openUrl,proto3,oneof"`
}
type Rejection ¶
type Rejection struct {
// Public metadata: required credential wire version; must equal 1.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Protected: required source reference through which the lease was acquired.
SourceRef []byte `protobuf:"bytes,2,opt,name=source_ref,json=sourceRef,proto3" json:"source_ref,omitempty"`
// Protected: required opaque handle of the lease actually rejected.
LeaseHandle []byte `protobuf:"bytes,3,opt,name=lease_handle,json=leaseHandle,proto3" json:"lease_handle,omitempty"`
// Public metadata: required nonzero revision used on the rejected request.
Revision uint64 `protobuf:"varint,4,opt,name=revision,proto3" json:"revision,omitempty"`
// Public metadata: required closed reason: target-rejected. Never send
// response bodies, credentials, free text or native errors.
Reason string `protobuf:"bytes,5,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}
Protected: Rejection identifies the source and lease handle actually rejected by the admitted target. A network failure or general access denial is not evidence.
func (*Rejection) Descriptor
deprecated
func (*Rejection) GetLeaseHandle ¶
func (*Rejection) GetRevision ¶
func (*Rejection) GetSourceRef ¶
func (*Rejection) GetVersion ¶
func (*Rejection) ProtoMessage ¶
func (*Rejection) ProtoMessage()
func (*Rejection) ProtoReflect ¶
func (x *Rejection) ProtoReflect() protoreflect.Message
type Replacement ¶
type Replacement struct {
// Public metadata: required credential wire version on every item; must equal 1.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Public metadata: required nonzero current revision for the watched source.
Revision uint64 `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
// Public metadata: required credential status, not native connection readiness:
// UNBOUND, ISSUING, ACTIVE, NEEDS_INTERACTION, PENDING_APPROVAL, REFRESHING,
// EXPIRED, REVOKING, REVOKED or REVOKE_UNVERIFIED. Unverified does not confirm revocation.
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
Public metadata: Replacement notifies a watcher of the current revision and status. It contains no material, handles, continuation state or prompt.
func (*Replacement) Descriptor
deprecated
func (*Replacement) Descriptor() ([]byte, []int)
Deprecated: Use Replacement.ProtoReflect.Descriptor instead.
func (*Replacement) GetRevision ¶
func (x *Replacement) GetRevision() uint64
func (*Replacement) GetStatus ¶
func (x *Replacement) GetStatus() string
func (*Replacement) GetVersion ¶
func (x *Replacement) GetVersion() uint32
func (*Replacement) ProtoMessage ¶
func (*Replacement) ProtoMessage()
func (*Replacement) ProtoReflect ¶
func (x *Replacement) ProtoReflect() protoreflect.Message
func (*Replacement) Reset ¶
func (x *Replacement) Reset()
func (*Replacement) String ¶
func (x *Replacement) String() string
type Slot ¶
type Slot struct {
// Public metadata: required local name, unique among this consumer's or issuer's slots.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Public metadata: nonempty set of distinct exact type IDs. The host may admit
// a verified subtype projection; core.opaque/v1 is not a wildcard.
Accepts []string `protobuf:"bytes,2,rep,name=accepts,proto3" json:"accepts,omitempty"`
// contains filtered or unexported fields
}
Public metadata: Slot names a consumer purpose or an issuer input. A matching type is not permission to acquire it; the host resolves the authorized projection.
func (*Slot) Descriptor
deprecated
func (*Slot) GetAccepts ¶
func (*Slot) ProtoMessage ¶
func (*Slot) ProtoMessage()
func (*Slot) ProtoReflect ¶
func (x *Slot) ProtoReflect() protoreflect.Message
type Source ¶
type Source struct {
// Public metadata: required declared slot name; for issuance, one named issuer input.
Slot string `protobuf:"bytes,1,opt,name=slot,proto3" json:"slot,omitempty"`
// Protected: required opaque host reference. Scope to process, connection,
// slot, binding revision and target/grant, or to one authorized issuer input
// operation. Never substitute a lease handle, credential ID or issuer state.
SourceRef []byte `protobuf:"bytes,2,opt,name=source_ref,json=sourceRef,proto3" json:"source_ref,omitempty"`
// contains filtered or unexported fields
}
Protected: Source carries an opaque reference. Only the host resolves it, after checking the authenticated caller and live authorization.
func (*Source) Descriptor
deprecated
func (*Source) GetSourceRef ¶
func (*Source) ProtoMessage ¶
func (*Source) ProtoMessage()
func (*Source) ProtoReflect ¶
func (x *Source) ProtoReflect() protoreflect.Message
type SourceRequest ¶
type SourceRequest struct {
// Public metadata: required credential wire version; must equal 1.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Protected: required opaque reference supplied in Source. A stale, revoked
// or wrong-caller reference cannot select or watch a lease.
SourceRef []byte `protobuf:"bytes,2,opt,name=source_ref,json=sourceRef,proto3" json:"source_ref,omitempty"`
// contains filtered or unexported fields
}
Protected: SourceRequest carries a host-issued reference, not a credential ID. Recheck the authenticated process, operation or binding revision and grant.
func (*SourceRequest) Descriptor
deprecated
func (*SourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use SourceRequest.ProtoReflect.Descriptor instead.
func (*SourceRequest) GetSourceRef ¶
func (x *SourceRequest) GetSourceRef() []byte
func (*SourceRequest) GetVersion ¶
func (x *SourceRequest) GetVersion() uint32
func (*SourceRequest) ProtoMessage ¶
func (*SourceRequest) ProtoMessage()
func (*SourceRequest) ProtoReflect ¶
func (x *SourceRequest) ProtoReflect() protoreflect.Message
func (*SourceRequest) Reset ¶
func (x *SourceRequest) Reset()
func (*SourceRequest) String ¶
func (x *SourceRequest) String() string
type SourceSet ¶
type SourceSet struct {
// Public metadata: required credential wire version; must equal 1.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Public metadata: required host-admitted connection ID in the authenticated process.
ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
// Public metadata: required nonzero binding revision. Fence previous references on change.
BindingRevision uint64 `protobuf:"varint,3,opt,name=binding_revision,json=bindingRevision,proto3" json:"binding_revision,omitempty"`
// Protected: slot names and source references must each be unique in this
// set. Empty clears the set; omitted slots are not preserved.
Slots []*Source `protobuf:"bytes,4,rep,name=slots,proto3" json:"slots,omitempty"`
// contains filtered or unexported fields
}
Protected: SourceSet replaces all authorized consumer references for one connection and binding revision. Stale sets cannot revive old references or generations.
func (*SourceSet) Descriptor
deprecated
func (*SourceSet) GetBindingRevision ¶
func (*SourceSet) GetConnectionId ¶
func (*SourceSet) GetVersion ¶
func (*SourceSet) ProtoMessage ¶
func (*SourceSet) ProtoMessage()
func (*SourceSet) ProtoReflect ¶
func (x *SourceSet) ProtoReflect() protoreflect.Message
type Type ¶
type Type struct {
// Public metadata: namespace.name/vN, where namespace is the installed plugin
// ID (possibly dotted) and name is the final component. Only the SDK owns core.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Public metadata: optional, nonempty exact base ID. Validate the base first; reject cycles.
Extends *string `protobuf:"bytes,2,opt,name=extends,proto3,oneof" json:"extends,omitempty"`
// Public metadata: fields declared by this type. Reject conflicts and do not
// weaken inherited secret or required fields. Inherited fields need not be repeated.
Fields []*Field `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"`
// Public metadata: true if the type implements Import for foreign documents.
Imports bool `protobuf:"varint,4,opt,name=imports,proto3" json:"imports,omitempty"`
// Public metadata: true if the type implements Describe for allowlisted metadata.
Describes bool `protobuf:"varint,5,opt,name=describes,proto3" json:"describes,omitempty"`
// contains filtered or unexported fields
}
Public metadata: Type declares a plugin-owned schema. All type references in this protocol name exact, namespaced, versioned IDs. Valid v1 core references are core.bearer/v1, core.basic/v1, core.x509/v1, core.ssh-key/v1, core.ssh-cert/v1, core.oauth-token-set/v1 and core.opaque/v1. No automatic OAuth token-set to bearer projection is permitted.
func (*Type) Descriptor
deprecated
func (*Type) GetDescribes ¶
func (*Type) GetExtends ¶
func (*Type) GetImports ¶
func (*Type) ProtoMessage ¶
func (*Type) ProtoMessage()
func (*Type) ProtoReflect ¶
func (x *Type) ProtoReflect() protoreflect.Message
type TypedMaterial ¶
type TypedMaterial struct {
// Public metadata: required credential wire version; must equal 1.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Public metadata: required exact type ID for validation or description.
TypeId string `protobuf:"bytes,2,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"`
// Protected: required field map for this type, including its secret values.
Material *Material `protobuf:"bytes,3,opt,name=material,proto3" json:"material,omitempty"`
// contains filtered or unexported fields
}
Protected: TypedMaterial supplies secret field values to the authorized type handler.
func (*TypedMaterial) Descriptor
deprecated
func (*TypedMaterial) Descriptor() ([]byte, []int)
Deprecated: Use TypedMaterial.ProtoReflect.Descriptor instead.
func (*TypedMaterial) GetMaterial ¶
func (x *TypedMaterial) GetMaterial() *Material
func (*TypedMaterial) GetTypeId ¶
func (x *TypedMaterial) GetTypeId() string
func (*TypedMaterial) GetVersion ¶
func (x *TypedMaterial) GetVersion() uint32
func (*TypedMaterial) ProtoMessage ¶
func (*TypedMaterial) ProtoMessage()
func (*TypedMaterial) ProtoReflect ¶
func (x *TypedMaterial) ProtoReflect() protoreflect.Message
func (*TypedMaterial) Reset ¶
func (x *TypedMaterial) Reset()
func (*TypedMaterial) String ¶
func (x *TypedMaterial) String() string
type UnimplementedCredentialBindingServer ¶
type UnimplementedCredentialBindingServer struct {
}
UnimplementedCredentialBindingServer should be embedded to have forward compatible implementations.
func (UnimplementedCredentialBindingServer) Bind ¶
func (UnimplementedCredentialBindingServer) Bind(context.Context, *BindRequest) (*Version, error)
type UnimplementedCredentialHostServer ¶
type UnimplementedCredentialHostServer struct {
}
UnimplementedCredentialHostServer should be embedded to have forward compatible implementations.
func (UnimplementedCredentialHostServer) Get ¶
func (UnimplementedCredentialHostServer) Get(context.Context, *SourceRequest) (*LeaseReply, error)
func (UnimplementedCredentialHostServer) Invalidate ¶
func (UnimplementedCredentialHostServer) Prompt ¶
func (UnimplementedCredentialHostServer) Prompt(context.Context, *PromptRequest) (*PromptReply, error)
type UnimplementedCredentialPluginServer ¶
type UnimplementedCredentialPluginServer struct {
}
UnimplementedCredentialPluginServer should be embedded to have forward compatible implementations.
func (UnimplementedCredentialPluginServer) AttachSources ¶
func (UnimplementedCredentialPluginServer) Declarations ¶
func (UnimplementedCredentialPluginServer) Describe ¶
func (UnimplementedCredentialPluginServer) Describe(context.Context, *TypedMaterial) (*Description, error)
func (UnimplementedCredentialPluginServer) Discover ¶
func (UnimplementedCredentialPluginServer) Discover(context.Context, *DiscoveryRequest) (*Candidates, error)
func (UnimplementedCredentialPluginServer) Import ¶
func (UnimplementedCredentialPluginServer) Import(context.Context, *ImportRequest) (*ImportDrafts, error)
func (UnimplementedCredentialPluginServer) Issue ¶
func (UnimplementedCredentialPluginServer) Issue(context.Context, *IssueRequest) (*IssueResult, error)
func (UnimplementedCredentialPluginServer) Observe ¶
func (UnimplementedCredentialPluginServer) Observe(context.Context, *LeaseOperation) (*Observation, error)
func (UnimplementedCredentialPluginServer) Renew ¶
func (UnimplementedCredentialPluginServer) Renew(context.Context, *LeaseOperation) (*IssueResult, error)
func (UnimplementedCredentialPluginServer) Revoke ¶
func (UnimplementedCredentialPluginServer) Revoke(context.Context, *LeaseOperation) (*Observation, error)
func (UnimplementedCredentialPluginServer) Validate ¶
func (UnimplementedCredentialPluginServer) Validate(context.Context, *TypedMaterial) (*Version, error)
type UnsafeCredentialBindingServer ¶
type UnsafeCredentialBindingServer interface {
// contains filtered or unexported methods
}
UnsafeCredentialBindingServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CredentialBindingServer will result in compilation errors.
type UnsafeCredentialHostServer ¶
type UnsafeCredentialHostServer interface {
// contains filtered or unexported methods
}
UnsafeCredentialHostServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CredentialHostServer will result in compilation errors.
type UnsafeCredentialPluginServer ¶
type UnsafeCredentialPluginServer interface {
// contains filtered or unexported methods
}
UnsafeCredentialPluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CredentialPluginServer will result in compilation errors.
type Version ¶
type Version struct {
// Public metadata: required credential wire version; must equal 1.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
Public metadata: Version requests or acknowledges the wire version. Each RPC frame in either direction, including each stream item, carries the exact wire version. This version is independent of process protocol, type ID and lease revision.
func (*Version) Descriptor
deprecated
func (*Version) GetVersion ¶
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message