oauth

package
v1.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_tiga_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) Descriptor() ([]byte, []int)

Deprecated: Use Client.ProtoReflect.Descriptor instead.

func (*Client) GetDomain

func (x *Client) GetDomain() string

func (*Client) GetID

func (x *Client) GetID() string

func (*Client) GetSecret

func (x *Client) GetSecret() string

func (*Client) GetUserID

func (x *Client) GetUserID() string

func (*Client) ProtoMessage

func (*Client) ProtoMessage()

func (*Client) ProtoReflect

func (x *Client) ProtoReflect() protoreflect.Message

func (*Client) Reset

func (x *Client) Reset()

func (*Client) String

func (x *Client) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use OauthReq.ProtoReflect.Descriptor instead.

func (*OauthReq) GetAccessTokenExp

func (x *OauthReq) GetAccessTokenExp() int64

func (*OauthReq) GetAccessType

func (x *OauthReq) GetAccessType() string

func (*OauthReq) GetClientID

func (x *OauthReq) GetClientID() string

func (*OauthReq) GetClientSecret

func (x *OauthReq) GetClientSecret() string

func (*OauthReq) GetCode

func (x *OauthReq) GetCode() string

func (*OauthReq) GetGrantType

func (x *OauthReq) GetGrantType() string

func (*OauthReq) GetLoginURI

func (x *OauthReq) GetLoginURI() string

func (*OauthReq) GetRedirectURI

func (x *OauthReq) GetRedirectURI() string

func (*OauthReq) GetRefreshToken

func (x *OauthReq) GetRefreshToken() string

func (*OauthReq) GetResponseType

func (x *OauthReq) GetResponseType() string

func (*OauthReq) GetScope

func (x *OauthReq) GetScope() string

func (*OauthReq) GetState

func (x *OauthReq) GetState() string

func (*OauthReq) GetUserID

func (x *OauthReq) GetUserID() string

func (*OauthReq) ProtoMessage

func (*OauthReq) ProtoMessage()

func (*OauthReq) ProtoReflect

func (x *OauthReq) ProtoReflect() protoreflect.Message

func (*OauthReq) Reset

func (x *OauthReq) Reset()

func (*OauthReq) String

func (x *OauthReq) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL