Documentation
¶
Index ¶
- Variables
- type Auth
- func (*Auth) Descriptor() ([]byte, []int)deprecated
- func (x *Auth) GetAuth() isAuth_Auth
- func (x *Auth) GetOtp() *Auth_OTP
- func (x *Auth) GetToken() *Auth_Token
- func (msg *Auth) MarshalJSON() ([]byte, error)
- func (*Auth) ProtoMessage()
- func (x *Auth) ProtoReflect() protoreflect.Message
- func (x *Auth) Reset()
- func (x *Auth) String() string
- func (msg *Auth) UnmarshalJSON(b []byte) error
- type Auth_OTP
- func (*Auth_OTP) Descriptor() ([]byte, []int)deprecated
- func (x *Auth_OTP) GetCode() string
- func (x *Auth_OTP) GetExpiresAt() int64
- func (msg *Auth_OTP) MarshalJSON() ([]byte, error)
- func (*Auth_OTP) ProtoMessage()
- func (x *Auth_OTP) ProtoReflect() protoreflect.Message
- func (x *Auth_OTP) Reset()
- func (x *Auth_OTP) String() string
- func (msg *Auth_OTP) UnmarshalJSON(b []byte) error
- type Auth_Otp
- type Auth_Token
- func (*Auth_Token) Descriptor() ([]byte, []int)deprecated
- func (x *Auth_Token) GetExpiresAt() int64
- func (x *Auth_Token) GetRefreshExpiresAt() int64
- func (x *Auth_Token) GetRefreshTokenId() string
- func (msg *Auth_Token) MarshalJSON() ([]byte, error)
- func (*Auth_Token) ProtoMessage()
- func (x *Auth_Token) ProtoReflect() protoreflect.Message
- func (x *Auth_Token) Reset()
- func (x *Auth_Token) String() string
- func (msg *Auth_Token) UnmarshalJSON(b []byte) error
- type Auth_Token_
- type Contact
- func (*Contact) Descriptor() ([]byte, []int)deprecated
- func (x *Contact) GetContact() isContact_Contact
- func (x *Contact) GetEmail() string
- func (x *Contact) GetPhone() string
- func (msg *Contact) MarshalJSON() ([]byte, error)
- func (*Contact) ProtoMessage()
- func (x *Contact) ProtoReflect() protoreflect.Message
- func (x *Contact) Reset()
- func (x *Contact) String() string
- func (msg *Contact) UnmarshalJSON(b []byte) error
- type Contact_Email
- type Contact_Phone
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) GetAuth() *Auth
- func (x *Session) GetContact() *Contact
- func (x *Session) GetCreatedAt() int64
- func (x *Session) GetId() string
- func (x *Session) GetKey() string
- func (x *Session) GetRevision() string
- func (x *Session) GetUpdatedAt() int64
- func (msg *Session) MarshalJSON() ([]byte, error)
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (x *Session) String() string
- func (msg *Session) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var File_graphify_auth_v1_session_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct {
// Types that are valid to be assigned to Auth:
//
// *Auth_Otp
// *Auth_Token_
Auth isAuth_Auth `protobuf_oneof:"auth"`
// contains filtered or unexported fields
}
func (*Auth) Descriptor
deprecated
func (*Auth) GetToken ¶
func (x *Auth) GetToken() *Auth_Token
func (*Auth) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Auth) ProtoMessage ¶
func (*Auth) ProtoMessage()
func (*Auth) ProtoReflect ¶
func (x *Auth) ProtoReflect() protoreflect.Message
func (*Auth) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type Auth_OTP ¶
type Auth_OTP struct {
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
ExpiresAt int64 `protobuf:"varint,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
// contains filtered or unexported fields
}
func (*Auth_OTP) Descriptor
deprecated
func (*Auth_OTP) GetExpiresAt ¶
func (*Auth_OTP) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Auth_OTP) ProtoMessage ¶
func (*Auth_OTP) ProtoMessage()
func (*Auth_OTP) ProtoReflect ¶
func (x *Auth_OTP) ProtoReflect() protoreflect.Message
func (*Auth_OTP) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type Auth_Otp ¶
type Auth_Otp struct {
Otp *Auth_OTP `protobuf:"bytes,1,opt,name=otp,proto3,oneof"`
}
type Auth_Token ¶
type Auth_Token struct {
ExpiresAt int64 `protobuf:"varint,1,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
RefreshTokenId string `protobuf:"bytes,2,opt,name=refresh_token_id,json=refreshTokenId,proto3" json:"refresh_token_id,omitempty"`
RefreshExpiresAt int64 `protobuf:"varint,3,opt,name=refresh_expires_at,json=refreshExpiresAt,proto3" json:"refresh_expires_at,omitempty"`
// contains filtered or unexported fields
}
func (*Auth_Token) Descriptor
deprecated
func (*Auth_Token) Descriptor() ([]byte, []int)
Deprecated: Use Auth_Token.ProtoReflect.Descriptor instead.
func (*Auth_Token) GetExpiresAt ¶
func (x *Auth_Token) GetExpiresAt() int64
func (*Auth_Token) GetRefreshExpiresAt ¶
func (x *Auth_Token) GetRefreshExpiresAt() int64
func (*Auth_Token) GetRefreshTokenId ¶
func (x *Auth_Token) GetRefreshTokenId() string
func (*Auth_Token) MarshalJSON ¶
func (msg *Auth_Token) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*Auth_Token) ProtoMessage ¶
func (*Auth_Token) ProtoMessage()
func (*Auth_Token) ProtoReflect ¶
func (x *Auth_Token) ProtoReflect() protoreflect.Message
func (*Auth_Token) Reset ¶
func (x *Auth_Token) Reset()
func (*Auth_Token) String ¶
func (x *Auth_Token) String() string
func (*Auth_Token) UnmarshalJSON ¶
func (msg *Auth_Token) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Auth_Token_ ¶
type Auth_Token_ struct {
Token *Auth_Token `protobuf:"bytes,2,opt,name=token,proto3,oneof"`
}
type Contact ¶
type Contact struct {
// Types that are valid to be assigned to Contact:
//
// *Contact_Email
// *Contact_Phone
Contact isContact_Contact `protobuf_oneof:"contact"`
// contains filtered or unexported fields
}
func (*Contact) Descriptor
deprecated
func (*Contact) GetContact ¶
func (x *Contact) GetContact() isContact_Contact
func (*Contact) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Contact) ProtoMessage ¶
func (*Contact) ProtoMessage()
func (*Contact) ProtoReflect ¶
func (x *Contact) ProtoReflect() protoreflect.Message
func (*Contact) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type Contact_Email ¶
type Contact_Email struct {
Email string `protobuf:"bytes,1,opt,name=email,proto3,oneof"`
}
type Contact_Phone ¶
type Contact_Phone struct {
Phone string `protobuf:"bytes,2,opt,name=phone,proto3,oneof"`
}
type Session ¶
type Session struct {
Key string `protobuf:"bytes,1,opt,name=key,json=_key,proto3" json:"key,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,json=_id,proto3" json:"id,omitempty"`
Revision string `protobuf:"bytes,3,opt,name=revision,json=_rev,proto3" json:"revision,omitempty"`
Contact *Contact `protobuf:"bytes,4,opt,name=contact,proto3" json:"contact,omitempty"`
Auth *Auth `protobuf:"bytes,5,opt,name=auth,proto3" json:"auth,omitempty"`
CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt int64 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
func (*Session) Descriptor
deprecated
func (*Session) GetContact ¶
func (*Session) GetCreatedAt ¶
func (*Session) GetRevision ¶
func (*Session) GetUpdatedAt ¶
func (*Session) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶
func (x *Session) ProtoReflect() protoreflect.Message
func (*Session) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
Click to show internal directories.
Click to hide internal directories.