Documentation ¶
Overview ¶
Package identity contains protobuf types for identity management.
Index ¶
- Variables
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)deprecated
- func (x *Profile) GetClaims() *structpb.Struct
- func (x *Profile) GetIdToken() []byte
- func (x *Profile) GetOauthToken() []byte
- func (x *Profile) GetProviderId() string
- func (*Profile) ProtoMessage()
- func (x *Profile) ProtoReflect() protoreflect.Message
- func (x *Profile) Reset()
- func (x *Profile) String() string
- type Provider
- func (x *Provider) Clone() *Provider
- func (*Provider) Descriptor() ([]byte, []int)deprecated
- func (x *Provider) GetAuthenticateServiceUrl() string
- func (x *Provider) GetClientId() string
- func (x *Provider) GetClientSecret() string
- func (x *Provider) GetId() string
- func (x *Provider) GetRequestParams() map[string]string
- func (x *Provider) GetScopes() []string
- func (x *Provider) GetType() string
- func (x *Provider) GetUrl() string
- func (x *Provider) Hash() string
- func (*Provider) ProtoMessage()
- func (x *Provider) ProtoReflect() protoreflect.Message
- func (x *Provider) Reset()
- func (x *Provider) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_identity_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Profile ¶ added in v0.21.0
type Profile struct { ProviderId string `protobuf:"bytes,1,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"` IdToken []byte `protobuf:"bytes,2,opt,name=id_token,json=idToken,proto3" json:"id_token,omitempty"` OauthToken []byte `protobuf:"bytes,3,opt,name=oauth_token,json=oauthToken,proto3" json:"oauth_token,omitempty"` Claims *structpb.Struct `protobuf:"bytes,4,opt,name=claims,proto3" json:"claims,omitempty"` // contains filtered or unexported fields }
func (*Profile) Descriptor
deprecated
added in
v0.21.0
func (*Profile) GetIdToken ¶ added in v0.21.0
func (*Profile) GetOauthToken ¶ added in v0.21.0
func (*Profile) GetProviderId ¶ added in v0.21.0
func (*Profile) ProtoMessage ¶ added in v0.21.0
func (*Profile) ProtoMessage()
func (*Profile) ProtoReflect ¶ added in v0.21.0
func (x *Profile) ProtoReflect() protoreflect.Message
type Provider ¶
type Provider struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` AuthenticateServiceUrl string `` /* 129-byte string literal not displayed */ ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Scopes []string `protobuf:"bytes,5,rep,name=scopes,proto3" json:"scopes,omitempty"` // string service_account = 6; Url string `protobuf:"bytes,7,opt,name=url,proto3" json:"url,omitempty"` RequestParams map[string]string `` /* 188-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Provider) Descriptor
deprecated
func (*Provider) GetAuthenticateServiceUrl ¶ added in v0.27.0
func (*Provider) GetClientId ¶
func (*Provider) GetClientSecret ¶
func (*Provider) GetRequestParams ¶
func (*Provider) Hash ¶
Hash computes a sha256 hash of the provider's fields. It excludes the Id field.
func (*Provider) ProtoMessage ¶
func (*Provider) ProtoMessage()
func (*Provider) ProtoReflect ¶
func (x *Provider) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.