auth

package
v0.3.13 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: GPL-3.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Auth_LogIn_FullMethodName                       = "/pixel_plaza.Auth/LogIn"
	Auth_IsAccessTokenValid_FullMethodName          = "/pixel_plaza.Auth/IsAccessTokenValid"
	Auth_IsRefreshTokenValid_FullMethodName         = "/pixel_plaza.Auth/IsRefreshTokenValid"
	Auth_RefreshToken_FullMethodName                = "/pixel_plaza.Auth/RefreshToken"
	Auth_LogOut_FullMethodName                      = "/pixel_plaza.Auth/LogOut"
	Auth_GetRefreshTokenInformation_FullMethodName  = "/pixel_plaza.Auth/GetRefreshTokenInformation"
	Auth_GetRefreshTokensInformation_FullMethodName = "/pixel_plaza.Auth/GetRefreshTokensInformation"
	Auth_RevokeRefreshToken_FullMethodName          = "/pixel_plaza.Auth/RevokeRefreshToken"
	Auth_RevokeRefreshTokens_FullMethodName         = "/pixel_plaza.Auth/RevokeRefreshTokens"
	Auth_AddPermission_FullMethodName               = "/pixel_plaza.Auth/AddPermission"
	Auth_RevokePermission_FullMethodName            = "/pixel_plaza.Auth/RevokePermission"
	Auth_GetPermission_FullMethodName               = "/pixel_plaza.Auth/GetPermission"
	Auth_GetPermissions_FullMethodName              = "/pixel_plaza.Auth/GetPermissions"
	Auth_AddRolePermission_FullMethodName           = "/pixel_plaza.Auth/AddRolePermission"
	Auth_RevokeRolePermission_FullMethodName        = "/pixel_plaza.Auth/RevokeRolePermission"
	Auth_GetRolePermissions_FullMethodName          = "/pixel_plaza.Auth/GetRolePermissions"
	Auth_AddRole_FullMethodName                     = "/pixel_plaza.Auth/AddRole"
	Auth_RevokeRole_FullMethodName                  = "/pixel_plaza.Auth/RevokeRole"
	Auth_GetRoles_FullMethodName                    = "/pixel_plaza.Auth/GetRoles"
	Auth_AddUserRole_FullMethodName                 = "/pixel_plaza.Auth/AddUserRole"
	Auth_RevokeUserRole_FullMethodName              = "/pixel_plaza.Auth/RevokeUserRole"
	Auth_GetUserRoles_FullMethodName                = "/pixel_plaza.Auth/GetUserRoles"
)

Variables

View Source
var Auth_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pixel_plaza.Auth",
	HandlerType: (*AuthServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "LogIn",
			Handler:    _Auth_LogIn_Handler,
		},
		{
			MethodName: "IsAccessTokenValid",
			Handler:    _Auth_IsAccessTokenValid_Handler,
		},
		{
			MethodName: "IsRefreshTokenValid",
			Handler:    _Auth_IsRefreshTokenValid_Handler,
		},
		{
			MethodName: "RefreshToken",
			Handler:    _Auth_RefreshToken_Handler,
		},
		{
			MethodName: "LogOut",
			Handler:    _Auth_LogOut_Handler,
		},
		{
			MethodName: "GetRefreshTokenInformation",
			Handler:    _Auth_GetRefreshTokenInformation_Handler,
		},
		{
			MethodName: "GetRefreshTokensInformation",
			Handler:    _Auth_GetRefreshTokensInformation_Handler,
		},
		{
			MethodName: "RevokeRefreshToken",
			Handler:    _Auth_RevokeRefreshToken_Handler,
		},
		{
			MethodName: "RevokeRefreshTokens",
			Handler:    _Auth_RevokeRefreshTokens_Handler,
		},
		{
			MethodName: "AddPermission",
			Handler:    _Auth_AddPermission_Handler,
		},
		{
			MethodName: "RevokePermission",
			Handler:    _Auth_RevokePermission_Handler,
		},
		{
			MethodName: "GetPermission",
			Handler:    _Auth_GetPermission_Handler,
		},
		{
			MethodName: "GetPermissions",
			Handler:    _Auth_GetPermissions_Handler,
		},
		{
			MethodName: "AddRolePermission",
			Handler:    _Auth_AddRolePermission_Handler,
		},
		{
			MethodName: "RevokeRolePermission",
			Handler:    _Auth_RevokeRolePermission_Handler,
		},
		{
			MethodName: "GetRolePermissions",
			Handler:    _Auth_GetRolePermissions_Handler,
		},
		{
			MethodName: "AddRole",
			Handler:    _Auth_AddRole_Handler,
		},
		{
			MethodName: "RevokeRole",
			Handler:    _Auth_RevokeRole_Handler,
		},
		{
			MethodName: "GetRoles",
			Handler:    _Auth_GetRoles_Handler,
		},
		{
			MethodName: "AddUserRole",
			Handler:    _Auth_AddUserRole_Handler,
		},
		{
			MethodName: "RevokeUserRole",
			Handler:    _Auth_RevokeUserRole_Handler,
		},
		{
			MethodName: "GetUserRoles",
			Handler:    _Auth_GetUserRoles_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/pixel_plaza/auth.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_proto_pixel_plaza_auth_proto protoreflect.FileDescriptor

Functions

func RegisterAuthServer

func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)

Types

type AddPermissionRequest

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

func (*AddPermissionRequest) Descriptor deprecated

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

Deprecated: Use AddPermissionRequest.ProtoReflect.Descriptor instead.

func (*AddPermissionRequest) GetPermission

func (x *AddPermissionRequest) GetPermission() string

func (*AddPermissionRequest) ProtoMessage

func (*AddPermissionRequest) ProtoMessage()

func (*AddPermissionRequest) ProtoReflect

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

func (*AddPermissionRequest) Reset

func (x *AddPermissionRequest) Reset()

func (*AddPermissionRequest) String

func (x *AddPermissionRequest) String() string

type AddPermissionResponse

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

func (*AddPermissionResponse) Descriptor deprecated

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

Deprecated: Use AddPermissionResponse.ProtoReflect.Descriptor instead.

func (*AddPermissionResponse) GetMessage

func (x *AddPermissionResponse) GetMessage() string

func (*AddPermissionResponse) ProtoMessage

func (*AddPermissionResponse) ProtoMessage()

func (*AddPermissionResponse) ProtoReflect

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

func (*AddPermissionResponse) Reset

func (x *AddPermissionResponse) Reset()

func (*AddPermissionResponse) String

func (x *AddPermissionResponse) String() string

type AddRolePermissionRequest

type AddRolePermissionRequest struct {
	RoleId       string `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	PermissionId string `protobuf:"bytes,2,opt,name=permission_id,json=permissionId,proto3" json:"permission_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AddRolePermissionRequest) Descriptor deprecated

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

Deprecated: Use AddRolePermissionRequest.ProtoReflect.Descriptor instead.

func (*AddRolePermissionRequest) GetPermissionId

func (x *AddRolePermissionRequest) GetPermissionId() string

func (*AddRolePermissionRequest) GetRoleId

func (x *AddRolePermissionRequest) GetRoleId() string

func (*AddRolePermissionRequest) ProtoMessage

func (*AddRolePermissionRequest) ProtoMessage()

func (*AddRolePermissionRequest) ProtoReflect

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

func (*AddRolePermissionRequest) Reset

func (x *AddRolePermissionRequest) Reset()

func (*AddRolePermissionRequest) String

func (x *AddRolePermissionRequest) String() string

type AddRolePermissionResponse

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

func (*AddRolePermissionResponse) Descriptor deprecated

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

Deprecated: Use AddRolePermissionResponse.ProtoReflect.Descriptor instead.

func (*AddRolePermissionResponse) GetMessage

func (x *AddRolePermissionResponse) GetMessage() string

func (*AddRolePermissionResponse) ProtoMessage

func (*AddRolePermissionResponse) ProtoMessage()

func (*AddRolePermissionResponse) ProtoReflect

func (*AddRolePermissionResponse) Reset

func (x *AddRolePermissionResponse) Reset()

func (*AddRolePermissionResponse) String

func (x *AddRolePermissionResponse) String() string

type AddRoleRequest

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

func (*AddRoleRequest) Descriptor deprecated

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

Deprecated: Use AddRoleRequest.ProtoReflect.Descriptor instead.

func (*AddRoleRequest) GetRole

func (x *AddRoleRequest) GetRole() string

func (*AddRoleRequest) ProtoMessage

func (*AddRoleRequest) ProtoMessage()

func (*AddRoleRequest) ProtoReflect

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

func (*AddRoleRequest) Reset

func (x *AddRoleRequest) Reset()

func (*AddRoleRequest) String

func (x *AddRoleRequest) String() string

type AddRoleResponse

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

func (*AddRoleResponse) Descriptor deprecated

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

Deprecated: Use AddRoleResponse.ProtoReflect.Descriptor instead.

func (*AddRoleResponse) GetMessage

func (x *AddRoleResponse) GetMessage() string

func (*AddRoleResponse) ProtoMessage

func (*AddRoleResponse) ProtoMessage()

func (*AddRoleResponse) ProtoReflect

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

func (*AddRoleResponse) Reset

func (x *AddRoleResponse) Reset()

func (*AddRoleResponse) String

func (x *AddRoleResponse) String() string

type AddUserRoleRequest

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

func (*AddUserRoleRequest) Descriptor deprecated

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

Deprecated: Use AddUserRoleRequest.ProtoReflect.Descriptor instead.

func (*AddUserRoleRequest) GetRoleId

func (x *AddUserRoleRequest) GetRoleId() string

func (*AddUserRoleRequest) GetUserId

func (x *AddUserRoleRequest) GetUserId() string

func (*AddUserRoleRequest) ProtoMessage

func (*AddUserRoleRequest) ProtoMessage()

func (*AddUserRoleRequest) ProtoReflect

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

func (*AddUserRoleRequest) Reset

func (x *AddUserRoleRequest) Reset()

func (*AddUserRoleRequest) String

func (x *AddUserRoleRequest) String() string

type AddUserRoleResponse

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

func (*AddUserRoleResponse) Descriptor deprecated

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

Deprecated: Use AddUserRoleResponse.ProtoReflect.Descriptor instead.

func (*AddUserRoleResponse) GetMessage

func (x *AddUserRoleResponse) GetMessage() string

func (*AddUserRoleResponse) ProtoMessage

func (*AddUserRoleResponse) ProtoMessage()

func (*AddUserRoleResponse) ProtoReflect

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

func (*AddUserRoleResponse) Reset

func (x *AddUserRoleResponse) Reset()

func (*AddUserRoleResponse) String

func (x *AddUserRoleResponse) String() string

type AuthClient

type AuthClient interface {
	LogIn(ctx context.Context, in *LogInRequest, opts ...grpc.CallOption) (*LogInResponse, error)
	IsAccessTokenValid(ctx context.Context, in *IsAccessTokenValidRequest, opts ...grpc.CallOption) (*IsAccessTokenValidResponse, error)
	IsRefreshTokenValid(ctx context.Context, in *IsRefreshTokenValidRequest, opts ...grpc.CallOption) (*IsRefreshTokenValidResponse, error)
	RefreshToken(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RefreshTokenResponse, error)
	LogOut(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*LogOutResponse, error)
	GetRefreshTokenInformation(ctx context.Context, in *GetRefreshTokenInformationRequest, opts ...grpc.CallOption) (*GetRefreshTokenInformationResponse, error)
	GetRefreshTokensInformation(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetRefreshTokensInformationResponse, error)
	RevokeRefreshToken(ctx context.Context, in *RevokeRefreshTokenRequest, opts ...grpc.CallOption) (*RevokeRefreshTokenResponse, error)
	RevokeRefreshTokens(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RevokeRefreshTokensResponse, error)
	AddPermission(ctx context.Context, in *AddPermissionRequest, opts ...grpc.CallOption) (*AddPermissionResponse, error)
	RevokePermission(ctx context.Context, in *RevokePermissionRequest, opts ...grpc.CallOption) (*RevokePermissionResponse, error)
	GetPermission(ctx context.Context, in *GetPermissionRequest, opts ...grpc.CallOption) (*GetPermissionResponse, error)
	GetPermissions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetPermissionsResponse, error)
	AddRolePermission(ctx context.Context, in *AddRolePermissionRequest, opts ...grpc.CallOption) (*AddRolePermissionResponse, error)
	RevokeRolePermission(ctx context.Context, in *RevokeRolePermissionRequest, opts ...grpc.CallOption) (*RevokeRolePermissionResponse, error)
	GetRolePermissions(ctx context.Context, in *GetRolePermissionsRequest, opts ...grpc.CallOption) (*GetRolePermissionsResponse, error)
	AddRole(ctx context.Context, in *AddRoleRequest, opts ...grpc.CallOption) (*AddRoleResponse, error)
	RevokeRole(ctx context.Context, in *RevokeRoleRequest, opts ...grpc.CallOption) (*RevokeRoleResponse, error)
	GetRoles(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetRolesResponse, error)
	AddUserRole(ctx context.Context, in *AddUserRoleRequest, opts ...grpc.CallOption) (*AddUserRoleResponse, error)
	RevokeUserRole(ctx context.Context, in *RevokeUserRoleRequest, opts ...grpc.CallOption) (*RevokeUserRoleResponse, error)
	GetUserRoles(ctx context.Context, in *GetUserRolesRequest, opts ...grpc.CallOption) (*GetUserRolesResponse, error)
}

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

type AuthServer interface {
	LogIn(context.Context, *LogInRequest) (*LogInResponse, error)
	IsAccessTokenValid(context.Context, *IsAccessTokenValidRequest) (*IsAccessTokenValidResponse, error)
	IsRefreshTokenValid(context.Context, *IsRefreshTokenValidRequest) (*IsRefreshTokenValidResponse, error)
	RefreshToken(context.Context, *emptypb.Empty) (*RefreshTokenResponse, error)
	LogOut(context.Context, *emptypb.Empty) (*LogOutResponse, error)
	GetRefreshTokenInformation(context.Context, *GetRefreshTokenInformationRequest) (*GetRefreshTokenInformationResponse, error)
	GetRefreshTokensInformation(context.Context, *emptypb.Empty) (*GetRefreshTokensInformationResponse, error)
	RevokeRefreshToken(context.Context, *RevokeRefreshTokenRequest) (*RevokeRefreshTokenResponse, error)
	RevokeRefreshTokens(context.Context, *emptypb.Empty) (*RevokeRefreshTokensResponse, error)
	AddPermission(context.Context, *AddPermissionRequest) (*AddPermissionResponse, error)
	RevokePermission(context.Context, *RevokePermissionRequest) (*RevokePermissionResponse, error)
	GetPermission(context.Context, *GetPermissionRequest) (*GetPermissionResponse, error)
	GetPermissions(context.Context, *emptypb.Empty) (*GetPermissionsResponse, error)
	AddRolePermission(context.Context, *AddRolePermissionRequest) (*AddRolePermissionResponse, error)
	RevokeRolePermission(context.Context, *RevokeRolePermissionRequest) (*RevokeRolePermissionResponse, error)
	GetRolePermissions(context.Context, *GetRolePermissionsRequest) (*GetRolePermissionsResponse, error)
	AddRole(context.Context, *AddRoleRequest) (*AddRoleResponse, error)
	RevokeRole(context.Context, *RevokeRoleRequest) (*RevokeRoleResponse, error)
	GetRoles(context.Context, *emptypb.Empty) (*GetRolesResponse, error)
	AddUserRole(context.Context, *AddUserRoleRequest) (*AddUserRoleResponse, error)
	RevokeUserRole(context.Context, *RevokeUserRoleRequest) (*RevokeUserRoleResponse, error)
	GetUserRoles(context.Context, *GetUserRolesRequest) (*GetUserRolesResponse, error)
	// contains filtered or unexported methods
}

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

type GetPermissionRequest

type GetPermissionRequest struct {
	PermissionId string `protobuf:"bytes,1,opt,name=permission_id,json=permissionId,proto3" json:"permission_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPermissionRequest) Descriptor deprecated

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

Deprecated: Use GetPermissionRequest.ProtoReflect.Descriptor instead.

func (*GetPermissionRequest) GetPermissionId

func (x *GetPermissionRequest) GetPermissionId() string

func (*GetPermissionRequest) ProtoMessage

func (*GetPermissionRequest) ProtoMessage()

func (*GetPermissionRequest) ProtoReflect

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

func (*GetPermissionRequest) Reset

func (x *GetPermissionRequest) Reset()

func (*GetPermissionRequest) String

func (x *GetPermissionRequest) String() string

type GetPermissionResponse

type GetPermissionResponse struct {
	Message    string      `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Permission *Permission `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPermissionResponse) Descriptor deprecated

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

Deprecated: Use GetPermissionResponse.ProtoReflect.Descriptor instead.

func (*GetPermissionResponse) GetMessage

func (x *GetPermissionResponse) GetMessage() string

func (*GetPermissionResponse) GetPermission

func (x *GetPermissionResponse) GetPermission() *Permission

func (*GetPermissionResponse) ProtoMessage

func (*GetPermissionResponse) ProtoMessage()

func (*GetPermissionResponse) ProtoReflect

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

func (*GetPermissionResponse) Reset

func (x *GetPermissionResponse) Reset()

func (*GetPermissionResponse) String

func (x *GetPermissionResponse) String() string

type GetPermissionsResponse

type GetPermissionsResponse struct {
	Message    string        `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Permission []*Permission `protobuf:"bytes,2,rep,name=permission,proto3" json:"permission,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPermissionsResponse) Descriptor deprecated

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

Deprecated: Use GetPermissionsResponse.ProtoReflect.Descriptor instead.

func (*GetPermissionsResponse) GetMessage

func (x *GetPermissionsResponse) GetMessage() string

func (*GetPermissionsResponse) GetPermission

func (x *GetPermissionsResponse) GetPermission() []*Permission

func (*GetPermissionsResponse) ProtoMessage

func (*GetPermissionsResponse) ProtoMessage()

func (*GetPermissionsResponse) ProtoReflect

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

func (*GetPermissionsResponse) Reset

func (x *GetPermissionsResponse) Reset()

func (*GetPermissionsResponse) String

func (x *GetPermissionsResponse) String() string

type GetRefreshTokenInformationRequest

type GetRefreshTokenInformationRequest struct {
	JwtId string `protobuf:"bytes,1,opt,name=jwt_id,json=jwtId,proto3" json:"jwt_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRefreshTokenInformationRequest) Descriptor deprecated

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

Deprecated: Use GetRefreshTokenInformationRequest.ProtoReflect.Descriptor instead.

func (*GetRefreshTokenInformationRequest) GetJwtId

func (*GetRefreshTokenInformationRequest) ProtoMessage

func (*GetRefreshTokenInformationRequest) ProtoMessage()

func (*GetRefreshTokenInformationRequest) ProtoReflect

func (*GetRefreshTokenInformationRequest) Reset

func (*GetRefreshTokenInformationRequest) String

type GetRefreshTokenInformationResponse

type GetRefreshTokenInformationResponse struct {
	Message                 string                   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	RefreshTokenInformation *RefreshTokenInformation `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetRefreshTokenInformationResponse) Descriptor deprecated

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

Deprecated: Use GetRefreshTokenInformationResponse.ProtoReflect.Descriptor instead.

func (*GetRefreshTokenInformationResponse) GetMessage

func (*GetRefreshTokenInformationResponse) GetRefreshTokenInformation

func (x *GetRefreshTokenInformationResponse) GetRefreshTokenInformation() *RefreshTokenInformation

func (*GetRefreshTokenInformationResponse) ProtoMessage

func (*GetRefreshTokenInformationResponse) ProtoMessage()

func (*GetRefreshTokenInformationResponse) ProtoReflect

func (*GetRefreshTokenInformationResponse) Reset

func (*GetRefreshTokenInformationResponse) String

type GetRefreshTokensInformationResponse

type GetRefreshTokensInformationResponse struct {
	Message                  string                     `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	RefreshTokensInformation []*RefreshTokenInformation `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetRefreshTokensInformationResponse) Descriptor deprecated

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

Deprecated: Use GetRefreshTokensInformationResponse.ProtoReflect.Descriptor instead.

func (*GetRefreshTokensInformationResponse) GetMessage

func (*GetRefreshTokensInformationResponse) GetRefreshTokensInformation

func (x *GetRefreshTokensInformationResponse) GetRefreshTokensInformation() []*RefreshTokenInformation

func (*GetRefreshTokensInformationResponse) ProtoMessage

func (*GetRefreshTokensInformationResponse) ProtoMessage()

func (*GetRefreshTokensInformationResponse) ProtoReflect

func (*GetRefreshTokensInformationResponse) Reset

func (*GetRefreshTokensInformationResponse) String

type GetRolePermissionsRequest

type GetRolePermissionsRequest struct {
	RoleId string `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRolePermissionsRequest) Descriptor deprecated

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

Deprecated: Use GetRolePermissionsRequest.ProtoReflect.Descriptor instead.

func (*GetRolePermissionsRequest) GetRoleId

func (x *GetRolePermissionsRequest) GetRoleId() string

func (*GetRolePermissionsRequest) ProtoMessage

func (*GetRolePermissionsRequest) ProtoMessage()

func (*GetRolePermissionsRequest) ProtoReflect

func (*GetRolePermissionsRequest) Reset

func (x *GetRolePermissionsRequest) Reset()

func (*GetRolePermissionsRequest) String

func (x *GetRolePermissionsRequest) String() string

type GetRolePermissionsResponse

type GetRolePermissionsResponse struct {
	Message       string   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	PermissionsId []string `protobuf:"bytes,2,rep,name=permissions_id,json=permissionsId,proto3" json:"permissions_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRolePermissionsResponse) Descriptor deprecated

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

Deprecated: Use GetRolePermissionsResponse.ProtoReflect.Descriptor instead.

func (*GetRolePermissionsResponse) GetMessage

func (x *GetRolePermissionsResponse) GetMessage() string

func (*GetRolePermissionsResponse) GetPermissionsId

func (x *GetRolePermissionsResponse) GetPermissionsId() []string

func (*GetRolePermissionsResponse) ProtoMessage

func (*GetRolePermissionsResponse) ProtoMessage()

func (*GetRolePermissionsResponse) ProtoReflect

func (*GetRolePermissionsResponse) Reset

func (x *GetRolePermissionsResponse) Reset()

func (*GetRolePermissionsResponse) String

func (x *GetRolePermissionsResponse) String() string

type GetRolesResponse

type GetRolesResponse struct {
	Message string  `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Roles   []*Role `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRolesResponse) Descriptor deprecated

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

Deprecated: Use GetRolesResponse.ProtoReflect.Descriptor instead.

func (*GetRolesResponse) GetMessage

func (x *GetRolesResponse) GetMessage() string

func (*GetRolesResponse) GetRoles

func (x *GetRolesResponse) GetRoles() []*Role

func (*GetRolesResponse) ProtoMessage

func (*GetRolesResponse) ProtoMessage()

func (*GetRolesResponse) ProtoReflect

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

func (*GetRolesResponse) Reset

func (x *GetRolesResponse) Reset()

func (*GetRolesResponse) String

func (x *GetRolesResponse) String() string

type GetUserRolesRequest

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

func (*GetUserRolesRequest) Descriptor deprecated

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

Deprecated: Use GetUserRolesRequest.ProtoReflect.Descriptor instead.

func (*GetUserRolesRequest) GetUserId

func (x *GetUserRolesRequest) GetUserId() string

func (*GetUserRolesRequest) ProtoMessage

func (*GetUserRolesRequest) ProtoMessage()

func (*GetUserRolesRequest) ProtoReflect

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

func (*GetUserRolesRequest) Reset

func (x *GetUserRolesRequest) Reset()

func (*GetUserRolesRequest) String

func (x *GetUserRolesRequest) String() string

type GetUserRolesResponse

type GetUserRolesResponse struct {
	Message string   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	RolesId []string `protobuf:"bytes,2,rep,name=roles_id,json=rolesId,proto3" json:"roles_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserRolesResponse) Descriptor deprecated

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

Deprecated: Use GetUserRolesResponse.ProtoReflect.Descriptor instead.

func (*GetUserRolesResponse) GetMessage

func (x *GetUserRolesResponse) GetMessage() string

func (*GetUserRolesResponse) GetRolesId

func (x *GetUserRolesResponse) GetRolesId() []string

func (*GetUserRolesResponse) ProtoMessage

func (*GetUserRolesResponse) ProtoMessage()

func (*GetUserRolesResponse) ProtoReflect

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

func (*GetUserRolesResponse) Reset

func (x *GetUserRolesResponse) Reset()

func (*GetUserRolesResponse) String

func (x *GetUserRolesResponse) String() string

type IsAccessTokenValidRequest

type IsAccessTokenValidRequest struct {
	JwtId string `protobuf:"bytes,1,opt,name=jwt_id,json=jwtId,proto3" json:"jwt_id,omitempty"`
	// contains filtered or unexported fields
}

func (*IsAccessTokenValidRequest) Descriptor deprecated

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

Deprecated: Use IsAccessTokenValidRequest.ProtoReflect.Descriptor instead.

func (*IsAccessTokenValidRequest) GetJwtId

func (x *IsAccessTokenValidRequest) GetJwtId() string

func (*IsAccessTokenValidRequest) ProtoMessage

func (*IsAccessTokenValidRequest) ProtoMessage()

func (*IsAccessTokenValidRequest) ProtoReflect

func (*IsAccessTokenValidRequest) Reset

func (x *IsAccessTokenValidRequest) Reset()

func (*IsAccessTokenValidRequest) String

func (x *IsAccessTokenValidRequest) String() string

type IsAccessTokenValidResponse

type IsAccessTokenValidResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	IsValid bool   `protobuf:"varint,2,opt,name=is_valid,json=isValid,proto3" json:"is_valid,omitempty"`
	// contains filtered or unexported fields
}

func (*IsAccessTokenValidResponse) Descriptor deprecated

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

Deprecated: Use IsAccessTokenValidResponse.ProtoReflect.Descriptor instead.

func (*IsAccessTokenValidResponse) GetIsValid

func (x *IsAccessTokenValidResponse) GetIsValid() bool

func (*IsAccessTokenValidResponse) GetMessage

func (x *IsAccessTokenValidResponse) GetMessage() string

func (*IsAccessTokenValidResponse) ProtoMessage

func (*IsAccessTokenValidResponse) ProtoMessage()

func (*IsAccessTokenValidResponse) ProtoReflect

func (*IsAccessTokenValidResponse) Reset

func (x *IsAccessTokenValidResponse) Reset()

func (*IsAccessTokenValidResponse) String

func (x *IsAccessTokenValidResponse) String() string

type IsRefreshTokenValidRequest

type IsRefreshTokenValidRequest struct {
	JwtId string `protobuf:"bytes,1,opt,name=jwt_id,json=jwtId,proto3" json:"jwt_id,omitempty"`
	// contains filtered or unexported fields
}

func (*IsRefreshTokenValidRequest) Descriptor deprecated

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

Deprecated: Use IsRefreshTokenValidRequest.ProtoReflect.Descriptor instead.

func (*IsRefreshTokenValidRequest) GetJwtId

func (x *IsRefreshTokenValidRequest) GetJwtId() string

func (*IsRefreshTokenValidRequest) ProtoMessage

func (*IsRefreshTokenValidRequest) ProtoMessage()

func (*IsRefreshTokenValidRequest) ProtoReflect

func (*IsRefreshTokenValidRequest) Reset

func (x *IsRefreshTokenValidRequest) Reset()

func (*IsRefreshTokenValidRequest) String

func (x *IsRefreshTokenValidRequest) String() string

type IsRefreshTokenValidResponse

type IsRefreshTokenValidResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	IsValid bool   `protobuf:"varint,2,opt,name=is_valid,json=isValid,proto3" json:"is_valid,omitempty"`
	// contains filtered or unexported fields
}

func (*IsRefreshTokenValidResponse) Descriptor deprecated

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

Deprecated: Use IsRefreshTokenValidResponse.ProtoReflect.Descriptor instead.

func (*IsRefreshTokenValidResponse) GetIsValid

func (x *IsRefreshTokenValidResponse) GetIsValid() bool

func (*IsRefreshTokenValidResponse) GetMessage

func (x *IsRefreshTokenValidResponse) GetMessage() string

func (*IsRefreshTokenValidResponse) ProtoMessage

func (*IsRefreshTokenValidResponse) ProtoMessage()

func (*IsRefreshTokenValidResponse) ProtoReflect

func (*IsRefreshTokenValidResponse) Reset

func (x *IsRefreshTokenValidResponse) Reset()

func (*IsRefreshTokenValidResponse) String

func (x *IsRefreshTokenValidResponse) String() string

type LogInRequest

type LogInRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,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) GetPassword

func (x *LogInRequest) GetPassword() string

func (*LogInRequest) GetUsername

func (x *LogInRequest) GetUsername() 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 {
	Message      string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,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 (*LogInResponse) Descriptor deprecated

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

Deprecated: Use LogInResponse.ProtoReflect.Descriptor instead.

func (*LogInResponse) GetAccessToken

func (x *LogInResponse) GetAccessToken() string

func (*LogInResponse) GetMessage

func (x *LogInResponse) GetMessage() string

func (*LogInResponse) GetRefreshToken

func (x *LogInResponse) GetRefreshToken() string

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 LogOutResponse

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

func (*LogOutResponse) Descriptor deprecated

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

Deprecated: Use LogOutResponse.ProtoReflect.Descriptor instead.

func (*LogOutResponse) GetMessage

func (x *LogOutResponse) GetMessage() string

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 Permission

type Permission struct {
	PermissionId string `protobuf:"bytes,1,opt,name=permission_id,json=permissionId,proto3" json:"permission_id,omitempty"`
	Resource     string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	Action       string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"`
	Description  string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Permission) Descriptor deprecated

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

Deprecated: Use Permission.ProtoReflect.Descriptor instead.

func (*Permission) GetAction

func (x *Permission) GetAction() string

func (*Permission) GetDescription

func (x *Permission) GetDescription() string

func (*Permission) GetPermissionId

func (x *Permission) GetPermissionId() string

func (*Permission) GetResource

func (x *Permission) GetResource() string

func (*Permission) ProtoMessage

func (*Permission) ProtoMessage()

func (*Permission) ProtoReflect

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

func (*Permission) Reset

func (x *Permission) Reset()

func (*Permission) String

func (x *Permission) String() string

type RefreshTokenInformation

type RefreshTokenInformation struct {
	Id          string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Ipv4Address string                 `protobuf:"bytes,2,opt,name=ipv4_address,json=ipv4Address,proto3" json:"ipv4_address,omitempty"`
	IssuedAt    *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
	ExpiresAt   *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshTokenInformation) Descriptor deprecated

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

Deprecated: Use RefreshTokenInformation.ProtoReflect.Descriptor instead.

func (*RefreshTokenInformation) GetExpiresAt

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

func (*RefreshTokenInformation) GetId

func (x *RefreshTokenInformation) GetId() string

func (*RefreshTokenInformation) GetIpv4Address

func (x *RefreshTokenInformation) GetIpv4Address() string

func (*RefreshTokenInformation) GetIssuedAt

func (x *RefreshTokenInformation) GetIssuedAt() *timestamppb.Timestamp

func (*RefreshTokenInformation) ProtoMessage

func (*RefreshTokenInformation) ProtoMessage()

func (*RefreshTokenInformation) ProtoReflect

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

func (*RefreshTokenInformation) Reset

func (x *RefreshTokenInformation) Reset()

func (*RefreshTokenInformation) String

func (x *RefreshTokenInformation) String() string

type RefreshTokenResponse

type RefreshTokenResponse struct {
	Message      string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,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 (*RefreshTokenResponse) Descriptor deprecated

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

Deprecated: Use RefreshTokenResponse.ProtoReflect.Descriptor instead.

func (*RefreshTokenResponse) GetAccessToken

func (x *RefreshTokenResponse) GetAccessToken() string

func (*RefreshTokenResponse) GetMessage

func (x *RefreshTokenResponse) GetMessage() string

func (*RefreshTokenResponse) GetRefreshToken

func (x *RefreshTokenResponse) GetRefreshToken() 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 RevokePermissionRequest

type RevokePermissionRequest struct {
	PermissionId string `protobuf:"bytes,1,opt,name=permission_id,json=permissionId,proto3" json:"permission_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokePermissionRequest) Descriptor deprecated

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

Deprecated: Use RevokePermissionRequest.ProtoReflect.Descriptor instead.

func (*RevokePermissionRequest) GetPermissionId

func (x *RevokePermissionRequest) GetPermissionId() string

func (*RevokePermissionRequest) ProtoMessage

func (*RevokePermissionRequest) ProtoMessage()

func (*RevokePermissionRequest) ProtoReflect

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

func (*RevokePermissionRequest) Reset

func (x *RevokePermissionRequest) Reset()

func (*RevokePermissionRequest) String

func (x *RevokePermissionRequest) String() string

type RevokePermissionResponse

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

func (*RevokePermissionResponse) Descriptor deprecated

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

Deprecated: Use RevokePermissionResponse.ProtoReflect.Descriptor instead.

func (*RevokePermissionResponse) GetMessage

func (x *RevokePermissionResponse) GetMessage() string

func (*RevokePermissionResponse) ProtoMessage

func (*RevokePermissionResponse) ProtoMessage()

func (*RevokePermissionResponse) ProtoReflect

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

func (*RevokePermissionResponse) Reset

func (x *RevokePermissionResponse) Reset()

func (*RevokePermissionResponse) String

func (x *RevokePermissionResponse) String() string

type RevokeRefreshTokenRequest

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

func (*RevokeRefreshTokenRequest) Descriptor deprecated

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

Deprecated: Use RevokeRefreshTokenRequest.ProtoReflect.Descriptor instead.

func (*RevokeRefreshTokenRequest) GetJwtId

func (x *RevokeRefreshTokenRequest) GetJwtId() 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 RevokeRefreshTokenResponse

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

func (*RevokeRefreshTokenResponse) Descriptor deprecated

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

Deprecated: Use RevokeRefreshTokenResponse.ProtoReflect.Descriptor instead.

func (*RevokeRefreshTokenResponse) GetMessage

func (x *RevokeRefreshTokenResponse) GetMessage() string

func (*RevokeRefreshTokenResponse) ProtoMessage

func (*RevokeRefreshTokenResponse) ProtoMessage()

func (*RevokeRefreshTokenResponse) ProtoReflect

func (*RevokeRefreshTokenResponse) Reset

func (x *RevokeRefreshTokenResponse) Reset()

func (*RevokeRefreshTokenResponse) String

func (x *RevokeRefreshTokenResponse) String() string

type RevokeRefreshTokensResponse

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

func (*RevokeRefreshTokensResponse) Descriptor deprecated

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

Deprecated: Use RevokeRefreshTokensResponse.ProtoReflect.Descriptor instead.

func (*RevokeRefreshTokensResponse) GetMessage

func (x *RevokeRefreshTokensResponse) GetMessage() string

func (*RevokeRefreshTokensResponse) ProtoMessage

func (*RevokeRefreshTokensResponse) ProtoMessage()

func (*RevokeRefreshTokensResponse) ProtoReflect

func (*RevokeRefreshTokensResponse) Reset

func (x *RevokeRefreshTokensResponse) Reset()

func (*RevokeRefreshTokensResponse) String

func (x *RevokeRefreshTokensResponse) String() string

type RevokeRolePermissionRequest

type RevokeRolePermissionRequest struct {
	RoleId       string `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	PermissionId string `protobuf:"bytes,2,opt,name=permission_id,json=permissionId,proto3" json:"permission_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeRolePermissionRequest) Descriptor deprecated

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

Deprecated: Use RevokeRolePermissionRequest.ProtoReflect.Descriptor instead.

func (*RevokeRolePermissionRequest) GetPermissionId

func (x *RevokeRolePermissionRequest) GetPermissionId() string

func (*RevokeRolePermissionRequest) GetRoleId

func (x *RevokeRolePermissionRequest) GetRoleId() string

func (*RevokeRolePermissionRequest) ProtoMessage

func (*RevokeRolePermissionRequest) ProtoMessage()

func (*RevokeRolePermissionRequest) ProtoReflect

func (*RevokeRolePermissionRequest) Reset

func (x *RevokeRolePermissionRequest) Reset()

func (*RevokeRolePermissionRequest) String

func (x *RevokeRolePermissionRequest) String() string

type RevokeRolePermissionResponse

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

func (*RevokeRolePermissionResponse) Descriptor deprecated

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

Deprecated: Use RevokeRolePermissionResponse.ProtoReflect.Descriptor instead.

func (*RevokeRolePermissionResponse) GetMessage

func (x *RevokeRolePermissionResponse) GetMessage() string

func (*RevokeRolePermissionResponse) ProtoMessage

func (*RevokeRolePermissionResponse) ProtoMessage()

func (*RevokeRolePermissionResponse) ProtoReflect

func (*RevokeRolePermissionResponse) Reset

func (x *RevokeRolePermissionResponse) Reset()

func (*RevokeRolePermissionResponse) String

type RevokeRoleRequest

type RevokeRoleRequest struct {
	RoleId string `protobuf:"bytes,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeRoleRequest) Descriptor deprecated

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

Deprecated: Use RevokeRoleRequest.ProtoReflect.Descriptor instead.

func (*RevokeRoleRequest) GetRoleId

func (x *RevokeRoleRequest) GetRoleId() string

func (*RevokeRoleRequest) ProtoMessage

func (*RevokeRoleRequest) ProtoMessage()

func (*RevokeRoleRequest) ProtoReflect

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

func (*RevokeRoleRequest) Reset

func (x *RevokeRoleRequest) Reset()

func (*RevokeRoleRequest) String

func (x *RevokeRoleRequest) String() string

type RevokeRoleResponse

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

func (*RevokeRoleResponse) Descriptor deprecated

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

Deprecated: Use RevokeRoleResponse.ProtoReflect.Descriptor instead.

func (*RevokeRoleResponse) GetMessage

func (x *RevokeRoleResponse) GetMessage() string

func (*RevokeRoleResponse) ProtoMessage

func (*RevokeRoleResponse) ProtoMessage()

func (*RevokeRoleResponse) ProtoReflect

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

func (*RevokeRoleResponse) Reset

func (x *RevokeRoleResponse) Reset()

func (*RevokeRoleResponse) String

func (x *RevokeRoleResponse) String() string

type RevokeUserRoleRequest

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

func (*RevokeUserRoleRequest) Descriptor deprecated

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

Deprecated: Use RevokeUserRoleRequest.ProtoReflect.Descriptor instead.

func (*RevokeUserRoleRequest) GetRoleId

func (x *RevokeUserRoleRequest) GetRoleId() string

func (*RevokeUserRoleRequest) GetUserId

func (x *RevokeUserRoleRequest) GetUserId() string

func (*RevokeUserRoleRequest) ProtoMessage

func (*RevokeUserRoleRequest) ProtoMessage()

func (*RevokeUserRoleRequest) ProtoReflect

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

func (*RevokeUserRoleRequest) Reset

func (x *RevokeUserRoleRequest) Reset()

func (*RevokeUserRoleRequest) String

func (x *RevokeUserRoleRequest) String() string

type RevokeUserRoleResponse

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

func (*RevokeUserRoleResponse) Descriptor deprecated

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

Deprecated: Use RevokeUserRoleResponse.ProtoReflect.Descriptor instead.

func (*RevokeUserRoleResponse) GetMessage

func (x *RevokeUserRoleResponse) GetMessage() string

func (*RevokeUserRoleResponse) ProtoMessage

func (*RevokeUserRoleResponse) ProtoMessage()

func (*RevokeUserRoleResponse) ProtoReflect

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

func (*RevokeUserRoleResponse) Reset

func (x *RevokeUserRoleResponse) Reset()

func (*RevokeUserRoleResponse) String

func (x *RevokeUserRoleResponse) String() string

type Role

type Role 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"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Role) Descriptor deprecated

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

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetDescription

func (x *Role) GetDescription() string

func (*Role) GetName

func (x *Role) GetName() string

func (*Role) GetRoleId

func (x *Role) GetRoleId() string

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

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

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) 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) AddPermission

func (UnimplementedAuthServer) AddRole

func (UnimplementedAuthServer) AddUserRole

func (UnimplementedAuthServer) GetPermission

func (UnimplementedAuthServer) GetPermissions

func (UnimplementedAuthServer) GetRefreshTokensInformation

func (UnimplementedAuthServer) GetRoles

func (UnimplementedAuthServer) GetUserRoles

func (UnimplementedAuthServer) LogIn

func (UnimplementedAuthServer) LogOut

func (UnimplementedAuthServer) RefreshToken

func (UnimplementedAuthServer) RevokeRefreshTokens

func (UnimplementedAuthServer) RevokeRole

func (UnimplementedAuthServer) RevokeUserRole

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.

Jump to

Keyboard shortcuts

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