Documentation
¶
Index ¶
- Variables
- type AccessToken
- func (*AccessToken) Descriptor() ([]byte, []int)deprecated
- func (x *AccessToken) GetClientId() string
- func (x *AccessToken) GetExpireTime() *timestamp.Timestamp
- func (x *AccessToken) GetIssueTime() *timestamp.Timestamp
- func (x *AccessToken) GetUserEmail() string
- func (x *AccessToken) GetUserId() string
- func (*AccessToken) ProtoMessage()
- func (x *AccessToken) ProtoReflect() protoreflect.Message
- func (x *AccessToken) Reset()
- func (x *AccessToken) String() string
- type AuthorizeCookie
- func (*AuthorizeCookie) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizeCookie) GetClientId() string
- func (x *AuthorizeCookie) GetClientState() string
- func (x *AuthorizeCookie) GetCodeChallenge() string
- func (x *AuthorizeCookie) GetExpireTime() *timestamp.Timestamp
- func (x *AuthorizeCookie) GetNonce() string
- func (x *AuthorizeCookie) GetRedirectUri() string
- func (x *AuthorizeCookie) GetResponseMode() string
- func (x *AuthorizeCookie) GetRpState() string
- func (*AuthorizeCookie) ProtoMessage()
- func (x *AuthorizeCookie) ProtoReflect() protoreflect.Message
- func (x *AuthorizeCookie) Reset()
- func (x *AuthorizeCookie) String() string
- type Code
- func (*Code) Descriptor() ([]byte, []int)deprecated
- func (x *Code) GetExpireTime() *timestamp.Timestamp
- func (x *Code) GetKey() []byte
- func (x *Code) GetSecret() []byte
- func (x *Code) GetUserEmail() string
- func (x *Code) GetUserId() string
- func (*Code) ProtoMessage()
- func (x *Code) ProtoReflect() protoreflect.Message
- func (x *Code) Reset()
- func (x *Code) String() string
- type RefreshToken
- func (*RefreshToken) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshToken) GetClientId() []byte
- func (x *RefreshToken) GetExpireTime() *timestamp.Timestamp
- func (x *RefreshToken) GetIssueTime() *timestamp.Timestamp
- func (x *RefreshToken) GetKey() []byte
- func (x *RefreshToken) GetUserEmail() string
- func (x *RefreshToken) GetUserId() string
- func (*RefreshToken) ProtoMessage()
- func (x *RefreshToken) ProtoReflect() protoreflect.Message
- func (x *RefreshToken) Reset()
- func (x *RefreshToken) String() string
- type SignedData
Constants ¶
This section is empty.
Variables ¶
View Source
var File_hubauth_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
type AccessToken struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UserEmail string `protobuf:"bytes,3,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` IssueTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=issue_time,json=issueTime,proto3" json:"issue_time,omitempty"` ExpireTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // contains filtered or unexported fields }
func (*AccessToken) Descriptor
deprecated
func (*AccessToken) Descriptor() ([]byte, []int)
Deprecated: Use AccessToken.ProtoReflect.Descriptor instead.
func (*AccessToken) GetClientId ¶
func (x *AccessToken) GetClientId() string
func (*AccessToken) GetExpireTime ¶
func (x *AccessToken) GetExpireTime() *timestamp.Timestamp
func (*AccessToken) GetIssueTime ¶
func (x *AccessToken) GetIssueTime() *timestamp.Timestamp
func (*AccessToken) GetUserEmail ¶
func (x *AccessToken) GetUserEmail() string
func (*AccessToken) GetUserId ¶
func (x *AccessToken) GetUserId() string
func (*AccessToken) ProtoMessage ¶
func (*AccessToken) ProtoMessage()
func (*AccessToken) ProtoReflect ¶
func (x *AccessToken) ProtoReflect() protoreflect.Message
func (*AccessToken) Reset ¶
func (x *AccessToken) Reset()
func (*AccessToken) String ¶
func (x *AccessToken) String() string
type AuthorizeCookie ¶
type AuthorizeCookie struct { RpState string `protobuf:"bytes,1,opt,name=rp_state,json=rpState,proto3" json:"rp_state,omitempty"` ClientState string `protobuf:"bytes,2,opt,name=client_state,json=clientState,proto3" json:"client_state,omitempty"` ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` RedirectUri string `protobuf:"bytes,4,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"` Nonce string `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"` CodeChallenge string `protobuf:"bytes,6,opt,name=code_challenge,json=codeChallenge,proto3" json:"code_challenge,omitempty"` ResponseMode string `protobuf:"bytes,7,opt,name=response_mode,json=responseMode,proto3" json:"response_mode,omitempty"` ExpireTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // contains filtered or unexported fields }
func (*AuthorizeCookie) Descriptor
deprecated
func (*AuthorizeCookie) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeCookie.ProtoReflect.Descriptor instead.
func (*AuthorizeCookie) GetClientId ¶
func (x *AuthorizeCookie) GetClientId() string
func (*AuthorizeCookie) GetClientState ¶
func (x *AuthorizeCookie) GetClientState() string
func (*AuthorizeCookie) GetCodeChallenge ¶
func (x *AuthorizeCookie) GetCodeChallenge() string
func (*AuthorizeCookie) GetExpireTime ¶
func (x *AuthorizeCookie) GetExpireTime() *timestamp.Timestamp
func (*AuthorizeCookie) GetNonce ¶
func (x *AuthorizeCookie) GetNonce() string
func (*AuthorizeCookie) GetRedirectUri ¶
func (x *AuthorizeCookie) GetRedirectUri() string
func (*AuthorizeCookie) GetResponseMode ¶
func (x *AuthorizeCookie) GetResponseMode() string
func (*AuthorizeCookie) GetRpState ¶
func (x *AuthorizeCookie) GetRpState() string
func (*AuthorizeCookie) ProtoMessage ¶
func (*AuthorizeCookie) ProtoMessage()
func (*AuthorizeCookie) ProtoReflect ¶
func (x *AuthorizeCookie) ProtoReflect() protoreflect.Message
func (*AuthorizeCookie) Reset ¶
func (x *AuthorizeCookie) Reset()
func (*AuthorizeCookie) String ¶
func (x *AuthorizeCookie) String() string
type Code ¶
type Code struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Secret []byte `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UserEmail string `protobuf:"bytes,4,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` ExpireTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // contains filtered or unexported fields }
func (*Code) Descriptor
deprecated
func (*Code) GetExpireTime ¶
func (*Code) GetUserEmail ¶
func (*Code) ProtoMessage ¶
func (*Code) ProtoMessage()
func (*Code) ProtoReflect ¶
func (x *Code) ProtoReflect() protoreflect.Message
type RefreshToken ¶
type RefreshToken struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` IssueTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=issue_time,json=issueTime,proto3" json:"issue_time,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UserEmail string `protobuf:"bytes,4,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` ClientId []byte `protobuf:"bytes,5,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ExpireTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // contains filtered or unexported fields }
func (*RefreshToken) Descriptor
deprecated
func (*RefreshToken) Descriptor() ([]byte, []int)
Deprecated: Use RefreshToken.ProtoReflect.Descriptor instead.
func (*RefreshToken) GetClientId ¶
func (x *RefreshToken) GetClientId() []byte
func (*RefreshToken) GetExpireTime ¶
func (x *RefreshToken) GetExpireTime() *timestamp.Timestamp
func (*RefreshToken) GetIssueTime ¶
func (x *RefreshToken) GetIssueTime() *timestamp.Timestamp
func (*RefreshToken) GetKey ¶
func (x *RefreshToken) GetKey() []byte
func (*RefreshToken) GetUserEmail ¶
func (x *RefreshToken) GetUserEmail() string
func (*RefreshToken) GetUserId ¶
func (x *RefreshToken) GetUserId() string
func (*RefreshToken) ProtoMessage ¶
func (*RefreshToken) ProtoMessage()
func (*RefreshToken) ProtoReflect ¶
func (x *RefreshToken) ProtoReflect() protoreflect.Message
func (*RefreshToken) Reset ¶
func (x *RefreshToken) Reset()
func (*RefreshToken) String ¶
func (x *RefreshToken) String() string
type SignedData ¶
type SignedData struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*SignedData) Descriptor
deprecated
func (*SignedData) Descriptor() ([]byte, []int)
Deprecated: Use SignedData.ProtoReflect.Descriptor instead.
func (*SignedData) GetData ¶
func (x *SignedData) GetData() []byte
func (*SignedData) GetSignature ¶
func (x *SignedData) GetSignature() []byte
func (*SignedData) ProtoMessage ¶
func (*SignedData) ProtoMessage()
func (*SignedData) ProtoReflect ¶
func (x *SignedData) ProtoReflect() protoreflect.Message
func (*SignedData) Reset ¶
func (x *SignedData) Reset()
func (*SignedData) String ¶
func (x *SignedData) String() string
Click to show internal directories.
Click to hide internal directories.