Documentation ¶
Index ¶
- Constants
- Variables
- func CredentialsFunc(sm *session.Manager, g session.Group) func(string) (session, username, secret string, err error)
- func GetTokenAuthority(ctx context.Context, host string, sm *session.Manager, g session.Group) (sessionID string, pubKey *[32]byte, err error)
- func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)
- func VerifyTokenAuthority(ctx context.Context, host string, pubKey *[32]byte, sm *session.Manager, ...) (sessionID string, ok bool, err error)
- type AuthClient
- type AuthServer
- type CredentialsRequest
- func (m *CredentialsRequest) CloneMessageVT() proto.Message
- func (m *CredentialsRequest) CloneVT() *CredentialsRequest
- func (*CredentialsRequest) Descriptor() ([]byte, []int)deprecated
- func (this *CredentialsRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CredentialsRequest) EqualVT(that *CredentialsRequest) bool
- func (x *CredentialsRequest) GetHost() string
- func (m *CredentialsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CredentialsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *CredentialsRequest) MarshalVT() (dAtA []byte, err error)
- func (*CredentialsRequest) ProtoMessage()
- func (x *CredentialsRequest) ProtoReflect() protoreflect.Message
- func (x *CredentialsRequest) Reset()
- func (m *CredentialsRequest) SizeVT() (n int)
- func (x *CredentialsRequest) String() string
- func (m *CredentialsRequest) UnmarshalVT(dAtA []byte) error
- type CredentialsResponse
- func (m *CredentialsResponse) CloneMessageVT() proto.Message
- func (m *CredentialsResponse) CloneVT() *CredentialsResponse
- func (*CredentialsResponse) Descriptor() ([]byte, []int)deprecated
- func (this *CredentialsResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *CredentialsResponse) EqualVT(that *CredentialsResponse) bool
- func (x *CredentialsResponse) GetSecret() string
- func (x *CredentialsResponse) GetUsername() string
- func (m *CredentialsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CredentialsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *CredentialsResponse) MarshalVT() (dAtA []byte, err error)
- func (*CredentialsResponse) ProtoMessage()
- func (x *CredentialsResponse) ProtoReflect() protoreflect.Message
- func (x *CredentialsResponse) Reset()
- func (m *CredentialsResponse) SizeVT() (n int)
- func (x *CredentialsResponse) String() string
- func (m *CredentialsResponse) UnmarshalVT(dAtA []byte) error
- type FetchTokenRequest
- func (m *FetchTokenRequest) CloneMessageVT() proto.Message
- func (m *FetchTokenRequest) CloneVT() *FetchTokenRequest
- func (*FetchTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (this *FetchTokenRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *FetchTokenRequest) EqualVT(that *FetchTokenRequest) bool
- func (x *FetchTokenRequest) GetClientID() string
- func (x *FetchTokenRequest) GetHost() string
- func (x *FetchTokenRequest) GetRealm() string
- func (x *FetchTokenRequest) GetScopes() []string
- func (x *FetchTokenRequest) GetService() string
- func (m *FetchTokenRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FetchTokenRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *FetchTokenRequest) MarshalVT() (dAtA []byte, err error)
- func (*FetchTokenRequest) ProtoMessage()
- func (x *FetchTokenRequest) ProtoReflect() protoreflect.Message
- func (x *FetchTokenRequest) Reset()
- func (m *FetchTokenRequest) SizeVT() (n int)
- func (x *FetchTokenRequest) String() string
- func (m *FetchTokenRequest) UnmarshalVT(dAtA []byte) error
- type FetchTokenResponse
- func (m *FetchTokenResponse) CloneMessageVT() proto.Message
- func (m *FetchTokenResponse) CloneVT() *FetchTokenResponse
- func (*FetchTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (this *FetchTokenResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *FetchTokenResponse) EqualVT(that *FetchTokenResponse) bool
- func (x *FetchTokenResponse) GetExpiresIn() int64
- func (x *FetchTokenResponse) GetIssuedAt() int64
- func (x *FetchTokenResponse) GetToken() string
- func (m *FetchTokenResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FetchTokenResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *FetchTokenResponse) MarshalVT() (dAtA []byte, err error)
- func (*FetchTokenResponse) ProtoMessage()
- func (x *FetchTokenResponse) ProtoReflect() protoreflect.Message
- func (x *FetchTokenResponse) Reset()
- func (m *FetchTokenResponse) SizeVT() (n int)
- func (x *FetchTokenResponse) String() string
- func (m *FetchTokenResponse) UnmarshalVT(dAtA []byte) error
- type GetTokenAuthorityRequest
- func (m *GetTokenAuthorityRequest) CloneMessageVT() proto.Message
- func (m *GetTokenAuthorityRequest) CloneVT() *GetTokenAuthorityRequest
- func (*GetTokenAuthorityRequest) Descriptor() ([]byte, []int)deprecated
- func (this *GetTokenAuthorityRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *GetTokenAuthorityRequest) EqualVT(that *GetTokenAuthorityRequest) bool
- func (x *GetTokenAuthorityRequest) GetHost() string
- func (x *GetTokenAuthorityRequest) GetSalt() []byte
- func (m *GetTokenAuthorityRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetTokenAuthorityRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetTokenAuthorityRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetTokenAuthorityRequest) ProtoMessage()
- func (x *GetTokenAuthorityRequest) ProtoReflect() protoreflect.Message
- func (x *GetTokenAuthorityRequest) Reset()
- func (m *GetTokenAuthorityRequest) SizeVT() (n int)
- func (x *GetTokenAuthorityRequest) String() string
- func (m *GetTokenAuthorityRequest) UnmarshalVT(dAtA []byte) error
- type GetTokenAuthorityResponse
- func (m *GetTokenAuthorityResponse) CloneMessageVT() proto.Message
- func (m *GetTokenAuthorityResponse) CloneVT() *GetTokenAuthorityResponse
- func (*GetTokenAuthorityResponse) Descriptor() ([]byte, []int)deprecated
- func (this *GetTokenAuthorityResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *GetTokenAuthorityResponse) EqualVT(that *GetTokenAuthorityResponse) bool
- func (x *GetTokenAuthorityResponse) GetPublicKey() []byte
- func (m *GetTokenAuthorityResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetTokenAuthorityResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetTokenAuthorityResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetTokenAuthorityResponse) ProtoMessage()
- func (x *GetTokenAuthorityResponse) ProtoReflect() protoreflect.Message
- func (x *GetTokenAuthorityResponse) Reset()
- func (m *GetTokenAuthorityResponse) SizeVT() (n int)
- func (x *GetTokenAuthorityResponse) String() string
- func (m *GetTokenAuthorityResponse) UnmarshalVT(dAtA []byte) error
- type UnimplementedAuthServer
- func (UnimplementedAuthServer) Credentials(context.Context, *CredentialsRequest) (*CredentialsResponse, error)
- func (UnimplementedAuthServer) FetchToken(context.Context, *FetchTokenRequest) (*FetchTokenResponse, error)
- func (UnimplementedAuthServer) GetTokenAuthority(context.Context, *GetTokenAuthorityRequest) (*GetTokenAuthorityResponse, error)
- func (UnimplementedAuthServer) VerifyTokenAuthority(context.Context, *VerifyTokenAuthorityRequest) (*VerifyTokenAuthorityResponse, error)
- type UnsafeAuthServer
- type VerifyTokenAuthorityRequest
- func (m *VerifyTokenAuthorityRequest) CloneMessageVT() proto.Message
- func (m *VerifyTokenAuthorityRequest) CloneVT() *VerifyTokenAuthorityRequest
- func (*VerifyTokenAuthorityRequest) Descriptor() ([]byte, []int)deprecated
- func (this *VerifyTokenAuthorityRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *VerifyTokenAuthorityRequest) EqualVT(that *VerifyTokenAuthorityRequest) bool
- func (x *VerifyTokenAuthorityRequest) GetHost() string
- func (x *VerifyTokenAuthorityRequest) GetPayload() []byte
- func (x *VerifyTokenAuthorityRequest) GetSalt() []byte
- func (m *VerifyTokenAuthorityRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *VerifyTokenAuthorityRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *VerifyTokenAuthorityRequest) MarshalVT() (dAtA []byte, err error)
- func (*VerifyTokenAuthorityRequest) ProtoMessage()
- func (x *VerifyTokenAuthorityRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyTokenAuthorityRequest) Reset()
- func (m *VerifyTokenAuthorityRequest) SizeVT() (n int)
- func (x *VerifyTokenAuthorityRequest) String() string
- func (m *VerifyTokenAuthorityRequest) UnmarshalVT(dAtA []byte) error
- type VerifyTokenAuthorityResponse
- func (m *VerifyTokenAuthorityResponse) CloneMessageVT() proto.Message
- func (m *VerifyTokenAuthorityResponse) CloneVT() *VerifyTokenAuthorityResponse
- func (*VerifyTokenAuthorityResponse) Descriptor() ([]byte, []int)deprecated
- func (this *VerifyTokenAuthorityResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *VerifyTokenAuthorityResponse) EqualVT(that *VerifyTokenAuthorityResponse) bool
- func (x *VerifyTokenAuthorityResponse) GetSigned() []byte
- func (m *VerifyTokenAuthorityResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *VerifyTokenAuthorityResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *VerifyTokenAuthorityResponse) MarshalVT() (dAtA []byte, err error)
- func (*VerifyTokenAuthorityResponse) ProtoMessage()
- func (x *VerifyTokenAuthorityResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyTokenAuthorityResponse) Reset()
- func (m *VerifyTokenAuthorityResponse) SizeVT() (n int)
- func (x *VerifyTokenAuthorityResponse) String() string
- func (m *VerifyTokenAuthorityResponse) UnmarshalVT(dAtA []byte) error
Constants ¶
const ( Auth_Credentials_FullMethodName = "/moby.filesync.v1.Auth/Credentials" Auth_FetchToken_FullMethodName = "/moby.filesync.v1.Auth/FetchToken" Auth_GetTokenAuthority_FullMethodName = "/moby.filesync.v1.Auth/GetTokenAuthority" Auth_VerifyTokenAuthority_FullMethodName = "/moby.filesync.v1.Auth/VerifyTokenAuthority" )
Variables ¶
var Auth_ServiceDesc = grpc.ServiceDesc{ ServiceName: "moby.filesync.v1.Auth", HandlerType: (*AuthServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Credentials", Handler: _Auth_Credentials_Handler, }, { MethodName: "FetchToken", Handler: _Auth_FetchToken_Handler, }, { MethodName: "GetTokenAuthority", Handler: _Auth_GetTokenAuthority_Handler, }, { MethodName: "VerifyTokenAuthority", Handler: _Auth_VerifyTokenAuthority_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "github.com/moby/buildkit/session/auth/auth.proto", }
Auth_ServiceDesc is the grpc.ServiceDesc for Auth service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_github_com_moby_buildkit_session_auth_auth_proto protoreflect.FileDescriptor
Functions ¶
func CredentialsFunc ¶
func GetTokenAuthority ¶ added in v0.8.0
func RegisterAuthServer ¶
func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)
Types ¶
type AuthClient ¶
type AuthClient interface { Credentials(ctx context.Context, in *CredentialsRequest, opts ...grpc.CallOption) (*CredentialsResponse, error) FetchToken(ctx context.Context, in *FetchTokenRequest, opts ...grpc.CallOption) (*FetchTokenResponse, error) GetTokenAuthority(ctx context.Context, in *GetTokenAuthorityRequest, opts ...grpc.CallOption) (*GetTokenAuthorityResponse, error) VerifyTokenAuthority(ctx context.Context, in *VerifyTokenAuthorityRequest, opts ...grpc.CallOption) (*VerifyTokenAuthorityResponse, error) }
AuthClient is the client API for Auth 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 NewAuthClient ¶
func NewAuthClient(cc grpc.ClientConnInterface) AuthClient
type AuthServer ¶
type AuthServer interface { Credentials(context.Context, *CredentialsRequest) (*CredentialsResponse, error) FetchToken(context.Context, *FetchTokenRequest) (*FetchTokenResponse, error) GetTokenAuthority(context.Context, *GetTokenAuthorityRequest) (*GetTokenAuthorityResponse, error) VerifyTokenAuthority(context.Context, *VerifyTokenAuthorityRequest) (*VerifyTokenAuthorityResponse, error) }
AuthServer is the server API for Auth service. All implementations should embed UnimplementedAuthServer for forward compatibility.
type CredentialsRequest ¶
type CredentialsRequest struct { Host string `protobuf:"bytes,1,opt,name=Host,proto3" json:"Host,omitempty"` // contains filtered or unexported fields }
func (*CredentialsRequest) CloneMessageVT ¶ added in v0.17.0
func (m *CredentialsRequest) CloneMessageVT() proto.Message
func (*CredentialsRequest) CloneVT ¶ added in v0.17.0
func (m *CredentialsRequest) CloneVT() *CredentialsRequest
func (*CredentialsRequest) Descriptor
deprecated
func (*CredentialsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CredentialsRequest.ProtoReflect.Descriptor instead.
func (*CredentialsRequest) EqualMessageVT ¶ added in v0.17.0
func (this *CredentialsRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*CredentialsRequest) EqualVT ¶ added in v0.17.0
func (this *CredentialsRequest) EqualVT(that *CredentialsRequest) bool
func (*CredentialsRequest) GetHost ¶
func (x *CredentialsRequest) GetHost() string
func (*CredentialsRequest) MarshalToSizedBufferVT ¶ added in v0.17.0
func (m *CredentialsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CredentialsRequest) MarshalToVT ¶ added in v0.17.0
func (m *CredentialsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*CredentialsRequest) MarshalVT ¶ added in v0.17.0
func (m *CredentialsRequest) MarshalVT() (dAtA []byte, err error)
func (*CredentialsRequest) ProtoMessage ¶
func (*CredentialsRequest) ProtoMessage()
func (*CredentialsRequest) ProtoReflect ¶ added in v0.17.0
func (x *CredentialsRequest) ProtoReflect() protoreflect.Message
func (*CredentialsRequest) Reset ¶
func (x *CredentialsRequest) Reset()
func (*CredentialsRequest) SizeVT ¶ added in v0.17.0
func (m *CredentialsRequest) SizeVT() (n int)
func (*CredentialsRequest) String ¶
func (x *CredentialsRequest) String() string
func (*CredentialsRequest) UnmarshalVT ¶ added in v0.17.0
func (m *CredentialsRequest) UnmarshalVT(dAtA []byte) error
type CredentialsResponse ¶
type CredentialsResponse struct { Username string `protobuf:"bytes,1,opt,name=Username,proto3" json:"Username,omitempty"` Secret string `protobuf:"bytes,2,opt,name=Secret,proto3" json:"Secret,omitempty"` // contains filtered or unexported fields }
func (*CredentialsResponse) CloneMessageVT ¶ added in v0.17.0
func (m *CredentialsResponse) CloneMessageVT() proto.Message
func (*CredentialsResponse) CloneVT ¶ added in v0.17.0
func (m *CredentialsResponse) CloneVT() *CredentialsResponse
func (*CredentialsResponse) Descriptor
deprecated
func (*CredentialsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CredentialsResponse.ProtoReflect.Descriptor instead.
func (*CredentialsResponse) EqualMessageVT ¶ added in v0.17.0
func (this *CredentialsResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*CredentialsResponse) EqualVT ¶ added in v0.17.0
func (this *CredentialsResponse) EqualVT(that *CredentialsResponse) bool
func (*CredentialsResponse) GetSecret ¶
func (x *CredentialsResponse) GetSecret() string
func (*CredentialsResponse) GetUsername ¶
func (x *CredentialsResponse) GetUsername() string
func (*CredentialsResponse) MarshalToSizedBufferVT ¶ added in v0.17.0
func (m *CredentialsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CredentialsResponse) MarshalToVT ¶ added in v0.17.0
func (m *CredentialsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*CredentialsResponse) MarshalVT ¶ added in v0.17.0
func (m *CredentialsResponse) MarshalVT() (dAtA []byte, err error)
func (*CredentialsResponse) ProtoMessage ¶
func (*CredentialsResponse) ProtoMessage()
func (*CredentialsResponse) ProtoReflect ¶ added in v0.17.0
func (x *CredentialsResponse) ProtoReflect() protoreflect.Message
func (*CredentialsResponse) Reset ¶
func (x *CredentialsResponse) Reset()
func (*CredentialsResponse) SizeVT ¶ added in v0.17.0
func (m *CredentialsResponse) SizeVT() (n int)
func (*CredentialsResponse) String ¶
func (x *CredentialsResponse) String() string
func (*CredentialsResponse) UnmarshalVT ¶ added in v0.17.0
func (m *CredentialsResponse) UnmarshalVT(dAtA []byte) error
type FetchTokenRequest ¶ added in v0.8.0
type FetchTokenRequest struct { ClientID string `protobuf:"bytes,1,opt,name=ClientID,proto3" json:"ClientID,omitempty"` Host string `protobuf:"bytes,2,opt,name=Host,proto3" json:"Host,omitempty"` Realm string `protobuf:"bytes,3,opt,name=Realm,proto3" json:"Realm,omitempty"` Service string `protobuf:"bytes,4,opt,name=Service,proto3" json:"Service,omitempty"` Scopes []string `protobuf:"bytes,5,rep,name=Scopes,proto3" json:"Scopes,omitempty"` // contains filtered or unexported fields }
func (*FetchTokenRequest) CloneMessageVT ¶ added in v0.17.0
func (m *FetchTokenRequest) CloneMessageVT() proto.Message
func (*FetchTokenRequest) CloneVT ¶ added in v0.17.0
func (m *FetchTokenRequest) CloneVT() *FetchTokenRequest
func (*FetchTokenRequest) Descriptor
deprecated
added in
v0.8.0
func (*FetchTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchTokenRequest.ProtoReflect.Descriptor instead.
func (*FetchTokenRequest) EqualMessageVT ¶ added in v0.17.0
func (this *FetchTokenRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*FetchTokenRequest) EqualVT ¶ added in v0.17.0
func (this *FetchTokenRequest) EqualVT(that *FetchTokenRequest) bool
func (*FetchTokenRequest) GetClientID ¶ added in v0.8.0
func (x *FetchTokenRequest) GetClientID() string
func (*FetchTokenRequest) GetHost ¶ added in v0.8.0
func (x *FetchTokenRequest) GetHost() string
func (*FetchTokenRequest) GetRealm ¶ added in v0.8.0
func (x *FetchTokenRequest) GetRealm() string
func (*FetchTokenRequest) GetScopes ¶ added in v0.8.0
func (x *FetchTokenRequest) GetScopes() []string
func (*FetchTokenRequest) GetService ¶ added in v0.8.0
func (x *FetchTokenRequest) GetService() string
func (*FetchTokenRequest) MarshalToSizedBufferVT ¶ added in v0.17.0
func (m *FetchTokenRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FetchTokenRequest) MarshalToVT ¶ added in v0.17.0
func (m *FetchTokenRequest) MarshalToVT(dAtA []byte) (int, error)
func (*FetchTokenRequest) MarshalVT ¶ added in v0.17.0
func (m *FetchTokenRequest) MarshalVT() (dAtA []byte, err error)
func (*FetchTokenRequest) ProtoMessage ¶ added in v0.8.0
func (*FetchTokenRequest) ProtoMessage()
func (*FetchTokenRequest) ProtoReflect ¶ added in v0.17.0
func (x *FetchTokenRequest) ProtoReflect() protoreflect.Message
func (*FetchTokenRequest) Reset ¶ added in v0.8.0
func (x *FetchTokenRequest) Reset()
func (*FetchTokenRequest) SizeVT ¶ added in v0.17.0
func (m *FetchTokenRequest) SizeVT() (n int)
func (*FetchTokenRequest) String ¶ added in v0.8.0
func (x *FetchTokenRequest) String() string
func (*FetchTokenRequest) UnmarshalVT ¶ added in v0.17.0
func (m *FetchTokenRequest) UnmarshalVT(dAtA []byte) error
type FetchTokenResponse ¶ added in v0.8.0
type FetchTokenResponse struct { Token string `protobuf:"bytes,1,opt,name=Token,proto3" json:"Token,omitempty"` ExpiresIn int64 `protobuf:"varint,2,opt,name=ExpiresIn,proto3" json:"ExpiresIn,omitempty"` // seconds IssuedAt int64 `protobuf:"varint,3,opt,name=IssuedAt,proto3" json:"IssuedAt,omitempty"` // timestamp // contains filtered or unexported fields }
func FetchToken ¶ added in v0.8.0
func FetchToken(ctx context.Context, req *FetchTokenRequest, sm *session.Manager, g session.Group) (resp *FetchTokenResponse, err error)
func (*FetchTokenResponse) CloneMessageVT ¶ added in v0.17.0
func (m *FetchTokenResponse) CloneMessageVT() proto.Message
func (*FetchTokenResponse) CloneVT ¶ added in v0.17.0
func (m *FetchTokenResponse) CloneVT() *FetchTokenResponse
func (*FetchTokenResponse) Descriptor
deprecated
added in
v0.8.0
func (*FetchTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchTokenResponse.ProtoReflect.Descriptor instead.
func (*FetchTokenResponse) EqualMessageVT ¶ added in v0.17.0
func (this *FetchTokenResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*FetchTokenResponse) EqualVT ¶ added in v0.17.0
func (this *FetchTokenResponse) EqualVT(that *FetchTokenResponse) bool
func (*FetchTokenResponse) GetExpiresIn ¶ added in v0.8.0
func (x *FetchTokenResponse) GetExpiresIn() int64
func (*FetchTokenResponse) GetIssuedAt ¶ added in v0.8.0
func (x *FetchTokenResponse) GetIssuedAt() int64
func (*FetchTokenResponse) GetToken ¶ added in v0.8.0
func (x *FetchTokenResponse) GetToken() string
func (*FetchTokenResponse) MarshalToSizedBufferVT ¶ added in v0.17.0
func (m *FetchTokenResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FetchTokenResponse) MarshalToVT ¶ added in v0.17.0
func (m *FetchTokenResponse) MarshalToVT(dAtA []byte) (int, error)
func (*FetchTokenResponse) MarshalVT ¶ added in v0.17.0
func (m *FetchTokenResponse) MarshalVT() (dAtA []byte, err error)
func (*FetchTokenResponse) ProtoMessage ¶ added in v0.8.0
func (*FetchTokenResponse) ProtoMessage()
func (*FetchTokenResponse) ProtoReflect ¶ added in v0.17.0
func (x *FetchTokenResponse) ProtoReflect() protoreflect.Message
func (*FetchTokenResponse) Reset ¶ added in v0.8.0
func (x *FetchTokenResponse) Reset()
func (*FetchTokenResponse) SizeVT ¶ added in v0.17.0
func (m *FetchTokenResponse) SizeVT() (n int)
func (*FetchTokenResponse) String ¶ added in v0.8.0
func (x *FetchTokenResponse) String() string
func (*FetchTokenResponse) UnmarshalVT ¶ added in v0.17.0
func (m *FetchTokenResponse) UnmarshalVT(dAtA []byte) error
type GetTokenAuthorityRequest ¶ added in v0.8.0
type GetTokenAuthorityRequest struct { Host string `protobuf:"bytes,1,opt,name=Host,proto3" json:"Host,omitempty"` Salt []byte `protobuf:"bytes,2,opt,name=Salt,proto3" json:"Salt,omitempty"` // contains filtered or unexported fields }
func (*GetTokenAuthorityRequest) CloneMessageVT ¶ added in v0.17.0
func (m *GetTokenAuthorityRequest) CloneMessageVT() proto.Message
func (*GetTokenAuthorityRequest) CloneVT ¶ added in v0.17.0
func (m *GetTokenAuthorityRequest) CloneVT() *GetTokenAuthorityRequest
func (*GetTokenAuthorityRequest) Descriptor
deprecated
added in
v0.8.0
func (*GetTokenAuthorityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTokenAuthorityRequest.ProtoReflect.Descriptor instead.
func (*GetTokenAuthorityRequest) EqualMessageVT ¶ added in v0.17.0
func (this *GetTokenAuthorityRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*GetTokenAuthorityRequest) EqualVT ¶ added in v0.17.0
func (this *GetTokenAuthorityRequest) EqualVT(that *GetTokenAuthorityRequest) bool
func (*GetTokenAuthorityRequest) GetHost ¶ added in v0.8.0
func (x *GetTokenAuthorityRequest) GetHost() string
func (*GetTokenAuthorityRequest) GetSalt ¶ added in v0.8.0
func (x *GetTokenAuthorityRequest) GetSalt() []byte
func (*GetTokenAuthorityRequest) MarshalToSizedBufferVT ¶ added in v0.17.0
func (m *GetTokenAuthorityRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetTokenAuthorityRequest) MarshalToVT ¶ added in v0.17.0
func (m *GetTokenAuthorityRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetTokenAuthorityRequest) MarshalVT ¶ added in v0.17.0
func (m *GetTokenAuthorityRequest) MarshalVT() (dAtA []byte, err error)
func (*GetTokenAuthorityRequest) ProtoMessage ¶ added in v0.8.0
func (*GetTokenAuthorityRequest) ProtoMessage()
func (*GetTokenAuthorityRequest) ProtoReflect ¶ added in v0.17.0
func (x *GetTokenAuthorityRequest) ProtoReflect() protoreflect.Message
func (*GetTokenAuthorityRequest) Reset ¶ added in v0.8.0
func (x *GetTokenAuthorityRequest) Reset()
func (*GetTokenAuthorityRequest) SizeVT ¶ added in v0.17.0
func (m *GetTokenAuthorityRequest) SizeVT() (n int)
func (*GetTokenAuthorityRequest) String ¶ added in v0.8.0
func (x *GetTokenAuthorityRequest) String() string
func (*GetTokenAuthorityRequest) UnmarshalVT ¶ added in v0.17.0
func (m *GetTokenAuthorityRequest) UnmarshalVT(dAtA []byte) error
type GetTokenAuthorityResponse ¶ added in v0.8.0
type GetTokenAuthorityResponse struct { PublicKey []byte `protobuf:"bytes,1,opt,name=PublicKey,proto3" json:"PublicKey,omitempty"` // contains filtered or unexported fields }
func (*GetTokenAuthorityResponse) CloneMessageVT ¶ added in v0.17.0
func (m *GetTokenAuthorityResponse) CloneMessageVT() proto.Message
func (*GetTokenAuthorityResponse) CloneVT ¶ added in v0.17.0
func (m *GetTokenAuthorityResponse) CloneVT() *GetTokenAuthorityResponse
func (*GetTokenAuthorityResponse) Descriptor
deprecated
added in
v0.8.0
func (*GetTokenAuthorityResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTokenAuthorityResponse.ProtoReflect.Descriptor instead.
func (*GetTokenAuthorityResponse) EqualMessageVT ¶ added in v0.17.0
func (this *GetTokenAuthorityResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*GetTokenAuthorityResponse) EqualVT ¶ added in v0.17.0
func (this *GetTokenAuthorityResponse) EqualVT(that *GetTokenAuthorityResponse) bool
func (*GetTokenAuthorityResponse) GetPublicKey ¶ added in v0.8.0
func (x *GetTokenAuthorityResponse) GetPublicKey() []byte
func (*GetTokenAuthorityResponse) MarshalToSizedBufferVT ¶ added in v0.17.0
func (m *GetTokenAuthorityResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetTokenAuthorityResponse) MarshalToVT ¶ added in v0.17.0
func (m *GetTokenAuthorityResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetTokenAuthorityResponse) MarshalVT ¶ added in v0.17.0
func (m *GetTokenAuthorityResponse) MarshalVT() (dAtA []byte, err error)
func (*GetTokenAuthorityResponse) ProtoMessage ¶ added in v0.8.0
func (*GetTokenAuthorityResponse) ProtoMessage()
func (*GetTokenAuthorityResponse) ProtoReflect ¶ added in v0.17.0
func (x *GetTokenAuthorityResponse) ProtoReflect() protoreflect.Message
func (*GetTokenAuthorityResponse) Reset ¶ added in v0.8.0
func (x *GetTokenAuthorityResponse) Reset()
func (*GetTokenAuthorityResponse) SizeVT ¶ added in v0.17.0
func (m *GetTokenAuthorityResponse) SizeVT() (n int)
func (*GetTokenAuthorityResponse) String ¶ added in v0.8.0
func (x *GetTokenAuthorityResponse) String() string
func (*GetTokenAuthorityResponse) UnmarshalVT ¶ added in v0.17.0
func (m *GetTokenAuthorityResponse) UnmarshalVT(dAtA []byte) error
type UnimplementedAuthServer ¶ added in v0.7.0
type UnimplementedAuthServer struct{}
UnimplementedAuthServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAuthServer) Credentials ¶ added in v0.7.0
func (UnimplementedAuthServer) Credentials(context.Context, *CredentialsRequest) (*CredentialsResponse, error)
func (UnimplementedAuthServer) FetchToken ¶ added in v0.8.0
func (UnimplementedAuthServer) FetchToken(context.Context, *FetchTokenRequest) (*FetchTokenResponse, error)
func (UnimplementedAuthServer) GetTokenAuthority ¶ added in v0.8.0
func (UnimplementedAuthServer) GetTokenAuthority(context.Context, *GetTokenAuthorityRequest) (*GetTokenAuthorityResponse, error)
func (UnimplementedAuthServer) VerifyTokenAuthority ¶ added in v0.8.0
func (UnimplementedAuthServer) VerifyTokenAuthority(context.Context, *VerifyTokenAuthorityRequest) (*VerifyTokenAuthorityResponse, error)
type UnsafeAuthServer ¶ added in v0.17.0
type UnsafeAuthServer interface {
// contains filtered or unexported methods
}
UnsafeAuthServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServer will result in compilation errors.
type VerifyTokenAuthorityRequest ¶ added in v0.8.0
type VerifyTokenAuthorityRequest struct { Host string `protobuf:"bytes,1,opt,name=Host,proto3" json:"Host,omitempty"` Payload []byte `protobuf:"bytes,2,opt,name=Payload,proto3" json:"Payload,omitempty"` Salt []byte `protobuf:"bytes,3,opt,name=Salt,proto3" json:"Salt,omitempty"` // contains filtered or unexported fields }
func (*VerifyTokenAuthorityRequest) CloneMessageVT ¶ added in v0.17.0
func (m *VerifyTokenAuthorityRequest) CloneMessageVT() proto.Message
func (*VerifyTokenAuthorityRequest) CloneVT ¶ added in v0.17.0
func (m *VerifyTokenAuthorityRequest) CloneVT() *VerifyTokenAuthorityRequest
func (*VerifyTokenAuthorityRequest) Descriptor
deprecated
added in
v0.8.0
func (*VerifyTokenAuthorityRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyTokenAuthorityRequest.ProtoReflect.Descriptor instead.
func (*VerifyTokenAuthorityRequest) EqualMessageVT ¶ added in v0.17.0
func (this *VerifyTokenAuthorityRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*VerifyTokenAuthorityRequest) EqualVT ¶ added in v0.17.0
func (this *VerifyTokenAuthorityRequest) EqualVT(that *VerifyTokenAuthorityRequest) bool
func (*VerifyTokenAuthorityRequest) GetHost ¶ added in v0.8.0
func (x *VerifyTokenAuthorityRequest) GetHost() string
func (*VerifyTokenAuthorityRequest) GetPayload ¶ added in v0.8.0
func (x *VerifyTokenAuthorityRequest) GetPayload() []byte
func (*VerifyTokenAuthorityRequest) GetSalt ¶ added in v0.8.0
func (x *VerifyTokenAuthorityRequest) GetSalt() []byte
func (*VerifyTokenAuthorityRequest) MarshalToSizedBufferVT ¶ added in v0.17.0
func (m *VerifyTokenAuthorityRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*VerifyTokenAuthorityRequest) MarshalToVT ¶ added in v0.17.0
func (m *VerifyTokenAuthorityRequest) MarshalToVT(dAtA []byte) (int, error)
func (*VerifyTokenAuthorityRequest) MarshalVT ¶ added in v0.17.0
func (m *VerifyTokenAuthorityRequest) MarshalVT() (dAtA []byte, err error)
func (*VerifyTokenAuthorityRequest) ProtoMessage ¶ added in v0.8.0
func (*VerifyTokenAuthorityRequest) ProtoMessage()
func (*VerifyTokenAuthorityRequest) ProtoReflect ¶ added in v0.17.0
func (x *VerifyTokenAuthorityRequest) ProtoReflect() protoreflect.Message
func (*VerifyTokenAuthorityRequest) Reset ¶ added in v0.8.0
func (x *VerifyTokenAuthorityRequest) Reset()
func (*VerifyTokenAuthorityRequest) SizeVT ¶ added in v0.17.0
func (m *VerifyTokenAuthorityRequest) SizeVT() (n int)
func (*VerifyTokenAuthorityRequest) String ¶ added in v0.8.0
func (x *VerifyTokenAuthorityRequest) String() string
func (*VerifyTokenAuthorityRequest) UnmarshalVT ¶ added in v0.17.0
func (m *VerifyTokenAuthorityRequest) UnmarshalVT(dAtA []byte) error
type VerifyTokenAuthorityResponse ¶ added in v0.8.0
type VerifyTokenAuthorityResponse struct { Signed []byte `protobuf:"bytes,1,opt,name=Signed,proto3" json:"Signed,omitempty"` // contains filtered or unexported fields }
func (*VerifyTokenAuthorityResponse) CloneMessageVT ¶ added in v0.17.0
func (m *VerifyTokenAuthorityResponse) CloneMessageVT() proto.Message
func (*VerifyTokenAuthorityResponse) CloneVT ¶ added in v0.17.0
func (m *VerifyTokenAuthorityResponse) CloneVT() *VerifyTokenAuthorityResponse
func (*VerifyTokenAuthorityResponse) Descriptor
deprecated
added in
v0.8.0
func (*VerifyTokenAuthorityResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyTokenAuthorityResponse.ProtoReflect.Descriptor instead.
func (*VerifyTokenAuthorityResponse) EqualMessageVT ¶ added in v0.17.0
func (this *VerifyTokenAuthorityResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*VerifyTokenAuthorityResponse) EqualVT ¶ added in v0.17.0
func (this *VerifyTokenAuthorityResponse) EqualVT(that *VerifyTokenAuthorityResponse) bool
func (*VerifyTokenAuthorityResponse) GetSigned ¶ added in v0.8.0
func (x *VerifyTokenAuthorityResponse) GetSigned() []byte
func (*VerifyTokenAuthorityResponse) MarshalToSizedBufferVT ¶ added in v0.17.0
func (m *VerifyTokenAuthorityResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*VerifyTokenAuthorityResponse) MarshalToVT ¶ added in v0.17.0
func (m *VerifyTokenAuthorityResponse) MarshalToVT(dAtA []byte) (int, error)
func (*VerifyTokenAuthorityResponse) MarshalVT ¶ added in v0.17.0
func (m *VerifyTokenAuthorityResponse) MarshalVT() (dAtA []byte, err error)
func (*VerifyTokenAuthorityResponse) ProtoMessage ¶ added in v0.8.0
func (*VerifyTokenAuthorityResponse) ProtoMessage()
func (*VerifyTokenAuthorityResponse) ProtoReflect ¶ added in v0.17.0
func (x *VerifyTokenAuthorityResponse) ProtoReflect() protoreflect.Message
func (*VerifyTokenAuthorityResponse) Reset ¶ added in v0.8.0
func (x *VerifyTokenAuthorityResponse) Reset()
func (*VerifyTokenAuthorityResponse) SizeVT ¶ added in v0.17.0
func (m *VerifyTokenAuthorityResponse) SizeVT() (n int)
func (*VerifyTokenAuthorityResponse) String ¶ added in v0.8.0
func (x *VerifyTokenAuthorityResponse) String() string
func (*VerifyTokenAuthorityResponse) UnmarshalVT ¶ added in v0.17.0
func (m *VerifyTokenAuthorityResponse) UnmarshalVT(dAtA []byte) error