Documentation
¶
Index ¶
- Variables
- type CompleteEmailSignInRequest
- func (*CompleteEmailSignInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompleteEmailSignInRequest) GetChallengeId() string
- func (x *CompleteEmailSignInRequest) GetCode() string
- func (x *CompleteEmailSignInRequest) GetDeviceName() string
- func (*CompleteEmailSignInRequest) ProtoMessage()
- func (x *CompleteEmailSignInRequest) ProtoReflect() protoreflect.Message
- func (x *CompleteEmailSignInRequest) Reset()
- func (x *CompleteEmailSignInRequest) String() string
- type CompleteEmailSignInResponse
- func (*CompleteEmailSignInResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CompleteEmailSignInResponse) GetCreated() bool
- func (x *CompleteEmailSignInResponse) GetTokens() *Tokens
- func (x *CompleteEmailSignInResponse) GetUser() *User
- func (*CompleteEmailSignInResponse) ProtoMessage()
- func (x *CompleteEmailSignInResponse) ProtoReflect() protoreflect.Message
- func (x *CompleteEmailSignInResponse) Reset()
- func (x *CompleteEmailSignInResponse) String() string
- type DeviceSignInStatus
- func (DeviceSignInStatus) Descriptor() protoreflect.EnumDescriptor
- func (x DeviceSignInStatus) Enum() *DeviceSignInStatus
- func (DeviceSignInStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeviceSignInStatus) Number() protoreflect.EnumNumber
- func (x DeviceSignInStatus) String() string
- func (DeviceSignInStatus) Type() protoreflect.EnumType
- type ExchangeAuthorizationCodeRequest
- func (*ExchangeAuthorizationCodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExchangeAuthorizationCodeRequest) GetCode() string
- func (x *ExchangeAuthorizationCodeRequest) GetCodeVerifier() string
- func (x *ExchangeAuthorizationCodeRequest) GetDeviceName() string
- func (x *ExchangeAuthorizationCodeRequest) GetRedirectUri() string
- func (*ExchangeAuthorizationCodeRequest) ProtoMessage()
- func (x *ExchangeAuthorizationCodeRequest) ProtoReflect() protoreflect.Message
- func (x *ExchangeAuthorizationCodeRequest) Reset()
- func (x *ExchangeAuthorizationCodeRequest) String() string
- type ExchangeAuthorizationCodeResponse
- func (*ExchangeAuthorizationCodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExchangeAuthorizationCodeResponse) GetTokens() *Tokens
- func (x *ExchangeAuthorizationCodeResponse) GetUser() *User
- func (*ExchangeAuthorizationCodeResponse) ProtoMessage()
- func (x *ExchangeAuthorizationCodeResponse) ProtoReflect() protoreflect.Message
- func (x *ExchangeAuthorizationCodeResponse) Reset()
- func (x *ExchangeAuthorizationCodeResponse) String() string
- type GetMeRequest
- type GetMeResponse
- func (*GetMeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMeResponse) GetSession() *Session
- func (x *GetMeResponse) GetUser() *User
- func (*GetMeResponse) ProtoMessage()
- func (x *GetMeResponse) ProtoReflect() protoreflect.Message
- func (x *GetMeResponse) Reset()
- func (x *GetMeResponse) String() string
- type ListSessionsRequest
- type ListSessionsResponse
- func (*ListSessionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSessionsResponse) GetSessions() []*Session
- func (*ListSessionsResponse) ProtoMessage()
- func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSessionsResponse) Reset()
- func (x *ListSessionsResponse) String() string
- type PollDeviceSignInRequest
- func (*PollDeviceSignInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PollDeviceSignInRequest) GetDeviceCode() string
- func (*PollDeviceSignInRequest) ProtoMessage()
- func (x *PollDeviceSignInRequest) ProtoReflect() protoreflect.Message
- func (x *PollDeviceSignInRequest) Reset()
- func (x *PollDeviceSignInRequest) String() string
- type PollDeviceSignInResponse
- func (*PollDeviceSignInResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PollDeviceSignInResponse) GetStatus() DeviceSignInStatus
- func (x *PollDeviceSignInResponse) GetTokens() *Tokens
- func (x *PollDeviceSignInResponse) GetUser() *User
- func (*PollDeviceSignInResponse) ProtoMessage()
- func (x *PollDeviceSignInResponse) ProtoReflect() protoreflect.Message
- func (x *PollDeviceSignInResponse) Reset()
- func (x *PollDeviceSignInResponse) String() string
- type RefreshRequest
- func (*RefreshRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshRequest) GetAudience() string
- func (x *RefreshRequest) GetRefreshToken() string
- func (*RefreshRequest) ProtoMessage()
- func (x *RefreshRequest) ProtoReflect() protoreflect.Message
- func (x *RefreshRequest) Reset()
- func (x *RefreshRequest) String() string
- type RefreshResponse
- func (*RefreshResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshResponse) GetTokens() *Tokens
- func (x *RefreshResponse) GetUser() *User
- func (*RefreshResponse) ProtoMessage()
- func (x *RefreshResponse) ProtoReflect() protoreflect.Message
- func (x *RefreshResponse) Reset()
- func (x *RefreshResponse) String() string
- type RevokeSessionRequest
- func (*RevokeSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeSessionRequest) GetSessionId() string
- func (*RevokeSessionRequest) ProtoMessage()
- func (x *RevokeSessionRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeSessionRequest) Reset()
- func (x *RevokeSessionRequest) String() string
- type RevokeSessionResponse
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) GetCreatedAt() *timestamppb.Timestamp
- func (x *Session) GetCurrent() bool
- func (x *Session) GetDeviceName() string
- func (x *Session) GetExpiresAt() *timestamppb.Timestamp
- func (x *Session) GetId() string
- func (x *Session) GetIdleExpiresAt() *timestamppb.Timestamp
- func (x *Session) GetLastUsedAt() *timestamppb.Timestamp
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (x *Session) String() string
- type SignOutRequest
- type SignOutResponse
- type StartDeviceSignInRequest
- func (*StartDeviceSignInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartDeviceSignInRequest) GetDeviceId() string
- func (x *StartDeviceSignInRequest) GetDeviceName() string
- func (*StartDeviceSignInRequest) ProtoMessage()
- func (x *StartDeviceSignInRequest) ProtoReflect() protoreflect.Message
- func (x *StartDeviceSignInRequest) Reset()
- func (x *StartDeviceSignInRequest) String() string
- type StartDeviceSignInResponse
- func (*StartDeviceSignInResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StartDeviceSignInResponse) GetDeviceCode() string
- func (x *StartDeviceSignInResponse) GetExpiresAt() *timestamppb.Timestamp
- func (x *StartDeviceSignInResponse) GetIntervalSeconds() int32
- func (x *StartDeviceSignInResponse) GetUserCode() string
- func (x *StartDeviceSignInResponse) GetVerificationUri() string
- func (x *StartDeviceSignInResponse) GetVerificationUriComplete() string
- func (*StartDeviceSignInResponse) ProtoMessage()
- func (x *StartDeviceSignInResponse) ProtoReflect() protoreflect.Message
- func (x *StartDeviceSignInResponse) Reset()
- func (x *StartDeviceSignInResponse) String() string
- type StartEmailSignInRequest
- func (*StartEmailSignInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartEmailSignInRequest) GetDeviceId() string
- func (x *StartEmailSignInRequest) GetEmail() string
- func (*StartEmailSignInRequest) ProtoMessage()
- func (x *StartEmailSignInRequest) ProtoReflect() protoreflect.Message
- func (x *StartEmailSignInRequest) Reset()
- func (x *StartEmailSignInRequest) String() string
- type StartEmailSignInResponse
- func (*StartEmailSignInResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StartEmailSignInResponse) GetChallengeId() string
- func (x *StartEmailSignInResponse) GetExpiresAt() *timestamppb.Timestamp
- func (*StartEmailSignInResponse) ProtoMessage()
- func (x *StartEmailSignInResponse) ProtoReflect() protoreflect.Message
- func (x *StartEmailSignInResponse) Reset()
- func (x *StartEmailSignInResponse) String() string
- type Tokens
- func (*Tokens) Descriptor() ([]byte, []int)deprecated
- func (x *Tokens) GetAccessExpiresAt() *timestamppb.Timestamp
- func (x *Tokens) GetAccessToken() string
- func (x *Tokens) GetRefreshToken() string
- func (x *Tokens) GetSession() *Session
- func (*Tokens) ProtoMessage()
- func (x *Tokens) ProtoReflect() protoreflect.Message
- func (x *Tokens) Reset()
- func (x *Tokens) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetCreatedAt() *timestamppb.Timestamp
- func (x *User) GetEmail() string
- func (x *User) GetId() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
Constants ¶
This section is empty.
Variables ¶
var ( DeviceSignInStatus_name = map[int32]string{ 0: "DEVICE_SIGN_IN_STATUS_UNSPECIFIED", 1: "DEVICE_SIGN_IN_STATUS_PENDING", 2: "DEVICE_SIGN_IN_STATUS_SLOW_DOWN", 3: "DEVICE_SIGN_IN_STATUS_DONE", } DeviceSignInStatus_value = map[string]int32{ "DEVICE_SIGN_IN_STATUS_UNSPECIFIED": 0, "DEVICE_SIGN_IN_STATUS_PENDING": 1, "DEVICE_SIGN_IN_STATUS_SLOW_DOWN": 2, "DEVICE_SIGN_IN_STATUS_DONE": 3, } )
Enum value maps for DeviceSignInStatus.
var File_devopus_auth_v1_auth_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CompleteEmailSignInRequest ¶
type CompleteEmailSignInRequest struct {
ChallengeId string `protobuf:"bytes,1,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"`
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
DeviceName string `protobuf:"bytes,4,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
// contains filtered or unexported fields
}
func (*CompleteEmailSignInRequest) Descriptor
deprecated
func (*CompleteEmailSignInRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompleteEmailSignInRequest.ProtoReflect.Descriptor instead.
func (*CompleteEmailSignInRequest) GetChallengeId ¶
func (x *CompleteEmailSignInRequest) GetChallengeId() string
func (*CompleteEmailSignInRequest) GetCode ¶
func (x *CompleteEmailSignInRequest) GetCode() string
func (*CompleteEmailSignInRequest) GetDeviceName ¶
func (x *CompleteEmailSignInRequest) GetDeviceName() string
func (*CompleteEmailSignInRequest) ProtoMessage ¶
func (*CompleteEmailSignInRequest) ProtoMessage()
func (*CompleteEmailSignInRequest) ProtoReflect ¶
func (x *CompleteEmailSignInRequest) ProtoReflect() protoreflect.Message
func (*CompleteEmailSignInRequest) Reset ¶
func (x *CompleteEmailSignInRequest) Reset()
func (*CompleteEmailSignInRequest) String ¶
func (x *CompleteEmailSignInRequest) String() string
type CompleteEmailSignInResponse ¶
type CompleteEmailSignInResponse struct {
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
Tokens *Tokens `protobuf:"bytes,2,opt,name=tokens,proto3" json:"tokens,omitempty"`
// The account was created by this call.
Created bool `protobuf:"varint,3,opt,name=created,proto3" json:"created,omitempty"`
// contains filtered or unexported fields
}
func (*CompleteEmailSignInResponse) Descriptor
deprecated
func (*CompleteEmailSignInResponse) Descriptor() ([]byte, []int)
Deprecated: Use CompleteEmailSignInResponse.ProtoReflect.Descriptor instead.
func (*CompleteEmailSignInResponse) GetCreated ¶
func (x *CompleteEmailSignInResponse) GetCreated() bool
func (*CompleteEmailSignInResponse) GetTokens ¶
func (x *CompleteEmailSignInResponse) GetTokens() *Tokens
func (*CompleteEmailSignInResponse) GetUser ¶
func (x *CompleteEmailSignInResponse) GetUser() *User
func (*CompleteEmailSignInResponse) ProtoMessage ¶
func (*CompleteEmailSignInResponse) ProtoMessage()
func (*CompleteEmailSignInResponse) ProtoReflect ¶
func (x *CompleteEmailSignInResponse) ProtoReflect() protoreflect.Message
func (*CompleteEmailSignInResponse) Reset ¶
func (x *CompleteEmailSignInResponse) Reset()
func (*CompleteEmailSignInResponse) String ¶
func (x *CompleteEmailSignInResponse) String() string
type DeviceSignInStatus ¶
type DeviceSignInStatus int32
const ( DeviceSignInStatus_DEVICE_SIGN_IN_STATUS_UNSPECIFIED DeviceSignInStatus = 0 // Not confirmed yet: poll again after the interval. DeviceSignInStatus_DEVICE_SIGN_IN_STATUS_PENDING DeviceSignInStatus = 1 // Polled too often: wait 5 seconds longer between polls. DeviceSignInStatus_DEVICE_SIGN_IN_STATUS_SLOW_DOWN DeviceSignInStatus = 2 // Confirmed: user and tokens are set. DeviceSignInStatus_DEVICE_SIGN_IN_STATUS_DONE DeviceSignInStatus = 3 )
func (DeviceSignInStatus) Descriptor ¶
func (DeviceSignInStatus) Descriptor() protoreflect.EnumDescriptor
func (DeviceSignInStatus) Enum ¶
func (x DeviceSignInStatus) Enum() *DeviceSignInStatus
func (DeviceSignInStatus) EnumDescriptor
deprecated
func (DeviceSignInStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceSignInStatus.Descriptor instead.
func (DeviceSignInStatus) Number ¶
func (x DeviceSignInStatus) Number() protoreflect.EnumNumber
func (DeviceSignInStatus) String ¶
func (x DeviceSignInStatus) String() string
func (DeviceSignInStatus) Type ¶
func (DeviceSignInStatus) Type() protoreflect.EnumType
type ExchangeAuthorizationCodeRequest ¶
type ExchangeAuthorizationCodeRequest struct {
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
CodeVerifier string `protobuf:"bytes,2,opt,name=code_verifier,json=codeVerifier,proto3" json:"code_verifier,omitempty"`
// Must be the redirect_uri of the authorization request.
RedirectUri string `protobuf:"bytes,3,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
DeviceName string `protobuf:"bytes,4,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
// contains filtered or unexported fields
}
func (*ExchangeAuthorizationCodeRequest) Descriptor
deprecated
func (*ExchangeAuthorizationCodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExchangeAuthorizationCodeRequest.ProtoReflect.Descriptor instead.
func (*ExchangeAuthorizationCodeRequest) GetCode ¶
func (x *ExchangeAuthorizationCodeRequest) GetCode() string
func (*ExchangeAuthorizationCodeRequest) GetCodeVerifier ¶
func (x *ExchangeAuthorizationCodeRequest) GetCodeVerifier() string
func (*ExchangeAuthorizationCodeRequest) GetDeviceName ¶
func (x *ExchangeAuthorizationCodeRequest) GetDeviceName() string
func (*ExchangeAuthorizationCodeRequest) GetRedirectUri ¶
func (x *ExchangeAuthorizationCodeRequest) GetRedirectUri() string
func (*ExchangeAuthorizationCodeRequest) ProtoMessage ¶
func (*ExchangeAuthorizationCodeRequest) ProtoMessage()
func (*ExchangeAuthorizationCodeRequest) ProtoReflect ¶
func (x *ExchangeAuthorizationCodeRequest) ProtoReflect() protoreflect.Message
func (*ExchangeAuthorizationCodeRequest) Reset ¶
func (x *ExchangeAuthorizationCodeRequest) Reset()
func (*ExchangeAuthorizationCodeRequest) String ¶
func (x *ExchangeAuthorizationCodeRequest) String() string
type ExchangeAuthorizationCodeResponse ¶
type ExchangeAuthorizationCodeResponse struct {
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
Tokens *Tokens `protobuf:"bytes,2,opt,name=tokens,proto3" json:"tokens,omitempty"`
// contains filtered or unexported fields
}
func (*ExchangeAuthorizationCodeResponse) Descriptor
deprecated
func (*ExchangeAuthorizationCodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExchangeAuthorizationCodeResponse.ProtoReflect.Descriptor instead.
func (*ExchangeAuthorizationCodeResponse) GetTokens ¶
func (x *ExchangeAuthorizationCodeResponse) GetTokens() *Tokens
func (*ExchangeAuthorizationCodeResponse) GetUser ¶
func (x *ExchangeAuthorizationCodeResponse) GetUser() *User
func (*ExchangeAuthorizationCodeResponse) ProtoMessage ¶
func (*ExchangeAuthorizationCodeResponse) ProtoMessage()
func (*ExchangeAuthorizationCodeResponse) ProtoReflect ¶
func (x *ExchangeAuthorizationCodeResponse) ProtoReflect() protoreflect.Message
func (*ExchangeAuthorizationCodeResponse) Reset ¶
func (x *ExchangeAuthorizationCodeResponse) Reset()
func (*ExchangeAuthorizationCodeResponse) String ¶
func (x *ExchangeAuthorizationCodeResponse) String() string
type GetMeRequest ¶
type GetMeRequest struct {
// contains filtered or unexported fields
}
func (*GetMeRequest) Descriptor
deprecated
func (*GetMeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMeRequest.ProtoReflect.Descriptor instead.
func (*GetMeRequest) ProtoMessage ¶
func (*GetMeRequest) ProtoMessage()
func (*GetMeRequest) ProtoReflect ¶
func (x *GetMeRequest) ProtoReflect() protoreflect.Message
func (*GetMeRequest) Reset ¶
func (x *GetMeRequest) Reset()
func (*GetMeRequest) String ¶
func (x *GetMeRequest) String() string
type GetMeResponse ¶
type GetMeResponse struct {
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
// contains filtered or unexported fields
}
func (*GetMeResponse) Descriptor
deprecated
func (*GetMeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMeResponse.ProtoReflect.Descriptor instead.
func (*GetMeResponse) GetSession ¶
func (x *GetMeResponse) GetSession() *Session
func (*GetMeResponse) GetUser ¶
func (x *GetMeResponse) GetUser() *User
func (*GetMeResponse) ProtoMessage ¶
func (*GetMeResponse) ProtoMessage()
func (*GetMeResponse) ProtoReflect ¶
func (x *GetMeResponse) ProtoReflect() protoreflect.Message
func (*GetMeResponse) Reset ¶
func (x *GetMeResponse) Reset()
func (*GetMeResponse) String ¶
func (x *GetMeResponse) String() string
type ListSessionsRequest ¶
type ListSessionsRequest struct {
// contains filtered or unexported fields
}
func (*ListSessionsRequest) Descriptor
deprecated
func (*ListSessionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSessionsRequest.ProtoReflect.Descriptor instead.
func (*ListSessionsRequest) ProtoMessage ¶
func (*ListSessionsRequest) ProtoMessage()
func (*ListSessionsRequest) ProtoReflect ¶
func (x *ListSessionsRequest) ProtoReflect() protoreflect.Message
func (*ListSessionsRequest) Reset ¶
func (x *ListSessionsRequest) Reset()
func (*ListSessionsRequest) String ¶
func (x *ListSessionsRequest) String() string
type ListSessionsResponse ¶
type ListSessionsResponse struct {
Sessions []*Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
// contains filtered or unexported fields
}
func (*ListSessionsResponse) Descriptor
deprecated
func (*ListSessionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSessionsResponse.ProtoReflect.Descriptor instead.
func (*ListSessionsResponse) GetSessions ¶
func (x *ListSessionsResponse) GetSessions() []*Session
func (*ListSessionsResponse) ProtoMessage ¶
func (*ListSessionsResponse) ProtoMessage()
func (*ListSessionsResponse) ProtoReflect ¶
func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message
func (*ListSessionsResponse) Reset ¶
func (x *ListSessionsResponse) Reset()
func (*ListSessionsResponse) String ¶
func (x *ListSessionsResponse) String() string
type PollDeviceSignInRequest ¶
type PollDeviceSignInRequest struct {
DeviceCode string `protobuf:"bytes,1,opt,name=device_code,json=deviceCode,proto3" json:"device_code,omitempty"`
// contains filtered or unexported fields
}
func (*PollDeviceSignInRequest) Descriptor
deprecated
func (*PollDeviceSignInRequest) Descriptor() ([]byte, []int)
Deprecated: Use PollDeviceSignInRequest.ProtoReflect.Descriptor instead.
func (*PollDeviceSignInRequest) GetDeviceCode ¶
func (x *PollDeviceSignInRequest) GetDeviceCode() string
func (*PollDeviceSignInRequest) ProtoMessage ¶
func (*PollDeviceSignInRequest) ProtoMessage()
func (*PollDeviceSignInRequest) ProtoReflect ¶
func (x *PollDeviceSignInRequest) ProtoReflect() protoreflect.Message
func (*PollDeviceSignInRequest) Reset ¶
func (x *PollDeviceSignInRequest) Reset()
func (*PollDeviceSignInRequest) String ¶
func (x *PollDeviceSignInRequest) String() string
type PollDeviceSignInResponse ¶
type PollDeviceSignInResponse struct {
Status DeviceSignInStatus `protobuf:"varint,1,opt,name=status,proto3,enum=devopus.auth.v1.DeviceSignInStatus" json:"status,omitempty"`
User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
Tokens *Tokens `protobuf:"bytes,3,opt,name=tokens,proto3" json:"tokens,omitempty"`
// contains filtered or unexported fields
}
func (*PollDeviceSignInResponse) Descriptor
deprecated
func (*PollDeviceSignInResponse) Descriptor() ([]byte, []int)
Deprecated: Use PollDeviceSignInResponse.ProtoReflect.Descriptor instead.
func (*PollDeviceSignInResponse) GetStatus ¶
func (x *PollDeviceSignInResponse) GetStatus() DeviceSignInStatus
func (*PollDeviceSignInResponse) GetTokens ¶
func (x *PollDeviceSignInResponse) GetTokens() *Tokens
func (*PollDeviceSignInResponse) GetUser ¶
func (x *PollDeviceSignInResponse) GetUser() *User
func (*PollDeviceSignInResponse) ProtoMessage ¶
func (*PollDeviceSignInResponse) ProtoMessage()
func (*PollDeviceSignInResponse) ProtoReflect ¶
func (x *PollDeviceSignInResponse) ProtoReflect() protoreflect.Message
func (*PollDeviceSignInResponse) Reset ¶
func (x *PollDeviceSignInResponse) Reset()
func (*PollDeviceSignInResponse) String ¶
func (x *PollDeviceSignInResponse) String() string
type RefreshRequest ¶
type RefreshRequest struct {
RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
// The access token's audience: a workspace id, or empty for Devopus itself.
Audience string `protobuf:"bytes,2,opt,name=audience,proto3" json:"audience,omitempty"`
// contains filtered or unexported fields
}
func (*RefreshRequest) Descriptor
deprecated
func (*RefreshRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefreshRequest.ProtoReflect.Descriptor instead.
func (*RefreshRequest) GetAudience ¶
func (x *RefreshRequest) GetAudience() string
func (*RefreshRequest) GetRefreshToken ¶
func (x *RefreshRequest) GetRefreshToken() string
func (*RefreshRequest) ProtoMessage ¶
func (*RefreshRequest) ProtoMessage()
func (*RefreshRequest) ProtoReflect ¶
func (x *RefreshRequest) ProtoReflect() protoreflect.Message
func (*RefreshRequest) Reset ¶
func (x *RefreshRequest) Reset()
func (*RefreshRequest) String ¶
func (x *RefreshRequest) String() string
type RefreshResponse ¶
type RefreshResponse struct {
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
Tokens *Tokens `protobuf:"bytes,2,opt,name=tokens,proto3" json:"tokens,omitempty"`
// contains filtered or unexported fields
}
func (*RefreshResponse) Descriptor
deprecated
func (*RefreshResponse) Descriptor() ([]byte, []int)
Deprecated: Use RefreshResponse.ProtoReflect.Descriptor instead.
func (*RefreshResponse) GetTokens ¶
func (x *RefreshResponse) GetTokens() *Tokens
func (*RefreshResponse) GetUser ¶
func (x *RefreshResponse) GetUser() *User
func (*RefreshResponse) ProtoMessage ¶
func (*RefreshResponse) ProtoMessage()
func (*RefreshResponse) ProtoReflect ¶
func (x *RefreshResponse) ProtoReflect() protoreflect.Message
func (*RefreshResponse) Reset ¶
func (x *RefreshResponse) Reset()
func (*RefreshResponse) String ¶
func (x *RefreshResponse) String() string
type RevokeSessionRequest ¶
type RevokeSessionRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
func (*RevokeSessionRequest) Descriptor
deprecated
func (*RevokeSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeSessionRequest.ProtoReflect.Descriptor instead.
func (*RevokeSessionRequest) GetSessionId ¶
func (x *RevokeSessionRequest) GetSessionId() string
func (*RevokeSessionRequest) ProtoMessage ¶
func (*RevokeSessionRequest) ProtoMessage()
func (*RevokeSessionRequest) ProtoReflect ¶
func (x *RevokeSessionRequest) ProtoReflect() protoreflect.Message
func (*RevokeSessionRequest) Reset ¶
func (x *RevokeSessionRequest) Reset()
func (*RevokeSessionRequest) String ¶
func (x *RevokeSessionRequest) String() string
type RevokeSessionResponse ¶
type RevokeSessionResponse struct {
// contains filtered or unexported fields
}
func (*RevokeSessionResponse) Descriptor
deprecated
func (*RevokeSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevokeSessionResponse.ProtoReflect.Descriptor instead.
func (*RevokeSessionResponse) ProtoMessage ¶
func (*RevokeSessionResponse) ProtoMessage()
func (*RevokeSessionResponse) ProtoReflect ¶
func (x *RevokeSessionResponse) ProtoReflect() protoreflect.Message
func (*RevokeSessionResponse) Reset ¶
func (x *RevokeSessionResponse) Reset()
func (*RevokeSessionResponse) String ¶
func (x *RevokeSessionResponse) String() string
type Session ¶
type Session struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The device the session was opened on: its host name.
DeviceName string `protobuf:"bytes,2,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
LastUsedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_used_at,json=lastUsedAt,proto3" json:"last_used_at,omitempty"`
// The session ends at idle_expires_at unless used before (each refresh moves it), and
// at expires_at in any case.
IdleExpiresAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=idle_expires_at,json=idleExpiresAt,proto3" json:"idle_expires_at,omitempty"`
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
// The session the request came with.
Current bool `protobuf:"varint,7,opt,name=current,proto3" json:"current,omitempty"`
// contains filtered or unexported fields
}
func (*Session) Descriptor
deprecated
func (*Session) GetCreatedAt ¶
func (x *Session) GetCreatedAt() *timestamppb.Timestamp
func (*Session) GetCurrent ¶
func (*Session) GetDeviceName ¶
func (*Session) GetExpiresAt ¶
func (x *Session) GetExpiresAt() *timestamppb.Timestamp
func (*Session) GetIdleExpiresAt ¶
func (x *Session) GetIdleExpiresAt() *timestamppb.Timestamp
func (*Session) GetLastUsedAt ¶
func (x *Session) GetLastUsedAt() *timestamppb.Timestamp
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶
func (x *Session) ProtoReflect() protoreflect.Message
type SignOutRequest ¶
type SignOutRequest struct {
RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
// contains filtered or unexported fields
}
func (*SignOutRequest) Descriptor
deprecated
func (*SignOutRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignOutRequest.ProtoReflect.Descriptor instead.
func (*SignOutRequest) GetRefreshToken ¶
func (x *SignOutRequest) GetRefreshToken() string
func (*SignOutRequest) ProtoMessage ¶
func (*SignOutRequest) ProtoMessage()
func (*SignOutRequest) ProtoReflect ¶
func (x *SignOutRequest) ProtoReflect() protoreflect.Message
func (*SignOutRequest) Reset ¶
func (x *SignOutRequest) Reset()
func (*SignOutRequest) String ¶
func (x *SignOutRequest) String() string
type SignOutResponse ¶
type SignOutResponse struct {
// contains filtered or unexported fields
}
func (*SignOutResponse) Descriptor
deprecated
func (*SignOutResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignOutResponse.ProtoReflect.Descriptor instead.
func (*SignOutResponse) ProtoMessage ¶
func (*SignOutResponse) ProtoMessage()
func (*SignOutResponse) ProtoReflect ¶
func (x *SignOutResponse) ProtoReflect() protoreflect.Message
func (*SignOutResponse) Reset ¶
func (x *SignOutResponse) Reset()
func (*SignOutResponse) String ¶
func (x *SignOutResponse) String() string
type StartDeviceSignInRequest ¶
type StartDeviceSignInRequest struct {
DeviceName string `protobuf:"bytes,1,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
// contains filtered or unexported fields
}
func (*StartDeviceSignInRequest) Descriptor
deprecated
func (*StartDeviceSignInRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartDeviceSignInRequest.ProtoReflect.Descriptor instead.
func (*StartDeviceSignInRequest) GetDeviceId ¶
func (x *StartDeviceSignInRequest) GetDeviceId() string
func (*StartDeviceSignInRequest) GetDeviceName ¶
func (x *StartDeviceSignInRequest) GetDeviceName() string
func (*StartDeviceSignInRequest) ProtoMessage ¶
func (*StartDeviceSignInRequest) ProtoMessage()
func (*StartDeviceSignInRequest) ProtoReflect ¶
func (x *StartDeviceSignInRequest) ProtoReflect() protoreflect.Message
func (*StartDeviceSignInRequest) Reset ¶
func (x *StartDeviceSignInRequest) Reset()
func (*StartDeviceSignInRequest) String ¶
func (x *StartDeviceSignInRequest) String() string
type StartDeviceSignInResponse ¶
type StartDeviceSignInResponse struct {
DeviceCode string `protobuf:"bytes,1,opt,name=device_code,json=deviceCode,proto3" json:"device_code,omitempty"`
// What the person types on the page: XXXX-XXXX.
UserCode string `protobuf:"bytes,2,opt,name=user_code,json=userCode,proto3" json:"user_code,omitempty"`
VerificationUri string `protobuf:"bytes,3,opt,name=verification_uri,json=verificationUri,proto3" json:"verification_uri,omitempty"`
// The page with the user code filled in.
VerificationUriComplete string `` /* 132-byte string literal not displayed */
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
IntervalSeconds int32 `protobuf:"varint,6,opt,name=interval_seconds,json=intervalSeconds,proto3" json:"interval_seconds,omitempty"`
// contains filtered or unexported fields
}
func (*StartDeviceSignInResponse) Descriptor
deprecated
func (*StartDeviceSignInResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartDeviceSignInResponse.ProtoReflect.Descriptor instead.
func (*StartDeviceSignInResponse) GetDeviceCode ¶
func (x *StartDeviceSignInResponse) GetDeviceCode() string
func (*StartDeviceSignInResponse) GetExpiresAt ¶
func (x *StartDeviceSignInResponse) GetExpiresAt() *timestamppb.Timestamp
func (*StartDeviceSignInResponse) GetIntervalSeconds ¶
func (x *StartDeviceSignInResponse) GetIntervalSeconds() int32
func (*StartDeviceSignInResponse) GetUserCode ¶
func (x *StartDeviceSignInResponse) GetUserCode() string
func (*StartDeviceSignInResponse) GetVerificationUri ¶
func (x *StartDeviceSignInResponse) GetVerificationUri() string
func (*StartDeviceSignInResponse) GetVerificationUriComplete ¶
func (x *StartDeviceSignInResponse) GetVerificationUriComplete() string
func (*StartDeviceSignInResponse) ProtoMessage ¶
func (*StartDeviceSignInResponse) ProtoMessage()
func (*StartDeviceSignInResponse) ProtoReflect ¶
func (x *StartDeviceSignInResponse) ProtoReflect() protoreflect.Message
func (*StartDeviceSignInResponse) Reset ¶
func (x *StartDeviceSignInResponse) Reset()
func (*StartDeviceSignInResponse) String ¶
func (x *StartDeviceSignInResponse) String() string
type StartEmailSignInRequest ¶
type StartEmailSignInRequest struct {
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
// A random id the client keeps per device: requests from one device are limited.
DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
// contains filtered or unexported fields
}
func (*StartEmailSignInRequest) Descriptor
deprecated
func (*StartEmailSignInRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartEmailSignInRequest.ProtoReflect.Descriptor instead.
func (*StartEmailSignInRequest) GetDeviceId ¶
func (x *StartEmailSignInRequest) GetDeviceId() string
func (*StartEmailSignInRequest) GetEmail ¶
func (x *StartEmailSignInRequest) GetEmail() string
func (*StartEmailSignInRequest) ProtoMessage ¶
func (*StartEmailSignInRequest) ProtoMessage()
func (*StartEmailSignInRequest) ProtoReflect ¶
func (x *StartEmailSignInRequest) ProtoReflect() protoreflect.Message
func (*StartEmailSignInRequest) Reset ¶
func (x *StartEmailSignInRequest) Reset()
func (*StartEmailSignInRequest) String ¶
func (x *StartEmailSignInRequest) String() string
type StartEmailSignInResponse ¶
type StartEmailSignInResponse struct {
ChallengeId string `protobuf:"bytes,1,opt,name=challenge_id,json=challengeId,proto3" json:"challenge_id,omitempty"`
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
// contains filtered or unexported fields
}
func (*StartEmailSignInResponse) Descriptor
deprecated
func (*StartEmailSignInResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartEmailSignInResponse.ProtoReflect.Descriptor instead.
func (*StartEmailSignInResponse) GetChallengeId ¶
func (x *StartEmailSignInResponse) GetChallengeId() string
func (*StartEmailSignInResponse) GetExpiresAt ¶
func (x *StartEmailSignInResponse) GetExpiresAt() *timestamppb.Timestamp
func (*StartEmailSignInResponse) ProtoMessage ¶
func (*StartEmailSignInResponse) ProtoMessage()
func (*StartEmailSignInResponse) ProtoReflect ¶
func (x *StartEmailSignInResponse) ProtoReflect() protoreflect.Message
func (*StartEmailSignInResponse) Reset ¶
func (x *StartEmailSignInResponse) Reset()
func (*StartEmailSignInResponse) String ¶
func (x *StartEmailSignInResponse) String() string
type Tokens ¶
type Tokens struct {
// A signed JWT (EdDSA): sub is the user, sid the session.
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
AccessExpiresAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=access_expires_at,json=accessExpiresAt,proto3" json:"access_expires_at,omitempty"`
// Opaque; works once.
RefreshToken string `protobuf:"bytes,3,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
Session *Session `protobuf:"bytes,4,opt,name=session,proto3" json:"session,omitempty"`
// contains filtered or unexported fields
}
func (*Tokens) Descriptor
deprecated
func (*Tokens) GetAccessExpiresAt ¶
func (x *Tokens) GetAccessExpiresAt() *timestamppb.Timestamp
func (*Tokens) GetAccessToken ¶
func (*Tokens) GetRefreshToken ¶
func (*Tokens) GetSession ¶
func (*Tokens) ProtoMessage ¶
func (*Tokens) ProtoMessage()
func (*Tokens) ProtoReflect ¶
func (x *Tokens) ProtoReflect() protoreflect.Message
type User ¶
type User struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
func (*User) Descriptor
deprecated
func (*User) GetCreatedAt ¶
func (x *User) GetCreatedAt() *timestamppb.Timestamp
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message