auth

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuthService_ValidateCredential_FullMethodName               = "/auth.AuthService/ValidateCredential"
	AuthService_Login_FullMethodName                            = "/auth.AuthService/Login"
	AuthService_Register_FullMethodName                         = "/auth.AuthService/Register"
	AuthService_RefreshToken_FullMethodName                     = "/auth.AuthService/RefreshToken"
	AuthService_RequestPasswordReset_FullMethodName             = "/auth.AuthService/RequestPasswordReset"
	AuthService_ResetPassword_FullMethodName                    = "/auth.AuthService/ResetPassword"
	AuthService_RevokeRefreshToken_FullMethodName               = "/auth.AuthService/RevokeRefreshToken"
	AuthService_UpdatePassword_FullMethodName                   = "/auth.AuthService/UpdatePassword"
	AuthService_CreateAPIKey_FullMethodName                     = "/auth.AuthService/CreateAPIKey"
	AuthService_RotateAPIKey_FullMethodName                     = "/auth.AuthService/RotateAPIKey"
	AuthService_RevokeAPIKey_FullMethodName                     = "/auth.AuthService/RevokeAPIKey"
	AuthService_ListAPIKeys_FullMethodName                      = "/auth.AuthService/ListAPIKeys"
	AuthService_GetAPIKey_FullMethodName                        = "/auth.AuthService/GetAPIKey"
	AuthService_BatchGetAPIKeysByIDs_FullMethodName             = "/auth.AuthService/BatchGetAPIKeysByIDs"
	AuthService_GetOrCreateDocAPIKey_FullMethodName             = "/auth.AuthService/GetOrCreateDocAPIKey"
	AuthService_CreateRegistrationSession_FullMethodName        = "/auth.AuthService/CreateRegistrationSession"
	AuthService_ResendVerificationEmail_FullMethodName          = "/auth.AuthService/ResendVerificationEmail"
	AuthService_VerifyRegistrationToken_FullMethodName          = "/auth.AuthService/VerifyRegistrationToken"
	AuthService_GetRegistrationSession_FullMethodName           = "/auth.AuthService/GetRegistrationSession"
	AuthService_CreateUserForRegistration_FullMethodName        = "/auth.AuthService/CreateUserForRegistration"
	AuthService_UpdateRegistrationSession_FullMethodName        = "/auth.AuthService/UpdateRegistrationSession"
	AuthService_ListRegistrationSessions_FullMethodName         = "/auth.AuthService/ListRegistrationSessions"
	AuthService_SetupRegistrationBilling_FullMethodName         = "/auth.AuthService/SetupRegistrationBilling"
	AuthService_ConfirmRegistrationPayment_FullMethodName       = "/auth.AuthService/ConfirmRegistrationPayment"
	AuthService_CompleteRegistration_FullMethodName             = "/auth.AuthService/CompleteRegistration"
	AuthService_MagicLogin_FullMethodName                       = "/auth.AuthService/MagicLogin"
	AuthService_GetIncompleteRegistrationSession_FullMethodName = "/auth.AuthService/GetIncompleteRegistrationSession"
)

Variables

View Source
var (
	IdentityActorType_name = map[int32]string{
		0: "IDENTITY_ACTOR_TYPE_UNSPECIFIED",
		1: "IDENTITY_ACTOR_TYPE_USER",
		2: "IDENTITY_ACTOR_TYPE_API_KEY",
		3: "IDENTITY_ACTOR_TYPE_UNAUTHENTICATED",
		4: "IDENTITY_ACTOR_TYPE_AGENT",
	}
	IdentityActorType_value = map[string]int32{
		"IDENTITY_ACTOR_TYPE_UNSPECIFIED":     0,
		"IDENTITY_ACTOR_TYPE_USER":            1,
		"IDENTITY_ACTOR_TYPE_API_KEY":         2,
		"IDENTITY_ACTOR_TYPE_UNAUTHENTICATED": 3,
		"IDENTITY_ACTOR_TYPE_AGENT":           4,
	}
)

Enum value maps for IdentityActorType.

View Source
var (
	IdentityRelationType_name = map[int32]string{
		0: "IDENTITY_RELATION_TYPE_UNSPECIFIED",
		1: "IDENTITY_RELATION_TYPE_INTERNAL",
		2: "IDENTITY_RELATION_TYPE_CUSTOMER",
		3: "IDENTITY_RELATION_TYPE_SUPPLIER",
		4: "IDENTITY_RELATION_TYPE_UNASSIGNED",
	}
	IdentityRelationType_value = map[string]int32{
		"IDENTITY_RELATION_TYPE_UNSPECIFIED": 0,
		"IDENTITY_RELATION_TYPE_INTERNAL":    1,
		"IDENTITY_RELATION_TYPE_CUSTOMER":    2,
		"IDENTITY_RELATION_TYPE_SUPPLIER":    3,
		"IDENTITY_RELATION_TYPE_UNASSIGNED":  4,
	}
)

Enum value maps for IdentityRelationType.

View Source
var (
	AccountMode_name = map[int32]string{
		0: "ACCOUNT_MODE_UNSPECIFIED",
		1: "ACCOUNT_MODE_PRODUCTION",
		2: "ACCOUNT_MODE_SANDBOX",
	}
	AccountMode_value = map[string]int32{
		"ACCOUNT_MODE_UNSPECIFIED": 0,
		"ACCOUNT_MODE_PRODUCTION":  1,
		"ACCOUNT_MODE_SANDBOX":     2,
	}
)

Enum value maps for AccountMode.

View Source
var AuthService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "auth.AuthService",
	HandlerType: (*AuthServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ValidateCredential",
			Handler:    _AuthService_ValidateCredential_Handler,
		},
		{
			MethodName: "Login",
			Handler:    _AuthService_Login_Handler,
		},
		{
			MethodName: "Register",
			Handler:    _AuthService_Register_Handler,
		},
		{
			MethodName: "RefreshToken",
			Handler:    _AuthService_RefreshToken_Handler,
		},
		{
			MethodName: "RequestPasswordReset",
			Handler:    _AuthService_RequestPasswordReset_Handler,
		},
		{
			MethodName: "ResetPassword",
			Handler:    _AuthService_ResetPassword_Handler,
		},
		{
			MethodName: "RevokeRefreshToken",
			Handler:    _AuthService_RevokeRefreshToken_Handler,
		},
		{
			MethodName: "UpdatePassword",
			Handler:    _AuthService_UpdatePassword_Handler,
		},
		{
			MethodName: "CreateAPIKey",
			Handler:    _AuthService_CreateAPIKey_Handler,
		},
		{
			MethodName: "RotateAPIKey",
			Handler:    _AuthService_RotateAPIKey_Handler,
		},
		{
			MethodName: "RevokeAPIKey",
			Handler:    _AuthService_RevokeAPIKey_Handler,
		},
		{
			MethodName: "ListAPIKeys",
			Handler:    _AuthService_ListAPIKeys_Handler,
		},
		{
			MethodName: "GetAPIKey",
			Handler:    _AuthService_GetAPIKey_Handler,
		},
		{
			MethodName: "BatchGetAPIKeysByIDs",
			Handler:    _AuthService_BatchGetAPIKeysByIDs_Handler,
		},
		{
			MethodName: "GetOrCreateDocAPIKey",
			Handler:    _AuthService_GetOrCreateDocAPIKey_Handler,
		},
		{
			MethodName: "CreateRegistrationSession",
			Handler:    _AuthService_CreateRegistrationSession_Handler,
		},
		{
			MethodName: "ResendVerificationEmail",
			Handler:    _AuthService_ResendVerificationEmail_Handler,
		},
		{
			MethodName: "VerifyRegistrationToken",
			Handler:    _AuthService_VerifyRegistrationToken_Handler,
		},
		{
			MethodName: "GetRegistrationSession",
			Handler:    _AuthService_GetRegistrationSession_Handler,
		},
		{
			MethodName: "CreateUserForRegistration",
			Handler:    _AuthService_CreateUserForRegistration_Handler,
		},
		{
			MethodName: "UpdateRegistrationSession",
			Handler:    _AuthService_UpdateRegistrationSession_Handler,
		},
		{
			MethodName: "ListRegistrationSessions",
			Handler:    _AuthService_ListRegistrationSessions_Handler,
		},
		{
			MethodName: "SetupRegistrationBilling",
			Handler:    _AuthService_SetupRegistrationBilling_Handler,
		},
		{
			MethodName: "ConfirmRegistrationPayment",
			Handler:    _AuthService_ConfirmRegistrationPayment_Handler,
		},
		{
			MethodName: "CompleteRegistration",
			Handler:    _AuthService_CompleteRegistration_Handler,
		},
		{
			MethodName: "MagicLogin",
			Handler:    _AuthService_MagicLogin_Handler,
		},
		{
			MethodName: "GetIncompleteRegistrationSession",
			Handler:    _AuthService_GetIncompleteRegistrationSession_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "auth/auth.proto",
}

AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_auth_auth_proto protoreflect.FileDescriptor

Functions

func RegisterAuthServiceServer

func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)

Types

type APIKeyInfo

type APIKeyInfo struct {
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name          string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	RedactedValue string                 `protobuf:"bytes,3,opt,name=redacted_value,json=redactedValue,proto3" json:"redacted_value,omitempty"`
	RoleId        *string                `protobuf:"bytes,4,opt,name=role_id,json=roleId,proto3,oneof" json:"role_id,omitempty"`
	RoleName      *string                `protobuf:"bytes,5,opt,name=role_name,json=roleName,proto3,oneof" json:"role_name,omitempty"`
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt     *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	LastUsedAt    *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=last_used_at,json=lastUsedAt,proto3,oneof" json:"last_used_at,omitempty"`
	ExpiresAt     *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"`
	RevokedAt     *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=revoked_at,json=revokedAt,proto3,oneof" json:"revoked_at,omitempty"`
	RoleTypeCode  *string                `protobuf:"bytes,11,opt,name=role_type_code,json=roleTypeCode,proto3,oneof" json:"role_type_code,omitempty"`
	// contains filtered or unexported fields
}

func (*APIKeyInfo) Descriptor deprecated

func (*APIKeyInfo) Descriptor() ([]byte, []int)

Deprecated: Use APIKeyInfo.ProtoReflect.Descriptor instead.

func (*APIKeyInfo) GetCreatedAt

func (x *APIKeyInfo) GetCreatedAt() *timestamppb.Timestamp

func (*APIKeyInfo) GetExpiresAt

func (x *APIKeyInfo) GetExpiresAt() *timestamppb.Timestamp

func (*APIKeyInfo) GetId

func (x *APIKeyInfo) GetId() string

func (*APIKeyInfo) GetLastUsedAt

func (x *APIKeyInfo) GetLastUsedAt() *timestamppb.Timestamp

func (*APIKeyInfo) GetName

func (x *APIKeyInfo) GetName() string

func (*APIKeyInfo) GetRedactedValue

func (x *APIKeyInfo) GetRedactedValue() string

func (*APIKeyInfo) GetRevokedAt

func (x *APIKeyInfo) GetRevokedAt() *timestamppb.Timestamp

func (*APIKeyInfo) GetRoleId

func (x *APIKeyInfo) GetRoleId() string

func (*APIKeyInfo) GetRoleName

func (x *APIKeyInfo) GetRoleName() string

func (*APIKeyInfo) GetRoleTypeCode

func (x *APIKeyInfo) GetRoleTypeCode() string

func (*APIKeyInfo) GetUpdatedAt

func (x *APIKeyInfo) GetUpdatedAt() *timestamppb.Timestamp

func (*APIKeyInfo) ProtoMessage

func (*APIKeyInfo) ProtoMessage()

func (*APIKeyInfo) ProtoReflect

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

func (*APIKeyInfo) Reset

func (x *APIKeyInfo) Reset()

func (*APIKeyInfo) String

func (x *APIKeyInfo) String() string

type AccountMode

type AccountMode int32
const (
	AccountMode_ACCOUNT_MODE_UNSPECIFIED AccountMode = 0
	AccountMode_ACCOUNT_MODE_PRODUCTION  AccountMode = 1
	AccountMode_ACCOUNT_MODE_SANDBOX     AccountMode = 2
)

func (AccountMode) Descriptor

func (AccountMode) Enum

func (x AccountMode) Enum() *AccountMode

func (AccountMode) EnumDescriptor deprecated

func (AccountMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use AccountMode.Descriptor instead.

func (AccountMode) Number

func (x AccountMode) Number() protoreflect.EnumNumber

func (AccountMode) String

func (x AccountMode) String() string

func (AccountMode) Type

type AuthServiceClient

type AuthServiceClient interface {
	// Verifies a bearer token (JWT or API key) and returns the resolved Identity.
	ValidateCredential(ctx context.Context, in *Credential, opts ...grpc.CallOption) (*Identity, error)
	// Authenticates a user by identifier + password and returns a token pair + user profile.
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	// Creates a new user and returns a token pair for immediate login.
	Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	// Exchanges a valid refresh token for a new access token.
	RefreshToken(ctx context.Context, in *RefreshTokenRequest, opts ...grpc.CallOption) (*RefreshTokenResponse, error)
	// Sends a password reset email. Returns Empty regardless of whether the
	// identifier exists (to prevent user enumeration).
	RequestPasswordReset(ctx context.Context, in *RequestPasswordResetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Completes password reset using the email token and returns a token pair.
	ResetPassword(ctx context.Context, in *ResetPasswordRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	// Invalidates a refresh token. Used on logout.
	RevokeRefreshToken(ctx context.Context, in *RevokeRefreshTokenRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Changes the authenticated user's password (requires old password).
	UpdatePassword(ctx context.Context, in *UpdatePasswordRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Creates a new API key. Returns the full secret (shown once) and metadata.
	CreateAPIKey(ctx context.Context, in *CreateAPIKeyRequest, opts ...grpc.CallOption) (*CreateAPIKeyResponse, error)
	// Revokes an API key and creates a replacement with the same name/role/owner.
	RotateAPIKey(ctx context.Context, in *RotateAPIKeyRequest, opts ...grpc.CallOption) (*RotateAPIKeyResponse, error)
	// Permanently revokes an API key with no replacement.
	RevokeAPIKey(ctx context.Context, in *RevokeAPIKeyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Returns a paginated list of API keys for the target account.
	ListAPIKeys(ctx context.Context, in *ListAPIKeysRequest, opts ...grpc.CallOption) (*ListAPIKeysResponse, error)
	// Returns a single API key's metadata by ID.
	GetAPIKey(ctx context.Context, in *GetAPIKeyRequest, opts ...grpc.CallOption) (*GetAPIKeyResponse, error)
	// Returns API keys matching the given IDs for the caller's target account.
	BatchGetAPIKeysByIDs(ctx context.Context, in *BatchGetAPIKeysByIDsRequest, opts ...grpc.CallOption) (*BatchGetAPIKeysByIDsResponse, error)
	// Returns a sandbox API key for API docs, reusing or creating as needed.
	GetOrCreateDocAPIKey(ctx context.Context, in *GetOrCreateDocAPIKeyRequest, opts ...grpc.CallOption) (*GetOrCreateDocAPIKeyResponse, error)
	// Creates a registration session (or returns existing). Sends a verification email.
	CreateRegistrationSession(ctx context.Context, in *CreateRegistrationSessionRequest, opts ...grpc.CallOption) (*CreateRegistrationSessionResponse, error)
	// Resends the verification email for a registration session.
	ResendVerificationEmail(ctx context.Context, in *ResendVerificationEmailRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Verifies the email token and advances the session step. Idempotent.
	VerifyRegistrationToken(ctx context.Context, in *VerifyRegistrationTokenRequest, opts ...grpc.CallOption) (*VerifyRegistrationTokenResponse, error)
	// Returns the current state of a registration session.
	GetRegistrationSession(ctx context.Context, in *GetRegistrationSessionRequest, opts ...grpc.CallOption) (*GetRegistrationSessionResponse, error)
	// Creates or resolves a user for a registration session. Returns user ID and tokens.
	CreateUserForRegistration(ctx context.Context, in *CreateUserForRegistrationRequest, opts ...grpc.CallOption) (*CreateUserForRegistrationResponse, error)
	// Updates a registration session's step, form data, or Stripe fields.
	UpdateRegistrationSession(ctx context.Context, in *UpdateRegistrationSessionRequest, opts ...grpc.CallOption) (*UpdateRegistrationSessionResponse, error)
	// Returns a paginated list of open registration sessions for the authenticated user.
	ListRegistrationSessions(ctx context.Context, in *ListRegistrationSessionsRequest, opts ...grpc.CallOption) (*ListRegistrationSessionsResponse, error)
	// Creates a Stripe customer and billing profile for a registration session.
	SetupRegistrationBilling(ctx context.Context, in *SetupRegistrationBillingRequest, opts ...grpc.CallOption) (*SetupRegistrationBillingResponse, error)
	// Verifies a Setup Intent succeeded and marks payment as completed.
	ConfirmRegistrationPayment(ctx context.Context, in *ConfirmRegistrationPaymentRequest, opts ...grpc.CallOption) (*ConfirmRegistrationPaymentResponse, error)
	// Finalizes registration: creates accounts, roles, permissions, and account-users.
	CompleteRegistration(ctx context.Context, in *CompleteRegistrationRequest, opts ...grpc.CallOption) (*CompleteRegistrationResponse, error)
	// Exchanges a magic-login token (from the "already registered" email) for a token pair.
	MagicLogin(ctx context.Context, in *MagicLoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	// Returns the caller's most recent incomplete registration session, or no session if none exists.
	GetIncompleteRegistrationSession(ctx context.Context, in *GetIncompleteRegistrationSessionRequest, opts ...grpc.CallOption) (*GetIncompleteRegistrationSessionResponse, error)
}

AuthServiceClient is the client API for AuthService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type AuthServiceServer

type AuthServiceServer interface {
	// Verifies a bearer token (JWT or API key) and returns the resolved Identity.
	ValidateCredential(context.Context, *Credential) (*Identity, error)
	// Authenticates a user by identifier + password and returns a token pair + user profile.
	Login(context.Context, *LoginRequest) (*LoginResponse, error)
	// Creates a new user and returns a token pair for immediate login.
	Register(context.Context, *RegisterRequest) (*LoginResponse, error)
	// Exchanges a valid refresh token for a new access token.
	RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
	// Sends a password reset email. Returns Empty regardless of whether the
	// identifier exists (to prevent user enumeration).
	RequestPasswordReset(context.Context, *RequestPasswordResetRequest) (*emptypb.Empty, error)
	// Completes password reset using the email token and returns a token pair.
	ResetPassword(context.Context, *ResetPasswordRequest) (*LoginResponse, error)
	// Invalidates a refresh token. Used on logout.
	RevokeRefreshToken(context.Context, *RevokeRefreshTokenRequest) (*emptypb.Empty, error)
	// Changes the authenticated user's password (requires old password).
	UpdatePassword(context.Context, *UpdatePasswordRequest) (*emptypb.Empty, error)
	// Creates a new API key. Returns the full secret (shown once) and metadata.
	CreateAPIKey(context.Context, *CreateAPIKeyRequest) (*CreateAPIKeyResponse, error)
	// Revokes an API key and creates a replacement with the same name/role/owner.
	RotateAPIKey(context.Context, *RotateAPIKeyRequest) (*RotateAPIKeyResponse, error)
	// Permanently revokes an API key with no replacement.
	RevokeAPIKey(context.Context, *RevokeAPIKeyRequest) (*emptypb.Empty, error)
	// Returns a paginated list of API keys for the target account.
	ListAPIKeys(context.Context, *ListAPIKeysRequest) (*ListAPIKeysResponse, error)
	// Returns a single API key's metadata by ID.
	GetAPIKey(context.Context, *GetAPIKeyRequest) (*GetAPIKeyResponse, error)
	// Returns API keys matching the given IDs for the caller's target account.
	BatchGetAPIKeysByIDs(context.Context, *BatchGetAPIKeysByIDsRequest) (*BatchGetAPIKeysByIDsResponse, error)
	// Returns a sandbox API key for API docs, reusing or creating as needed.
	GetOrCreateDocAPIKey(context.Context, *GetOrCreateDocAPIKeyRequest) (*GetOrCreateDocAPIKeyResponse, error)
	// Creates a registration session (or returns existing). Sends a verification email.
	CreateRegistrationSession(context.Context, *CreateRegistrationSessionRequest) (*CreateRegistrationSessionResponse, error)
	// Resends the verification email for a registration session.
	ResendVerificationEmail(context.Context, *ResendVerificationEmailRequest) (*emptypb.Empty, error)
	// Verifies the email token and advances the session step. Idempotent.
	VerifyRegistrationToken(context.Context, *VerifyRegistrationTokenRequest) (*VerifyRegistrationTokenResponse, error)
	// Returns the current state of a registration session.
	GetRegistrationSession(context.Context, *GetRegistrationSessionRequest) (*GetRegistrationSessionResponse, error)
	// Creates or resolves a user for a registration session. Returns user ID and tokens.
	CreateUserForRegistration(context.Context, *CreateUserForRegistrationRequest) (*CreateUserForRegistrationResponse, error)
	// Updates a registration session's step, form data, or Stripe fields.
	UpdateRegistrationSession(context.Context, *UpdateRegistrationSessionRequest) (*UpdateRegistrationSessionResponse, error)
	// Returns a paginated list of open registration sessions for the authenticated user.
	ListRegistrationSessions(context.Context, *ListRegistrationSessionsRequest) (*ListRegistrationSessionsResponse, error)
	// Creates a Stripe customer and billing profile for a registration session.
	SetupRegistrationBilling(context.Context, *SetupRegistrationBillingRequest) (*SetupRegistrationBillingResponse, error)
	// Verifies a Setup Intent succeeded and marks payment as completed.
	ConfirmRegistrationPayment(context.Context, *ConfirmRegistrationPaymentRequest) (*ConfirmRegistrationPaymentResponse, error)
	// Finalizes registration: creates accounts, roles, permissions, and account-users.
	CompleteRegistration(context.Context, *CompleteRegistrationRequest) (*CompleteRegistrationResponse, error)
	// Exchanges a magic-login token (from the "already registered" email) for a token pair.
	MagicLogin(context.Context, *MagicLoginRequest) (*LoginResponse, error)
	// Returns the caller's most recent incomplete registration session, or no session if none exists.
	GetIncompleteRegistrationSession(context.Context, *GetIncompleteRegistrationSessionRequest) (*GetIncompleteRegistrationSessionResponse, error)
	// contains filtered or unexported methods
}

AuthServiceServer is the server API for AuthService service. All implementations must embed UnimplementedAuthServiceServer for forward compatibility.

type BatchGetAPIKeysByIDsRequest

type BatchGetAPIKeysByIDsRequest struct {
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchGetAPIKeysByIDsRequest) Descriptor deprecated

func (*BatchGetAPIKeysByIDsRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchGetAPIKeysByIDsRequest.ProtoReflect.Descriptor instead.

func (*BatchGetAPIKeysByIDsRequest) GetIds

func (x *BatchGetAPIKeysByIDsRequest) GetIds() []string

func (*BatchGetAPIKeysByIDsRequest) ProtoMessage

func (*BatchGetAPIKeysByIDsRequest) ProtoMessage()

func (*BatchGetAPIKeysByIDsRequest) ProtoReflect

func (*BatchGetAPIKeysByIDsRequest) Reset

func (x *BatchGetAPIKeysByIDsRequest) Reset()

func (*BatchGetAPIKeysByIDsRequest) String

func (x *BatchGetAPIKeysByIDsRequest) String() string

type BatchGetAPIKeysByIDsResponse

type BatchGetAPIKeysByIDsResponse struct {
	ApiKeys []*APIKeyInfo `protobuf:"bytes,1,rep,name=api_keys,json=apiKeys,proto3" json:"api_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchGetAPIKeysByIDsResponse) Descriptor deprecated

func (*BatchGetAPIKeysByIDsResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchGetAPIKeysByIDsResponse.ProtoReflect.Descriptor instead.

func (*BatchGetAPIKeysByIDsResponse) GetApiKeys

func (x *BatchGetAPIKeysByIDsResponse) GetApiKeys() []*APIKeyInfo

func (*BatchGetAPIKeysByIDsResponse) ProtoMessage

func (*BatchGetAPIKeysByIDsResponse) ProtoMessage()

func (*BatchGetAPIKeysByIDsResponse) ProtoReflect

func (*BatchGetAPIKeysByIDsResponse) Reset

func (x *BatchGetAPIKeysByIDsResponse) Reset()

func (*BatchGetAPIKeysByIDsResponse) String

type CompleteRegistrationRequest

type CompleteRegistrationRequest struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CompleteRegistrationRequest) Descriptor deprecated

func (*CompleteRegistrationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CompleteRegistrationRequest.ProtoReflect.Descriptor instead.

func (*CompleteRegistrationRequest) GetSessionId

func (x *CompleteRegistrationRequest) GetSessionId() string

func (*CompleteRegistrationRequest) ProtoMessage

func (*CompleteRegistrationRequest) ProtoMessage()

func (*CompleteRegistrationRequest) ProtoReflect

func (*CompleteRegistrationRequest) Reset

func (x *CompleteRegistrationRequest) Reset()

func (*CompleteRegistrationRequest) String

func (x *CompleteRegistrationRequest) String() string

type CompleteRegistrationResponse

type CompleteRegistrationResponse struct {
	AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	SandboxId string `protobuf:"bytes,2,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CompleteRegistrationResponse) Descriptor deprecated

func (*CompleteRegistrationResponse) Descriptor() ([]byte, []int)

Deprecated: Use CompleteRegistrationResponse.ProtoReflect.Descriptor instead.

func (*CompleteRegistrationResponse) GetAccountId

func (x *CompleteRegistrationResponse) GetAccountId() string

func (*CompleteRegistrationResponse) GetSandboxId

func (x *CompleteRegistrationResponse) GetSandboxId() string

func (*CompleteRegistrationResponse) ProtoMessage

func (*CompleteRegistrationResponse) ProtoMessage()

func (*CompleteRegistrationResponse) ProtoReflect

func (*CompleteRegistrationResponse) Reset

func (x *CompleteRegistrationResponse) Reset()

func (*CompleteRegistrationResponse) String

type ConfirmRegistrationPaymentRequest

type ConfirmRegistrationPaymentRequest struct {
	SessionId     string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	SetupIntentId string `protobuf:"bytes,2,opt,name=setup_intent_id,json=setupIntentId,proto3" json:"setup_intent_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfirmRegistrationPaymentRequest) Descriptor deprecated

func (*ConfirmRegistrationPaymentRequest) Descriptor() ([]byte, []int)

Deprecated: Use ConfirmRegistrationPaymentRequest.ProtoReflect.Descriptor instead.

func (*ConfirmRegistrationPaymentRequest) GetSessionId

func (x *ConfirmRegistrationPaymentRequest) GetSessionId() string

func (*ConfirmRegistrationPaymentRequest) GetSetupIntentId

func (x *ConfirmRegistrationPaymentRequest) GetSetupIntentId() string

func (*ConfirmRegistrationPaymentRequest) ProtoMessage

func (*ConfirmRegistrationPaymentRequest) ProtoMessage()

func (*ConfirmRegistrationPaymentRequest) ProtoReflect

func (*ConfirmRegistrationPaymentRequest) Reset

func (*ConfirmRegistrationPaymentRequest) String

type ConfirmRegistrationPaymentResponse

type ConfirmRegistrationPaymentResponse struct {
	Status          string  `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	PaymentMethodId *string `protobuf:"bytes,2,opt,name=payment_method_id,json=paymentMethodId,proto3,oneof" json:"payment_method_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfirmRegistrationPaymentResponse) Descriptor deprecated

func (*ConfirmRegistrationPaymentResponse) Descriptor() ([]byte, []int)

Deprecated: Use ConfirmRegistrationPaymentResponse.ProtoReflect.Descriptor instead.

func (*ConfirmRegistrationPaymentResponse) GetPaymentMethodId

func (x *ConfirmRegistrationPaymentResponse) GetPaymentMethodId() string

func (*ConfirmRegistrationPaymentResponse) GetStatus

func (*ConfirmRegistrationPaymentResponse) ProtoMessage

func (*ConfirmRegistrationPaymentResponse) ProtoMessage()

func (*ConfirmRegistrationPaymentResponse) ProtoReflect

func (*ConfirmRegistrationPaymentResponse) Reset

func (*ConfirmRegistrationPaymentResponse) String

type CreateAPIKeyRequest

type CreateAPIKeyRequest struct {
	RoleId    string                 `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	Name      string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"`
	Includes  []string               `protobuf:"bytes,4,rep,name=includes,proto3" json:"includes,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAPIKeyRequest) Descriptor deprecated

func (*CreateAPIKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateAPIKeyRequest.ProtoReflect.Descriptor instead.

func (*CreateAPIKeyRequest) GetExpiresAt

func (x *CreateAPIKeyRequest) GetExpiresAt() *timestamppb.Timestamp

func (*CreateAPIKeyRequest) GetIncludes

func (x *CreateAPIKeyRequest) GetIncludes() []string

func (*CreateAPIKeyRequest) GetName

func (x *CreateAPIKeyRequest) GetName() string

func (*CreateAPIKeyRequest) GetRoleId

func (x *CreateAPIKeyRequest) GetRoleId() string

func (*CreateAPIKeyRequest) ProtoMessage

func (*CreateAPIKeyRequest) ProtoMessage()

func (*CreateAPIKeyRequest) ProtoReflect

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

func (*CreateAPIKeyRequest) Reset

func (x *CreateAPIKeyRequest) Reset()

func (*CreateAPIKeyRequest) String

func (x *CreateAPIKeyRequest) String() string

type CreateAPIKeyResponse

type CreateAPIKeyResponse struct {

	// Full secret value, shown only at creation time.
	ApiKeySecret string      `protobuf:"bytes,1,opt,name=api_key_secret,json=apiKeySecret,proto3" json:"api_key_secret,omitempty"`
	ApiKey       *APIKeyInfo `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAPIKeyResponse) Descriptor deprecated

func (*CreateAPIKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateAPIKeyResponse.ProtoReflect.Descriptor instead.

func (*CreateAPIKeyResponse) GetApiKey

func (x *CreateAPIKeyResponse) GetApiKey() *APIKeyInfo

func (*CreateAPIKeyResponse) GetApiKeySecret

func (x *CreateAPIKeyResponse) GetApiKeySecret() string

func (*CreateAPIKeyResponse) ProtoMessage

func (*CreateAPIKeyResponse) ProtoMessage()

func (*CreateAPIKeyResponse) ProtoReflect

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

func (*CreateAPIKeyResponse) Reset

func (x *CreateAPIKeyResponse) Reset()

func (*CreateAPIKeyResponse) String

func (x *CreateAPIKeyResponse) String() string

type CreateRegistrationSessionRequest

type CreateRegistrationSessionRequest struct {
	Email    string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	PlanCode string `protobuf:"bytes,2,opt,name=plan_code,json=planCode,proto3" json:"plan_code,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRegistrationSessionRequest) Descriptor deprecated

func (*CreateRegistrationSessionRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateRegistrationSessionRequest.ProtoReflect.Descriptor instead.

func (*CreateRegistrationSessionRequest) GetEmail

func (*CreateRegistrationSessionRequest) GetPlanCode

func (x *CreateRegistrationSessionRequest) GetPlanCode() string

func (*CreateRegistrationSessionRequest) ProtoMessage

func (*CreateRegistrationSessionRequest) ProtoMessage()

func (*CreateRegistrationSessionRequest) ProtoReflect

func (*CreateRegistrationSessionRequest) Reset

func (*CreateRegistrationSessionRequest) String

type CreateRegistrationSessionResponse

type CreateRegistrationSessionResponse struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRegistrationSessionResponse) Descriptor deprecated

func (*CreateRegistrationSessionResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateRegistrationSessionResponse.ProtoReflect.Descriptor instead.

func (*CreateRegistrationSessionResponse) GetSessionId

func (x *CreateRegistrationSessionResponse) GetSessionId() string

func (*CreateRegistrationSessionResponse) ProtoMessage

func (*CreateRegistrationSessionResponse) ProtoMessage()

func (*CreateRegistrationSessionResponse) ProtoReflect

func (*CreateRegistrationSessionResponse) Reset

func (*CreateRegistrationSessionResponse) String

type CreateUserForRegistrationRequest

type CreateUserForRegistrationRequest struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Password  string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserForRegistrationRequest) Descriptor deprecated

func (*CreateUserForRegistrationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserForRegistrationRequest.ProtoReflect.Descriptor instead.

func (*CreateUserForRegistrationRequest) GetName

func (*CreateUserForRegistrationRequest) GetPassword

func (x *CreateUserForRegistrationRequest) GetPassword() string

func (*CreateUserForRegistrationRequest) GetSessionId

func (x *CreateUserForRegistrationRequest) GetSessionId() string

func (*CreateUserForRegistrationRequest) ProtoMessage

func (*CreateUserForRegistrationRequest) ProtoMessage()

func (*CreateUserForRegistrationRequest) ProtoReflect

func (*CreateUserForRegistrationRequest) Reset

func (*CreateUserForRegistrationRequest) String

type CreateUserForRegistrationResponse

type CreateUserForRegistrationResponse struct {
	UserId       string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	AccessToken  string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	RefreshToken string `protobuf:"bytes,3,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserForRegistrationResponse) Descriptor deprecated

func (*CreateUserForRegistrationResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserForRegistrationResponse.ProtoReflect.Descriptor instead.

func (*CreateUserForRegistrationResponse) GetAccessToken

func (x *CreateUserForRegistrationResponse) GetAccessToken() string

func (*CreateUserForRegistrationResponse) GetRefreshToken

func (x *CreateUserForRegistrationResponse) GetRefreshToken() string

func (*CreateUserForRegistrationResponse) GetUserId

func (*CreateUserForRegistrationResponse) ProtoMessage

func (*CreateUserForRegistrationResponse) ProtoMessage()

func (*CreateUserForRegistrationResponse) ProtoReflect

func (*CreateUserForRegistrationResponse) Reset

func (*CreateUserForRegistrationResponse) String

type Credential

type Credential struct {

	// Bearer token from Authorization header. May be a JWT or API key;
	// the auth-service determines the type by inspecting the format.
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// From the OpenMRP-Account header. When absent, the user's default account is used.
	TargetAccountId *string `protobuf:"bytes,2,opt,name=target_account_id,json=targetAccountId,proto3,oneof" json:"target_account_id,omitempty"`
	// From the OpenMRP-Actor-Account header. When present, the identity is resolved
	// against this account instead of the target account.
	ActorAccountId *string `protobuf:"bytes,3,opt,name=actor_account_id,json=actorAccountId,proto3,oneof" json:"actor_account_id,omitempty"`
	// contains filtered or unexported fields
}

Sent by the api-gateway to ValidateCredential on every authenticated request.

func (*Credential) Descriptor deprecated

func (*Credential) Descriptor() ([]byte, []int)

Deprecated: Use Credential.ProtoReflect.Descriptor instead.

func (*Credential) GetActorAccountId

func (x *Credential) GetActorAccountId() string

func (*Credential) GetTargetAccountId

func (x *Credential) GetTargetAccountId() string

func (*Credential) GetToken

func (x *Credential) GetToken() string

func (*Credential) ProtoMessage

func (*Credential) ProtoMessage()

func (*Credential) ProtoReflect

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

func (*Credential) Reset

func (x *Credential) Reset()

func (*Credential) String

func (x *Credential) String() string

type GetAPIKeyRequest

type GetAPIKeyRequest struct {
	ApiKeyId string   `protobuf:"bytes,1,opt,name=api_key_id,json=apiKeyId,proto3" json:"api_key_id,omitempty"`
	Includes []string `protobuf:"bytes,2,rep,name=includes,proto3" json:"includes,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAPIKeyRequest) Descriptor deprecated

func (*GetAPIKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAPIKeyRequest.ProtoReflect.Descriptor instead.

func (*GetAPIKeyRequest) GetApiKeyId

func (x *GetAPIKeyRequest) GetApiKeyId() string

func (*GetAPIKeyRequest) GetIncludes

func (x *GetAPIKeyRequest) GetIncludes() []string

func (*GetAPIKeyRequest) ProtoMessage

func (*GetAPIKeyRequest) ProtoMessage()

func (*GetAPIKeyRequest) ProtoReflect

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

func (*GetAPIKeyRequest) Reset

func (x *GetAPIKeyRequest) Reset()

func (*GetAPIKeyRequest) String

func (x *GetAPIKeyRequest) String() string

type GetAPIKeyResponse

type GetAPIKeyResponse struct {
	ApiKey *APIKeyInfo `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAPIKeyResponse) Descriptor deprecated

func (*GetAPIKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAPIKeyResponse.ProtoReflect.Descriptor instead.

func (*GetAPIKeyResponse) GetApiKey

func (x *GetAPIKeyResponse) GetApiKey() *APIKeyInfo

func (*GetAPIKeyResponse) ProtoMessage

func (*GetAPIKeyResponse) ProtoMessage()

func (*GetAPIKeyResponse) ProtoReflect

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

func (*GetAPIKeyResponse) Reset

func (x *GetAPIKeyResponse) Reset()

func (*GetAPIKeyResponse) String

func (x *GetAPIKeyResponse) String() string

type GetIncompleteRegistrationSessionRequest

type GetIncompleteRegistrationSessionRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetIncompleteRegistrationSessionRequest) Descriptor deprecated

func (*GetIncompleteRegistrationSessionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetIncompleteRegistrationSessionRequest.ProtoReflect.Descriptor instead.

func (*GetIncompleteRegistrationSessionRequest) GetUserId

func (*GetIncompleteRegistrationSessionRequest) ProtoMessage

func (*GetIncompleteRegistrationSessionRequest) ProtoReflect

func (*GetIncompleteRegistrationSessionRequest) Reset

func (*GetIncompleteRegistrationSessionRequest) String

type GetIncompleteRegistrationSessionResponse

type GetIncompleteRegistrationSessionResponse struct {
	Session *IncompleteRegistrationSessionProto `protobuf:"bytes,1,opt,name=session,proto3,oneof" json:"session,omitempty"`
	// contains filtered or unexported fields
}

func (*GetIncompleteRegistrationSessionResponse) Descriptor deprecated

func (*GetIncompleteRegistrationSessionResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetIncompleteRegistrationSessionResponse.ProtoReflect.Descriptor instead.

func (*GetIncompleteRegistrationSessionResponse) GetSession

func (*GetIncompleteRegistrationSessionResponse) ProtoMessage

func (*GetIncompleteRegistrationSessionResponse) ProtoReflect

func (*GetIncompleteRegistrationSessionResponse) Reset

func (*GetIncompleteRegistrationSessionResponse) String

type GetOrCreateDocAPIKeyRequest

type GetOrCreateDocAPIKeyRequest struct {
	Includes []string `protobuf:"bytes,1,rep,name=includes,proto3" json:"includes,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrCreateDocAPIKeyRequest) Descriptor deprecated

func (*GetOrCreateDocAPIKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOrCreateDocAPIKeyRequest.ProtoReflect.Descriptor instead.

func (*GetOrCreateDocAPIKeyRequest) GetIncludes

func (x *GetOrCreateDocAPIKeyRequest) GetIncludes() []string

func (*GetOrCreateDocAPIKeyRequest) ProtoMessage

func (*GetOrCreateDocAPIKeyRequest) ProtoMessage()

func (*GetOrCreateDocAPIKeyRequest) ProtoReflect

func (*GetOrCreateDocAPIKeyRequest) Reset

func (x *GetOrCreateDocAPIKeyRequest) Reset()

func (*GetOrCreateDocAPIKeyRequest) String

func (x *GetOrCreateDocAPIKeyRequest) String() string

type GetOrCreateDocAPIKeyResponse

type GetOrCreateDocAPIKeyResponse struct {
	ApiKeySecret string      `protobuf:"bytes,1,opt,name=api_key_secret,json=apiKeySecret,proto3" json:"api_key_secret,omitempty"`
	ApiKey       *APIKeyInfo `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrCreateDocAPIKeyResponse) Descriptor deprecated

func (*GetOrCreateDocAPIKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetOrCreateDocAPIKeyResponse.ProtoReflect.Descriptor instead.

func (*GetOrCreateDocAPIKeyResponse) GetApiKey

func (x *GetOrCreateDocAPIKeyResponse) GetApiKey() *APIKeyInfo

func (*GetOrCreateDocAPIKeyResponse) GetApiKeySecret

func (x *GetOrCreateDocAPIKeyResponse) GetApiKeySecret() string

func (*GetOrCreateDocAPIKeyResponse) ProtoMessage

func (*GetOrCreateDocAPIKeyResponse) ProtoMessage()

func (*GetOrCreateDocAPIKeyResponse) ProtoReflect

func (*GetOrCreateDocAPIKeyResponse) Reset

func (x *GetOrCreateDocAPIKeyResponse) Reset()

func (*GetOrCreateDocAPIKeyResponse) String

type GetRegistrationSessionRequest

type GetRegistrationSessionRequest struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRegistrationSessionRequest) Descriptor deprecated

func (*GetRegistrationSessionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRegistrationSessionRequest.ProtoReflect.Descriptor instead.

func (*GetRegistrationSessionRequest) GetSessionId

func (x *GetRegistrationSessionRequest) GetSessionId() string

func (*GetRegistrationSessionRequest) ProtoMessage

func (*GetRegistrationSessionRequest) ProtoMessage()

func (*GetRegistrationSessionRequest) ProtoReflect

func (*GetRegistrationSessionRequest) Reset

func (x *GetRegistrationSessionRequest) Reset()

func (*GetRegistrationSessionRequest) String

type GetRegistrationSessionResponse

type GetRegistrationSessionResponse struct {
	Session *RegistrationSessionInfo `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRegistrationSessionResponse) Descriptor deprecated

func (*GetRegistrationSessionResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetRegistrationSessionResponse.ProtoReflect.Descriptor instead.

func (*GetRegistrationSessionResponse) GetSession

func (*GetRegistrationSessionResponse) ProtoMessage

func (*GetRegistrationSessionResponse) ProtoMessage()

func (*GetRegistrationSessionResponse) ProtoReflect

func (*GetRegistrationSessionResponse) Reset

func (x *GetRegistrationSessionResponse) Reset()

func (*GetRegistrationSessionResponse) String

type Identity

type Identity struct {
	Type               IdentityActorType `protobuf:"varint,1,opt,name=type,proto3,enum=auth.IdentityActorType" json:"type,omitempty"`
	Actor              *IdentityActor    `protobuf:"bytes,3,opt,name=actor,proto3" json:"actor,omitempty"`
	AccountMode        AccountMode       `protobuf:"varint,4,opt,name=account_mode,json=accountMode,proto3,enum=auth.AccountMode" json:"account_mode,omitempty"`
	SubscriptionStatus *string           `protobuf:"bytes,5,opt,name=subscription_status,json=subscriptionStatus,proto3,oneof" json:"subscription_status,omitempty"`
	Target             *IdentityTarget   `protobuf:"bytes,7,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

Resolved authentication context returned by ValidateCredential. Serialized into gRPC metadata by the api-gateway for downstream services.

func (*Identity) Descriptor deprecated

func (*Identity) Descriptor() ([]byte, []int)

Deprecated: Use Identity.ProtoReflect.Descriptor instead.

func (*Identity) GetAccountMode

func (x *Identity) GetAccountMode() AccountMode

func (*Identity) GetActor

func (x *Identity) GetActor() *IdentityActor

func (*Identity) GetSubscriptionStatus

func (x *Identity) GetSubscriptionStatus() string

func (*Identity) GetTarget

func (x *Identity) GetTarget() *IdentityTarget

func (*Identity) GetType

func (x *Identity) GetType() IdentityActorType

func (*Identity) ProtoMessage

func (*Identity) ProtoMessage()

func (*Identity) ProtoReflect

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

func (*Identity) Reset

func (x *Identity) Reset()

func (*Identity) String

func (x *Identity) String() string

type IdentityActor

type IdentityActor struct {
	RelationType IdentityRelationType `` /* 129-byte string literal not displayed */
	Id           string               `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Name         *string              `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// The actor's "home" account, which may differ from the target's account_id in cross-account scenarios.
	AccountId    *string `protobuf:"bytes,4,opt,name=account_id,json=accountId,proto3,oneof" json:"account_id,omitempty"`
	RoleId       *string `protobuf:"bytes,5,opt,name=role_id,json=roleId,proto3,oneof" json:"role_id,omitempty"`
	RoleTypeCode *string `protobuf:"bytes,6,opt,name=role_type_code,json=roleTypeCode,proto3,oneof" json:"role_type_code,omitempty"`
	// Keys are permission codes (e.g. "invoices.create"); only granted permissions are present.
	Permissions map[string]bool `` /* 150-byte string literal not displayed */
	// The role's display name, used to explain an authorization failure in terms the
	// caller recognizes.
	RoleName *string `protobuf:"bytes,8,opt,name=role_name,json=roleName,proto3,oneof" json:"role_name,omitempty"`
	// contains filtered or unexported fields
}

func (*IdentityActor) Descriptor deprecated

func (*IdentityActor) Descriptor() ([]byte, []int)

Deprecated: Use IdentityActor.ProtoReflect.Descriptor instead.

func (*IdentityActor) GetAccountId

func (x *IdentityActor) GetAccountId() string

func (*IdentityActor) GetId

func (x *IdentityActor) GetId() string

func (*IdentityActor) GetName

func (x *IdentityActor) GetName() string

func (*IdentityActor) GetPermissions

func (x *IdentityActor) GetPermissions() map[string]bool

func (*IdentityActor) GetRelationType

func (x *IdentityActor) GetRelationType() IdentityRelationType

func (*IdentityActor) GetRoleId

func (x *IdentityActor) GetRoleId() string

func (*IdentityActor) GetRoleName

func (x *IdentityActor) GetRoleName() string

func (*IdentityActor) GetRoleTypeCode

func (x *IdentityActor) GetRoleTypeCode() string

func (*IdentityActor) ProtoMessage

func (*IdentityActor) ProtoMessage()

func (*IdentityActor) ProtoReflect

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

func (*IdentityActor) Reset

func (x *IdentityActor) Reset()

func (*IdentityActor) String

func (x *IdentityActor) String() string

type IdentityActorType

type IdentityActorType int32
const (
	IdentityActorType_IDENTITY_ACTOR_TYPE_UNSPECIFIED     IdentityActorType = 0
	IdentityActorType_IDENTITY_ACTOR_TYPE_USER            IdentityActorType = 1
	IdentityActorType_IDENTITY_ACTOR_TYPE_API_KEY         IdentityActorType = 2
	IdentityActorType_IDENTITY_ACTOR_TYPE_UNAUTHENTICATED IdentityActorType = 3
	IdentityActorType_IDENTITY_ACTOR_TYPE_AGENT           IdentityActorType = 4
)

func (IdentityActorType) Descriptor

func (IdentityActorType) Enum

func (IdentityActorType) EnumDescriptor deprecated

func (IdentityActorType) EnumDescriptor() ([]byte, []int)

Deprecated: Use IdentityActorType.Descriptor instead.

func (IdentityActorType) Number

func (IdentityActorType) String

func (x IdentityActorType) String() string

func (IdentityActorType) Type

type IdentityRelationType

type IdentityRelationType int32
const (
	IdentityRelationType_IDENTITY_RELATION_TYPE_UNSPECIFIED IdentityRelationType = 0
	IdentityRelationType_IDENTITY_RELATION_TYPE_INTERNAL    IdentityRelationType = 1
	IdentityRelationType_IDENTITY_RELATION_TYPE_CUSTOMER    IdentityRelationType = 2
	IdentityRelationType_IDENTITY_RELATION_TYPE_SUPPLIER    IdentityRelationType = 3
	IdentityRelationType_IDENTITY_RELATION_TYPE_UNASSIGNED  IdentityRelationType = 4
)

func (IdentityRelationType) Descriptor

func (IdentityRelationType) Enum

func (IdentityRelationType) EnumDescriptor deprecated

func (IdentityRelationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use IdentityRelationType.Descriptor instead.

func (IdentityRelationType) Number

func (IdentityRelationType) String

func (x IdentityRelationType) String() string

func (IdentityRelationType) Type

type IdentityTarget

type IdentityTarget struct {
	AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// The relationship type when the target account differs from the actor's account
	// (e.g. "customer" or "supplier"). Empty when targeting the actor's own account.
	RelationType *string `protobuf:"bytes,2,opt,name=relation_type,json=relationType,proto3,oneof" json:"relation_type,omitempty"`
	// contains filtered or unexported fields
}

func (*IdentityTarget) Descriptor deprecated

func (*IdentityTarget) Descriptor() ([]byte, []int)

Deprecated: Use IdentityTarget.ProtoReflect.Descriptor instead.

func (*IdentityTarget) GetAccountId

func (x *IdentityTarget) GetAccountId() string

func (*IdentityTarget) GetRelationType

func (x *IdentityTarget) GetRelationType() string

func (*IdentityTarget) ProtoMessage

func (*IdentityTarget) ProtoMessage()

func (*IdentityTarget) ProtoReflect

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

func (*IdentityTarget) Reset

func (x *IdentityTarget) Reset()

func (*IdentityTarget) String

func (x *IdentityTarget) String() string

type IncompleteRegistrationSessionProto

type IncompleteRegistrationSessionProto struct {
	SessionId string                 `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	PlanCode  string                 `protobuf:"bytes,2,opt,name=plan_code,json=planCode,proto3" json:"plan_code,omitempty"`
	Step      string                 `protobuf:"bytes,3,opt,name=step,proto3" json:"step,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*IncompleteRegistrationSessionProto) Descriptor deprecated

func (*IncompleteRegistrationSessionProto) Descriptor() ([]byte, []int)

Deprecated: Use IncompleteRegistrationSessionProto.ProtoReflect.Descriptor instead.

func (*IncompleteRegistrationSessionProto) GetCreatedAt

func (*IncompleteRegistrationSessionProto) GetPlanCode

func (x *IncompleteRegistrationSessionProto) GetPlanCode() string

func (*IncompleteRegistrationSessionProto) GetSessionId

func (x *IncompleteRegistrationSessionProto) GetSessionId() string

func (*IncompleteRegistrationSessionProto) GetStep

func (*IncompleteRegistrationSessionProto) ProtoMessage

func (*IncompleteRegistrationSessionProto) ProtoMessage()

func (*IncompleteRegistrationSessionProto) ProtoReflect

func (*IncompleteRegistrationSessionProto) Reset

func (*IncompleteRegistrationSessionProto) String

type ListAPIKeysRequest

type ListAPIKeysRequest struct {
	Cursor *string `protobuf:"bytes,1,opt,name=cursor,proto3,oneof" json:"cursor,omitempty"`
	Limit  int32   `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Query  *string `protobuf:"bytes,3,opt,name=query,proto3,oneof" json:"query,omitempty"`
	// Valid values: "active", "expired", "revoked". When empty, all statuses are included.
	Statuses []string `protobuf:"bytes,4,rep,name=statuses,proto3" json:"statuses,omitempty"`
	Includes []string `protobuf:"bytes,5,rep,name=includes,proto3" json:"includes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAPIKeysRequest) Descriptor deprecated

func (*ListAPIKeysRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAPIKeysRequest.ProtoReflect.Descriptor instead.

func (*ListAPIKeysRequest) GetCursor

func (x *ListAPIKeysRequest) GetCursor() string

func (*ListAPIKeysRequest) GetIncludes

func (x *ListAPIKeysRequest) GetIncludes() []string

func (*ListAPIKeysRequest) GetLimit

func (x *ListAPIKeysRequest) GetLimit() int32

func (*ListAPIKeysRequest) GetQuery

func (x *ListAPIKeysRequest) GetQuery() string

func (*ListAPIKeysRequest) GetStatuses

func (x *ListAPIKeysRequest) GetStatuses() []string

func (*ListAPIKeysRequest) ProtoMessage

func (*ListAPIKeysRequest) ProtoMessage()

func (*ListAPIKeysRequest) ProtoReflect

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

func (*ListAPIKeysRequest) Reset

func (x *ListAPIKeysRequest) Reset()

func (*ListAPIKeysRequest) String

func (x *ListAPIKeysRequest) String() string

type ListAPIKeysResponse

type ListAPIKeysResponse struct {
	ApiKeys  []*APIKeyInfo `protobuf:"bytes,1,rep,name=api_keys,json=apiKeys,proto3" json:"api_keys,omitempty"`
	PageInfo *PageInfo     `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAPIKeysResponse) Descriptor deprecated

func (*ListAPIKeysResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAPIKeysResponse.ProtoReflect.Descriptor instead.

func (*ListAPIKeysResponse) GetApiKeys

func (x *ListAPIKeysResponse) GetApiKeys() []*APIKeyInfo

func (*ListAPIKeysResponse) GetPageInfo

func (x *ListAPIKeysResponse) GetPageInfo() *PageInfo

func (*ListAPIKeysResponse) ProtoMessage

func (*ListAPIKeysResponse) ProtoMessage()

func (*ListAPIKeysResponse) ProtoReflect

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

func (*ListAPIKeysResponse) Reset

func (x *ListAPIKeysResponse) Reset()

func (*ListAPIKeysResponse) String

func (x *ListAPIKeysResponse) String() string

type ListRegistrationSessionsRequest

type ListRegistrationSessionsRequest struct {
	Cursor *string `protobuf:"bytes,1,opt,name=cursor,proto3,oneof" json:"cursor,omitempty"`
	Limit  int32   `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRegistrationSessionsRequest) Descriptor deprecated

func (*ListRegistrationSessionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRegistrationSessionsRequest.ProtoReflect.Descriptor instead.

func (*ListRegistrationSessionsRequest) GetCursor

func (x *ListRegistrationSessionsRequest) GetCursor() string

func (*ListRegistrationSessionsRequest) GetLimit

func (x *ListRegistrationSessionsRequest) GetLimit() int32

func (*ListRegistrationSessionsRequest) ProtoMessage

func (*ListRegistrationSessionsRequest) ProtoMessage()

func (*ListRegistrationSessionsRequest) ProtoReflect

func (*ListRegistrationSessionsRequest) Reset

func (*ListRegistrationSessionsRequest) String

type ListRegistrationSessionsResponse

type ListRegistrationSessionsResponse struct {
	Sessions []*RegistrationSessionInfo `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
	PageInfo *PageInfo                  `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRegistrationSessionsResponse) Descriptor deprecated

func (*ListRegistrationSessionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListRegistrationSessionsResponse.ProtoReflect.Descriptor instead.

func (*ListRegistrationSessionsResponse) GetPageInfo

func (x *ListRegistrationSessionsResponse) GetPageInfo() *PageInfo

func (*ListRegistrationSessionsResponse) GetSessions

func (*ListRegistrationSessionsResponse) ProtoMessage

func (*ListRegistrationSessionsResponse) ProtoMessage()

func (*ListRegistrationSessionsResponse) ProtoReflect

func (*ListRegistrationSessionsResponse) Reset

func (*ListRegistrationSessionsResponse) String

type LoginRequest

type LoginRequest struct {

	// Email address, username, or user ID. The auth-service resolves by trying each format in order.
	Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	Password   string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRequest) Descriptor deprecated

func (*LoginRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetIdentifier

func (x *LoginRequest) GetIdentifier() string

func (*LoginRequest) GetPassword

func (x *LoginRequest) GetPassword() string

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect

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

func (*LoginRequest) Reset

func (x *LoginRequest) Reset()

func (*LoginRequest) String

func (x *LoginRequest) String() string

type LoginResponse

type LoginResponse 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"`
	User         *User  `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

Returned by Login, Register, and ResetPassword.

func (*LoginResponse) Descriptor deprecated

func (*LoginResponse) Descriptor() ([]byte, []int)

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetAccessToken

func (x *LoginResponse) GetAccessToken() string

func (*LoginResponse) GetRefreshToken

func (x *LoginResponse) GetRefreshToken() string

func (*LoginResponse) GetUser

func (x *LoginResponse) GetUser() *User

func (*LoginResponse) ProtoMessage

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) ProtoReflect

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

func (*LoginResponse) Reset

func (x *LoginResponse) Reset()

func (*LoginResponse) String

func (x *LoginResponse) String() string

type MagicLoginRequest

type MagicLoginRequest struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*MagicLoginRequest) Descriptor deprecated

func (*MagicLoginRequest) Descriptor() ([]byte, []int)

Deprecated: Use MagicLoginRequest.ProtoReflect.Descriptor instead.

func (*MagicLoginRequest) GetToken

func (x *MagicLoginRequest) GetToken() string

func (*MagicLoginRequest) ProtoMessage

func (*MagicLoginRequest) ProtoMessage()

func (*MagicLoginRequest) ProtoReflect

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

func (*MagicLoginRequest) Reset

func (x *MagicLoginRequest) Reset()

func (*MagicLoginRequest) String

func (x *MagicLoginRequest) String() string

type PageInfo

type PageInfo struct {
	NextCursor  *string `protobuf:"bytes,1,opt,name=next_cursor,json=nextCursor,proto3,oneof" json:"next_cursor,omitempty"`
	PrevCursor  *string `protobuf:"bytes,2,opt,name=prev_cursor,json=prevCursor,proto3,oneof" json:"prev_cursor,omitempty"`
	HasNextPage bool    `protobuf:"varint,3,opt,name=has_next_page,json=hasNextPage,proto3" json:"has_next_page,omitempty"`
	HasPrevPage bool    `protobuf:"varint,4,opt,name=has_prev_page,json=hasPrevPage,proto3" json:"has_prev_page,omitempty"`
	// contains filtered or unexported fields
}

func (*PageInfo) Descriptor deprecated

func (*PageInfo) Descriptor() ([]byte, []int)

Deprecated: Use PageInfo.ProtoReflect.Descriptor instead.

func (*PageInfo) GetHasNextPage

func (x *PageInfo) GetHasNextPage() bool

func (*PageInfo) GetHasPrevPage

func (x *PageInfo) GetHasPrevPage() bool

func (*PageInfo) GetNextCursor

func (x *PageInfo) GetNextCursor() string

func (*PageInfo) GetPrevCursor

func (x *PageInfo) GetPrevCursor() string

func (*PageInfo) ProtoMessage

func (*PageInfo) ProtoMessage()

func (*PageInfo) ProtoReflect

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

func (*PageInfo) Reset

func (x *PageInfo) Reset()

func (*PageInfo) String

func (x *PageInfo) String() string

type RefreshTokenRequest

type RefreshTokenRequest struct {
	RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshTokenRequest) Descriptor deprecated

func (*RefreshTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use RefreshTokenRequest.ProtoReflect.Descriptor instead.

func (*RefreshTokenRequest) GetRefreshToken

func (x *RefreshTokenRequest) GetRefreshToken() string

func (*RefreshTokenRequest) ProtoMessage

func (*RefreshTokenRequest) ProtoMessage()

func (*RefreshTokenRequest) ProtoReflect

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

func (*RefreshTokenRequest) Reset

func (x *RefreshTokenRequest) Reset()

func (*RefreshTokenRequest) String

func (x *RefreshTokenRequest) String() string

type RefreshTokenResponse

type RefreshTokenResponse struct {
	AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshTokenResponse) Descriptor deprecated

func (*RefreshTokenResponse) Descriptor() ([]byte, []int)

Deprecated: Use RefreshTokenResponse.ProtoReflect.Descriptor instead.

func (*RefreshTokenResponse) GetAccessToken

func (x *RefreshTokenResponse) GetAccessToken() string

func (*RefreshTokenResponse) ProtoMessage

func (*RefreshTokenResponse) ProtoMessage()

func (*RefreshTokenResponse) ProtoReflect

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

func (*RefreshTokenResponse) Reset

func (x *RefreshTokenResponse) Reset()

func (*RefreshTokenResponse) String

func (x *RefreshTokenResponse) String() string

type RegisterRequest

type RegisterRequest struct {
	Email    string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Name     string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// When registering from a customer portal, the account slug scopes the
	// magic-login link in the "already registered" email.
	AccountSlug *string `protobuf:"bytes,4,opt,name=account_slug,json=accountSlug,proto3,oneof" json:"account_slug,omitempty"`
	// Base URL of the account's verified custom portal domain (e.g. https://shop.acme.com). Resolved server-side by the gateway, never taken from the client; when set, email links use it instead of the slug-prefixed dashboard URL.
	PortalBaseUrl *string `protobuf:"bytes,5,opt,name=portal_base_url,json=portalBaseUrl,proto3,oneof" json:"portal_base_url,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterRequest) Descriptor deprecated

func (*RegisterRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.

func (*RegisterRequest) GetAccountSlug

func (x *RegisterRequest) GetAccountSlug() string

func (*RegisterRequest) GetEmail

func (x *RegisterRequest) GetEmail() string

func (*RegisterRequest) GetName

func (x *RegisterRequest) GetName() string

func (*RegisterRequest) GetPassword

func (x *RegisterRequest) GetPassword() string

func (*RegisterRequest) GetPortalBaseUrl

func (x *RegisterRequest) GetPortalBaseUrl() 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 RegistrationSessionData

type RegistrationSessionData struct {
	UserName                 *string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3,oneof" json:"user_name,omitempty"`
	AccountName              *string `protobuf:"bytes,2,opt,name=account_name,json=accountName,proto3,oneof" json:"account_name,omitempty"`
	BillingAddressLine1      *string `` /* 126-byte string literal not displayed */
	BillingAddressLine2      *string `` /* 126-byte string literal not displayed */
	BillingAddressCity       *string `protobuf:"bytes,5,opt,name=billing_address_city,json=billingAddressCity,proto3,oneof" json:"billing_address_city,omitempty"`
	BillingAddressState      *string `` /* 126-byte string literal not displayed */
	BillingAddressPostalCode *string `` /* 143-byte string literal not displayed */
	BillingAddressCountry    *string `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RegistrationSessionData) Descriptor deprecated

func (*RegistrationSessionData) Descriptor() ([]byte, []int)

Deprecated: Use RegistrationSessionData.ProtoReflect.Descriptor instead.

func (*RegistrationSessionData) GetAccountName

func (x *RegistrationSessionData) GetAccountName() string

func (*RegistrationSessionData) GetBillingAddressCity

func (x *RegistrationSessionData) GetBillingAddressCity() string

func (*RegistrationSessionData) GetBillingAddressCountry

func (x *RegistrationSessionData) GetBillingAddressCountry() string

func (*RegistrationSessionData) GetBillingAddressLine1

func (x *RegistrationSessionData) GetBillingAddressLine1() string

func (*RegistrationSessionData) GetBillingAddressLine2

func (x *RegistrationSessionData) GetBillingAddressLine2() string

func (*RegistrationSessionData) GetBillingAddressPostalCode

func (x *RegistrationSessionData) GetBillingAddressPostalCode() string

func (*RegistrationSessionData) GetBillingAddressState

func (x *RegistrationSessionData) GetBillingAddressState() string

func (*RegistrationSessionData) GetUserName

func (x *RegistrationSessionData) GetUserName() string

func (*RegistrationSessionData) ProtoMessage

func (*RegistrationSessionData) ProtoMessage()

func (*RegistrationSessionData) ProtoReflect

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

func (*RegistrationSessionData) Reset

func (x *RegistrationSessionData) Reset()

func (*RegistrationSessionData) String

func (x *RegistrationSessionData) String() string

type RegistrationSessionInfo

type RegistrationSessionInfo 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"`
	PlanCode                string                   `protobuf:"bytes,3,opt,name=plan_code,json=planCode,proto3" json:"plan_code,omitempty"`
	Step                    string                   `protobuf:"bytes,4,opt,name=step,proto3" json:"step,omitempty"`
	IsEmailVerified         bool                     `protobuf:"varint,5,opt,name=is_email_verified,json=isEmailVerified,proto3" json:"is_email_verified,omitempty"`
	IsExistingUser          *bool                    `protobuf:"varint,6,opt,name=is_existing_user,json=isExistingUser,proto3,oneof" json:"is_existing_user,omitempty"`
	UserId                  *string                  `protobuf:"bytes,7,opt,name=user_id,json=userId,proto3,oneof" json:"user_id,omitempty"`
	AccountId               *string                  `protobuf:"bytes,8,opt,name=account_id,json=accountId,proto3,oneof" json:"account_id,omitempty"`
	StripeCustomerId        *string                  `protobuf:"bytes,9,opt,name=stripe_customer_id,json=stripeCustomerId,proto3,oneof" json:"stripe_customer_id,omitempty"`
	StripeCheckoutSessionId *string                  `` /* 141-byte string literal not displayed */
	StripeSubscriptionId    *string                  `` /* 130-byte string literal not displayed */
	PaymentCompleted        bool                     `protobuf:"varint,12,opt,name=payment_completed,json=paymentCompleted,proto3" json:"payment_completed,omitempty"`
	SessionData             *RegistrationSessionData `protobuf:"bytes,13,opt,name=session_data,json=sessionData,proto3" json:"session_data,omitempty"`
	CompletedAt             *timestamppb.Timestamp   `protobuf:"bytes,14,opt,name=completed_at,json=completedAt,proto3,oneof" json:"completed_at,omitempty"`
	CreatedAt               *timestamppb.Timestamp   `protobuf:"bytes,15,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt               *timestamppb.Timestamp   `protobuf:"bytes,16,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*RegistrationSessionInfo) Descriptor deprecated

func (*RegistrationSessionInfo) Descriptor() ([]byte, []int)

Deprecated: Use RegistrationSessionInfo.ProtoReflect.Descriptor instead.

func (*RegistrationSessionInfo) GetAccountId

func (x *RegistrationSessionInfo) GetAccountId() string

func (*RegistrationSessionInfo) GetCompletedAt

func (x *RegistrationSessionInfo) GetCompletedAt() *timestamppb.Timestamp

func (*RegistrationSessionInfo) GetCreatedAt

func (x *RegistrationSessionInfo) GetCreatedAt() *timestamppb.Timestamp

func (*RegistrationSessionInfo) GetEmail

func (x *RegistrationSessionInfo) GetEmail() string

func (*RegistrationSessionInfo) GetId

func (x *RegistrationSessionInfo) GetId() string

func (*RegistrationSessionInfo) GetIsEmailVerified

func (x *RegistrationSessionInfo) GetIsEmailVerified() bool

func (*RegistrationSessionInfo) GetIsExistingUser

func (x *RegistrationSessionInfo) GetIsExistingUser() bool

func (*RegistrationSessionInfo) GetPaymentCompleted

func (x *RegistrationSessionInfo) GetPaymentCompleted() bool

func (*RegistrationSessionInfo) GetPlanCode

func (x *RegistrationSessionInfo) GetPlanCode() string

func (*RegistrationSessionInfo) GetSessionData

func (x *RegistrationSessionInfo) GetSessionData() *RegistrationSessionData

func (*RegistrationSessionInfo) GetStep

func (x *RegistrationSessionInfo) GetStep() string

func (*RegistrationSessionInfo) GetStripeCheckoutSessionId

func (x *RegistrationSessionInfo) GetStripeCheckoutSessionId() string

func (*RegistrationSessionInfo) GetStripeCustomerId

func (x *RegistrationSessionInfo) GetStripeCustomerId() string

func (*RegistrationSessionInfo) GetStripeSubscriptionId

func (x *RegistrationSessionInfo) GetStripeSubscriptionId() string

func (*RegistrationSessionInfo) GetUpdatedAt

func (x *RegistrationSessionInfo) GetUpdatedAt() *timestamppb.Timestamp

func (*RegistrationSessionInfo) GetUserId

func (x *RegistrationSessionInfo) GetUserId() string

func (*RegistrationSessionInfo) ProtoMessage

func (*RegistrationSessionInfo) ProtoMessage()

func (*RegistrationSessionInfo) ProtoReflect

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

func (*RegistrationSessionInfo) Reset

func (x *RegistrationSessionInfo) Reset()

func (*RegistrationSessionInfo) String

func (x *RegistrationSessionInfo) String() string

type RequestPasswordResetRequest

type RequestPasswordResetRequest struct {
	Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// Scopes the reset email's branding/links to a specific account context.
	AccountSlug *string `protobuf:"bytes,2,opt,name=account_slug,json=accountSlug,proto3,oneof" json:"account_slug,omitempty"`
	// Base URL of the account's verified custom portal domain. Resolved server-side by the gateway, never taken from the client; when set, the reset link uses it instead of the slug-prefixed dashboard URL.
	PortalBaseUrl *string `protobuf:"bytes,3,opt,name=portal_base_url,json=portalBaseUrl,proto3,oneof" json:"portal_base_url,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestPasswordResetRequest) Descriptor deprecated

func (*RequestPasswordResetRequest) Descriptor() ([]byte, []int)

Deprecated: Use RequestPasswordResetRequest.ProtoReflect.Descriptor instead.

func (*RequestPasswordResetRequest) GetAccountSlug

func (x *RequestPasswordResetRequest) GetAccountSlug() string

func (*RequestPasswordResetRequest) GetIdentifier

func (x *RequestPasswordResetRequest) GetIdentifier() string

func (*RequestPasswordResetRequest) GetPortalBaseUrl

func (x *RequestPasswordResetRequest) GetPortalBaseUrl() string

func (*RequestPasswordResetRequest) ProtoMessage

func (*RequestPasswordResetRequest) ProtoMessage()

func (*RequestPasswordResetRequest) ProtoReflect

func (*RequestPasswordResetRequest) Reset

func (x *RequestPasswordResetRequest) Reset()

func (*RequestPasswordResetRequest) String

func (x *RequestPasswordResetRequest) String() string

type ResendVerificationEmailRequest

type ResendVerificationEmailRequest struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ResendVerificationEmailRequest) Descriptor deprecated

func (*ResendVerificationEmailRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResendVerificationEmailRequest.ProtoReflect.Descriptor instead.

func (*ResendVerificationEmailRequest) GetSessionId

func (x *ResendVerificationEmailRequest) GetSessionId() string

func (*ResendVerificationEmailRequest) ProtoMessage

func (*ResendVerificationEmailRequest) ProtoMessage()

func (*ResendVerificationEmailRequest) ProtoReflect

func (*ResendVerificationEmailRequest) Reset

func (x *ResendVerificationEmailRequest) Reset()

func (*ResendVerificationEmailRequest) String

type ResetPasswordRequest

type ResetPasswordRequest struct {
	Token    string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetPasswordRequest) Descriptor deprecated

func (*ResetPasswordRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResetPasswordRequest.ProtoReflect.Descriptor instead.

func (*ResetPasswordRequest) GetPassword

func (x *ResetPasswordRequest) GetPassword() string

func (*ResetPasswordRequest) GetToken

func (x *ResetPasswordRequest) GetToken() string

func (*ResetPasswordRequest) ProtoMessage

func (*ResetPasswordRequest) ProtoMessage()

func (*ResetPasswordRequest) ProtoReflect

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

func (*ResetPasswordRequest) Reset

func (x *ResetPasswordRequest) Reset()

func (*ResetPasswordRequest) String

func (x *ResetPasswordRequest) String() string

type RevokeAPIKeyRequest

type RevokeAPIKeyRequest struct {
	ApiKeyId string `protobuf:"bytes,1,opt,name=api_key_id,json=apiKeyId,proto3" json:"api_key_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeAPIKeyRequest) Descriptor deprecated

func (*RevokeAPIKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use RevokeAPIKeyRequest.ProtoReflect.Descriptor instead.

func (*RevokeAPIKeyRequest) GetApiKeyId

func (x *RevokeAPIKeyRequest) GetApiKeyId() string

func (*RevokeAPIKeyRequest) ProtoMessage

func (*RevokeAPIKeyRequest) ProtoMessage()

func (*RevokeAPIKeyRequest) ProtoReflect

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

func (*RevokeAPIKeyRequest) Reset

func (x *RevokeAPIKeyRequest) Reset()

func (*RevokeAPIKeyRequest) String

func (x *RevokeAPIKeyRequest) String() string

type RevokeRefreshTokenRequest

type RevokeRefreshTokenRequest struct {
	RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeRefreshTokenRequest) Descriptor deprecated

func (*RevokeRefreshTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use RevokeRefreshTokenRequest.ProtoReflect.Descriptor instead.

func (*RevokeRefreshTokenRequest) GetRefreshToken

func (x *RevokeRefreshTokenRequest) GetRefreshToken() string

func (*RevokeRefreshTokenRequest) ProtoMessage

func (*RevokeRefreshTokenRequest) ProtoMessage()

func (*RevokeRefreshTokenRequest) ProtoReflect

func (*RevokeRefreshTokenRequest) Reset

func (x *RevokeRefreshTokenRequest) Reset()

func (*RevokeRefreshTokenRequest) String

func (x *RevokeRefreshTokenRequest) String() string

type RotateAPIKeyRequest

type RotateAPIKeyRequest struct {
	ApiKeyId string `protobuf:"bytes,1,opt,name=api_key_id,json=apiKeyId,proto3" json:"api_key_id,omitempty"`
	// If not set, the new key inherits the old key's expiration.
	ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"`
	Includes  []string               `protobuf:"bytes,3,rep,name=includes,proto3" json:"includes,omitempty"`
	// When to revoke the old key. If not set (or in the past), the old key is
	// revoked immediately. A future value schedules revocation (max 30 days out),
	// keeping the old key valid until then.
	RevokeAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=revoke_at,json=revokeAt,proto3,oneof" json:"revoke_at,omitempty"`
	// contains filtered or unexported fields
}

func (*RotateAPIKeyRequest) Descriptor deprecated

func (*RotateAPIKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use RotateAPIKeyRequest.ProtoReflect.Descriptor instead.

func (*RotateAPIKeyRequest) GetApiKeyId

func (x *RotateAPIKeyRequest) GetApiKeyId() string

func (*RotateAPIKeyRequest) GetExpiresAt

func (x *RotateAPIKeyRequest) GetExpiresAt() *timestamppb.Timestamp

func (*RotateAPIKeyRequest) GetIncludes

func (x *RotateAPIKeyRequest) GetIncludes() []string

func (*RotateAPIKeyRequest) GetRevokeAt

func (x *RotateAPIKeyRequest) GetRevokeAt() *timestamppb.Timestamp

func (*RotateAPIKeyRequest) ProtoMessage

func (*RotateAPIKeyRequest) ProtoMessage()

func (*RotateAPIKeyRequest) ProtoReflect

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

func (*RotateAPIKeyRequest) Reset

func (x *RotateAPIKeyRequest) Reset()

func (*RotateAPIKeyRequest) String

func (x *RotateAPIKeyRequest) String() string

type RotateAPIKeyResponse

type RotateAPIKeyResponse struct {

	// Full secret value, shown only once.
	ApiKeySecret string      `protobuf:"bytes,1,opt,name=api_key_secret,json=apiKeySecret,proto3" json:"api_key_secret,omitempty"`
	ApiKey       *APIKeyInfo `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// contains filtered or unexported fields
}

func (*RotateAPIKeyResponse) Descriptor deprecated

func (*RotateAPIKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use RotateAPIKeyResponse.ProtoReflect.Descriptor instead.

func (*RotateAPIKeyResponse) GetApiKey

func (x *RotateAPIKeyResponse) GetApiKey() *APIKeyInfo

func (*RotateAPIKeyResponse) GetApiKeySecret

func (x *RotateAPIKeyResponse) GetApiKeySecret() string

func (*RotateAPIKeyResponse) ProtoMessage

func (*RotateAPIKeyResponse) ProtoMessage()

func (*RotateAPIKeyResponse) ProtoReflect

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

func (*RotateAPIKeyResponse) Reset

func (x *RotateAPIKeyResponse) Reset()

func (*RotateAPIKeyResponse) String

func (x *RotateAPIKeyResponse) String() string

type SetupRegistrationBillingRequest

type SetupRegistrationBillingRequest struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SetupRegistrationBillingRequest) Descriptor deprecated

func (*SetupRegistrationBillingRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetupRegistrationBillingRequest.ProtoReflect.Descriptor instead.

func (*SetupRegistrationBillingRequest) GetSessionId

func (x *SetupRegistrationBillingRequest) GetSessionId() string

func (*SetupRegistrationBillingRequest) ProtoMessage

func (*SetupRegistrationBillingRequest) ProtoMessage()

func (*SetupRegistrationBillingRequest) ProtoReflect

func (*SetupRegistrationBillingRequest) Reset

func (*SetupRegistrationBillingRequest) String

type SetupRegistrationBillingResponse

type SetupRegistrationBillingResponse struct {
	StripeCustomerId string `protobuf:"bytes,1,opt,name=stripe_customer_id,json=stripeCustomerId,proto3" json:"stripe_customer_id,omitempty"`
	BillingProfileId string `protobuf:"bytes,2,opt,name=billing_profile_id,json=billingProfileId,proto3" json:"billing_profile_id,omitempty"`
	BillingCadenceId string `protobuf:"bytes,3,opt,name=billing_cadence_id,json=billingCadenceId,proto3" json:"billing_cadence_id,omitempty"`
	// Stripe Setup Intent client secret for Stripe.js.
	ClientSecret string `protobuf:"bytes,4,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	// Stripe publishable key for Stripe.js initialization.
	PublishableKey string `protobuf:"bytes,5,opt,name=publishable_key,json=publishableKey,proto3" json:"publishable_key,omitempty"`
	// contains filtered or unexported fields
}

func (*SetupRegistrationBillingResponse) Descriptor deprecated

func (*SetupRegistrationBillingResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetupRegistrationBillingResponse.ProtoReflect.Descriptor instead.

func (*SetupRegistrationBillingResponse) GetBillingCadenceId

func (x *SetupRegistrationBillingResponse) GetBillingCadenceId() string

func (*SetupRegistrationBillingResponse) GetBillingProfileId

func (x *SetupRegistrationBillingResponse) GetBillingProfileId() string

func (*SetupRegistrationBillingResponse) GetClientSecret

func (x *SetupRegistrationBillingResponse) GetClientSecret() string

func (*SetupRegistrationBillingResponse) GetPublishableKey

func (x *SetupRegistrationBillingResponse) GetPublishableKey() string

func (*SetupRegistrationBillingResponse) GetStripeCustomerId

func (x *SetupRegistrationBillingResponse) GetStripeCustomerId() string

func (*SetupRegistrationBillingResponse) ProtoMessage

func (*SetupRegistrationBillingResponse) ProtoMessage()

func (*SetupRegistrationBillingResponse) ProtoReflect

func (*SetupRegistrationBillingResponse) Reset

func (*SetupRegistrationBillingResponse) String

type UnimplementedAuthServiceServer

type UnimplementedAuthServiceServer struct{}

UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedAuthServiceServer) CreateAPIKey

func (UnimplementedAuthServiceServer) GetAPIKey

func (UnimplementedAuthServiceServer) ListAPIKeys

func (UnimplementedAuthServiceServer) Login

func (UnimplementedAuthServiceServer) MagicLogin

func (UnimplementedAuthServiceServer) RefreshToken

func (UnimplementedAuthServiceServer) Register

func (UnimplementedAuthServiceServer) RequestPasswordReset

func (UnimplementedAuthServiceServer) ResendVerificationEmail

func (UnimplementedAuthServiceServer) ResetPassword

func (UnimplementedAuthServiceServer) RevokeAPIKey

func (UnimplementedAuthServiceServer) RevokeRefreshToken

func (UnimplementedAuthServiceServer) RotateAPIKey

func (UnimplementedAuthServiceServer) UpdatePassword

func (UnimplementedAuthServiceServer) ValidateCredential

type UnsafeAuthServiceServer

type UnsafeAuthServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServiceServer will result in compilation errors.

type UpdatePasswordRequest

type UpdatePasswordRequest struct {
	OldPassword string `protobuf:"bytes,1,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"`
	NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePasswordRequest) Descriptor deprecated

func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePasswordRequest.ProtoReflect.Descriptor instead.

func (*UpdatePasswordRequest) GetNewPassword

func (x *UpdatePasswordRequest) GetNewPassword() string

func (*UpdatePasswordRequest) GetOldPassword

func (x *UpdatePasswordRequest) GetOldPassword() string

func (*UpdatePasswordRequest) ProtoMessage

func (*UpdatePasswordRequest) ProtoMessage()

func (*UpdatePasswordRequest) ProtoReflect

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

func (*UpdatePasswordRequest) Reset

func (x *UpdatePasswordRequest) Reset()

func (*UpdatePasswordRequest) String

func (x *UpdatePasswordRequest) String() string

type UpdateRegistrationSessionRequest

type UpdateRegistrationSessionRequest struct {
	SessionId            string                   `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	Step                 *string                  `protobuf:"bytes,2,opt,name=step,proto3,oneof" json:"step,omitempty"`
	SessionData          *RegistrationSessionData `protobuf:"bytes,3,opt,name=session_data,json=sessionData,proto3,oneof" json:"session_data,omitempty"`
	StripeCustomerId     *string                  `protobuf:"bytes,4,opt,name=stripe_customer_id,json=stripeCustomerId,proto3,oneof" json:"stripe_customer_id,omitempty"`
	PaymentCompleted     *bool                    `protobuf:"varint,5,opt,name=payment_completed,json=paymentCompleted,proto3,oneof" json:"payment_completed,omitempty"`
	StripeSubscriptionId *string                  `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateRegistrationSessionRequest) Descriptor deprecated

func (*UpdateRegistrationSessionRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRegistrationSessionRequest.ProtoReflect.Descriptor instead.

func (*UpdateRegistrationSessionRequest) GetPaymentCompleted

func (x *UpdateRegistrationSessionRequest) GetPaymentCompleted() bool

func (*UpdateRegistrationSessionRequest) GetSessionData

func (*UpdateRegistrationSessionRequest) GetSessionId

func (x *UpdateRegistrationSessionRequest) GetSessionId() string

func (*UpdateRegistrationSessionRequest) GetStep

func (*UpdateRegistrationSessionRequest) GetStripeCustomerId

func (x *UpdateRegistrationSessionRequest) GetStripeCustomerId() string

func (*UpdateRegistrationSessionRequest) GetStripeSubscriptionId

func (x *UpdateRegistrationSessionRequest) GetStripeSubscriptionId() string

func (*UpdateRegistrationSessionRequest) ProtoMessage

func (*UpdateRegistrationSessionRequest) ProtoMessage()

func (*UpdateRegistrationSessionRequest) ProtoReflect

func (*UpdateRegistrationSessionRequest) Reset

func (*UpdateRegistrationSessionRequest) String

type UpdateRegistrationSessionResponse

type UpdateRegistrationSessionResponse struct {
	Session *RegistrationSessionInfo `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRegistrationSessionResponse) Descriptor deprecated

func (*UpdateRegistrationSessionResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRegistrationSessionResponse.ProtoReflect.Descriptor instead.

func (*UpdateRegistrationSessionResponse) GetSession

func (*UpdateRegistrationSessionResponse) ProtoMessage

func (*UpdateRegistrationSessionResponse) ProtoMessage()

func (*UpdateRegistrationSessionResponse) ProtoReflect

func (*UpdateRegistrationSessionResponse) Reset

func (*UpdateRegistrationSessionResponse) String

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,oneof" json:"email,omitempty"`
	Name          *string                `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Username      *string                `protobuf:"bytes,4,opt,name=username,proto3,oneof" json:"username,omitempty"`
	ImageUrl      *string                `protobuf:"bytes,5,opt,name=image_url,json=imageUrl,proto3,oneof" json:"image_url,omitempty"`
	EmailVerified *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=email_verified,json=emailVerified,proto3,oneof" json:"email_verified,omitempty"`
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt     *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() *timestamppb.Timestamp

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetEmailVerified

func (x *User) GetEmailVerified() *timestamppb.Timestamp

func (*User) GetId

func (x *User) GetId() string

func (*User) GetImageUrl

func (x *User) GetImageUrl() string

func (*User) GetName

func (x *User) GetName() string

func (*User) GetUpdatedAt

func (x *User) GetUpdatedAt() *timestamppb.Timestamp

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type VerifyRegistrationTokenRequest

type VerifyRegistrationTokenRequest struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyRegistrationTokenRequest) Descriptor deprecated

func (*VerifyRegistrationTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use VerifyRegistrationTokenRequest.ProtoReflect.Descriptor instead.

func (*VerifyRegistrationTokenRequest) GetToken

func (x *VerifyRegistrationTokenRequest) GetToken() string

func (*VerifyRegistrationTokenRequest) ProtoMessage

func (*VerifyRegistrationTokenRequest) ProtoMessage()

func (*VerifyRegistrationTokenRequest) ProtoReflect

func (*VerifyRegistrationTokenRequest) Reset

func (x *VerifyRegistrationTokenRequest) Reset()

func (*VerifyRegistrationTokenRequest) String

type VerifyRegistrationTokenResponse

type VerifyRegistrationTokenResponse struct {
	Session *RegistrationSessionInfo `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyRegistrationTokenResponse) Descriptor deprecated

func (*VerifyRegistrationTokenResponse) Descriptor() ([]byte, []int)

Deprecated: Use VerifyRegistrationTokenResponse.ProtoReflect.Descriptor instead.

func (*VerifyRegistrationTokenResponse) GetSession

func (*VerifyRegistrationTokenResponse) ProtoMessage

func (*VerifyRegistrationTokenResponse) ProtoMessage()

func (*VerifyRegistrationTokenResponse) ProtoReflect

func (*VerifyRegistrationTokenResponse) Reset

func (*VerifyRegistrationTokenResponse) String

Jump to

Keyboard shortcuts

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