user_manager

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AccessRights_name = map[int32]string{
		0: "ACCESS_RIGHTS_READ_UNSPECIFIED",
		1: "ACCESS_RIGHTS_WRITE",
		2: "ACCESS_RIGHTS_DELETE",
	}
	AccessRights_value = map[string]int32{
		"ACCESS_RIGHTS_READ_UNSPECIFIED": 0,
		"ACCESS_RIGHTS_WRITE":            1,
		"ACCESS_RIGHTS_DELETE":           2,
	}
)

Enum value maps for AccessRights.

View Source
var Accounts_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "users.Accounts",
	HandlerType: (*AccountsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _Accounts_Create_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _Accounts_UpdateUser_Handler,
		},
		{
			MethodName: "UpdatePassword",
			Handler:    _Accounts_UpdatePassword_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _Accounts_Get_Handler,
		},
		{
			MethodName: "SelfGet",
			Handler:    _Accounts_SelfGet_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "List",
			Handler:       _Accounts_List_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "accounts_v1.proto",
}

Accounts_ServiceDesc is the grpc.ServiceDesc for Accounts 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 Authentication_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "users.Authentication",
	HandlerType: (*AuthenticationServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SignIn",
			Handler:    _Authentication_SignIn_Handler,
		},
		{
			MethodName: "SignUp",
			Handler:    _Authentication_SignUp_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "authentication_v1.proto",
}

Authentication_ServiceDesc is the grpc.ServiceDesc for Authentication 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 Authorization_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "users.Authorization",
	HandlerType: (*AuthorizationServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RefreshToken",
			Handler:    _Authorization_RefreshToken_Handler,
		},
		{
			MethodName: "ValidateToken",
			Handler:    _Authorization_ValidateToken_Handler,
		},
		{
			MethodName: "ParseIdFromToken",
			Handler:    _Authorization_ParseIdFromToken_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "authorization_v1.proto",
}

Authorization_ServiceDesc is the grpc.ServiceDesc for Authorization 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_accounts_v1_proto protoreflect.FileDescriptor
View Source
var File_authentication_v1_proto protoreflect.FileDescriptor
View Source
var File_authorization_v1_proto protoreflect.FileDescriptor
View Source
var File_rights_v1_proto protoreflect.FileDescriptor
View Source
var Rights_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "users.Rights",
	HandlerType: (*RightsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Init",
			Handler:    _Rights_Init_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _Rights_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _Rights_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _Rights_Delete_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _Rights_Get_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "rights_v1.proto",
}

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

Functions

func RegisterAccountsServer

func RegisterAccountsServer(s grpc.ServiceRegistrar, srv AccountsServer)

func RegisterAuthenticationServer

func RegisterAuthenticationServer(s grpc.ServiceRegistrar, srv AuthenticationServer)

func RegisterAuthorizationServer

func RegisterAuthorizationServer(s grpc.ServiceRegistrar, srv AuthorizationServer)

func RegisterRightsServer

func RegisterRightsServer(s grpc.ServiceRegistrar, srv RightsServer)

Types

type AccessRights

type AccessRights int32
const (
	AccessRights_ACCESS_RIGHTS_READ_UNSPECIFIED AccessRights = 0
	AccessRights_ACCESS_RIGHTS_WRITE            AccessRights = 1
	AccessRights_ACCESS_RIGHTS_DELETE           AccessRights = 2
)

func (AccessRights) Descriptor

func (AccessRights) Enum

func (x AccessRights) Enum() *AccessRights

func (AccessRights) EnumDescriptor deprecated

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

Deprecated: Use AccessRights.Descriptor instead.

func (AccessRights) Number

func (AccessRights) String

func (x AccessRights) String() string

func (AccessRights) Type

type AccessRuleId

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

func (*AccessRuleId) Descriptor deprecated

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

Deprecated: Use AccessRuleId.ProtoReflect.Descriptor instead.

func (*AccessRuleId) GetId

func (x *AccessRuleId) GetId() string

func (*AccessRuleId) ProtoMessage

func (*AccessRuleId) ProtoMessage()

func (*AccessRuleId) ProtoReflect

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

func (*AccessRuleId) Reset

func (x *AccessRuleId) Reset()

func (*AccessRuleId) String

func (x *AccessRuleId) String() string

type AccessRuleIdAndRight

type AccessRuleIdAndRight struct {
	Id          string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	AccessRight AccessRights `protobuf:"varint,3,opt,name=access_right,json=accessRight,proto3,enum=users.AccessRights" json:"access_right,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessRuleIdAndRight) Descriptor deprecated

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

Deprecated: Use AccessRuleIdAndRight.ProtoReflect.Descriptor instead.

func (*AccessRuleIdAndRight) GetAccessRight

func (x *AccessRuleIdAndRight) GetAccessRight() AccessRights

func (*AccessRuleIdAndRight) GetId

func (x *AccessRuleIdAndRight) GetId() string

func (*AccessRuleIdAndRight) ProtoMessage

func (*AccessRuleIdAndRight) ProtoMessage()

func (*AccessRuleIdAndRight) ProtoReflect

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

func (*AccessRuleIdAndRight) Reset

func (x *AccessRuleIdAndRight) Reset()

func (*AccessRuleIdAndRight) String

func (x *AccessRuleIdAndRight) String() string

type AccessRuleInfo

type AccessRuleInfo struct {
	Id            string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId        string       `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	ApplicationId string       `protobuf:"bytes,3,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	AccessRight   AccessRights `protobuf:"varint,4,opt,name=access_right,json=accessRight,proto3,enum=users.AccessRights" json:"access_right,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessRuleInfo) Descriptor deprecated

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

Deprecated: Use AccessRuleInfo.ProtoReflect.Descriptor instead.

func (*AccessRuleInfo) GetAccessRight

func (x *AccessRuleInfo) GetAccessRight() AccessRights

func (*AccessRuleInfo) GetApplicationId

func (x *AccessRuleInfo) GetApplicationId() string

func (*AccessRuleInfo) GetId

func (x *AccessRuleInfo) GetId() string

func (*AccessRuleInfo) GetUserId

func (x *AccessRuleInfo) GetUserId() string

func (*AccessRuleInfo) ProtoMessage

func (*AccessRuleInfo) ProtoMessage()

func (*AccessRuleInfo) ProtoReflect

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

func (*AccessRuleInfo) Reset

func (x *AccessRuleInfo) Reset()

func (*AccessRuleInfo) String

func (x *AccessRuleInfo) String() string

type AccessRuleWithoutId

type AccessRuleWithoutId struct {
	UserId        string       `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	ApplicationId string       `protobuf:"bytes,2,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	AccessRight   AccessRights `protobuf:"varint,3,opt,name=access_right,json=accessRight,proto3,enum=users.AccessRights" json:"access_right,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessRuleWithoutId) Descriptor deprecated

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

Deprecated: Use AccessRuleWithoutId.ProtoReflect.Descriptor instead.

func (*AccessRuleWithoutId) GetAccessRight

func (x *AccessRuleWithoutId) GetAccessRight() AccessRights

func (*AccessRuleWithoutId) GetApplicationId

func (x *AccessRuleWithoutId) GetApplicationId() string

func (*AccessRuleWithoutId) GetUserId

func (x *AccessRuleWithoutId) GetUserId() string

func (*AccessRuleWithoutId) ProtoMessage

func (*AccessRuleWithoutId) ProtoMessage()

func (*AccessRuleWithoutId) ProtoReflect

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

func (*AccessRuleWithoutId) Reset

func (x *AccessRuleWithoutId) Reset()

func (*AccessRuleWithoutId) String

func (x *AccessRuleWithoutId) String() string

type AccountCreds

type AccountCreds struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // username: unix-like
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // password
	// contains filtered or unexported fields
}

* Represents credentials (username and password)

func (*AccountCreds) Descriptor deprecated

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

Deprecated: Use AccountCreds.ProtoReflect.Descriptor instead.

func (*AccountCreds) GetPassword

func (x *AccountCreds) GetPassword() string

func (*AccountCreds) GetUsername

func (x *AccountCreds) GetUsername() string

func (*AccountCreds) ProtoMessage

func (*AccountCreds) ProtoMessage()

func (*AccountCreds) ProtoReflect

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

func (*AccountCreds) Reset

func (x *AccountCreds) Reset()

func (*AccountCreds) String

func (x *AccountCreds) String() string

type AccountId

type AccountId struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // UUID
	// contains filtered or unexported fields
}

* Represents an account's ID only

func (*AccountId) Descriptor deprecated

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

Deprecated: Use AccountId.ProtoReflect.Descriptor instead.

func (*AccountId) GetId

func (x *AccountId) GetId() string

func (*AccountId) ProtoMessage

func (*AccountId) ProtoMessage()

func (*AccountId) ProtoReflect

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

func (*AccountId) Reset

func (x *AccountId) Reset()

func (*AccountId) String

func (x *AccountId) String() string

type AccountInfo

type AccountInfo struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`             // UUID
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` // username: unix-like
	// contains filtered or unexported fields
}

* Represents an account without sensitive data

func (*AccountInfo) Descriptor deprecated

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

Deprecated: Use AccountInfo.ProtoReflect.Descriptor instead.

func (*AccountInfo) GetId

func (x *AccountInfo) GetId() string

func (*AccountInfo) GetUsername

func (x *AccountInfo) GetUsername() string

func (*AccountInfo) ProtoMessage

func (*AccountInfo) ProtoMessage()

func (*AccountInfo) ProtoReflect

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

func (*AccountInfo) Reset

func (x *AccountInfo) Reset()

func (*AccountInfo) String

func (x *AccountInfo) String() string

type AccountInfoWithSensitive

type AccountInfoWithSensitive struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`             // UUID
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` // username: unix-like
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // Password
	// contains filtered or unexported fields
}

* Represents an account with sensitive data

func (*AccountInfoWithSensitive) Descriptor deprecated

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

Deprecated: Use AccountInfoWithSensitive.ProtoReflect.Descriptor instead.

func (*AccountInfoWithSensitive) GetId

func (x *AccountInfoWithSensitive) GetId() string

func (*AccountInfoWithSensitive) GetPassword

func (x *AccountInfoWithSensitive) GetPassword() string

func (*AccountInfoWithSensitive) GetUsername

func (x *AccountInfoWithSensitive) GetUsername() string

func (*AccountInfoWithSensitive) ProtoMessage

func (*AccountInfoWithSensitive) ProtoMessage()

func (*AccountInfoWithSensitive) ProtoReflect

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

func (*AccountInfoWithSensitive) Reset

func (x *AccountInfoWithSensitive) Reset()

func (*AccountInfoWithSensitive) String

func (x *AccountInfoWithSensitive) String() string

type AccountName

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

* Represents username only

func (*AccountName) Descriptor deprecated

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

Deprecated: Use AccountName.ProtoReflect.Descriptor instead.

func (*AccountName) GetUsername

func (x *AccountName) GetUsername() string

func (*AccountName) ProtoMessage

func (*AccountName) ProtoMessage()

func (*AccountName) ProtoReflect

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

func (*AccountName) Reset

func (x *AccountName) Reset()

func (*AccountName) String

func (x *AccountName) String() string

type AccountsClient

type AccountsClient interface {
	/// Use to create an account
	Create(ctx context.Context, in *AccountCreds, opts ...grpc.CallOption) (*AccountInfo, error)
	/// Use to update an account
	UpdateUser(ctx context.Context, in *AccountInfo, opts ...grpc.CallOption) (*AccountInfo, error)
	/// Use to update a password
	UpdatePassword(ctx context.Context, in *PasswordUpdate, opts ...grpc.CallOption) (*emptypb.Empty, error)
	/// Use to get an account by ID
	Get(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*AccountInfo, error)
	/// Use to get yourself by ID
	SelfGet(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*AccountInfo, error)
	/// List Accounts
	List(ctx context.Context, in *AccountsListOptions, opts ...grpc.CallOption) (Accounts_ListClient, error)
}

AccountsClient is the client API for Accounts 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 NewAccountsClient

func NewAccountsClient(cc grpc.ClientConnInterface) AccountsClient

type AccountsListOptions

type AccountsListOptions struct {
	AccountName *AccountName `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	// contains filtered or unexported fields
}

* Represents options for accounts listing

func (*AccountsListOptions) Descriptor deprecated

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

Deprecated: Use AccountsListOptions.ProtoReflect.Descriptor instead.

func (*AccountsListOptions) GetAccountName

func (x *AccountsListOptions) GetAccountName() *AccountName

func (*AccountsListOptions) ProtoMessage

func (*AccountsListOptions) ProtoMessage()

func (*AccountsListOptions) ProtoReflect

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

func (*AccountsListOptions) Reset

func (x *AccountsListOptions) Reset()

func (*AccountsListOptions) String

func (x *AccountsListOptions) String() string

type AccountsServer

type AccountsServer interface {
	/// Use to create an account
	Create(context.Context, *AccountCreds) (*AccountInfo, error)
	/// Use to update an account
	UpdateUser(context.Context, *AccountInfo) (*AccountInfo, error)
	/// Use to update a password
	UpdatePassword(context.Context, *PasswordUpdate) (*emptypb.Empty, error)
	/// Use to get an account by ID
	Get(context.Context, *AccountId) (*AccountInfo, error)
	/// Use to get yourself by ID
	SelfGet(context.Context, *AccountId) (*AccountInfo, error)
	/// List Accounts
	List(*AccountsListOptions, Accounts_ListServer) error
	// contains filtered or unexported methods
}

AccountsServer is the server API for Accounts service. All implementations must embed UnimplementedAccountsServer for forward compatibility

type Accounts_ListClient

type Accounts_ListClient interface {
	Recv() (*AccountInfo, error)
	grpc.ClientStream
}

type Accounts_ListServer

type Accounts_ListServer interface {
	Send(*AccountInfo) error
	grpc.ServerStream
}

type AuthenticationClient

type AuthenticationClient interface {
	/// Use to sign in
	SignIn(ctx context.Context, in *AccountCreds, opts ...grpc.CallOption) (*AccountId, error)
	/// Use to sign up
	SignUp(ctx context.Context, in *AccountCreds, opts ...grpc.CallOption) (*AccountId, error)
}

AuthenticationClient is the client API for Authentication 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 AuthenticationServer

type AuthenticationServer interface {
	/// Use to sign in
	SignIn(context.Context, *AccountCreds) (*AccountId, error)
	/// Use to sign up
	SignUp(context.Context, *AccountCreds) (*AccountId, error)
	// contains filtered or unexported methods
}

AuthenticationServer is the server API for Authentication service. All implementations must embed UnimplementedAuthenticationServer for forward compatibility

type AuthorizationClient

type AuthorizationClient interface {
	/// Use to refresh access token
	RefreshToken(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*emptypb.Empty, error)
	/// Use To validate jwt token
	ValidateToken(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	/// Use to parse user ID from token
	ParseIdFromToken(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AccountId, error)
}

AuthorizationClient is the client API for Authorization 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 AuthorizationServer

type AuthorizationServer interface {
	/// Use to refresh access token
	RefreshToken(context.Context, *AccountId) (*emptypb.Empty, error)
	/// Use To validate jwt token
	ValidateToken(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	/// Use to parse user ID from token
	ParseIdFromToken(context.Context, *emptypb.Empty) (*AccountId, error)
	// contains filtered or unexported methods
}

AuthorizationServer is the server API for Authorization service. All implementations must embed UnimplementedAuthorizationServer for forward compatibility

type PasswordUpdate

type PasswordUpdate struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Username    string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	OldPassword string `protobuf:"bytes,3,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"`
	NewPassword string `protobuf:"bytes,4,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
	// contains filtered or unexported fields
}

* Represents fields required for a password update

func (*PasswordUpdate) Descriptor deprecated

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

Deprecated: Use PasswordUpdate.ProtoReflect.Descriptor instead.

func (*PasswordUpdate) GetId

func (x *PasswordUpdate) GetId() string

func (*PasswordUpdate) GetNewPassword

func (x *PasswordUpdate) GetNewPassword() string

func (*PasswordUpdate) GetOldPassword

func (x *PasswordUpdate) GetOldPassword() string

func (*PasswordUpdate) GetUsername

func (x *PasswordUpdate) GetUsername() string

func (*PasswordUpdate) ProtoMessage

func (*PasswordUpdate) ProtoMessage()

func (*PasswordUpdate) ProtoReflect

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

func (*PasswordUpdate) Reset

func (x *PasswordUpdate) Reset()

func (*PasswordUpdate) String

func (x *PasswordUpdate) String() string

type RightsClient

type RightsClient interface {
	Init(ctx context.Context, in *AccessRuleWithoutId, opts ...grpc.CallOption) (*AccessRuleInfo, error)
	Create(ctx context.Context, in *AccessRuleWithoutId, opts ...grpc.CallOption) (*AccessRuleInfo, error)
	Update(ctx context.Context, in *AccessRuleIdAndRight, opts ...grpc.CallOption) (*AccessRuleIdAndRight, error)
	Delete(ctx context.Context, in *AccessRuleId, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Get(ctx context.Context, in *AccessRuleId, opts ...grpc.CallOption) (*AccessRuleInfo, error)
}

RightsClient is the client API for Rights 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 NewRightsClient

func NewRightsClient(cc grpc.ClientConnInterface) RightsClient

type RightsServer

RightsServer is the server API for Rights service. All implementations must embed UnimplementedRightsServer for forward compatibility

type UnimplementedAccountsServer

type UnimplementedAccountsServer struct {
}

UnimplementedAccountsServer must be embedded to have forward compatible implementations.

func (UnimplementedAccountsServer) Create

func (UnimplementedAccountsServer) Get

func (UnimplementedAccountsServer) List

func (UnimplementedAccountsServer) SelfGet

func (UnimplementedAccountsServer) UpdatePassword

func (UnimplementedAccountsServer) UpdateUser

type UnimplementedAuthenticationServer

type UnimplementedAuthenticationServer struct {
}

UnimplementedAuthenticationServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthenticationServer) SignIn

func (UnimplementedAuthenticationServer) SignUp

type UnimplementedAuthorizationServer

type UnimplementedAuthorizationServer struct {
}

UnimplementedAuthorizationServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthorizationServer) ParseIdFromToken

func (UnimplementedAuthorizationServer) RefreshToken

func (UnimplementedAuthorizationServer) ValidateToken

type UnimplementedRightsServer

type UnimplementedRightsServer struct {
}

UnimplementedRightsServer must be embedded to have forward compatible implementations.

func (UnimplementedRightsServer) Create

func (UnimplementedRightsServer) Delete

func (UnimplementedRightsServer) Get

func (UnimplementedRightsServer) Init

func (UnimplementedRightsServer) Update

type UnsafeAccountsServer

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

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

type UnsafeAuthenticationServer

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

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

type UnsafeAuthorizationServer

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

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

type UnsafeRightsServer

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

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

Jump to

Keyboard shortcuts

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