Documentation ¶
Index ¶
- Variables
- type Client
- func (*Client) Descriptor() ([]byte, []int)deprecated
- func (x *Client) GetDomain() string
- func (x *Client) GetID() string
- func (x *Client) GetSecret() string
- func (x *Client) GetUserID() string
- func (*Client) ProtoMessage()
- func (x *Client) ProtoReflect() protoreflect.Message
- func (x *Client) Reset()
- func (x *Client) String() string
- type OauthReq
- func (*OauthReq) Descriptor() ([]byte, []int)deprecated
- func (x *OauthReq) GetAccessTokenExp() int64
- func (x *OauthReq) GetAccessType() string
- func (x *OauthReq) GetClientID() string
- func (x *OauthReq) GetClientSecret() string
- func (x *OauthReq) GetCode() string
- func (x *OauthReq) GetGrantType() string
- func (x *OauthReq) GetLoginURI() string
- func (x *OauthReq) GetRedirectURI() string
- func (x *OauthReq) GetRefreshToken() string
- func (x *OauthReq) GetResponseType() string
- func (x *OauthReq) GetScope() string
- func (x *OauthReq) GetState() string
- func (x *OauthReq) GetUserID() string
- func (*OauthReq) ProtoMessage()
- func (x *OauthReq) ProtoReflect() protoreflect.Message
- func (x *OauthReq) Reset()
- func (x *OauthReq) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_cherry_protobuf_oauth_oauth_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"` UserID string `protobuf:"bytes,4,opt,name=userID,proto3" json:"userID,omitempty"` // contains filtered or unexported fields }
func (*Client) Descriptor
deprecated
func (*Client) ProtoMessage ¶
func (*Client) ProtoMessage()
func (*Client) ProtoReflect ¶
func (x *Client) ProtoReflect() protoreflect.Message
type OauthReq ¶
type OauthReq struct { ResponseType string `protobuf:"bytes,1,opt,name=responseType,proto3" json:"responseType,omitempty"` ClientID string `protobuf:"bytes,2,opt,name=clientID,proto3" json:"clientID,omitempty"` Scope string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"` RedirectURI string `protobuf:"bytes,4,opt,name=redirectURI,proto3" json:"redirectURI,omitempty"` State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` UserID string `protobuf:"bytes,6,opt,name=userID,proto3" json:"userID,omitempty"` AccessTokenExp int64 `protobuf:"varint,7,opt,name=accessTokenExp,proto3" json:"accessTokenExp,omitempty"` ClientSecret string `protobuf:"bytes,11,opt,name=clientSecret,proto3" json:"clientSecret,omitempty"` Code string `protobuf:"bytes,12,opt,name=code,proto3" json:"code,omitempty"` RefreshToken string `protobuf:"bytes,13,opt,name=refreshToken,proto3" json:"refreshToken,omitempty"` GrantType string `protobuf:"bytes,14,opt,name=grantType,proto3" json:"grantType,omitempty"` AccessType string `protobuf:"bytes,15,opt,name=accessType,proto3" json:"accessType,omitempty"` LoginURI string `protobuf:"bytes,16,opt,name=loginURI,proto3" json:"loginURI,omitempty"` // contains filtered or unexported fields }
func (*OauthReq) Descriptor
deprecated
func (*OauthReq) GetAccessTokenExp ¶
func (*OauthReq) GetAccessType ¶
func (*OauthReq) GetClientID ¶
func (*OauthReq) GetClientSecret ¶
func (*OauthReq) GetGrantType ¶
func (*OauthReq) GetLoginURI ¶
func (*OauthReq) GetRedirectURI ¶
func (*OauthReq) GetRefreshToken ¶
func (*OauthReq) GetResponseType ¶
func (*OauthReq) ProtoMessage ¶
func (*OauthReq) ProtoMessage()
func (*OauthReq) ProtoReflect ¶
func (x *OauthReq) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.