Documentation
¶
Index ¶
- Variables
- type StsServiceCredentials
- func (*StsServiceCredentials) Descriptor() ([]byte, []int)deprecated
- func (x *StsServiceCredentials) GetActorTokenPath() string
- func (x *StsServiceCredentials) GetActorTokenType() string
- func (x *StsServiceCredentials) GetAudience() string
- func (x *StsServiceCredentials) GetRequestedTokenType() string
- func (x *StsServiceCredentials) GetResource() string
- func (x *StsServiceCredentials) GetScope() string
- func (x *StsServiceCredentials) GetSubjectTokenPath() string
- func (x *StsServiceCredentials) GetSubjectTokenType() string
- func (x *StsServiceCredentials) GetTokenExchangeServiceUri() string
- func (*StsServiceCredentials) ProtoMessage()
- func (x *StsServiceCredentials) ProtoReflect() protoreflect.Message
- func (x *StsServiceCredentials) Reset()
- func (x *StsServiceCredentials) String() string
- func (m *StsServiceCredentials) Validate() error
- func (m *StsServiceCredentials) ValidateAll() error
- type StsServiceCredentialsMultiError
- type StsServiceCredentialsValidationError
- func (e StsServiceCredentialsValidationError) Cause() error
- func (e StsServiceCredentialsValidationError) Error() string
- func (e StsServiceCredentialsValidationError) ErrorName() string
- func (e StsServiceCredentialsValidationError) Field() string
- func (e StsServiceCredentialsValidationError) Key() bool
- func (e StsServiceCredentialsValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_grpc_service_call_credentials_sts_service_v3_sts_service_credentials_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type StsServiceCredentials ¶
type StsServiceCredentials struct {
// URI of the token exchange service that handles token exchange requests.
// [#comment:TODO(asraa): Add URI validation when implemented. Tracked by
// https://github.com/bufbuild/protoc-gen-validate/issues/303]
TokenExchangeServiceUri string `` /* 134-byte string literal not displayed */
// Location of the target service or resource where the client
// intends to use the requested security token.
Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
// Logical name of the target service where the client intends to
// use the requested security token.
Audience string `protobuf:"bytes,3,opt,name=audience,proto3" json:"audience,omitempty"`
// The desired scope of the requested security token in the
// context of the service or resource where the token will be used.
Scope string `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"`
// Type of the requested security token.
RequestedTokenType string `protobuf:"bytes,5,opt,name=requested_token_type,json=requestedTokenType,proto3" json:"requested_token_type,omitempty"`
// The path of subject token, a security token that represents the
// identity of the party on behalf of whom the request is being made.
SubjectTokenPath string `protobuf:"bytes,6,opt,name=subject_token_path,json=subjectTokenPath,proto3" json:"subject_token_path,omitempty"`
// Type of the subject token.
SubjectTokenType string `protobuf:"bytes,7,opt,name=subject_token_type,json=subjectTokenType,proto3" json:"subject_token_type,omitempty"`
// The path of actor token, a security token that represents the identity
// of the acting party. The acting party is authorized to use the
// requested security token and act on behalf of the subject.
ActorTokenPath string `protobuf:"bytes,8,opt,name=actor_token_path,json=actorTokenPath,proto3" json:"actor_token_path,omitempty"`
// Type of the actor token.
ActorTokenType string `protobuf:"bytes,9,opt,name=actor_token_type,json=actorTokenType,proto3" json:"actor_token_type,omitempty"`
// contains filtered or unexported fields
}
Security token service configuration that allows Google gRPC to fetch security token from an OAuth 2.0 authorization server. See https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16 and https://github.com/grpc/grpc/pull/19587. [#not-implemented-hide:] [#next-free-field: 10]
func (*StsServiceCredentials) Descriptor
deprecated
func (*StsServiceCredentials) Descriptor() ([]byte, []int)
Deprecated: Use StsServiceCredentials.ProtoReflect.Descriptor instead.
func (*StsServiceCredentials) GetActorTokenPath ¶
func (x *StsServiceCredentials) GetActorTokenPath() string
func (*StsServiceCredentials) GetActorTokenType ¶
func (x *StsServiceCredentials) GetActorTokenType() string
func (*StsServiceCredentials) GetAudience ¶
func (x *StsServiceCredentials) GetAudience() string
func (*StsServiceCredentials) GetRequestedTokenType ¶
func (x *StsServiceCredentials) GetRequestedTokenType() string
func (*StsServiceCredentials) GetResource ¶
func (x *StsServiceCredentials) GetResource() string
func (*StsServiceCredentials) GetScope ¶
func (x *StsServiceCredentials) GetScope() string
func (*StsServiceCredentials) GetSubjectTokenPath ¶
func (x *StsServiceCredentials) GetSubjectTokenPath() string
func (*StsServiceCredentials) GetSubjectTokenType ¶
func (x *StsServiceCredentials) GetSubjectTokenType() string
func (*StsServiceCredentials) GetTokenExchangeServiceUri ¶
func (x *StsServiceCredentials) GetTokenExchangeServiceUri() string
func (*StsServiceCredentials) ProtoMessage ¶
func (*StsServiceCredentials) ProtoMessage()
func (*StsServiceCredentials) ProtoReflect ¶
func (x *StsServiceCredentials) ProtoReflect() protoreflect.Message
func (*StsServiceCredentials) Reset ¶
func (x *StsServiceCredentials) Reset()
func (*StsServiceCredentials) String ¶
func (x *StsServiceCredentials) String() string
func (*StsServiceCredentials) Validate ¶
func (m *StsServiceCredentials) Validate() error
Validate checks the field values on StsServiceCredentials with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StsServiceCredentials) ValidateAll ¶
func (m *StsServiceCredentials) ValidateAll() error
ValidateAll checks the field values on StsServiceCredentials with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StsServiceCredentialsMultiError, or nil if none found.
type StsServiceCredentialsMultiError ¶
type StsServiceCredentialsMultiError []error
StsServiceCredentialsMultiError is an error wrapping multiple validation errors returned by StsServiceCredentials.ValidateAll() if the designated constraints aren't met.
func (StsServiceCredentialsMultiError) AllErrors ¶
func (m StsServiceCredentialsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StsServiceCredentialsMultiError) Error ¶
func (m StsServiceCredentialsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StsServiceCredentialsValidationError ¶
type StsServiceCredentialsValidationError struct {
// contains filtered or unexported fields
}
StsServiceCredentialsValidationError is the validation error returned by StsServiceCredentials.Validate if the designated constraints aren't met.
func (StsServiceCredentialsValidationError) Cause ¶
func (e StsServiceCredentialsValidationError) Cause() error
Cause function returns cause value.
func (StsServiceCredentialsValidationError) Error ¶
func (e StsServiceCredentialsValidationError) Error() string
Error satisfies the builtin error interface
func (StsServiceCredentialsValidationError) ErrorName ¶
func (e StsServiceCredentialsValidationError) ErrorName() string
ErrorName returns error name.
func (StsServiceCredentialsValidationError) Field ¶
func (e StsServiceCredentialsValidationError) Field() string
Field function returns field value.
func (StsServiceCredentialsValidationError) Key ¶
func (e StsServiceCredentialsValidationError) Key() bool
Key function returns key value.
func (StsServiceCredentialsValidationError) Reason ¶
func (e StsServiceCredentialsValidationError) Reason() string
Reason function returns reason value.