Documentation ¶
Index ¶
- 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.Server, 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 (*CredentialsRequest) Descriptor() ([]byte, []int)
- func (this *CredentialsRequest) Equal(that interface{}) bool
- func (m *CredentialsRequest) GetHost() string
- func (this *CredentialsRequest) GoString() string
- func (m *CredentialsRequest) Marshal() (dAtA []byte, err error)
- func (m *CredentialsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CredentialsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CredentialsRequest) ProtoMessage()
- func (m *CredentialsRequest) Reset()
- func (m *CredentialsRequest) Size() (n int)
- func (this *CredentialsRequest) String() string
- func (m *CredentialsRequest) Unmarshal(dAtA []byte) error
- func (m *CredentialsRequest) XXX_DiscardUnknown()
- func (m *CredentialsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CredentialsRequest) XXX_Merge(src proto.Message)
- func (m *CredentialsRequest) XXX_Size() int
- func (m *CredentialsRequest) XXX_Unmarshal(b []byte) error
- type CredentialsResponse
- func (*CredentialsResponse) Descriptor() ([]byte, []int)
- func (this *CredentialsResponse) Equal(that interface{}) bool
- func (m *CredentialsResponse) GetSecret() string
- func (m *CredentialsResponse) GetUsername() string
- func (this *CredentialsResponse) GoString() string
- func (m *CredentialsResponse) Marshal() (dAtA []byte, err error)
- func (m *CredentialsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *CredentialsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CredentialsResponse) ProtoMessage()
- func (m *CredentialsResponse) Reset()
- func (m *CredentialsResponse) Size() (n int)
- func (this *CredentialsResponse) String() string
- func (m *CredentialsResponse) Unmarshal(dAtA []byte) error
- func (m *CredentialsResponse) XXX_DiscardUnknown()
- func (m *CredentialsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CredentialsResponse) XXX_Merge(src proto.Message)
- func (m *CredentialsResponse) XXX_Size() int
- func (m *CredentialsResponse) XXX_Unmarshal(b []byte) error
- type FetchTokenRequest
- func (*FetchTokenRequest) Descriptor() ([]byte, []int)
- func (this *FetchTokenRequest) Equal(that interface{}) bool
- func (m *FetchTokenRequest) GetClientID() string
- func (m *FetchTokenRequest) GetHost() string
- func (m *FetchTokenRequest) GetRealm() string
- func (m *FetchTokenRequest) GetScopes() []string
- func (m *FetchTokenRequest) GetService() string
- func (this *FetchTokenRequest) GoString() string
- func (m *FetchTokenRequest) Marshal() (dAtA []byte, err error)
- func (m *FetchTokenRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *FetchTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FetchTokenRequest) ProtoMessage()
- func (m *FetchTokenRequest) Reset()
- func (m *FetchTokenRequest) Size() (n int)
- func (this *FetchTokenRequest) String() string
- func (m *FetchTokenRequest) Unmarshal(dAtA []byte) error
- func (m *FetchTokenRequest) XXX_DiscardUnknown()
- func (m *FetchTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FetchTokenRequest) XXX_Merge(src proto.Message)
- func (m *FetchTokenRequest) XXX_Size() int
- func (m *FetchTokenRequest) XXX_Unmarshal(b []byte) error
- type FetchTokenResponse
- func (*FetchTokenResponse) Descriptor() ([]byte, []int)
- func (this *FetchTokenResponse) Equal(that interface{}) bool
- func (m *FetchTokenResponse) GetExpiresIn() int64
- func (m *FetchTokenResponse) GetIssuedAt() int64
- func (m *FetchTokenResponse) GetToken() string
- func (this *FetchTokenResponse) GoString() string
- func (m *FetchTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *FetchTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *FetchTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FetchTokenResponse) ProtoMessage()
- func (m *FetchTokenResponse) Reset()
- func (m *FetchTokenResponse) Size() (n int)
- func (this *FetchTokenResponse) String() string
- func (m *FetchTokenResponse) Unmarshal(dAtA []byte) error
- func (m *FetchTokenResponse) XXX_DiscardUnknown()
- func (m *FetchTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FetchTokenResponse) XXX_Merge(src proto.Message)
- func (m *FetchTokenResponse) XXX_Size() int
- func (m *FetchTokenResponse) XXX_Unmarshal(b []byte) error
- type GetTokenAuthorityRequest
- func (*GetTokenAuthorityRequest) Descriptor() ([]byte, []int)
- func (this *GetTokenAuthorityRequest) Equal(that interface{}) bool
- func (m *GetTokenAuthorityRequest) GetHost() string
- func (m *GetTokenAuthorityRequest) GetSalt() []byte
- func (this *GetTokenAuthorityRequest) GoString() string
- func (m *GetTokenAuthorityRequest) Marshal() (dAtA []byte, err error)
- func (m *GetTokenAuthorityRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetTokenAuthorityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetTokenAuthorityRequest) ProtoMessage()
- func (m *GetTokenAuthorityRequest) Reset()
- func (m *GetTokenAuthorityRequest) Size() (n int)
- func (this *GetTokenAuthorityRequest) String() string
- func (m *GetTokenAuthorityRequest) Unmarshal(dAtA []byte) error
- func (m *GetTokenAuthorityRequest) XXX_DiscardUnknown()
- func (m *GetTokenAuthorityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTokenAuthorityRequest) XXX_Merge(src proto.Message)
- func (m *GetTokenAuthorityRequest) XXX_Size() int
- func (m *GetTokenAuthorityRequest) XXX_Unmarshal(b []byte) error
- type GetTokenAuthorityResponse
- func (*GetTokenAuthorityResponse) Descriptor() ([]byte, []int)
- func (this *GetTokenAuthorityResponse) Equal(that interface{}) bool
- func (m *GetTokenAuthorityResponse) GetPublicKey() []byte
- func (this *GetTokenAuthorityResponse) GoString() string
- func (m *GetTokenAuthorityResponse) Marshal() (dAtA []byte, err error)
- func (m *GetTokenAuthorityResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetTokenAuthorityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetTokenAuthorityResponse) ProtoMessage()
- func (m *GetTokenAuthorityResponse) Reset()
- func (m *GetTokenAuthorityResponse) Size() (n int)
- func (this *GetTokenAuthorityResponse) String() string
- func (m *GetTokenAuthorityResponse) Unmarshal(dAtA []byte) error
- func (m *GetTokenAuthorityResponse) XXX_DiscardUnknown()
- func (m *GetTokenAuthorityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTokenAuthorityResponse) XXX_Merge(src proto.Message)
- func (m *GetTokenAuthorityResponse) XXX_Size() int
- func (m *GetTokenAuthorityResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedAuthServer
- func (*UnimplementedAuthServer) Credentials(ctx context.Context, req *CredentialsRequest) (*CredentialsResponse, error)
- func (*UnimplementedAuthServer) FetchToken(ctx context.Context, req *FetchTokenRequest) (*FetchTokenResponse, error)
- func (*UnimplementedAuthServer) GetTokenAuthority(ctx context.Context, req *GetTokenAuthorityRequest) (*GetTokenAuthorityResponse, error)
- func (*UnimplementedAuthServer) VerifyTokenAuthority(ctx context.Context, req *VerifyTokenAuthorityRequest) (*VerifyTokenAuthorityResponse, error)
- type VerifyTokenAuthorityRequest
- func (*VerifyTokenAuthorityRequest) Descriptor() ([]byte, []int)
- func (this *VerifyTokenAuthorityRequest) Equal(that interface{}) bool
- func (m *VerifyTokenAuthorityRequest) GetHost() string
- func (m *VerifyTokenAuthorityRequest) GetPayload() []byte
- func (m *VerifyTokenAuthorityRequest) GetSalt() []byte
- func (this *VerifyTokenAuthorityRequest) GoString() string
- func (m *VerifyTokenAuthorityRequest) Marshal() (dAtA []byte, err error)
- func (m *VerifyTokenAuthorityRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *VerifyTokenAuthorityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VerifyTokenAuthorityRequest) ProtoMessage()
- func (m *VerifyTokenAuthorityRequest) Reset()
- func (m *VerifyTokenAuthorityRequest) Size() (n int)
- func (this *VerifyTokenAuthorityRequest) String() string
- func (m *VerifyTokenAuthorityRequest) Unmarshal(dAtA []byte) error
- func (m *VerifyTokenAuthorityRequest) XXX_DiscardUnknown()
- func (m *VerifyTokenAuthorityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerifyTokenAuthorityRequest) XXX_Merge(src proto.Message)
- func (m *VerifyTokenAuthorityRequest) XXX_Size() int
- func (m *VerifyTokenAuthorityRequest) XXX_Unmarshal(b []byte) error
- type VerifyTokenAuthorityResponse
- func (*VerifyTokenAuthorityResponse) Descriptor() ([]byte, []int)
- func (this *VerifyTokenAuthorityResponse) Equal(that interface{}) bool
- func (m *VerifyTokenAuthorityResponse) GetSigned() []byte
- func (this *VerifyTokenAuthorityResponse) GoString() string
- func (m *VerifyTokenAuthorityResponse) Marshal() (dAtA []byte, err error)
- func (m *VerifyTokenAuthorityResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *VerifyTokenAuthorityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VerifyTokenAuthorityResponse) ProtoMessage()
- func (m *VerifyTokenAuthorityResponse) Reset()
- func (m *VerifyTokenAuthorityResponse) Size() (n int)
- func (this *VerifyTokenAuthorityResponse) String() string
- func (m *VerifyTokenAuthorityResponse) Unmarshal(dAtA []byte) error
- func (m *VerifyTokenAuthorityResponse) XXX_DiscardUnknown()
- func (m *VerifyTokenAuthorityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerifyTokenAuthorityResponse) XXX_Merge(src proto.Message)
- func (m *VerifyTokenAuthorityResponse) XXX_Size() int
- func (m *VerifyTokenAuthorityResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CredentialsFunc ¶
func GetTokenAuthority ¶ added in v0.8.0
func RegisterAuthServer ¶
func RegisterAuthServer(s *grpc.Server, 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAuthClient ¶
func NewAuthClient(cc *grpc.ClientConn) 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.
type CredentialsRequest ¶
type CredentialsRequest struct {
Host string `protobuf:"bytes,1,opt,name=Host,proto3" json:"Host,omitempty"`
}
func (*CredentialsRequest) Descriptor ¶
func (*CredentialsRequest) Descriptor() ([]byte, []int)
func (*CredentialsRequest) Equal ¶
func (this *CredentialsRequest) Equal(that interface{}) bool
func (*CredentialsRequest) GetHost ¶
func (m *CredentialsRequest) GetHost() string
func (*CredentialsRequest) GoString ¶
func (this *CredentialsRequest) GoString() string
func (*CredentialsRequest) Marshal ¶
func (m *CredentialsRequest) Marshal() (dAtA []byte, err error)
func (*CredentialsRequest) MarshalTo ¶
func (m *CredentialsRequest) MarshalTo(dAtA []byte) (int, error)
func (*CredentialsRequest) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *CredentialsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CredentialsRequest) ProtoMessage ¶
func (*CredentialsRequest) ProtoMessage()
func (*CredentialsRequest) Reset ¶
func (m *CredentialsRequest) Reset()
func (*CredentialsRequest) Size ¶
func (m *CredentialsRequest) Size() (n int)
func (*CredentialsRequest) String ¶
func (this *CredentialsRequest) String() string
func (*CredentialsRequest) Unmarshal ¶
func (m *CredentialsRequest) Unmarshal(dAtA []byte) error
func (*CredentialsRequest) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *CredentialsRequest) XXX_DiscardUnknown()
func (*CredentialsRequest) XXX_Marshal ¶ added in v0.4.0
func (m *CredentialsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CredentialsRequest) XXX_Merge ¶ added in v0.4.0
func (m *CredentialsRequest) XXX_Merge(src proto.Message)
func (*CredentialsRequest) XXX_Size ¶ added in v0.4.0
func (m *CredentialsRequest) XXX_Size() int
func (*CredentialsRequest) XXX_Unmarshal ¶ added in v0.4.0
func (m *CredentialsRequest) XXX_Unmarshal(b []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"` }
func (*CredentialsResponse) Descriptor ¶
func (*CredentialsResponse) Descriptor() ([]byte, []int)
func (*CredentialsResponse) Equal ¶
func (this *CredentialsResponse) Equal(that interface{}) bool
func (*CredentialsResponse) GetSecret ¶
func (m *CredentialsResponse) GetSecret() string
func (*CredentialsResponse) GetUsername ¶
func (m *CredentialsResponse) GetUsername() string
func (*CredentialsResponse) GoString ¶
func (this *CredentialsResponse) GoString() string
func (*CredentialsResponse) Marshal ¶
func (m *CredentialsResponse) Marshal() (dAtA []byte, err error)
func (*CredentialsResponse) MarshalTo ¶
func (m *CredentialsResponse) MarshalTo(dAtA []byte) (int, error)
func (*CredentialsResponse) MarshalToSizedBuffer ¶ added in v0.7.0
func (m *CredentialsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CredentialsResponse) ProtoMessage ¶
func (*CredentialsResponse) ProtoMessage()
func (*CredentialsResponse) Reset ¶
func (m *CredentialsResponse) Reset()
func (*CredentialsResponse) Size ¶
func (m *CredentialsResponse) Size() (n int)
func (*CredentialsResponse) String ¶
func (this *CredentialsResponse) String() string
func (*CredentialsResponse) Unmarshal ¶
func (m *CredentialsResponse) Unmarshal(dAtA []byte) error
func (*CredentialsResponse) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *CredentialsResponse) XXX_DiscardUnknown()
func (*CredentialsResponse) XXX_Marshal ¶ added in v0.4.0
func (m *CredentialsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CredentialsResponse) XXX_Merge ¶ added in v0.4.0
func (m *CredentialsResponse) XXX_Merge(src proto.Message)
func (*CredentialsResponse) XXX_Size ¶ added in v0.4.0
func (m *CredentialsResponse) XXX_Size() int
func (*CredentialsResponse) XXX_Unmarshal ¶ added in v0.4.0
func (m *CredentialsResponse) XXX_Unmarshal(b []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"` }
func (*FetchTokenRequest) Descriptor ¶ added in v0.8.0
func (*FetchTokenRequest) Descriptor() ([]byte, []int)
func (*FetchTokenRequest) Equal ¶ added in v0.8.0
func (this *FetchTokenRequest) Equal(that interface{}) bool
func (*FetchTokenRequest) GetClientID ¶ added in v0.8.0
func (m *FetchTokenRequest) GetClientID() string
func (*FetchTokenRequest) GetHost ¶ added in v0.8.0
func (m *FetchTokenRequest) GetHost() string
func (*FetchTokenRequest) GetRealm ¶ added in v0.8.0
func (m *FetchTokenRequest) GetRealm() string
func (*FetchTokenRequest) GetScopes ¶ added in v0.8.0
func (m *FetchTokenRequest) GetScopes() []string
func (*FetchTokenRequest) GetService ¶ added in v0.8.0
func (m *FetchTokenRequest) GetService() string
func (*FetchTokenRequest) GoString ¶ added in v0.8.0
func (this *FetchTokenRequest) GoString() string
func (*FetchTokenRequest) Marshal ¶ added in v0.8.0
func (m *FetchTokenRequest) Marshal() (dAtA []byte, err error)
func (*FetchTokenRequest) MarshalTo ¶ added in v0.8.0
func (m *FetchTokenRequest) MarshalTo(dAtA []byte) (int, error)
func (*FetchTokenRequest) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *FetchTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FetchTokenRequest) ProtoMessage ¶ added in v0.8.0
func (*FetchTokenRequest) ProtoMessage()
func (*FetchTokenRequest) Reset ¶ added in v0.8.0
func (m *FetchTokenRequest) Reset()
func (*FetchTokenRequest) Size ¶ added in v0.8.0
func (m *FetchTokenRequest) Size() (n int)
func (*FetchTokenRequest) String ¶ added in v0.8.0
func (this *FetchTokenRequest) String() string
func (*FetchTokenRequest) Unmarshal ¶ added in v0.8.0
func (m *FetchTokenRequest) Unmarshal(dAtA []byte) error
func (*FetchTokenRequest) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *FetchTokenRequest) XXX_DiscardUnknown()
func (*FetchTokenRequest) XXX_Marshal ¶ added in v0.8.0
func (m *FetchTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FetchTokenRequest) XXX_Merge ¶ added in v0.8.0
func (m *FetchTokenRequest) XXX_Merge(src proto.Message)
func (*FetchTokenRequest) XXX_Size ¶ added in v0.8.0
func (m *FetchTokenRequest) XXX_Size() int
func (*FetchTokenRequest) XXX_Unmarshal ¶ added in v0.8.0
func (m *FetchTokenRequest) XXX_Unmarshal(b []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"` IssuedAt int64 `protobuf:"varint,3,opt,name=IssuedAt,proto3" json:"IssuedAt,omitempty"` }
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) Descriptor ¶ added in v0.8.0
func (*FetchTokenResponse) Descriptor() ([]byte, []int)
func (*FetchTokenResponse) Equal ¶ added in v0.8.0
func (this *FetchTokenResponse) Equal(that interface{}) bool
func (*FetchTokenResponse) GetExpiresIn ¶ added in v0.8.0
func (m *FetchTokenResponse) GetExpiresIn() int64
func (*FetchTokenResponse) GetIssuedAt ¶ added in v0.8.0
func (m *FetchTokenResponse) GetIssuedAt() int64
func (*FetchTokenResponse) GetToken ¶ added in v0.8.0
func (m *FetchTokenResponse) GetToken() string
func (*FetchTokenResponse) GoString ¶ added in v0.8.0
func (this *FetchTokenResponse) GoString() string
func (*FetchTokenResponse) Marshal ¶ added in v0.8.0
func (m *FetchTokenResponse) Marshal() (dAtA []byte, err error)
func (*FetchTokenResponse) MarshalTo ¶ added in v0.8.0
func (m *FetchTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*FetchTokenResponse) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *FetchTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FetchTokenResponse) ProtoMessage ¶ added in v0.8.0
func (*FetchTokenResponse) ProtoMessage()
func (*FetchTokenResponse) Reset ¶ added in v0.8.0
func (m *FetchTokenResponse) Reset()
func (*FetchTokenResponse) Size ¶ added in v0.8.0
func (m *FetchTokenResponse) Size() (n int)
func (*FetchTokenResponse) String ¶ added in v0.8.0
func (this *FetchTokenResponse) String() string
func (*FetchTokenResponse) Unmarshal ¶ added in v0.8.0
func (m *FetchTokenResponse) Unmarshal(dAtA []byte) error
func (*FetchTokenResponse) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *FetchTokenResponse) XXX_DiscardUnknown()
func (*FetchTokenResponse) XXX_Marshal ¶ added in v0.8.0
func (m *FetchTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FetchTokenResponse) XXX_Merge ¶ added in v0.8.0
func (m *FetchTokenResponse) XXX_Merge(src proto.Message)
func (*FetchTokenResponse) XXX_Size ¶ added in v0.8.0
func (m *FetchTokenResponse) XXX_Size() int
func (*FetchTokenResponse) XXX_Unmarshal ¶ added in v0.8.0
func (m *FetchTokenResponse) XXX_Unmarshal(b []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"` }
func (*GetTokenAuthorityRequest) Descriptor ¶ added in v0.8.0
func (*GetTokenAuthorityRequest) Descriptor() ([]byte, []int)
func (*GetTokenAuthorityRequest) Equal ¶ added in v0.8.0
func (this *GetTokenAuthorityRequest) Equal(that interface{}) bool
func (*GetTokenAuthorityRequest) GetHost ¶ added in v0.8.0
func (m *GetTokenAuthorityRequest) GetHost() string
func (*GetTokenAuthorityRequest) GetSalt ¶ added in v0.8.0
func (m *GetTokenAuthorityRequest) GetSalt() []byte
func (*GetTokenAuthorityRequest) GoString ¶ added in v0.8.0
func (this *GetTokenAuthorityRequest) GoString() string
func (*GetTokenAuthorityRequest) Marshal ¶ added in v0.8.0
func (m *GetTokenAuthorityRequest) Marshal() (dAtA []byte, err error)
func (*GetTokenAuthorityRequest) MarshalTo ¶ added in v0.8.0
func (m *GetTokenAuthorityRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetTokenAuthorityRequest) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *GetTokenAuthorityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetTokenAuthorityRequest) ProtoMessage ¶ added in v0.8.0
func (*GetTokenAuthorityRequest) ProtoMessage()
func (*GetTokenAuthorityRequest) Reset ¶ added in v0.8.0
func (m *GetTokenAuthorityRequest) Reset()
func (*GetTokenAuthorityRequest) Size ¶ added in v0.8.0
func (m *GetTokenAuthorityRequest) Size() (n int)
func (*GetTokenAuthorityRequest) String ¶ added in v0.8.0
func (this *GetTokenAuthorityRequest) String() string
func (*GetTokenAuthorityRequest) Unmarshal ¶ added in v0.8.0
func (m *GetTokenAuthorityRequest) Unmarshal(dAtA []byte) error
func (*GetTokenAuthorityRequest) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *GetTokenAuthorityRequest) XXX_DiscardUnknown()
func (*GetTokenAuthorityRequest) XXX_Marshal ¶ added in v0.8.0
func (m *GetTokenAuthorityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTokenAuthorityRequest) XXX_Merge ¶ added in v0.8.0
func (m *GetTokenAuthorityRequest) XXX_Merge(src proto.Message)
func (*GetTokenAuthorityRequest) XXX_Size ¶ added in v0.8.0
func (m *GetTokenAuthorityRequest) XXX_Size() int
func (*GetTokenAuthorityRequest) XXX_Unmarshal ¶ added in v0.8.0
func (m *GetTokenAuthorityRequest) XXX_Unmarshal(b []byte) error
type GetTokenAuthorityResponse ¶ added in v0.8.0
type GetTokenAuthorityResponse struct {
PublicKey []byte `protobuf:"bytes,1,opt,name=PublicKey,proto3" json:"PublicKey,omitempty"`
}
func (*GetTokenAuthorityResponse) Descriptor ¶ added in v0.8.0
func (*GetTokenAuthorityResponse) Descriptor() ([]byte, []int)
func (*GetTokenAuthorityResponse) Equal ¶ added in v0.8.0
func (this *GetTokenAuthorityResponse) Equal(that interface{}) bool
func (*GetTokenAuthorityResponse) GetPublicKey ¶ added in v0.8.0
func (m *GetTokenAuthorityResponse) GetPublicKey() []byte
func (*GetTokenAuthorityResponse) GoString ¶ added in v0.8.0
func (this *GetTokenAuthorityResponse) GoString() string
func (*GetTokenAuthorityResponse) Marshal ¶ added in v0.8.0
func (m *GetTokenAuthorityResponse) Marshal() (dAtA []byte, err error)
func (*GetTokenAuthorityResponse) MarshalTo ¶ added in v0.8.0
func (m *GetTokenAuthorityResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetTokenAuthorityResponse) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *GetTokenAuthorityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetTokenAuthorityResponse) ProtoMessage ¶ added in v0.8.0
func (*GetTokenAuthorityResponse) ProtoMessage()
func (*GetTokenAuthorityResponse) Reset ¶ added in v0.8.0
func (m *GetTokenAuthorityResponse) Reset()
func (*GetTokenAuthorityResponse) Size ¶ added in v0.8.0
func (m *GetTokenAuthorityResponse) Size() (n int)
func (*GetTokenAuthorityResponse) String ¶ added in v0.8.0
func (this *GetTokenAuthorityResponse) String() string
func (*GetTokenAuthorityResponse) Unmarshal ¶ added in v0.8.0
func (m *GetTokenAuthorityResponse) Unmarshal(dAtA []byte) error
func (*GetTokenAuthorityResponse) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *GetTokenAuthorityResponse) XXX_DiscardUnknown()
func (*GetTokenAuthorityResponse) XXX_Marshal ¶ added in v0.8.0
func (m *GetTokenAuthorityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTokenAuthorityResponse) XXX_Merge ¶ added in v0.8.0
func (m *GetTokenAuthorityResponse) XXX_Merge(src proto.Message)
func (*GetTokenAuthorityResponse) XXX_Size ¶ added in v0.8.0
func (m *GetTokenAuthorityResponse) XXX_Size() int
func (*GetTokenAuthorityResponse) XXX_Unmarshal ¶ added in v0.8.0
func (m *GetTokenAuthorityResponse) XXX_Unmarshal(b []byte) error
type UnimplementedAuthServer ¶ added in v0.7.0
type UnimplementedAuthServer struct { }
UnimplementedAuthServer can be embedded to have forward compatible implementations.
func (*UnimplementedAuthServer) Credentials ¶ added in v0.7.0
func (*UnimplementedAuthServer) Credentials(ctx context.Context, req *CredentialsRequest) (*CredentialsResponse, error)
func (*UnimplementedAuthServer) FetchToken ¶ added in v0.8.0
func (*UnimplementedAuthServer) FetchToken(ctx context.Context, req *FetchTokenRequest) (*FetchTokenResponse, error)
func (*UnimplementedAuthServer) GetTokenAuthority ¶ added in v0.8.0
func (*UnimplementedAuthServer) GetTokenAuthority(ctx context.Context, req *GetTokenAuthorityRequest) (*GetTokenAuthorityResponse, error)
func (*UnimplementedAuthServer) VerifyTokenAuthority ¶ added in v0.8.0
func (*UnimplementedAuthServer) VerifyTokenAuthority(ctx context.Context, req *VerifyTokenAuthorityRequest) (*VerifyTokenAuthorityResponse, error)
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"` }
func (*VerifyTokenAuthorityRequest) Descriptor ¶ added in v0.8.0
func (*VerifyTokenAuthorityRequest) Descriptor() ([]byte, []int)
func (*VerifyTokenAuthorityRequest) Equal ¶ added in v0.8.0
func (this *VerifyTokenAuthorityRequest) Equal(that interface{}) bool
func (*VerifyTokenAuthorityRequest) GetHost ¶ added in v0.8.0
func (m *VerifyTokenAuthorityRequest) GetHost() string
func (*VerifyTokenAuthorityRequest) GetPayload ¶ added in v0.8.0
func (m *VerifyTokenAuthorityRequest) GetPayload() []byte
func (*VerifyTokenAuthorityRequest) GetSalt ¶ added in v0.8.0
func (m *VerifyTokenAuthorityRequest) GetSalt() []byte
func (*VerifyTokenAuthorityRequest) GoString ¶ added in v0.8.0
func (this *VerifyTokenAuthorityRequest) GoString() string
func (*VerifyTokenAuthorityRequest) Marshal ¶ added in v0.8.0
func (m *VerifyTokenAuthorityRequest) Marshal() (dAtA []byte, err error)
func (*VerifyTokenAuthorityRequest) MarshalTo ¶ added in v0.8.0
func (m *VerifyTokenAuthorityRequest) MarshalTo(dAtA []byte) (int, error)
func (*VerifyTokenAuthorityRequest) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *VerifyTokenAuthorityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VerifyTokenAuthorityRequest) ProtoMessage ¶ added in v0.8.0
func (*VerifyTokenAuthorityRequest) ProtoMessage()
func (*VerifyTokenAuthorityRequest) Reset ¶ added in v0.8.0
func (m *VerifyTokenAuthorityRequest) Reset()
func (*VerifyTokenAuthorityRequest) Size ¶ added in v0.8.0
func (m *VerifyTokenAuthorityRequest) Size() (n int)
func (*VerifyTokenAuthorityRequest) String ¶ added in v0.8.0
func (this *VerifyTokenAuthorityRequest) String() string
func (*VerifyTokenAuthorityRequest) Unmarshal ¶ added in v0.8.0
func (m *VerifyTokenAuthorityRequest) Unmarshal(dAtA []byte) error
func (*VerifyTokenAuthorityRequest) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *VerifyTokenAuthorityRequest) XXX_DiscardUnknown()
func (*VerifyTokenAuthorityRequest) XXX_Marshal ¶ added in v0.8.0
func (m *VerifyTokenAuthorityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerifyTokenAuthorityRequest) XXX_Merge ¶ added in v0.8.0
func (m *VerifyTokenAuthorityRequest) XXX_Merge(src proto.Message)
func (*VerifyTokenAuthorityRequest) XXX_Size ¶ added in v0.8.0
func (m *VerifyTokenAuthorityRequest) XXX_Size() int
func (*VerifyTokenAuthorityRequest) XXX_Unmarshal ¶ added in v0.8.0
func (m *VerifyTokenAuthorityRequest) XXX_Unmarshal(b []byte) error
type VerifyTokenAuthorityResponse ¶ added in v0.8.0
type VerifyTokenAuthorityResponse struct {
Signed []byte `protobuf:"bytes,1,opt,name=Signed,proto3" json:"Signed,omitempty"`
}
func (*VerifyTokenAuthorityResponse) Descriptor ¶ added in v0.8.0
func (*VerifyTokenAuthorityResponse) Descriptor() ([]byte, []int)
func (*VerifyTokenAuthorityResponse) Equal ¶ added in v0.8.0
func (this *VerifyTokenAuthorityResponse) Equal(that interface{}) bool
func (*VerifyTokenAuthorityResponse) GetSigned ¶ added in v0.8.0
func (m *VerifyTokenAuthorityResponse) GetSigned() []byte
func (*VerifyTokenAuthorityResponse) GoString ¶ added in v0.8.0
func (this *VerifyTokenAuthorityResponse) GoString() string
func (*VerifyTokenAuthorityResponse) Marshal ¶ added in v0.8.0
func (m *VerifyTokenAuthorityResponse) Marshal() (dAtA []byte, err error)
func (*VerifyTokenAuthorityResponse) MarshalTo ¶ added in v0.8.0
func (m *VerifyTokenAuthorityResponse) MarshalTo(dAtA []byte) (int, error)
func (*VerifyTokenAuthorityResponse) MarshalToSizedBuffer ¶ added in v0.8.0
func (m *VerifyTokenAuthorityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VerifyTokenAuthorityResponse) ProtoMessage ¶ added in v0.8.0
func (*VerifyTokenAuthorityResponse) ProtoMessage()
func (*VerifyTokenAuthorityResponse) Reset ¶ added in v0.8.0
func (m *VerifyTokenAuthorityResponse) Reset()
func (*VerifyTokenAuthorityResponse) Size ¶ added in v0.8.0
func (m *VerifyTokenAuthorityResponse) Size() (n int)
func (*VerifyTokenAuthorityResponse) String ¶ added in v0.8.0
func (this *VerifyTokenAuthorityResponse) String() string
func (*VerifyTokenAuthorityResponse) Unmarshal ¶ added in v0.8.0
func (m *VerifyTokenAuthorityResponse) Unmarshal(dAtA []byte) error
func (*VerifyTokenAuthorityResponse) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *VerifyTokenAuthorityResponse) XXX_DiscardUnknown()
func (*VerifyTokenAuthorityResponse) XXX_Marshal ¶ added in v0.8.0
func (m *VerifyTokenAuthorityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerifyTokenAuthorityResponse) XXX_Merge ¶ added in v0.8.0
func (m *VerifyTokenAuthorityResponse) XXX_Merge(src proto.Message)
func (*VerifyTokenAuthorityResponse) XXX_Size ¶ added in v0.8.0
func (m *VerifyTokenAuthorityResponse) XXX_Size() int
func (*VerifyTokenAuthorityResponse) XXX_Unmarshal ¶ added in v0.8.0
func (m *VerifyTokenAuthorityResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.