authv1

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2025 License: Unlicense Imports: 7 Imported by: 0

Documentation

Index

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

Deprecated: Use Auth.ProtoReflect.Descriptor instead.

func (*Auth) GetAuth

func (x *Auth) GetAuth() isAuth_Auth

func (*Auth) GetOtp

func (x *Auth) GetOtp() *Auth_OTP

func (*Auth) GetToken

func (x *Auth) GetToken() *Auth_Token

func (*Auth) MarshalJSON

func (msg *Auth) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Auth) ProtoMessage

func (*Auth) ProtoMessage()

func (*Auth) ProtoReflect

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

func (*Auth) Reset

func (x *Auth) Reset()

func (*Auth) String

func (x *Auth) String() string

func (*Auth) UnmarshalJSON

func (msg *Auth) UnmarshalJSON(b []byte) error

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

Deprecated: Use Auth_OTP.ProtoReflect.Descriptor instead.

func (*Auth_OTP) GetCode

func (x *Auth_OTP) GetCode() string

func (*Auth_OTP) GetExpiresAt

func (x *Auth_OTP) GetExpiresAt() int64

func (*Auth_OTP) MarshalJSON

func (msg *Auth_OTP) MarshalJSON() ([]byte, error)

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) Reset

func (x *Auth_OTP) Reset()

func (*Auth_OTP) String

func (x *Auth_OTP) String() string

func (*Auth_OTP) UnmarshalJSON

func (msg *Auth_OTP) UnmarshalJSON(b []byte) error

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

Deprecated: Use Contact.ProtoReflect.Descriptor instead.

func (*Contact) GetContact

func (x *Contact) GetContact() isContact_Contact

func (*Contact) GetEmail

func (x *Contact) GetEmail() string

func (*Contact) GetPhone

func (x *Contact) GetPhone() string

func (*Contact) MarshalJSON

func (msg *Contact) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Contact) ProtoMessage

func (*Contact) ProtoMessage()

func (*Contact) ProtoReflect

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

func (*Contact) Reset

func (x *Contact) Reset()

func (*Contact) String

func (x *Contact) String() string

func (*Contact) UnmarshalJSON

func (msg *Contact) UnmarshalJSON(b []byte) error

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

Deprecated: Use Session.ProtoReflect.Descriptor instead.

func (*Session) GetAuth

func (x *Session) GetAuth() *Auth

func (*Session) GetContact

func (x *Session) GetContact() *Contact

func (*Session) GetCreatedAt

func (x *Session) GetCreatedAt() int64

func (*Session) GetId

func (x *Session) GetId() string

func (*Session) GetKey

func (x *Session) GetKey() string

func (*Session) GetRevision

func (x *Session) GetRevision() string

func (*Session) GetUpdatedAt

func (x *Session) GetUpdatedAt() int64

func (*Session) MarshalJSON

func (msg *Session) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) ProtoReflect

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

func (*Session) Reset

func (x *Session) Reset()

func (*Session) String

func (x *Session) String() string

func (*Session) UnmarshalJSON

func (msg *Session) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

Jump to

Keyboard shortcuts

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