ssov1

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: MIT Imports: 9 Imported by: 4

Documentation

Index

Constants

View Source
const (
	Auth_RegisterApp_FullMethodName    = "/auth.Auth/RegisterApp"
	Auth_RegisterUser_FullMethodName   = "/auth.Auth/RegisterUser"
	Auth_VerifyEmail_FullMethodName    = "/auth.Auth/VerifyEmail"
	Auth_Login_FullMethodName          = "/auth.Auth/Login"
	Auth_ResetPassword_FullMethodName  = "/auth.Auth/ResetPassword"
	Auth_ChangePassword_FullMethodName = "/auth.Auth/ChangePassword"
	Auth_Logout_FullMethodName         = "/auth.Auth/Logout"
	Auth_Refresh_FullMethodName        = "/auth.Auth/Refresh"
	Auth_GetJWKS_FullMethodName        = "/auth.Auth/GetJWKS"
	Auth_GetUser_FullMethodName        = "/auth.Auth/GetUser"
	Auth_UpdateUser_FullMethodName     = "/auth.Auth/UpdateUser"
	Auth_DeleteUser_FullMethodName     = "/auth.Auth/DeleteUser"
)

Variables

View Source
var Auth_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "auth.Auth",
	HandlerType: (*AuthServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RegisterApp",
			Handler:    _Auth_RegisterApp_Handler,
		},
		{
			MethodName: "RegisterUser",
			Handler:    _Auth_RegisterUser_Handler,
		},
		{
			MethodName: "VerifyEmail",
			Handler:    _Auth_VerifyEmail_Handler,
		},
		{
			MethodName: "Login",
			Handler:    _Auth_Login_Handler,
		},
		{
			MethodName: "ResetPassword",
			Handler:    _Auth_ResetPassword_Handler,
		},
		{
			MethodName: "ChangePassword",
			Handler:    _Auth_ChangePassword_Handler,
		},
		{
			MethodName: "Logout",
			Handler:    _Auth_Logout_Handler,
		},
		{
			MethodName: "Refresh",
			Handler:    _Auth_Refresh_Handler,
		},
		{
			MethodName: "GetJWKS",
			Handler:    _Auth_GetJWKS_Handler,
		},
		{
			MethodName: "GetUser",
			Handler:    _Auth_GetUser_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _Auth_UpdateUser_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _Auth_DeleteUser_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "sso/sso.proto",
}

Auth_ServiceDesc is the grpc.ServiceDesc for Auth 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_sso_sso_proto protoreflect.FileDescriptor

Functions

func RegisterAuthServer

func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)

Types

type AuthClient

AuthClient is the client API for Auth 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.

func NewAuthClient

func NewAuthClient(cc grpc.ClientConnInterface) AuthClient

type AuthServer

AuthServer is the server API for Auth service. All implementations must embed UnimplementedAuthServer for forward compatibility.

type ChangePasswordRequest

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

Change password method

func (*ChangePasswordRequest) Descriptor deprecated

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

Deprecated: Use ChangePasswordRequest.ProtoReflect.Descriptor instead.

func (*ChangePasswordRequest) GetToken

func (x *ChangePasswordRequest) GetToken() string

func (*ChangePasswordRequest) GetUpdatedPassword

func (x *ChangePasswordRequest) GetUpdatedPassword() string

func (*ChangePasswordRequest) ProtoMessage

func (*ChangePasswordRequest) ProtoMessage()

func (*ChangePasswordRequest) ProtoReflect

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

func (*ChangePasswordRequest) Reset

func (x *ChangePasswordRequest) Reset()

func (*ChangePasswordRequest) String

func (x *ChangePasswordRequest) String() string

type ChangePasswordResponse

type ChangePasswordResponse struct {
	// contains filtered or unexported fields
}

func (*ChangePasswordResponse) Descriptor deprecated

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

Deprecated: Use ChangePasswordResponse.ProtoReflect.Descriptor instead.

func (*ChangePasswordResponse) ProtoMessage

func (*ChangePasswordResponse) ProtoMessage()

func (*ChangePasswordResponse) ProtoReflect

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

func (*ChangePasswordResponse) Reset

func (x *ChangePasswordResponse) Reset()

func (*ChangePasswordResponse) String

func (x *ChangePasswordResponse) String() string

type DeleteUserRequest

type DeleteUserRequest struct {
	// contains filtered or unexported fields
}

Delete user method

func (*DeleteUserRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect

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

func (*DeleteUserRequest) Reset

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (x *DeleteUserRequest) String() string

type DeleteUserResponse

type DeleteUserResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteUserResponse) Descriptor deprecated

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

Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserResponse) ProtoMessage

func (*DeleteUserResponse) ProtoMessage()

func (*DeleteUserResponse) ProtoReflect

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

func (*DeleteUserResponse) Reset

func (x *DeleteUserResponse) Reset()

func (*DeleteUserResponse) String

func (x *DeleteUserResponse) String() string

type GetJWKSRequest

type GetJWKSRequest struct {
	// contains filtered or unexported fields
}

Get JWK method

func (*GetJWKSRequest) Descriptor deprecated

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

Deprecated: Use GetJWKSRequest.ProtoReflect.Descriptor instead.

func (*GetJWKSRequest) ProtoMessage

func (*GetJWKSRequest) ProtoMessage()

func (*GetJWKSRequest) ProtoReflect

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

func (*GetJWKSRequest) Reset

func (x *GetJWKSRequest) Reset()

func (*GetJWKSRequest) String

func (x *GetJWKSRequest) String() string

type GetJWKSResponse

type GetJWKSResponse struct {
	Jwks []*JWK `protobuf:"bytes,1,rep,name=jwks,proto3" json:"jwks,omitempty"`
	// contains filtered or unexported fields
}

func (*GetJWKSResponse) Descriptor deprecated

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

Deprecated: Use GetJWKSResponse.ProtoReflect.Descriptor instead.

func (*GetJWKSResponse) GetJwks

func (x *GetJWKSResponse) GetJwks() []*JWK

func (*GetJWKSResponse) ProtoMessage

func (*GetJWKSResponse) ProtoMessage()

func (*GetJWKSResponse) ProtoReflect

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

func (*GetJWKSResponse) Reset

func (x *GetJWKSResponse) Reset()

func (*GetJWKSResponse) String

func (x *GetJWKSResponse) String() string

type GetUserRequest

type GetUserRequest struct {
	// contains filtered or unexported fields
}

Get user method

func (*GetUserRequest) Descriptor deprecated

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

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect

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

func (*GetUserRequest) Reset

func (x *GetUserRequest) Reset()

func (*GetUserRequest) String

func (x *GetUserRequest) String() string

type GetUserResponse

type GetUserResponse struct {
	Email     string                 `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Verified  bool                   `protobuf:"varint,2,opt,name=verified,proto3" json:"verified,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserResponse) Descriptor deprecated

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

Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.

func (*GetUserResponse) GetEmail

func (x *GetUserResponse) GetEmail() string

func (*GetUserResponse) GetUpdatedAt

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

func (*GetUserResponse) GetVerified

func (x *GetUserResponse) GetVerified() bool

func (*GetUserResponse) ProtoMessage

func (*GetUserResponse) ProtoMessage()

func (*GetUserResponse) ProtoReflect

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

func (*GetUserResponse) Reset

func (x *GetUserResponse) Reset()

func (*GetUserResponse) String

func (x *GetUserResponse) String() string

type JWK

type JWK struct {
	Alg string `protobuf:"bytes,1,opt,name=alg,proto3" json:"alg,omitempty"`
	Kty string `protobuf:"bytes,2,opt,name=kty,proto3" json:"kty,omitempty"`
	Use string `protobuf:"bytes,3,opt,name=use,proto3" json:"use,omitempty"`
	Kid string `protobuf:"bytes,4,opt,name=kid,proto3" json:"kid,omitempty"`
	N   string `protobuf:"bytes,5,opt,name=n,proto3" json:"n,omitempty"`
	E   string `protobuf:"bytes,6,opt,name=e,proto3" json:"e,omitempty"`
	// contains filtered or unexported fields
}

func (*JWK) Descriptor deprecated

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

Deprecated: Use JWK.ProtoReflect.Descriptor instead.

func (*JWK) GetAlg

func (x *JWK) GetAlg() string

func (*JWK) GetE

func (x *JWK) GetE() string

func (*JWK) GetKid

func (x *JWK) GetKid() string

func (*JWK) GetKty

func (x *JWK) GetKty() string

func (*JWK) GetN

func (x *JWK) GetN() string

func (*JWK) GetUse

func (x *JWK) GetUse() string

func (*JWK) ProtoMessage

func (*JWK) ProtoMessage()

func (*JWK) ProtoReflect

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

func (*JWK) Reset

func (x *JWK) Reset()

func (*JWK) String

func (x *JWK) String() string

type LoginRequest

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

Login method

func (*LoginRequest) Descriptor deprecated

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

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetEmail

func (x *LoginRequest) GetEmail() string

func (*LoginRequest) GetPassword

func (x *LoginRequest) GetPassword() string

func (*LoginRequest) GetUserDeviceData

func (x *LoginRequest) GetUserDeviceData() *UserDeviceData

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 {
	TokenData *TokenData `protobuf:"bytes,1,opt,name=token_data,json=tokenData,proto3" json:"token_data,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResponse) Descriptor deprecated

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

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetTokenData

func (x *LoginResponse) GetTokenData() *TokenData

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 LogoutRequest

type LogoutRequest struct {
	UserDeviceData *UserDeviceData `protobuf:"bytes,1,opt,name=user_device_data,json=userDeviceData,proto3" json:"user_device_data,omitempty"`
	// contains filtered or unexported fields
}

Logout user method

func (*LogoutRequest) Descriptor deprecated

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

Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.

func (*LogoutRequest) GetUserDeviceData

func (x *LogoutRequest) GetUserDeviceData() *UserDeviceData

func (*LogoutRequest) ProtoMessage

func (*LogoutRequest) ProtoMessage()

func (*LogoutRequest) ProtoReflect

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

func (*LogoutRequest) Reset

func (x *LogoutRequest) Reset()

func (*LogoutRequest) String

func (x *LogoutRequest) String() string

type LogoutResponse

type LogoutResponse struct {
	// contains filtered or unexported fields
}

func (*LogoutResponse) Descriptor deprecated

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

Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.

func (*LogoutResponse) ProtoMessage

func (*LogoutResponse) ProtoMessage()

func (*LogoutResponse) ProtoReflect

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

func (*LogoutResponse) Reset

func (x *LogoutResponse) Reset()

func (*LogoutResponse) String

func (x *LogoutResponse) String() string

type RefreshRequest

type RefreshRequest struct {
	RefreshToken   string          `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	UserDeviceData *UserDeviceData `protobuf:"bytes,2,opt,name=user_device_data,json=userDeviceData,proto3" json:"user_device_data,omitempty"`
	// contains filtered or unexported fields
}

Refresh tokens method

func (*RefreshRequest) Descriptor deprecated

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

Deprecated: Use RefreshRequest.ProtoReflect.Descriptor instead.

func (*RefreshRequest) GetRefreshToken

func (x *RefreshRequest) GetRefreshToken() string

func (*RefreshRequest) GetUserDeviceData

func (x *RefreshRequest) GetUserDeviceData() *UserDeviceData

func (*RefreshRequest) ProtoMessage

func (*RefreshRequest) ProtoMessage()

func (*RefreshRequest) ProtoReflect

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

func (*RefreshRequest) Reset

func (x *RefreshRequest) Reset()

func (*RefreshRequest) String

func (x *RefreshRequest) String() string

type RefreshResponse

type RefreshResponse struct {
	TokenData *TokenData `protobuf:"bytes,1,opt,name=token_data,json=tokenData,proto3" json:"token_data,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshResponse) Descriptor deprecated

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

Deprecated: Use RefreshResponse.ProtoReflect.Descriptor instead.

func (*RefreshResponse) GetTokenData

func (x *RefreshResponse) GetTokenData() *TokenData

func (*RefreshResponse) ProtoMessage

func (*RefreshResponse) ProtoMessage()

func (*RefreshResponse) ProtoReflect

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

func (*RefreshResponse) Reset

func (x *RefreshResponse) Reset()

func (*RefreshResponse) String

func (x *RefreshResponse) String() string

type RegisterAppRequest

type RegisterAppRequest struct {
	AppName string `protobuf:"bytes,1,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"`
	// contains filtered or unexported fields
}

Register app method

func (*RegisterAppRequest) Descriptor deprecated

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

Deprecated: Use RegisterAppRequest.ProtoReflect.Descriptor instead.

func (*RegisterAppRequest) GetAppName

func (x *RegisterAppRequest) GetAppName() string

func (*RegisterAppRequest) ProtoMessage

func (*RegisterAppRequest) ProtoMessage()

func (*RegisterAppRequest) ProtoReflect

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

func (*RegisterAppRequest) Reset

func (x *RegisterAppRequest) Reset()

func (*RegisterAppRequest) String

func (x *RegisterAppRequest) String() string

type RegisterAppResponse

type RegisterAppResponse struct {
	// contains filtered or unexported fields
}

func (*RegisterAppResponse) Descriptor deprecated

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

Deprecated: Use RegisterAppResponse.ProtoReflect.Descriptor instead.

func (*RegisterAppResponse) ProtoMessage

func (*RegisterAppResponse) ProtoMessage()

func (*RegisterAppResponse) ProtoReflect

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

func (*RegisterAppResponse) Reset

func (x *RegisterAppResponse) Reset()

func (*RegisterAppResponse) String

func (x *RegisterAppResponse) String() string

type RegisterUserRequest

type RegisterUserRequest 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"`
	VerificationUrl string          `protobuf:"bytes,3,opt,name=verification_url,json=verificationUrl,proto3" json:"verification_url,omitempty"`
	UserDeviceData  *UserDeviceData `protobuf:"bytes,4,opt,name=user_device_data,json=userDeviceData,proto3" json:"user_device_data,omitempty"`
	// contains filtered or unexported fields
}

Register method

func (*RegisterUserRequest) Descriptor deprecated

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

Deprecated: Use RegisterUserRequest.ProtoReflect.Descriptor instead.

func (*RegisterUserRequest) GetEmail

func (x *RegisterUserRequest) GetEmail() string

func (*RegisterUserRequest) GetPassword

func (x *RegisterUserRequest) GetPassword() string

func (*RegisterUserRequest) GetUserDeviceData

func (x *RegisterUserRequest) GetUserDeviceData() *UserDeviceData

func (*RegisterUserRequest) GetVerificationUrl

func (x *RegisterUserRequest) GetVerificationUrl() string

func (*RegisterUserRequest) ProtoMessage

func (*RegisterUserRequest) ProtoMessage()

func (*RegisterUserRequest) ProtoReflect

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

func (*RegisterUserRequest) Reset

func (x *RegisterUserRequest) Reset()

func (*RegisterUserRequest) String

func (x *RegisterUserRequest) String() string

type RegisterUserResponse

type RegisterUserResponse struct {
	TokenData *TokenData `protobuf:"bytes,1,opt,name=token_data,json=tokenData,proto3" json:"token_data,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterUserResponse) Descriptor deprecated

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

Deprecated: Use RegisterUserResponse.ProtoReflect.Descriptor instead.

func (*RegisterUserResponse) GetTokenData

func (x *RegisterUserResponse) GetTokenData() *TokenData

func (*RegisterUserResponse) ProtoMessage

func (*RegisterUserResponse) ProtoMessage()

func (*RegisterUserResponse) ProtoReflect

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

func (*RegisterUserResponse) Reset

func (x *RegisterUserResponse) Reset()

func (*RegisterUserResponse) String

func (x *RegisterUserResponse) String() string

type ResetPasswordRequest

type ResetPasswordRequest struct {
	Email      string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	ConfirmUrl string `protobuf:"bytes,2,opt,name=confirm_url,json=confirmUrl,proto3" json:"confirm_url,omitempty"`
	// contains filtered or unexported fields
}

Reset password method

func (*ResetPasswordRequest) Descriptor deprecated

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

Deprecated: Use ResetPasswordRequest.ProtoReflect.Descriptor instead.

func (*ResetPasswordRequest) GetConfirmUrl

func (x *ResetPasswordRequest) GetConfirmUrl() string

func (*ResetPasswordRequest) GetEmail

func (x *ResetPasswordRequest) GetEmail() 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 ResetPasswordResponse

type ResetPasswordResponse struct {
	// contains filtered or unexported fields
}

func (*ResetPasswordResponse) Descriptor deprecated

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

Deprecated: Use ResetPasswordResponse.ProtoReflect.Descriptor instead.

func (*ResetPasswordResponse) ProtoMessage

func (*ResetPasswordResponse) ProtoMessage()

func (*ResetPasswordResponse) ProtoReflect

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

func (*ResetPasswordResponse) Reset

func (x *ResetPasswordResponse) Reset()

func (*ResetPasswordResponse) String

func (x *ResetPasswordResponse) String() string

type TokenData

type TokenData 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"`
	Domain           string                 `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
	Path             string                 `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	ExpiresAt        *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	HttpOnly         bool                   `protobuf:"varint,6,opt,name=http_only,json=httpOnly,proto3" json:"http_only,omitempty"`
	AdditionalFields map[string]string      `` /* 197-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TokenData) Descriptor deprecated

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

Deprecated: Use TokenData.ProtoReflect.Descriptor instead.

func (*TokenData) GetAccessToken

func (x *TokenData) GetAccessToken() string

func (*TokenData) GetAdditionalFields

func (x *TokenData) GetAdditionalFields() map[string]string

func (*TokenData) GetDomain

func (x *TokenData) GetDomain() string

func (*TokenData) GetExpiresAt

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

func (*TokenData) GetHttpOnly

func (x *TokenData) GetHttpOnly() bool

func (*TokenData) GetPath

func (x *TokenData) GetPath() string

func (*TokenData) GetRefreshToken

func (x *TokenData) GetRefreshToken() string

func (*TokenData) ProtoMessage

func (*TokenData) ProtoMessage()

func (*TokenData) ProtoReflect

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

func (*TokenData) Reset

func (x *TokenData) Reset()

func (*TokenData) String

func (x *TokenData) String() string

type UnimplementedAuthServer

type UnimplementedAuthServer struct{}

UnimplementedAuthServer 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 (UnimplementedAuthServer) ChangePassword

func (UnimplementedAuthServer) DeleteUser

func (UnimplementedAuthServer) GetJWKS

func (UnimplementedAuthServer) GetUser

func (UnimplementedAuthServer) Login

func (UnimplementedAuthServer) Logout

func (UnimplementedAuthServer) Refresh

func (UnimplementedAuthServer) RegisterApp

func (UnimplementedAuthServer) RegisterUser

func (UnimplementedAuthServer) ResetPassword

func (UnimplementedAuthServer) UpdateUser

func (UnimplementedAuthServer) VerifyEmail

type UnsafeAuthServer

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

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

type UpdateUserRequest

type UpdateUserRequest struct {
	Email           string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	CurrentPassword string `protobuf:"bytes,2,opt,name=current_password,json=currentPassword,proto3" json:"current_password,omitempty"`
	UpdatedPassword string `protobuf:"bytes,3,opt,name=updated_password,json=updatedPassword,proto3" json:"updated_password,omitempty"`
	// contains filtered or unexported fields
}

Update user method

func (*UpdateUserRequest) Descriptor deprecated

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

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetCurrentPassword

func (x *UpdateUserRequest) GetCurrentPassword() string

func (*UpdateUserRequest) GetEmail

func (x *UpdateUserRequest) GetEmail() string

func (*UpdateUserRequest) GetUpdatedPassword

func (x *UpdateUserRequest) GetUpdatedPassword() string

func (*UpdateUserRequest) ProtoMessage

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) ProtoReflect

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

func (*UpdateUserRequest) Reset

func (x *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String

func (x *UpdateUserRequest) String() string

type UpdateUserResponse

type UpdateUserResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateUserResponse) Descriptor deprecated

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

Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.

func (*UpdateUserResponse) ProtoMessage

func (*UpdateUserResponse) ProtoMessage()

func (*UpdateUserResponse) ProtoReflect

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

func (*UpdateUserResponse) Reset

func (x *UpdateUserResponse) Reset()

func (*UpdateUserResponse) String

func (x *UpdateUserResponse) String() string

type UserDeviceData

type UserDeviceData struct {
	UserAgent string `protobuf:"bytes,1,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	Ip        string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

Custom types

func (*UserDeviceData) Descriptor deprecated

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

Deprecated: Use UserDeviceData.ProtoReflect.Descriptor instead.

func (*UserDeviceData) GetIp

func (x *UserDeviceData) GetIp() string

func (*UserDeviceData) GetUserAgent

func (x *UserDeviceData) GetUserAgent() string

func (*UserDeviceData) ProtoMessage

func (*UserDeviceData) ProtoMessage()

func (*UserDeviceData) ProtoReflect

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

func (*UserDeviceData) Reset

func (x *UserDeviceData) Reset()

func (*UserDeviceData) String

func (x *UserDeviceData) String() string

type VerifyEmailRequest

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

Verify email method

func (*VerifyEmailRequest) Descriptor deprecated

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

Deprecated: Use VerifyEmailRequest.ProtoReflect.Descriptor instead.

func (*VerifyEmailRequest) GetToken

func (x *VerifyEmailRequest) GetToken() string

func (*VerifyEmailRequest) ProtoMessage

func (*VerifyEmailRequest) ProtoMessage()

func (*VerifyEmailRequest) ProtoReflect

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

func (*VerifyEmailRequest) Reset

func (x *VerifyEmailRequest) Reset()

func (*VerifyEmailRequest) String

func (x *VerifyEmailRequest) String() string

type VerifyEmailResponse

type VerifyEmailResponse struct {
	// contains filtered or unexported fields
}

func (*VerifyEmailResponse) Descriptor deprecated

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

Deprecated: Use VerifyEmailResponse.ProtoReflect.Descriptor instead.

func (*VerifyEmailResponse) ProtoMessage

func (*VerifyEmailResponse) ProtoMessage()

func (*VerifyEmailResponse) ProtoReflect

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

func (*VerifyEmailResponse) Reset

func (x *VerifyEmailResponse) Reset()

func (*VerifyEmailResponse) String

func (x *VerifyEmailResponse) String() string

Jump to

Keyboard shortcuts

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