Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)
- type AddPermissionRequest
- func (*AddPermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddPermissionRequest) GetPermission() string
- func (*AddPermissionRequest) ProtoMessage()
- func (x *AddPermissionRequest) ProtoReflect() protoreflect.Message
- func (x *AddPermissionRequest) Reset()
- func (x *AddPermissionRequest) String() string
- type AddPermissionResponse
- func (*AddPermissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddPermissionResponse) GetMessage() string
- func (*AddPermissionResponse) ProtoMessage()
- func (x *AddPermissionResponse) ProtoReflect() protoreflect.Message
- func (x *AddPermissionResponse) Reset()
- func (x *AddPermissionResponse) String() string
- type AddRolePermissionRequest
- func (*AddRolePermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddRolePermissionRequest) GetPermissionId() string
- func (x *AddRolePermissionRequest) GetRoleId() string
- func (*AddRolePermissionRequest) ProtoMessage()
- func (x *AddRolePermissionRequest) ProtoReflect() protoreflect.Message
- func (x *AddRolePermissionRequest) Reset()
- func (x *AddRolePermissionRequest) String() string
- type AddRolePermissionResponse
- func (*AddRolePermissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddRolePermissionResponse) GetMessage() string
- func (*AddRolePermissionResponse) ProtoMessage()
- func (x *AddRolePermissionResponse) ProtoReflect() protoreflect.Message
- func (x *AddRolePermissionResponse) Reset()
- func (x *AddRolePermissionResponse) String() string
- type AddRoleRequest
- type AddRoleResponse
- type AddUserRoleRequest
- func (*AddUserRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddUserRoleRequest) GetRoleId() string
- func (x *AddUserRoleRequest) GetUserId() string
- func (*AddUserRoleRequest) ProtoMessage()
- func (x *AddUserRoleRequest) ProtoReflect() protoreflect.Message
- func (x *AddUserRoleRequest) Reset()
- func (x *AddUserRoleRequest) String() string
- type AddUserRoleResponse
- func (*AddUserRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddUserRoleResponse) GetMessage() string
- func (*AddUserRoleResponse) ProtoMessage()
- func (x *AddUserRoleResponse) ProtoReflect() protoreflect.Message
- func (x *AddUserRoleResponse) Reset()
- func (x *AddUserRoleResponse) String() string
- type AuthClient
- type AuthServer
- type GetPermissionRequest
- func (*GetPermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPermissionRequest) GetPermissionId() string
- func (*GetPermissionRequest) ProtoMessage()
- func (x *GetPermissionRequest) ProtoReflect() protoreflect.Message
- func (x *GetPermissionRequest) Reset()
- func (x *GetPermissionRequest) String() string
- type GetPermissionResponse
- func (*GetPermissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPermissionResponse) GetMessage() string
- func (x *GetPermissionResponse) GetPermission() *Permission
- func (*GetPermissionResponse) ProtoMessage()
- func (x *GetPermissionResponse) ProtoReflect() protoreflect.Message
- func (x *GetPermissionResponse) Reset()
- func (x *GetPermissionResponse) String() string
- type GetPermissionsResponse
- func (*GetPermissionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPermissionsResponse) GetMessage() string
- func (x *GetPermissionsResponse) GetPermission() []*Permission
- func (*GetPermissionsResponse) ProtoMessage()
- func (x *GetPermissionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetPermissionsResponse) Reset()
- func (x *GetPermissionsResponse) String() string
- type GetRefreshTokenInformationRequest
- func (*GetRefreshTokenInformationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRefreshTokenInformationRequest) GetJwtId() string
- func (*GetRefreshTokenInformationRequest) ProtoMessage()
- func (x *GetRefreshTokenInformationRequest) ProtoReflect() protoreflect.Message
- func (x *GetRefreshTokenInformationRequest) Reset()
- func (x *GetRefreshTokenInformationRequest) String() string
- type GetRefreshTokenInformationResponse
- func (*GetRefreshTokenInformationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRefreshTokenInformationResponse) GetMessage() string
- func (x *GetRefreshTokenInformationResponse) GetRefreshTokenInformation() *RefreshTokenInformation
- func (*GetRefreshTokenInformationResponse) ProtoMessage()
- func (x *GetRefreshTokenInformationResponse) ProtoReflect() protoreflect.Message
- func (x *GetRefreshTokenInformationResponse) Reset()
- func (x *GetRefreshTokenInformationResponse) String() string
- type GetRefreshTokensInformationResponse
- func (*GetRefreshTokensInformationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRefreshTokensInformationResponse) GetMessage() string
- func (x *GetRefreshTokensInformationResponse) GetRefreshTokensInformation() []*RefreshTokenInformation
- func (*GetRefreshTokensInformationResponse) ProtoMessage()
- func (x *GetRefreshTokensInformationResponse) ProtoReflect() protoreflect.Message
- func (x *GetRefreshTokensInformationResponse) Reset()
- func (x *GetRefreshTokensInformationResponse) String() string
- type GetRolePermissionsRequest
- func (*GetRolePermissionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRolePermissionsRequest) GetRoleId() string
- func (*GetRolePermissionsRequest) ProtoMessage()
- func (x *GetRolePermissionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetRolePermissionsRequest) Reset()
- func (x *GetRolePermissionsRequest) String() string
- type GetRolePermissionsResponse
- func (*GetRolePermissionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRolePermissionsResponse) GetMessage() string
- func (x *GetRolePermissionsResponse) GetPermissionsId() []string
- func (*GetRolePermissionsResponse) ProtoMessage()
- func (x *GetRolePermissionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetRolePermissionsResponse) Reset()
- func (x *GetRolePermissionsResponse) String() string
- type GetRolesResponse
- func (*GetRolesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRolesResponse) GetMessage() string
- func (x *GetRolesResponse) GetRoles() []*Role
- func (*GetRolesResponse) ProtoMessage()
- func (x *GetRolesResponse) ProtoReflect() protoreflect.Message
- func (x *GetRolesResponse) Reset()
- func (x *GetRolesResponse) String() string
- type GetUserRolesRequest
- func (*GetUserRolesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRolesRequest) GetUserId() string
- func (*GetUserRolesRequest) ProtoMessage()
- func (x *GetUserRolesRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserRolesRequest) Reset()
- func (x *GetUserRolesRequest) String() string
- type GetUserRolesResponse
- func (*GetUserRolesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRolesResponse) GetMessage() string
- func (x *GetUserRolesResponse) GetRolesId() []string
- func (*GetUserRolesResponse) ProtoMessage()
- func (x *GetUserRolesResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserRolesResponse) Reset()
- func (x *GetUserRolesResponse) String() string
- type IsAccessTokenValidRequest
- func (*IsAccessTokenValidRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsAccessTokenValidRequest) GetJwtId() string
- func (*IsAccessTokenValidRequest) ProtoMessage()
- func (x *IsAccessTokenValidRequest) ProtoReflect() protoreflect.Message
- func (x *IsAccessTokenValidRequest) Reset()
- func (x *IsAccessTokenValidRequest) String() string
- type IsAccessTokenValidResponse
- func (*IsAccessTokenValidResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsAccessTokenValidResponse) GetIsValid() bool
- func (x *IsAccessTokenValidResponse) GetMessage() string
- func (*IsAccessTokenValidResponse) ProtoMessage()
- func (x *IsAccessTokenValidResponse) ProtoReflect() protoreflect.Message
- func (x *IsAccessTokenValidResponse) Reset()
- func (x *IsAccessTokenValidResponse) String() string
- type IsRefreshTokenValidRequest
- func (*IsRefreshTokenValidRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsRefreshTokenValidRequest) GetJwtId() string
- func (*IsRefreshTokenValidRequest) ProtoMessage()
- func (x *IsRefreshTokenValidRequest) ProtoReflect() protoreflect.Message
- func (x *IsRefreshTokenValidRequest) Reset()
- func (x *IsRefreshTokenValidRequest) String() string
- type IsRefreshTokenValidResponse
- func (*IsRefreshTokenValidResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsRefreshTokenValidResponse) GetIsValid() bool
- func (x *IsRefreshTokenValidResponse) GetMessage() string
- func (*IsRefreshTokenValidResponse) ProtoMessage()
- func (x *IsRefreshTokenValidResponse) ProtoReflect() protoreflect.Message
- func (x *IsRefreshTokenValidResponse) Reset()
- func (x *IsRefreshTokenValidResponse) String() string
- type LogInRequest
- func (*LogInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LogInRequest) GetPassword() string
- func (x *LogInRequest) GetUsername() string
- func (*LogInRequest) ProtoMessage()
- func (x *LogInRequest) ProtoReflect() protoreflect.Message
- func (x *LogInRequest) Reset()
- func (x *LogInRequest) String() string
- type LogInResponse
- func (*LogInResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LogInResponse) GetAccessToken() string
- func (x *LogInResponse) GetMessage() string
- func (x *LogInResponse) GetRefreshToken() string
- func (*LogInResponse) ProtoMessage()
- func (x *LogInResponse) ProtoReflect() protoreflect.Message
- func (x *LogInResponse) Reset()
- func (x *LogInResponse) String() string
- type LogOutResponse
- type Permission
- func (*Permission) Descriptor() ([]byte, []int)deprecated
- func (x *Permission) GetAction() string
- func (x *Permission) GetDescription() string
- func (x *Permission) GetPermissionId() string
- func (x *Permission) GetResource() string
- func (*Permission) ProtoMessage()
- func (x *Permission) ProtoReflect() protoreflect.Message
- func (x *Permission) Reset()
- func (x *Permission) String() string
- type RefreshTokenInformation
- func (*RefreshTokenInformation) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenInformation) GetExpiresAt() *timestamppb.Timestamp
- func (x *RefreshTokenInformation) GetId() string
- func (x *RefreshTokenInformation) GetIpv4Address() string
- func (x *RefreshTokenInformation) GetIssuedAt() *timestamppb.Timestamp
- func (*RefreshTokenInformation) ProtoMessage()
- func (x *RefreshTokenInformation) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenInformation) Reset()
- func (x *RefreshTokenInformation) String() string
- type RefreshTokenResponse
- func (*RefreshTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenResponse) GetAccessToken() string
- func (x *RefreshTokenResponse) GetMessage() string
- func (x *RefreshTokenResponse) GetRefreshToken() string
- func (*RefreshTokenResponse) ProtoMessage()
- func (x *RefreshTokenResponse) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenResponse) Reset()
- func (x *RefreshTokenResponse) String() string
- type RevokePermissionRequest
- func (*RevokePermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokePermissionRequest) GetPermissionId() string
- func (*RevokePermissionRequest) ProtoMessage()
- func (x *RevokePermissionRequest) ProtoReflect() protoreflect.Message
- func (x *RevokePermissionRequest) Reset()
- func (x *RevokePermissionRequest) String() string
- type RevokePermissionResponse
- func (*RevokePermissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevokePermissionResponse) GetMessage() string
- func (*RevokePermissionResponse) ProtoMessage()
- func (x *RevokePermissionResponse) ProtoReflect() protoreflect.Message
- func (x *RevokePermissionResponse) Reset()
- func (x *RevokePermissionResponse) String() string
- type RevokeRefreshTokenRequest
- func (*RevokeRefreshTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeRefreshTokenRequest) GetJwtId() string
- func (*RevokeRefreshTokenRequest) ProtoMessage()
- func (x *RevokeRefreshTokenRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeRefreshTokenRequest) Reset()
- func (x *RevokeRefreshTokenRequest) String() string
- type RevokeRefreshTokenResponse
- func (*RevokeRefreshTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeRefreshTokenResponse) GetMessage() string
- func (*RevokeRefreshTokenResponse) ProtoMessage()
- func (x *RevokeRefreshTokenResponse) ProtoReflect() protoreflect.Message
- func (x *RevokeRefreshTokenResponse) Reset()
- func (x *RevokeRefreshTokenResponse) String() string
- type RevokeRefreshTokensResponse
- func (*RevokeRefreshTokensResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeRefreshTokensResponse) GetMessage() string
- func (*RevokeRefreshTokensResponse) ProtoMessage()
- func (x *RevokeRefreshTokensResponse) ProtoReflect() protoreflect.Message
- func (x *RevokeRefreshTokensResponse) Reset()
- func (x *RevokeRefreshTokensResponse) String() string
- type RevokeRolePermissionRequest
- func (*RevokeRolePermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeRolePermissionRequest) GetPermissionId() string
- func (x *RevokeRolePermissionRequest) GetRoleId() string
- func (*RevokeRolePermissionRequest) ProtoMessage()
- func (x *RevokeRolePermissionRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeRolePermissionRequest) Reset()
- func (x *RevokeRolePermissionRequest) String() string
- type RevokeRolePermissionResponse
- func (*RevokeRolePermissionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeRolePermissionResponse) GetMessage() string
- func (*RevokeRolePermissionResponse) ProtoMessage()
- func (x *RevokeRolePermissionResponse) ProtoReflect() protoreflect.Message
- func (x *RevokeRolePermissionResponse) Reset()
- func (x *RevokeRolePermissionResponse) String() string
- type RevokeRoleRequest
- type RevokeRoleResponse
- func (*RevokeRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeRoleResponse) GetMessage() string
- func (*RevokeRoleResponse) ProtoMessage()
- func (x *RevokeRoleResponse) ProtoReflect() protoreflect.Message
- func (x *RevokeRoleResponse) Reset()
- func (x *RevokeRoleResponse) String() string
- type RevokeUserRoleRequest
- func (*RevokeUserRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeUserRoleRequest) GetRoleId() string
- func (x *RevokeUserRoleRequest) GetUserId() string
- func (*RevokeUserRoleRequest) ProtoMessage()
- func (x *RevokeUserRoleRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeUserRoleRequest) Reset()
- func (x *RevokeUserRoleRequest) String() string
- type RevokeUserRoleResponse
- func (*RevokeUserRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeUserRoleResponse) GetMessage() string
- func (*RevokeUserRoleResponse) ProtoMessage()
- func (x *RevokeUserRoleResponse) ProtoReflect() protoreflect.Message
- func (x *RevokeUserRoleResponse) Reset()
- func (x *RevokeUserRoleResponse) String() string
- type Role
- type UnimplementedAuthServer
- func (UnimplementedAuthServer) AddPermission(context.Context, *AddPermissionRequest) (*AddPermissionResponse, error)
- func (UnimplementedAuthServer) AddRole(context.Context, *AddRoleRequest) (*AddRoleResponse, error)
- func (UnimplementedAuthServer) AddRolePermission(context.Context, *AddRolePermissionRequest) (*AddRolePermissionResponse, error)
- func (UnimplementedAuthServer) AddUserRole(context.Context, *AddUserRoleRequest) (*AddUserRoleResponse, error)
- func (UnimplementedAuthServer) GetPermission(context.Context, *GetPermissionRequest) (*GetPermissionResponse, error)
- func (UnimplementedAuthServer) GetPermissions(context.Context, *emptypb.Empty) (*GetPermissionsResponse, error)
- func (UnimplementedAuthServer) GetRefreshTokenInformation(context.Context, *GetRefreshTokenInformationRequest) (*GetRefreshTokenInformationResponse, error)
- func (UnimplementedAuthServer) GetRefreshTokensInformation(context.Context, *emptypb.Empty) (*GetRefreshTokensInformationResponse, error)
- func (UnimplementedAuthServer) GetRolePermissions(context.Context, *GetRolePermissionsRequest) (*GetRolePermissionsResponse, error)
- func (UnimplementedAuthServer) GetRoles(context.Context, *emptypb.Empty) (*GetRolesResponse, error)
- func (UnimplementedAuthServer) GetUserRoles(context.Context, *GetUserRolesRequest) (*GetUserRolesResponse, error)
- func (UnimplementedAuthServer) IsAccessTokenValid(context.Context, *IsAccessTokenValidRequest) (*IsAccessTokenValidResponse, error)
- func (UnimplementedAuthServer) IsRefreshTokenValid(context.Context, *IsRefreshTokenValidRequest) (*IsRefreshTokenValidResponse, error)
- func (UnimplementedAuthServer) LogIn(context.Context, *LogInRequest) (*LogInResponse, error)
- func (UnimplementedAuthServer) LogOut(context.Context, *emptypb.Empty) (*LogOutResponse, error)
- func (UnimplementedAuthServer) RefreshToken(context.Context, *emptypb.Empty) (*RefreshTokenResponse, error)
- func (UnimplementedAuthServer) RevokePermission(context.Context, *RevokePermissionRequest) (*RevokePermissionResponse, error)
- func (UnimplementedAuthServer) RevokeRefreshToken(context.Context, *RevokeRefreshTokenRequest) (*RevokeRefreshTokenResponse, error)
- func (UnimplementedAuthServer) RevokeRefreshTokens(context.Context, *emptypb.Empty) (*RevokeRefreshTokensResponse, error)
- func (UnimplementedAuthServer) RevokeRole(context.Context, *RevokeRoleRequest) (*RevokeRoleResponse, error)
- func (UnimplementedAuthServer) RevokeRolePermission(context.Context, *RevokeRolePermissionRequest) (*RevokeRolePermissionResponse, error)
- func (UnimplementedAuthServer) RevokeUserRole(context.Context, *RevokeUserRoleRequest) (*RevokeUserRoleResponse, error)
- type UnsafeAuthServer
Constants ¶
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 ¶
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)
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 (x *AddRolePermissionResponse) ProtoReflect() protoreflect.Message
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 (x *GetRefreshTokenInformationRequest) GetJwtId() string
func (*GetRefreshTokenInformationRequest) ProtoMessage ¶
func (*GetRefreshTokenInformationRequest) ProtoMessage()
func (*GetRefreshTokenInformationRequest) ProtoReflect ¶
func (x *GetRefreshTokenInformationRequest) ProtoReflect() protoreflect.Message
func (*GetRefreshTokenInformationRequest) Reset ¶
func (x *GetRefreshTokenInformationRequest) Reset()
func (*GetRefreshTokenInformationRequest) String ¶
func (x *GetRefreshTokenInformationRequest) String() 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 (x *GetRefreshTokenInformationResponse) GetMessage() string
func (*GetRefreshTokenInformationResponse) GetRefreshTokenInformation ¶
func (x *GetRefreshTokenInformationResponse) GetRefreshTokenInformation() *RefreshTokenInformation
func (*GetRefreshTokenInformationResponse) ProtoMessage ¶
func (*GetRefreshTokenInformationResponse) ProtoMessage()
func (*GetRefreshTokenInformationResponse) ProtoReflect ¶
func (x *GetRefreshTokenInformationResponse) ProtoReflect() protoreflect.Message
func (*GetRefreshTokenInformationResponse) Reset ¶
func (x *GetRefreshTokenInformationResponse) Reset()
func (*GetRefreshTokenInformationResponse) String ¶
func (x *GetRefreshTokenInformationResponse) String() 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 (x *GetRefreshTokensInformationResponse) GetMessage() string
func (*GetRefreshTokensInformationResponse) GetRefreshTokensInformation ¶
func (x *GetRefreshTokensInformationResponse) GetRefreshTokensInformation() []*RefreshTokenInformation
func (*GetRefreshTokensInformationResponse) ProtoMessage ¶
func (*GetRefreshTokensInformationResponse) ProtoMessage()
func (*GetRefreshTokensInformationResponse) ProtoReflect ¶
func (x *GetRefreshTokensInformationResponse) ProtoReflect() protoreflect.Message
func (*GetRefreshTokensInformationResponse) Reset ¶
func (x *GetRefreshTokensInformationResponse) Reset()
func (*GetRefreshTokensInformationResponse) String ¶
func (x *GetRefreshTokensInformationResponse) String() 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 (x *GetRolePermissionsRequest) ProtoReflect() protoreflect.Message
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 (x *GetRolePermissionsResponse) ProtoReflect() protoreflect.Message
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 (x *IsAccessTokenValidRequest) ProtoReflect() protoreflect.Message
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 (x *IsAccessTokenValidResponse) ProtoReflect() protoreflect.Message
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 (x *IsRefreshTokenValidRequest) ProtoReflect() protoreflect.Message
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 (x *IsRefreshTokenValidResponse) ProtoReflect() protoreflect.Message
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 (x *RevokeRefreshTokenRequest) ProtoReflect() protoreflect.Message
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 (x *RevokeRefreshTokenResponse) ProtoReflect() protoreflect.Message
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 (x *RevokeRefreshTokensResponse) ProtoReflect() protoreflect.Message
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 (x *RevokeRolePermissionRequest) ProtoReflect() protoreflect.Message
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 (x *RevokeRolePermissionResponse) ProtoReflect() protoreflect.Message
func (*RevokeRolePermissionResponse) Reset ¶
func (x *RevokeRolePermissionResponse) Reset()
func (*RevokeRolePermissionResponse) String ¶
func (x *RevokeRolePermissionResponse) String() 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) GetDescription ¶
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶
func (x *Role) ProtoReflect() protoreflect.Message
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) AddPermission(context.Context, *AddPermissionRequest) (*AddPermissionResponse, error)
func (UnimplementedAuthServer) AddRole ¶
func (UnimplementedAuthServer) AddRole(context.Context, *AddRoleRequest) (*AddRoleResponse, error)
func (UnimplementedAuthServer) AddRolePermission ¶
func (UnimplementedAuthServer) AddRolePermission(context.Context, *AddRolePermissionRequest) (*AddRolePermissionResponse, error)
func (UnimplementedAuthServer) AddUserRole ¶
func (UnimplementedAuthServer) AddUserRole(context.Context, *AddUserRoleRequest) (*AddUserRoleResponse, error)
func (UnimplementedAuthServer) GetPermission ¶
func (UnimplementedAuthServer) GetPermission(context.Context, *GetPermissionRequest) (*GetPermissionResponse, error)
func (UnimplementedAuthServer) GetPermissions ¶
func (UnimplementedAuthServer) GetPermissions(context.Context, *emptypb.Empty) (*GetPermissionsResponse, error)
func (UnimplementedAuthServer) GetRefreshTokenInformation ¶
func (UnimplementedAuthServer) GetRefreshTokenInformation(context.Context, *GetRefreshTokenInformationRequest) (*GetRefreshTokenInformationResponse, error)
func (UnimplementedAuthServer) GetRefreshTokensInformation ¶
func (UnimplementedAuthServer) GetRefreshTokensInformation(context.Context, *emptypb.Empty) (*GetRefreshTokensInformationResponse, error)
func (UnimplementedAuthServer) GetRolePermissions ¶
func (UnimplementedAuthServer) GetRolePermissions(context.Context, *GetRolePermissionsRequest) (*GetRolePermissionsResponse, error)
func (UnimplementedAuthServer) GetRoles ¶
func (UnimplementedAuthServer) GetRoles(context.Context, *emptypb.Empty) (*GetRolesResponse, error)
func (UnimplementedAuthServer) GetUserRoles ¶
func (UnimplementedAuthServer) GetUserRoles(context.Context, *GetUserRolesRequest) (*GetUserRolesResponse, error)
func (UnimplementedAuthServer) IsAccessTokenValid ¶
func (UnimplementedAuthServer) IsAccessTokenValid(context.Context, *IsAccessTokenValidRequest) (*IsAccessTokenValidResponse, error)
func (UnimplementedAuthServer) IsRefreshTokenValid ¶
func (UnimplementedAuthServer) IsRefreshTokenValid(context.Context, *IsRefreshTokenValidRequest) (*IsRefreshTokenValidResponse, error)
func (UnimplementedAuthServer) LogIn ¶
func (UnimplementedAuthServer) LogIn(context.Context, *LogInRequest) (*LogInResponse, error)
func (UnimplementedAuthServer) LogOut ¶
func (UnimplementedAuthServer) LogOut(context.Context, *emptypb.Empty) (*LogOutResponse, error)
func (UnimplementedAuthServer) RefreshToken ¶
func (UnimplementedAuthServer) RefreshToken(context.Context, *emptypb.Empty) (*RefreshTokenResponse, error)
func (UnimplementedAuthServer) RevokePermission ¶
func (UnimplementedAuthServer) RevokePermission(context.Context, *RevokePermissionRequest) (*RevokePermissionResponse, error)
func (UnimplementedAuthServer) RevokeRefreshToken ¶
func (UnimplementedAuthServer) RevokeRefreshToken(context.Context, *RevokeRefreshTokenRequest) (*RevokeRefreshTokenResponse, error)
func (UnimplementedAuthServer) RevokeRefreshTokens ¶
func (UnimplementedAuthServer) RevokeRefreshTokens(context.Context, *emptypb.Empty) (*RevokeRefreshTokensResponse, error)
func (UnimplementedAuthServer) RevokeRole ¶
func (UnimplementedAuthServer) RevokeRole(context.Context, *RevokeRoleRequest) (*RevokeRoleResponse, error)
func (UnimplementedAuthServer) RevokeRolePermission ¶
func (UnimplementedAuthServer) RevokeRolePermission(context.Context, *RevokeRolePermissionRequest) (*RevokeRolePermissionResponse, error)
func (UnimplementedAuthServer) RevokeUserRole ¶
func (UnimplementedAuthServer) RevokeUserRole(context.Context, *RevokeUserRoleRequest) (*RevokeUserRoleResponse, error)
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.