Documentation ¶
Index ¶
- Variables
- type ExchangeRequest
- func (*ExchangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExchangeRequest) GetCode() string
- func (x *ExchangeRequest) GetId() string
- func (x *ExchangeRequest) GetState() string
- func (*ExchangeRequest) ProtoMessage()
- func (x *ExchangeRequest) ProtoReflect() protoreflect.Message
- func (x *ExchangeRequest) Reset()
- func (x *ExchangeRequest) String() string
- type ExchangeResponse
- func (*ExchangeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExchangeResponse) GetAccessToken() string
- func (x *ExchangeResponse) GetExpiry() int64
- func (x *ExchangeResponse) GetRefreshToken() string
- func (x *ExchangeResponse) GetTokenType() string
- func (*ExchangeResponse) ProtoMessage()
- func (x *ExchangeResponse) ProtoReflect() protoreflect.Message
- func (x *ExchangeResponse) Reset()
- func (x *ExchangeResponse) String() string
- type GetRequest
- type GetResponse
- type OAuthConfig
- func (*OAuthConfig) Descriptor() ([]byte, []int)deprecated
- func (x *OAuthConfig) GetAuthStyle() int32
- func (x *OAuthConfig) GetAuthUrl() string
- func (x *OAuthConfig) GetClientId() string
- func (x *OAuthConfig) GetClientSecret() string
- func (x *OAuthConfig) GetDeviceAuthUrl() string
- func (x *OAuthConfig) GetOptions() map[string]string
- func (x *OAuthConfig) GetRedirectUrl() string
- func (x *OAuthConfig) GetScopes() []string
- func (x *OAuthConfig) GetTokenUrl() string
- func (*OAuthConfig) ProtoMessage()
- func (x *OAuthConfig) ProtoReflect() protoreflect.Message
- func (x *OAuthConfig) Reset()
- func (x *OAuthConfig) String() string
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest) GetConfig() *OAuthConfig
- func (x *RegisterRequest) GetId() string
- func (*RegisterRequest) ProtoMessage()
- func (x *RegisterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest) Reset()
- func (x *RegisterRequest) String() string
- type RegisterResponse
- type StartFlowRequest
- func (*StartFlowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartFlowRequest) GetConnectionId() string
- func (x *StartFlowRequest) GetId() string
- func (*StartFlowRequest) ProtoMessage()
- func (x *StartFlowRequest) ProtoReflect() protoreflect.Message
- func (x *StartFlowRequest) Reset()
- func (x *StartFlowRequest) String() string
- type StartFlowResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var File_autokitteh_oauth_v1_svc_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ExchangeRequest ¶
type ExchangeRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*ExchangeRequest) Descriptor
deprecated
func (*ExchangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExchangeRequest.ProtoReflect.Descriptor instead.
func (*ExchangeRequest) GetCode ¶
func (x *ExchangeRequest) GetCode() string
func (*ExchangeRequest) GetId ¶
func (x *ExchangeRequest) GetId() string
func (*ExchangeRequest) GetState ¶
func (x *ExchangeRequest) GetState() string
func (*ExchangeRequest) ProtoMessage ¶
func (*ExchangeRequest) ProtoMessage()
func (*ExchangeRequest) ProtoReflect ¶
func (x *ExchangeRequest) ProtoReflect() protoreflect.Message
func (*ExchangeRequest) Reset ¶
func (x *ExchangeRequest) Reset()
func (*ExchangeRequest) String ¶
func (x *ExchangeRequest) String() string
type ExchangeResponse ¶
type ExchangeResponse struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` TokenType string `protobuf:"bytes,3,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"` Expiry int64 `protobuf:"varint,4,opt,name=expiry,proto3" json:"expiry,omitempty"` // contains filtered or unexported fields }
func (*ExchangeResponse) Descriptor
deprecated
func (*ExchangeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExchangeResponse.ProtoReflect.Descriptor instead.
func (*ExchangeResponse) GetAccessToken ¶
func (x *ExchangeResponse) GetAccessToken() string
func (*ExchangeResponse) GetExpiry ¶
func (x *ExchangeResponse) GetExpiry() int64
func (*ExchangeResponse) GetRefreshToken ¶
func (x *ExchangeResponse) GetRefreshToken() string
func (*ExchangeResponse) GetTokenType ¶
func (x *ExchangeResponse) GetTokenType() string
func (*ExchangeResponse) ProtoMessage ¶
func (*ExchangeResponse) ProtoMessage()
func (*ExchangeResponse) ProtoReflect ¶
func (x *ExchangeResponse) ProtoReflect() protoreflect.Message
func (*ExchangeResponse) Reset ¶
func (x *ExchangeResponse) Reset()
func (*ExchangeResponse) String ¶
func (x *ExchangeResponse) String() string
type GetRequest ¶
type GetRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetId ¶
func (x *GetRequest) GetId() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type GetResponse ¶
type GetResponse struct { Config *OAuthConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetConfig ¶
func (x *GetResponse) GetConfig() *OAuthConfig
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
type OAuthConfig ¶
type OAuthConfig struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` AuthUrl string `protobuf:"bytes,3,opt,name=auth_url,json=authUrl,proto3" json:"auth_url,omitempty"` DeviceAuthUrl string `protobuf:"bytes,4,opt,name=device_auth_url,json=deviceAuthUrl,proto3" json:"device_auth_url,omitempty"` TokenUrl string `protobuf:"bytes,5,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"` RedirectUrl string `protobuf:"bytes,6,opt,name=redirect_url,json=redirectUrl,proto3" json:"redirect_url,omitempty"` // https://pkg.go.dev/golang.org/x/oauth2#AuthStyle AuthStyle int32 `protobuf:"varint,7,opt,name=auth_style,json=authStyle,proto3" json:"auth_style,omitempty"` // https://pkg.go.dev/golang.org/x/oauth2#AuthCodeOption Options map[string]string `` /* 155-byte string literal not displayed */ Scopes []string `protobuf:"bytes,9,rep,name=scopes,proto3" json:"scopes,omitempty"` // contains filtered or unexported fields }
func (*OAuthConfig) Descriptor
deprecated
func (*OAuthConfig) Descriptor() ([]byte, []int)
Deprecated: Use OAuthConfig.ProtoReflect.Descriptor instead.
func (*OAuthConfig) GetAuthStyle ¶
func (x *OAuthConfig) GetAuthStyle() int32
func (*OAuthConfig) GetAuthUrl ¶
func (x *OAuthConfig) GetAuthUrl() string
func (*OAuthConfig) GetClientId ¶
func (x *OAuthConfig) GetClientId() string
func (*OAuthConfig) GetClientSecret ¶
func (x *OAuthConfig) GetClientSecret() string
func (*OAuthConfig) GetDeviceAuthUrl ¶
func (x *OAuthConfig) GetDeviceAuthUrl() string
func (*OAuthConfig) GetOptions ¶
func (x *OAuthConfig) GetOptions() map[string]string
func (*OAuthConfig) GetRedirectUrl ¶
func (x *OAuthConfig) GetRedirectUrl() string
func (*OAuthConfig) GetScopes ¶
func (x *OAuthConfig) GetScopes() []string
func (*OAuthConfig) GetTokenUrl ¶
func (x *OAuthConfig) GetTokenUrl() string
func (*OAuthConfig) ProtoMessage ¶
func (*OAuthConfig) ProtoMessage()
func (*OAuthConfig) ProtoReflect ¶
func (x *OAuthConfig) ProtoReflect() protoreflect.Message
func (*OAuthConfig) Reset ¶
func (x *OAuthConfig) Reset()
func (*OAuthConfig) String ¶
func (x *OAuthConfig) String() string
type RegisterRequest ¶
type RegisterRequest struct { // The ID may be moved later to the response, i.e. this service will // generate a random, unique, consistent ID instead of the caller. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Config *OAuthConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*RegisterRequest) Descriptor
deprecated
func (*RegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
func (*RegisterRequest) GetConfig ¶
func (x *RegisterRequest) GetConfig() *OAuthConfig
func (*RegisterRequest) GetId ¶
func (x *RegisterRequest) GetId() string
func (*RegisterRequest) ProtoMessage ¶
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) ProtoReflect ¶
func (x *RegisterRequest) ProtoReflect() protoreflect.Message
func (*RegisterRequest) Reset ¶
func (x *RegisterRequest) Reset()
func (*RegisterRequest) String ¶
func (x *RegisterRequest) String() string
type RegisterResponse ¶
type RegisterResponse struct {
// contains filtered or unexported fields
}
func (*RegisterResponse) Descriptor
deprecated
func (*RegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.
func (*RegisterResponse) ProtoMessage ¶
func (*RegisterResponse) ProtoMessage()
func (*RegisterResponse) ProtoReflect ¶
func (x *RegisterResponse) ProtoReflect() protoreflect.Message
func (*RegisterResponse) Reset ¶
func (x *RegisterResponse) Reset()
func (*RegisterResponse) String ¶
func (x *RegisterResponse) String() string
type StartFlowRequest ¶
type StartFlowRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` // contains filtered or unexported fields }
func (*StartFlowRequest) Descriptor
deprecated
func (*StartFlowRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartFlowRequest.ProtoReflect.Descriptor instead.
func (*StartFlowRequest) GetConnectionId ¶ added in v0.5.0
func (x *StartFlowRequest) GetConnectionId() string
func (*StartFlowRequest) GetId ¶
func (x *StartFlowRequest) GetId() string
func (*StartFlowRequest) ProtoMessage ¶
func (*StartFlowRequest) ProtoMessage()
func (*StartFlowRequest) ProtoReflect ¶
func (x *StartFlowRequest) ProtoReflect() protoreflect.Message
func (*StartFlowRequest) Reset ¶
func (x *StartFlowRequest) Reset()
func (*StartFlowRequest) String ¶
func (x *StartFlowRequest) String() string
type StartFlowResponse ¶
type StartFlowResponse struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*StartFlowResponse) Descriptor
deprecated
func (*StartFlowResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartFlowResponse.ProtoReflect.Descriptor instead.
func (*StartFlowResponse) GetUrl ¶
func (x *StartFlowResponse) GetUrl() string
func (*StartFlowResponse) ProtoMessage ¶
func (*StartFlowResponse) ProtoMessage()
func (*StartFlowResponse) ProtoReflect ¶
func (x *StartFlowResponse) ProtoReflect() protoreflect.Message
func (*StartFlowResponse) Reset ¶
func (x *StartFlowResponse) Reset()
func (*StartFlowResponse) String ¶
func (x *StartFlowResponse) String() string
Click to show internal directories.
Click to hide internal directories.