Documentation
¶
Index ¶
- Variables
- func RegisterClientServiceServer(s grpc.ServiceRegistrar, srv ClientServiceServer)
- func RegisterGroupServiceServer(s grpc.ServiceRegistrar, srv GroupServiceServer)
- func RegisterRoleServiceServer(s grpc.ServiceRegistrar, srv RoleServiceServer)
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- type AccessTokenResponse
- func (*AccessTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AccessTokenResponse) GetAccessToken() string
- func (x *AccessTokenResponse) GetExpiresIn() int32
- func (x *AccessTokenResponse) GetIdToken() string
- func (x *AccessTokenResponse) GetNotBeforePolicy() int32
- func (x *AccessTokenResponse) GetRefreshExpiresIn() int32
- func (x *AccessTokenResponse) GetRefreshToken() string
- func (x *AccessTokenResponse) GetScope() string
- func (x *AccessTokenResponse) GetSessionState() string
- func (x *AccessTokenResponse) GetTokenType() string
- func (*AccessTokenResponse) ProtoMessage()
- func (x *AccessTokenResponse) ProtoReflect() protoreflect.Message
- func (x *AccessTokenResponse) Reset()
- func (x *AccessTokenResponse) String() string
- type AuthenticateRequest
- func (*AuthenticateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateRequest) GetClientId() *wrappers.StringValue
- func (x *AuthenticateRequest) GetClientSecret() *wrappers.StringValue
- func (x *AuthenticateRequest) GetPassword() string
- func (x *AuthenticateRequest) GetUsername() string
- func (*AuthenticateRequest) ProtoMessage()
- func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateRequest) Reset()
- func (x *AuthenticateRequest) String() string
- type ClientResponse
- func (*ClientResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClientResponse) GetAttributes() map[string]string
- func (x *ClientResponse) GetClientId() string
- func (x *ClientResponse) GetEnabled() bool
- func (x *ClientResponse) GetId() string
- func (x *ClientResponse) GetName() string
- func (x *ClientResponse) GetRootUrl() string
- func (x *ClientResponse) GetWebUrl() string
- func (*ClientResponse) ProtoMessage()
- func (x *ClientResponse) ProtoReflect() protoreflect.Message
- func (x *ClientResponse) Reset()
- func (x *ClientResponse) String() string
- type ClientServiceClient
- type ClientServiceServer
- type ClientsResponse
- type GroupRequest
- func (*GroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GroupRequest) GetId() *wrappers.StringValue
- func (x *GroupRequest) GetName() *wrappers.StringValue
- func (*GroupRequest) ProtoMessage()
- func (x *GroupRequest) ProtoReflect() protoreflect.Message
- func (x *GroupRequest) Reset()
- func (x *GroupRequest) String() string
- type GroupResponse
- func (*GroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GroupResponse) GetId() string
- func (x *GroupResponse) GetName() string
- func (*GroupResponse) ProtoMessage()
- func (x *GroupResponse) ProtoReflect() protoreflect.Message
- func (x *GroupResponse) Reset()
- func (x *GroupResponse) String() string
- type GroupServiceClient
- type GroupServiceServer
- type GroupsResponse
- type PasswordRequest
- func (*PasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordRequest) GetPassword() string
- func (x *PasswordRequest) GetTemporary() bool
- func (x *PasswordRequest) GetUserId() string
- func (*PasswordRequest) ProtoMessage()
- func (x *PasswordRequest) ProtoReflect() protoreflect.Message
- func (x *PasswordRequest) Reset()
- func (x *PasswordRequest) String() string
- type RoleGroupRequest
- func (*RoleGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RoleGroupRequest) GetGroupId() string
- func (x *RoleGroupRequest) GetRole() *RoleRequest
- func (*RoleGroupRequest) ProtoMessage()
- func (x *RoleGroupRequest) ProtoReflect() protoreflect.Message
- func (x *RoleGroupRequest) Reset()
- func (x *RoleGroupRequest) String() string
- type RoleRequest
- func (*RoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RoleRequest) GetId() *wrappers.StringValue
- func (x *RoleRequest) GetName() *wrappers.StringValue
- func (*RoleRequest) ProtoMessage()
- func (x *RoleRequest) ProtoReflect() protoreflect.Message
- func (x *RoleRequest) Reset()
- func (x *RoleRequest) String() string
- type RoleResponse
- func (*RoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RoleResponse) GetId() string
- func (x *RoleResponse) GetName() string
- func (*RoleResponse) ProtoMessage()
- func (x *RoleResponse) ProtoReflect() protoreflect.Message
- func (x *RoleResponse) Reset()
- func (x *RoleResponse) String() string
- type RoleServiceClient
- type RoleServiceServer
- type RolesResponse
- type StringsRequest
- type UnimplementedClientServiceServer
- func (UnimplementedClientServiceServer) GetClientByClientId(context.Context, *wrappers.StringValue) (*ClientResponse, error)
- func (UnimplementedClientServiceServer) GetClientById(context.Context, *wrappers.StringValue) (*ClientResponse, error)
- func (UnimplementedClientServiceServer) GetClients(context.Context, *empty.Empty) (*ClientsResponse, error)
- func (UnimplementedClientServiceServer) GetClientsByClientIds(context.Context, *StringsRequest) (*ClientsResponse, error)
- func (UnimplementedClientServiceServer) GetClientsByIds(context.Context, *StringsRequest) (*ClientsResponse, error)
- type UnimplementedGroupServiceServer
- func (UnimplementedGroupServiceServer) AddRoleToGroup(context.Context, *RoleGroupRequest) (*empty.Empty, error)
- func (UnimplementedGroupServiceServer) CreateGroup(context.Context, *GroupRequest) (*GroupResponse, error)
- func (UnimplementedGroupServiceServer) DeleteGroup(context.Context, *wrappers.StringValue) (*empty.Empty, error)
- func (UnimplementedGroupServiceServer) GetGroupById(context.Context, *wrappers.StringValue) (*GroupResponse, error)
- func (UnimplementedGroupServiceServer) GetGroupMembers(context.Context, *wrappers.StringValue) (*UsersResponse, error)
- func (UnimplementedGroupServiceServer) GetGroupsInRealm(context.Context, *wrappers.StringValue) (*GroupsResponse, error)
- type UnimplementedRoleServiceServer
- func (UnimplementedRoleServiceServer) AssignRoleToUser(context.Context, *UserRoleRequest) (*empty.Empty, error)
- func (UnimplementedRoleServiceServer) CreateRole(context.Context, *RoleRequest) (*empty.Empty, error)
- func (UnimplementedRoleServiceServer) GetAvailableRoles(context.Context, *wrappers.StringValue) (*RolesResponse, error)
- func (UnimplementedRoleServiceServer) GetUserRoles(context.Context, *wrappers.StringValue) (*RolesResponse, error)
- func (UnimplementedRoleServiceServer) RemoveRoleFromUser(context.Context, *UserRoleRequest) (*empty.Empty, error)
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) AddUserToGroup(context.Context, *UserGroupRequest) (*empty.Empty, error)
- func (UnimplementedUserServiceServer) Authenticate(context.Context, *AuthenticateRequest) (*AccessTokenResponse, error)
- func (UnimplementedUserServiceServer) CreateUser(context.Context, *UserRequest) (*empty.Empty, error)
- func (UnimplementedUserServiceServer) DeleteUser(context.Context, *wrappers.StringValue) (*empty.Empty, error)
- func (UnimplementedUserServiceServer) GetAllUsers(context.Context, *empty.Empty) (*UsersResponse, error)
- func (UnimplementedUserServiceServer) GetUserById(context.Context, *wrappers.StringValue) (*UserResponse, error)
- func (UnimplementedUserServiceServer) GetUserByUsername(context.Context, *wrappers.StringValue) (*UserResponse, error)
- func (UnimplementedUserServiceServer) GetUsersByIds(context.Context, *StringsRequest) (*UsersResponse, error)
- func (UnimplementedUserServiceServer) GetUsersByUsernames(context.Context, *StringsRequest) (*UsersResponse, error)
- func (UnimplementedUserServiceServer) RemoveUserFromGroup(context.Context, *UserGroupRequest) (*empty.Empty, error)
- func (UnimplementedUserServiceServer) SetUserPassword(context.Context, *PasswordRequest) (*wrappers.BoolValue, error)
- func (UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*empty.Empty, error)
- type UnsafeClientServiceServer
- type UnsafeGroupServiceServer
- type UnsafeRoleServiceServer
- type UnsafeUserServiceServer
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetAttributes() map[string]string
- func (x *UpdateUserRequest) GetEmail() *wrappers.StringValue
- func (x *UpdateUserRequest) GetEmailVerified() bool
- func (x *UpdateUserRequest) GetEnabled() bool
- func (x *UpdateUserRequest) GetFirstName() *wrappers.StringValue
- func (x *UpdateUserRequest) GetLastName() *wrappers.StringValue
- func (x *UpdateUserRequest) GetPhoneNumber() *wrappers.StringValue
- func (x *UpdateUserRequest) GetPid() string
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- type UserGroupRequest
- func (*UserGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserGroupRequest) GetGroupId() string
- func (x *UserGroupRequest) GetUserId() string
- func (*UserGroupRequest) ProtoMessage()
- func (x *UserGroupRequest) ProtoReflect() protoreflect.Message
- func (x *UserGroupRequest) Reset()
- func (x *UserGroupRequest) String() string
- type UserRequest
- func (*UserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserRequest) GetAttributes() map[string]string
- func (x *UserRequest) GetEmail() *wrappers.StringValue
- func (x *UserRequest) GetEmailVerified() bool
- func (x *UserRequest) GetEnabled() bool
- func (x *UserRequest) GetFirstName() *wrappers.StringValue
- func (x *UserRequest) GetLastName() *wrappers.StringValue
- func (x *UserRequest) GetPassword() string
- func (x *UserRequest) GetPasswordTemporary() bool
- func (x *UserRequest) GetPhoneNumber() *wrappers.StringValue
- func (x *UserRequest) GetUsername() string
- func (*UserRequest) ProtoMessage()
- func (x *UserRequest) ProtoReflect() protoreflect.Message
- func (x *UserRequest) Reset()
- func (x *UserRequest) String() string
- type UserResponse
- func (*UserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserResponse) GetAttributes() map[string]string
- func (x *UserResponse) GetEmail() string
- func (x *UserResponse) GetFamilyName() *wrappers.StringValue
- func (x *UserResponse) GetGivenName() *wrappers.StringValue
- func (x *UserResponse) GetPhoneNumber() *wrappers.StringValue
- func (x *UserResponse) GetRoles() []string
- func (x *UserResponse) GetSub() string
- func (x *UserResponse) GetUsername() string
- func (*UserResponse) ProtoMessage()
- func (x *UserResponse) ProtoReflect() protoreflect.Message
- func (x *UserResponse) Reset()
- func (x *UserResponse) String() string
- type UserRoleRequest
- func (*UserRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserRoleRequest) GetRole() *RoleRequest
- func (x *UserRoleRequest) GetUserId() string
- func (*UserRoleRequest) ProtoMessage()
- func (x *UserRoleRequest) ProtoReflect() protoreflect.Message
- func (x *UserRoleRequest) Reset()
- func (x *UserRoleRequest) String() string
- type UserServiceClient
- type UserServiceServer
- type UsersResponse
Constants ¶
This section is empty.
Variables ¶
var ClientService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "keycloak.ClientService", HandlerType: (*ClientServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetClients", Handler: _ClientService_GetClients_Handler, }, { MethodName: "GetClientByClientId", Handler: _ClientService_GetClientByClientId_Handler, }, { MethodName: "GetClientById", Handler: _ClientService_GetClientById_Handler, }, { MethodName: "GetClientsByIds", Handler: _ClientService_GetClientsByIds_Handler, }, { MethodName: "GetClientsByClientIds", Handler: _ClientService_GetClientsByClientIds_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "keycloak/keycloak.proto", }
ClientService_ServiceDesc is the grpc.ServiceDesc for ClientService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_keycloak_keycloak_proto protoreflect.FileDescriptor
var GroupService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "keycloak.GroupService", HandlerType: (*GroupServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateGroup", Handler: _GroupService_CreateGroup_Handler, }, { MethodName: "GetGroupsInRealm", Handler: _GroupService_GetGroupsInRealm_Handler, }, { MethodName: "GetGroupById", Handler: _GroupService_GetGroupById_Handler, }, { MethodName: "DeleteGroup", Handler: _GroupService_DeleteGroup_Handler, }, { MethodName: "GetGroupMembers", Handler: _GroupService_GetGroupMembers_Handler, }, { MethodName: "AddRoleToGroup", Handler: _GroupService_AddRoleToGroup_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "keycloak/keycloak.proto", }
GroupService_ServiceDesc is the grpc.ServiceDesc for GroupService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RoleService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "keycloak.RoleService", HandlerType: (*RoleServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AssignRoleToUser", Handler: _RoleService_AssignRoleToUser_Handler, }, { MethodName: "GetUserRoles", Handler: _RoleService_GetUserRoles_Handler, }, { MethodName: "GetAvailableRoles", Handler: _RoleService_GetAvailableRoles_Handler, }, { MethodName: "RemoveRoleFromUser", Handler: _RoleService_RemoveRoleFromUser_Handler, }, { MethodName: "CreateRole", Handler: _RoleService_CreateRole_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "keycloak/keycloak.proto", }
RoleService_ServiceDesc is the grpc.ServiceDesc for RoleService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "keycloak.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateUser", Handler: _UserService_CreateUser_Handler, }, { MethodName: "UpdateUser", Handler: _UserService_UpdateUser_Handler, }, { MethodName: "GetUserById", Handler: _UserService_GetUserById_Handler, }, { MethodName: "GetUserByUsername", Handler: _UserService_GetUserByUsername_Handler, }, { MethodName: "DeleteUser", Handler: _UserService_DeleteUser_Handler, }, { MethodName: "AddUserToGroup", Handler: _UserService_AddUserToGroup_Handler, }, { MethodName: "RemoveUserFromGroup", Handler: _UserService_RemoveUserFromGroup_Handler, }, { MethodName: "Authenticate", Handler: _UserService_Authenticate_Handler, }, { MethodName: "GetAllUsers", Handler: _UserService_GetAllUsers_Handler, }, { MethodName: "GetUsersByIds", Handler: _UserService_GetUsersByIds_Handler, }, { MethodName: "GetUsersByUsernames", Handler: _UserService_GetUsersByUsernames_Handler, }, { MethodName: "setUserPassword", Handler: _UserService_SetUserPassword_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "keycloak/keycloak.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterClientServiceServer ¶
func RegisterClientServiceServer(s grpc.ServiceRegistrar, srv ClientServiceServer)
func RegisterGroupServiceServer ¶
func RegisterGroupServiceServer(s grpc.ServiceRegistrar, srv GroupServiceServer)
func RegisterRoleServiceServer ¶
func RegisterRoleServiceServer(s grpc.ServiceRegistrar, srv RoleServiceServer)
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
Types ¶
type AccessTokenResponse ¶
type AccessTokenResponse struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` ExpiresIn int32 `protobuf:"varint,2,opt,name=ExpiresIn,proto3" json:"ExpiresIn,omitempty"` RefreshExpiresIn int32 `protobuf:"varint,3,opt,name=RefreshExpiresIn,proto3" json:"RefreshExpiresIn,omitempty"` RefreshToken string `protobuf:"bytes,4,opt,name=RefreshToken,proto3" json:"RefreshToken,omitempty"` TokenType string `protobuf:"bytes,5,opt,name=TokenType,proto3" json:"TokenType,omitempty"` IdToken string `protobuf:"bytes,6,opt,name=IdToken,proto3" json:"IdToken,omitempty"` NotBeforePolicy int32 `protobuf:"varint,7,opt,name=NotBeforePolicy,proto3" json:"NotBeforePolicy,omitempty"` SessionState string `protobuf:"bytes,8,opt,name=SessionState,proto3" json:"SessionState,omitempty"` Scope string `protobuf:"bytes,9,opt,name=Scope,proto3" json:"Scope,omitempty"` // contains filtered or unexported fields }
func (*AccessTokenResponse) Descriptor
deprecated
func (*AccessTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use AccessTokenResponse.ProtoReflect.Descriptor instead.
func (*AccessTokenResponse) GetAccessToken ¶
func (x *AccessTokenResponse) GetAccessToken() string
func (*AccessTokenResponse) GetExpiresIn ¶
func (x *AccessTokenResponse) GetExpiresIn() int32
func (*AccessTokenResponse) GetIdToken ¶
func (x *AccessTokenResponse) GetIdToken() string
func (*AccessTokenResponse) GetNotBeforePolicy ¶
func (x *AccessTokenResponse) GetNotBeforePolicy() int32
func (*AccessTokenResponse) GetRefreshExpiresIn ¶
func (x *AccessTokenResponse) GetRefreshExpiresIn() int32
func (*AccessTokenResponse) GetRefreshToken ¶
func (x *AccessTokenResponse) GetRefreshToken() string
func (*AccessTokenResponse) GetScope ¶
func (x *AccessTokenResponse) GetScope() string
func (*AccessTokenResponse) GetSessionState ¶
func (x *AccessTokenResponse) GetSessionState() string
func (*AccessTokenResponse) GetTokenType ¶
func (x *AccessTokenResponse) GetTokenType() string
func (*AccessTokenResponse) ProtoMessage ¶
func (*AccessTokenResponse) ProtoMessage()
func (*AccessTokenResponse) ProtoReflect ¶
func (x *AccessTokenResponse) ProtoReflect() protoreflect.Message
func (*AccessTokenResponse) Reset ¶
func (x *AccessTokenResponse) Reset()
func (*AccessTokenResponse) String ¶
func (x *AccessTokenResponse) String() string
type AuthenticateRequest ¶
type AuthenticateRequest 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"` ClientId *wrappers.StringValue `protobuf:"bytes,3,opt,name=clientId,proto3" json:"clientId,omitempty"` ClientSecret *wrappers.StringValue `protobuf:"bytes,4,opt,name=clientSecret,proto3" json:"clientSecret,omitempty"` // contains filtered or unexported fields }
func (*AuthenticateRequest) Descriptor
deprecated
func (*AuthenticateRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateRequest) GetClientId ¶
func (x *AuthenticateRequest) GetClientId() *wrappers.StringValue
func (*AuthenticateRequest) GetClientSecret ¶
func (x *AuthenticateRequest) GetClientSecret() *wrappers.StringValue
func (*AuthenticateRequest) GetPassword ¶
func (x *AuthenticateRequest) GetPassword() string
func (*AuthenticateRequest) GetUsername ¶
func (x *AuthenticateRequest) GetUsername() string
func (*AuthenticateRequest) ProtoMessage ¶
func (*AuthenticateRequest) ProtoMessage()
func (*AuthenticateRequest) ProtoReflect ¶
func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateRequest) Reset ¶
func (x *AuthenticateRequest) Reset()
func (*AuthenticateRequest) String ¶
func (x *AuthenticateRequest) String() string
type ClientResponse ¶
type ClientResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=clientId,proto3" json:"clientId,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` RootUrl string `protobuf:"bytes,4,opt,name=rootUrl,proto3" json:"rootUrl,omitempty"` WebUrl string `protobuf:"bytes,5,opt,name=webUrl,proto3" json:"webUrl,omitempty"` Enabled bool `protobuf:"varint,6,opt,name=enabled,proto3" json:"enabled,omitempty"` Attributes map[string]string `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ClientResponse) Descriptor
deprecated
func (*ClientResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClientResponse.ProtoReflect.Descriptor instead.
func (*ClientResponse) GetAttributes ¶
func (x *ClientResponse) GetAttributes() map[string]string
func (*ClientResponse) GetClientId ¶
func (x *ClientResponse) GetClientId() string
func (*ClientResponse) GetEnabled ¶
func (x *ClientResponse) GetEnabled() bool
func (*ClientResponse) GetId ¶
func (x *ClientResponse) GetId() string
func (*ClientResponse) GetName ¶
func (x *ClientResponse) GetName() string
func (*ClientResponse) GetRootUrl ¶
func (x *ClientResponse) GetRootUrl() string
func (*ClientResponse) GetWebUrl ¶
func (x *ClientResponse) GetWebUrl() string
func (*ClientResponse) ProtoMessage ¶
func (*ClientResponse) ProtoMessage()
func (*ClientResponse) ProtoReflect ¶
func (x *ClientResponse) ProtoReflect() protoreflect.Message
func (*ClientResponse) Reset ¶
func (x *ClientResponse) Reset()
func (*ClientResponse) String ¶
func (x *ClientResponse) String() string
type ClientServiceClient ¶
type ClientServiceClient interface { GetClients(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ClientsResponse, error) GetClientByClientId(ctx context.Context, in *wrappers.StringValue, opts ...grpc.CallOption) (*ClientResponse, error) GetClientById(ctx context.Context, in *wrappers.StringValue, opts ...grpc.CallOption) (*ClientResponse, error) GetClientsByIds(ctx context.Context, in *StringsRequest, opts ...grpc.CallOption) (*ClientsResponse, error) GetClientsByClientIds(ctx context.Context, in *StringsRequest, opts ...grpc.CallOption) (*ClientsResponse, error) }
ClientServiceClient is the client API for ClientService 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 NewClientServiceClient ¶
func NewClientServiceClient(cc grpc.ClientConnInterface) ClientServiceClient
type ClientServiceServer ¶
type ClientServiceServer interface { GetClients(context.Context, *empty.Empty) (*ClientsResponse, error) GetClientByClientId(context.Context, *wrappers.StringValue) (*ClientResponse, error) GetClientById(context.Context, *wrappers.StringValue) (*ClientResponse, error) GetClientsByIds(context.Context, *StringsRequest) (*ClientsResponse, error) GetClientsByClientIds(context.Context, *StringsRequest) (*ClientsResponse, error) // contains filtered or unexported methods }
ClientServiceServer is the server API for ClientService service. All implementations must embed UnimplementedClientServiceServer for forward compatibility
type ClientsResponse ¶
type ClientsResponse struct { Clients []*ClientResponse `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"` // contains filtered or unexported fields }
func (*ClientsResponse) Descriptor
deprecated
func (*ClientsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClientsResponse.ProtoReflect.Descriptor instead.
func (*ClientsResponse) GetClients ¶
func (x *ClientsResponse) GetClients() []*ClientResponse
func (*ClientsResponse) ProtoMessage ¶
func (*ClientsResponse) ProtoMessage()
func (*ClientsResponse) ProtoReflect ¶
func (x *ClientsResponse) ProtoReflect() protoreflect.Message
func (*ClientsResponse) Reset ¶
func (x *ClientsResponse) Reset()
func (*ClientsResponse) String ¶
func (x *ClientsResponse) String() string
type GroupRequest ¶
type GroupRequest struct { Id *wrappers.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GroupRequest) Descriptor
deprecated
func (*GroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GroupRequest.ProtoReflect.Descriptor instead.
func (*GroupRequest) GetId ¶
func (x *GroupRequest) GetId() *wrappers.StringValue
func (*GroupRequest) GetName ¶
func (x *GroupRequest) GetName() *wrappers.StringValue
func (*GroupRequest) ProtoMessage ¶
func (*GroupRequest) ProtoMessage()
func (*GroupRequest) ProtoReflect ¶
func (x *GroupRequest) ProtoReflect() protoreflect.Message
func (*GroupRequest) Reset ¶
func (x *GroupRequest) Reset()
func (*GroupRequest) String ¶
func (x *GroupRequest) String() string
type GroupResponse ¶
type GroupResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GroupResponse) Descriptor
deprecated
func (*GroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use GroupResponse.ProtoReflect.Descriptor instead.
func (*GroupResponse) GetId ¶
func (x *GroupResponse) GetId() string
func (*GroupResponse) GetName ¶
func (x *GroupResponse) GetName() string
func (*GroupResponse) ProtoMessage ¶
func (*GroupResponse) ProtoMessage()
func (*GroupResponse) ProtoReflect ¶
func (x *GroupResponse) ProtoReflect() protoreflect.Message
func (*GroupResponse) Reset ¶
func (x *GroupResponse) Reset()
func (*GroupResponse) String ¶
func (x *GroupResponse) String() string
type GroupServiceClient ¶
type GroupServiceClient interface { CreateGroup(ctx context.Context, in *GroupRequest, opts ...grpc.CallOption) (*GroupResponse, error) GetGroupsInRealm(ctx context.Context, in *wrappers.StringValue, opts ...grpc.CallOption) (*GroupsResponse, error) GetGroupById(ctx context.Context, in *wrappers.StringValue, opts ...grpc.CallOption) (*GroupResponse, error) DeleteGroup(ctx context.Context, in *wrappers.StringValue, opts ...grpc.CallOption) (*empty.Empty, error) GetGroupMembers(ctx context.Context, in *wrappers.StringValue, opts ...grpc.CallOption) (*UsersResponse, error) AddRoleToGroup(ctx context.Context, in *RoleGroupRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
GroupServiceClient is the client API for GroupService 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 NewGroupServiceClient ¶
func NewGroupServiceClient(cc grpc.ClientConnInterface) GroupServiceClient
type GroupServiceServer ¶
type GroupServiceServer interface { CreateGroup(context.Context, *GroupRequest) (*GroupResponse, error) GetGroupsInRealm(context.Context, *wrappers.StringValue) (*GroupsResponse, error) GetGroupById(context.Context, *wrappers.StringValue) (*GroupResponse, error) DeleteGroup(context.Context, *wrappers.StringValue) (*empty.Empty, error) GetGroupMembers(context.Context, *wrappers.StringValue) (*UsersResponse, error) AddRoleToGroup(context.Context, *RoleGroupRequest) (*empty.Empty, error) // contains filtered or unexported methods }
GroupServiceServer is the server API for GroupService service. All implementations must embed UnimplementedGroupServiceServer for forward compatibility
type GroupsResponse ¶
type GroupsResponse struct { Groups []*GroupResponse `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*GroupsResponse) Descriptor
deprecated
func (*GroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GroupsResponse.ProtoReflect.Descriptor instead.
func (*GroupsResponse) GetGroups ¶
func (x *GroupsResponse) GetGroups() []*GroupResponse
func (*GroupsResponse) ProtoMessage ¶
func (*GroupsResponse) ProtoMessage()
func (*GroupsResponse) ProtoReflect ¶
func (x *GroupsResponse) ProtoReflect() protoreflect.Message
func (*GroupsResponse) Reset ¶
func (x *GroupsResponse) Reset()
func (*GroupsResponse) String ¶
func (x *GroupsResponse) String() string
type PasswordRequest ¶
type PasswordRequest struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Temporary bool `protobuf:"varint,3,opt,name=temporary,proto3" json:"temporary,omitempty"` // contains filtered or unexported fields }
func (*PasswordRequest) Descriptor
deprecated
func (*PasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use PasswordRequest.ProtoReflect.Descriptor instead.
func (*PasswordRequest) GetPassword ¶
func (x *PasswordRequest) GetPassword() string
func (*PasswordRequest) GetTemporary ¶
func (x *PasswordRequest) GetTemporary() bool
func (*PasswordRequest) GetUserId ¶
func (x *PasswordRequest) GetUserId() string
func (*PasswordRequest) ProtoMessage ¶
func (*PasswordRequest) ProtoMessage()
func (*PasswordRequest) ProtoReflect ¶
func (x *PasswordRequest) ProtoReflect() protoreflect.Message
func (*PasswordRequest) Reset ¶
func (x *PasswordRequest) Reset()
func (*PasswordRequest) String ¶
func (x *PasswordRequest) String() string
type RoleGroupRequest ¶
type RoleGroupRequest struct { Role *RoleRequest `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` GroupId string `protobuf:"bytes,2,opt,name=groupId,proto3" json:"groupId,omitempty"` // contains filtered or unexported fields }
func (*RoleGroupRequest) Descriptor
deprecated
func (*RoleGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use RoleGroupRequest.ProtoReflect.Descriptor instead.
func (*RoleGroupRequest) GetGroupId ¶
func (x *RoleGroupRequest) GetGroupId() string
func (*RoleGroupRequest) GetRole ¶
func (x *RoleGroupRequest) GetRole() *RoleRequest
func (*RoleGroupRequest) ProtoMessage ¶
func (*RoleGroupRequest) ProtoMessage()
func (*RoleGroupRequest) ProtoReflect ¶
func (x *RoleGroupRequest) ProtoReflect() protoreflect.Message
func (*RoleGroupRequest) Reset ¶
func (x *RoleGroupRequest) Reset()
func (*RoleGroupRequest) String ¶
func (x *RoleGroupRequest) String() string
type RoleRequest ¶
type RoleRequest struct { Id *wrappers.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*RoleRequest) Descriptor
deprecated
func (*RoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use RoleRequest.ProtoReflect.Descriptor instead.
func (*RoleRequest) GetId ¶
func (x *RoleRequest) GetId() *wrappers.StringValue
func (*RoleRequest) GetName ¶
func (x *RoleRequest) GetName() *wrappers.StringValue
func (*RoleRequest) ProtoMessage ¶
func (*RoleRequest) ProtoMessage()
func (*RoleRequest) ProtoReflect ¶
func (x *RoleRequest) ProtoReflect() protoreflect.Message
func (*RoleRequest) Reset ¶
func (x *RoleRequest) Reset()
func (*RoleRequest) String ¶
func (x *RoleRequest) String() string
type RoleResponse ¶
type RoleResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*RoleResponse) Descriptor
deprecated
func (*RoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use RoleResponse.ProtoReflect.Descriptor instead.
func (*RoleResponse) GetId ¶
func (x *RoleResponse) GetId() string
func (*RoleResponse) GetName ¶
func (x *RoleResponse) GetName() string
func (*RoleResponse) ProtoMessage ¶
func (*RoleResponse) ProtoMessage()
func (*RoleResponse) ProtoReflect ¶
func (x *RoleResponse) ProtoReflect() protoreflect.Message
func (*RoleResponse) Reset ¶
func (x *RoleResponse) Reset()
func (*RoleResponse) String ¶
func (x *RoleResponse) String() string
type RoleServiceClient ¶
type RoleServiceClient interface { AssignRoleToUser(ctx context.Context, in *UserRoleRequest, opts ...grpc.CallOption) (*empty.Empty, error) GetUserRoles(ctx context.Context, in *wrappers.StringValue, opts ...grpc.CallOption) (*RolesResponse, error) GetAvailableRoles(ctx context.Context, in *wrappers.StringValue, opts ...grpc.CallOption) (*RolesResponse, error) RemoveRoleFromUser(ctx context.Context, in *UserRoleRequest, opts ...grpc.CallOption) (*empty.Empty, error) CreateRole(ctx context.Context, in *RoleRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
RoleServiceClient is the client API for RoleService 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 NewRoleServiceClient ¶
func NewRoleServiceClient(cc grpc.ClientConnInterface) RoleServiceClient
type RoleServiceServer ¶
type RoleServiceServer interface { AssignRoleToUser(context.Context, *UserRoleRequest) (*empty.Empty, error) GetUserRoles(context.Context, *wrappers.StringValue) (*RolesResponse, error) GetAvailableRoles(context.Context, *wrappers.StringValue) (*RolesResponse, error) RemoveRoleFromUser(context.Context, *UserRoleRequest) (*empty.Empty, error) CreateRole(context.Context, *RoleRequest) (*empty.Empty, error) // contains filtered or unexported methods }
RoleServiceServer is the server API for RoleService service. All implementations must embed UnimplementedRoleServiceServer for forward compatibility
type RolesResponse ¶
type RolesResponse struct { Roles []*RoleResponse `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` // contains filtered or unexported fields }
func (*RolesResponse) Descriptor
deprecated
func (*RolesResponse) Descriptor() ([]byte, []int)
Deprecated: Use RolesResponse.ProtoReflect.Descriptor instead.
func (*RolesResponse) GetRoles ¶
func (x *RolesResponse) GetRoles() []*RoleResponse
func (*RolesResponse) ProtoMessage ¶
func (*RolesResponse) ProtoMessage()
func (*RolesResponse) ProtoReflect ¶
func (x *RolesResponse) ProtoReflect() protoreflect.Message
func (*RolesResponse) Reset ¶
func (x *RolesResponse) Reset()
func (*RolesResponse) String ¶
func (x *RolesResponse) String() string
type StringsRequest ¶
type StringsRequest struct { Requests []string `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
func (*StringsRequest) Descriptor
deprecated
func (*StringsRequest) Descriptor() ([]byte, []int)
Deprecated: Use StringsRequest.ProtoReflect.Descriptor instead.
func (*StringsRequest) GetRequests ¶
func (x *StringsRequest) GetRequests() []string
func (*StringsRequest) ProtoMessage ¶
func (*StringsRequest) ProtoMessage()
func (*StringsRequest) ProtoReflect ¶
func (x *StringsRequest) ProtoReflect() protoreflect.Message
func (*StringsRequest) Reset ¶
func (x *StringsRequest) Reset()
func (*StringsRequest) String ¶
func (x *StringsRequest) String() string
type UnimplementedClientServiceServer ¶
type UnimplementedClientServiceServer struct { }
UnimplementedClientServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedClientServiceServer) GetClientByClientId ¶
func (UnimplementedClientServiceServer) GetClientByClientId(context.Context, *wrappers.StringValue) (*ClientResponse, error)
func (UnimplementedClientServiceServer) GetClientById ¶
func (UnimplementedClientServiceServer) GetClientById(context.Context, *wrappers.StringValue) (*ClientResponse, error)
func (UnimplementedClientServiceServer) GetClients ¶
func (UnimplementedClientServiceServer) GetClients(context.Context, *empty.Empty) (*ClientsResponse, error)
func (UnimplementedClientServiceServer) GetClientsByClientIds ¶
func (UnimplementedClientServiceServer) GetClientsByClientIds(context.Context, *StringsRequest) (*ClientsResponse, error)
func (UnimplementedClientServiceServer) GetClientsByIds ¶
func (UnimplementedClientServiceServer) GetClientsByIds(context.Context, *StringsRequest) (*ClientsResponse, error)
type UnimplementedGroupServiceServer ¶
type UnimplementedGroupServiceServer struct { }
UnimplementedGroupServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedGroupServiceServer) AddRoleToGroup ¶
func (UnimplementedGroupServiceServer) AddRoleToGroup(context.Context, *RoleGroupRequest) (*empty.Empty, error)
func (UnimplementedGroupServiceServer) CreateGroup ¶
func (UnimplementedGroupServiceServer) CreateGroup(context.Context, *GroupRequest) (*GroupResponse, error)
func (UnimplementedGroupServiceServer) DeleteGroup ¶
func (UnimplementedGroupServiceServer) DeleteGroup(context.Context, *wrappers.StringValue) (*empty.Empty, error)
func (UnimplementedGroupServiceServer) GetGroupById ¶
func (UnimplementedGroupServiceServer) GetGroupById(context.Context, *wrappers.StringValue) (*GroupResponse, error)
func (UnimplementedGroupServiceServer) GetGroupMembers ¶
func (UnimplementedGroupServiceServer) GetGroupMembers(context.Context, *wrappers.StringValue) (*UsersResponse, error)
func (UnimplementedGroupServiceServer) GetGroupsInRealm ¶
func (UnimplementedGroupServiceServer) GetGroupsInRealm(context.Context, *wrappers.StringValue) (*GroupsResponse, error)
type UnimplementedRoleServiceServer ¶
type UnimplementedRoleServiceServer struct { }
UnimplementedRoleServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedRoleServiceServer) AssignRoleToUser ¶
func (UnimplementedRoleServiceServer) AssignRoleToUser(context.Context, *UserRoleRequest) (*empty.Empty, error)
func (UnimplementedRoleServiceServer) CreateRole ¶
func (UnimplementedRoleServiceServer) CreateRole(context.Context, *RoleRequest) (*empty.Empty, error)
func (UnimplementedRoleServiceServer) GetAvailableRoles ¶
func (UnimplementedRoleServiceServer) GetAvailableRoles(context.Context, *wrappers.StringValue) (*RolesResponse, error)
func (UnimplementedRoleServiceServer) GetUserRoles ¶
func (UnimplementedRoleServiceServer) GetUserRoles(context.Context, *wrappers.StringValue) (*RolesResponse, error)
func (UnimplementedRoleServiceServer) RemoveRoleFromUser ¶
func (UnimplementedRoleServiceServer) RemoveRoleFromUser(context.Context, *UserRoleRequest) (*empty.Empty, error)
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServiceServer) AddUserToGroup ¶
func (UnimplementedUserServiceServer) AddUserToGroup(context.Context, *UserGroupRequest) (*empty.Empty, error)
func (UnimplementedUserServiceServer) Authenticate ¶
func (UnimplementedUserServiceServer) Authenticate(context.Context, *AuthenticateRequest) (*AccessTokenResponse, error)
func (UnimplementedUserServiceServer) CreateUser ¶
func (UnimplementedUserServiceServer) CreateUser(context.Context, *UserRequest) (*empty.Empty, error)
func (UnimplementedUserServiceServer) DeleteUser ¶
func (UnimplementedUserServiceServer) DeleteUser(context.Context, *wrappers.StringValue) (*empty.Empty, error)
func (UnimplementedUserServiceServer) GetAllUsers ¶
func (UnimplementedUserServiceServer) GetAllUsers(context.Context, *empty.Empty) (*UsersResponse, error)
func (UnimplementedUserServiceServer) GetUserById ¶
func (UnimplementedUserServiceServer) GetUserById(context.Context, *wrappers.StringValue) (*UserResponse, error)
func (UnimplementedUserServiceServer) GetUserByUsername ¶
func (UnimplementedUserServiceServer) GetUserByUsername(context.Context, *wrappers.StringValue) (*UserResponse, error)
func (UnimplementedUserServiceServer) GetUsersByIds ¶
func (UnimplementedUserServiceServer) GetUsersByIds(context.Context, *StringsRequest) (*UsersResponse, error)
func (UnimplementedUserServiceServer) GetUsersByUsernames ¶
func (UnimplementedUserServiceServer) GetUsersByUsernames(context.Context, *StringsRequest) (*UsersResponse, error)
func (UnimplementedUserServiceServer) RemoveUserFromGroup ¶
func (UnimplementedUserServiceServer) RemoveUserFromGroup(context.Context, *UserGroupRequest) (*empty.Empty, error)
func (UnimplementedUserServiceServer) SetUserPassword ¶
func (UnimplementedUserServiceServer) SetUserPassword(context.Context, *PasswordRequest) (*wrappers.BoolValue, error)
func (UnimplementedUserServiceServer) UpdateUser ¶
func (UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*empty.Empty, error)
type UnsafeClientServiceServer ¶
type UnsafeClientServiceServer interface {
// contains filtered or unexported methods
}
UnsafeClientServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClientServiceServer will result in compilation errors.
type UnsafeGroupServiceServer ¶
type UnsafeGroupServiceServer interface {
// contains filtered or unexported methods
}
UnsafeGroupServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GroupServiceServer will result in compilation errors.
type UnsafeRoleServiceServer ¶
type UnsafeRoleServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRoleServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RoleServiceServer will result in compilation errors.
type UnsafeUserServiceServer ¶
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type UpdateUserRequest ¶
type UpdateUserRequest struct { Email *wrappers.StringValue `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` PhoneNumber *wrappers.StringValue `protobuf:"bytes,2,opt,name=phoneNumber,proto3" json:"phoneNumber,omitempty"` FirstName *wrappers.StringValue `protobuf:"bytes,3,opt,name=firstName,proto3" json:"firstName,omitempty"` LastName *wrappers.StringValue `protobuf:"bytes,4,opt,name=lastName,proto3" json:"lastName,omitempty"` Pid string `protobuf:"bytes,5,opt,name=pid,proto3" json:"pid,omitempty"` Attributes map[string]string `` /* 161-byte string literal not displayed */ Enabled bool `protobuf:"varint,8,opt,name=enabled,proto3" json:"enabled,omitempty"` EmailVerified bool `protobuf:"varint,9,opt,name=emailVerified,proto3" json:"emailVerified,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetAttributes ¶
func (x *UpdateUserRequest) GetAttributes() map[string]string
func (*UpdateUserRequest) GetEmail ¶
func (x *UpdateUserRequest) GetEmail() *wrappers.StringValue
func (*UpdateUserRequest) GetEmailVerified ¶
func (x *UpdateUserRequest) GetEmailVerified() bool
func (*UpdateUserRequest) GetEnabled ¶
func (x *UpdateUserRequest) GetEnabled() bool
func (*UpdateUserRequest) GetFirstName ¶
func (x *UpdateUserRequest) GetFirstName() *wrappers.StringValue
func (*UpdateUserRequest) GetLastName ¶
func (x *UpdateUserRequest) GetLastName() *wrappers.StringValue
func (*UpdateUserRequest) GetPhoneNumber ¶
func (x *UpdateUserRequest) GetPhoneNumber() *wrappers.StringValue
func (*UpdateUserRequest) GetPid ¶
func (x *UpdateUserRequest) GetPid() string
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
type UserGroupRequest ¶
type UserGroupRequest struct { GroupId string `protobuf:"bytes,1,opt,name=groupId,proto3" json:"groupId,omitempty"` UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*UserGroupRequest) Descriptor
deprecated
func (*UserGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserGroupRequest.ProtoReflect.Descriptor instead.
func (*UserGroupRequest) GetGroupId ¶
func (x *UserGroupRequest) GetGroupId() string
func (*UserGroupRequest) GetUserId ¶
func (x *UserGroupRequest) GetUserId() string
func (*UserGroupRequest) ProtoMessage ¶
func (*UserGroupRequest) ProtoMessage()
func (*UserGroupRequest) ProtoReflect ¶
func (x *UserGroupRequest) ProtoReflect() protoreflect.Message
func (*UserGroupRequest) Reset ¶
func (x *UserGroupRequest) Reset()
func (*UserGroupRequest) String ¶
func (x *UserGroupRequest) String() string
type UserRequest ¶
type UserRequest struct { Email *wrappers.StringValue `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` PhoneNumber *wrappers.StringValue `protobuf:"bytes,2,opt,name=phoneNumber,proto3" json:"phoneNumber,omitempty"` FirstName *wrappers.StringValue `protobuf:"bytes,3,opt,name=firstName,proto3" json:"firstName,omitempty"` LastName *wrappers.StringValue `protobuf:"bytes,4,opt,name=lastName,proto3" json:"lastName,omitempty"` Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` Attributes map[string]string `` /* 161-byte string literal not displayed */ Username string `protobuf:"bytes,7,opt,name=username,proto3" json:"username,omitempty"` Enabled bool `protobuf:"varint,8,opt,name=enabled,proto3" json:"enabled,omitempty"` EmailVerified bool `protobuf:"varint,9,opt,name=emailVerified,proto3" json:"emailVerified,omitempty"` PasswordTemporary bool `protobuf:"varint,10,opt,name=passwordTemporary,proto3" json:"passwordTemporary,omitempty"` // contains filtered or unexported fields }
func (*UserRequest) Descriptor
deprecated
func (*UserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserRequest.ProtoReflect.Descriptor instead.
func (*UserRequest) GetAttributes ¶
func (x *UserRequest) GetAttributes() map[string]string
func (*UserRequest) GetEmail ¶
func (x *UserRequest) GetEmail() *wrappers.StringValue
func (*UserRequest) GetEmailVerified ¶
func (x *UserRequest) GetEmailVerified() bool
func (*UserRequest) GetEnabled ¶
func (x *UserRequest) GetEnabled() bool
func (*UserRequest) GetFirstName ¶
func (x *UserRequest) GetFirstName() *wrappers.StringValue
func (*UserRequest) GetLastName ¶
func (x *UserRequest) GetLastName() *wrappers.StringValue
func (*UserRequest) GetPassword ¶
func (x *UserRequest) GetPassword() string
func (*UserRequest) GetPasswordTemporary ¶
func (x *UserRequest) GetPasswordTemporary() bool
func (*UserRequest) GetPhoneNumber ¶
func (x *UserRequest) GetPhoneNumber() *wrappers.StringValue
func (*UserRequest) GetUsername ¶
func (x *UserRequest) GetUsername() string
func (*UserRequest) ProtoMessage ¶
func (*UserRequest) ProtoMessage()
func (*UserRequest) ProtoReflect ¶
func (x *UserRequest) ProtoReflect() protoreflect.Message
func (*UserRequest) Reset ¶
func (x *UserRequest) Reset()
func (*UserRequest) String ¶
func (x *UserRequest) String() string
type UserResponse ¶
type UserResponse struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` PhoneNumber *wrappers.StringValue `protobuf:"bytes,2,opt,name=phoneNumber,proto3" json:"phoneNumber,omitempty"` GivenName *wrappers.StringValue `protobuf:"bytes,3,opt,name=givenName,proto3" json:"givenName,omitempty"` FamilyName *wrappers.StringValue `protobuf:"bytes,4,opt,name=familyName,proto3" json:"familyName,omitempty"` Sub string `protobuf:"bytes,5,opt,name=sub,proto3" json:"sub,omitempty"` Attributes map[string]string `` /* 161-byte string literal not displayed */ Roles []string `protobuf:"bytes,7,rep,name=roles,proto3" json:"roles,omitempty"` Username string `protobuf:"bytes,8,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*UserResponse) Descriptor
deprecated
func (*UserResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserResponse.ProtoReflect.Descriptor instead.
func (*UserResponse) GetAttributes ¶
func (x *UserResponse) GetAttributes() map[string]string
func (*UserResponse) GetEmail ¶
func (x *UserResponse) GetEmail() string
func (*UserResponse) GetFamilyName ¶
func (x *UserResponse) GetFamilyName() *wrappers.StringValue
func (*UserResponse) GetGivenName ¶
func (x *UserResponse) GetGivenName() *wrappers.StringValue
func (*UserResponse) GetPhoneNumber ¶
func (x *UserResponse) GetPhoneNumber() *wrappers.StringValue
func (*UserResponse) GetRoles ¶
func (x *UserResponse) GetRoles() []string
func (*UserResponse) GetSub ¶
func (x *UserResponse) GetSub() string
func (*UserResponse) GetUsername ¶
func (x *UserResponse) GetUsername() string
func (*UserResponse) ProtoMessage ¶
func (*UserResponse) ProtoMessage()
func (*UserResponse) ProtoReflect ¶
func (x *UserResponse) ProtoReflect() protoreflect.Message
func (*UserResponse) Reset ¶
func (x *UserResponse) Reset()
func (*UserResponse) String ¶
func (x *UserResponse) String() string
type UserRoleRequest ¶
type UserRoleRequest struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` Role *RoleRequest `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*UserRoleRequest) Descriptor
deprecated
func (*UserRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserRoleRequest.ProtoReflect.Descriptor instead.
func (*UserRoleRequest) GetRole ¶
func (x *UserRoleRequest) GetRole() *RoleRequest
func (*UserRoleRequest) GetUserId ¶
func (x *UserRoleRequest) GetUserId() string
func (*UserRoleRequest) ProtoMessage ¶
func (*UserRoleRequest) ProtoMessage()
func (*UserRoleRequest) ProtoReflect ¶
func (x *UserRoleRequest) ProtoReflect() protoreflect.Message
func (*UserRoleRequest) Reset ¶
func (x *UserRoleRequest) Reset()
func (*UserRoleRequest) String ¶
func (x *UserRoleRequest) String() string
type UserServiceClient ¶
type UserServiceClient interface { CreateUser(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*empty.Empty, error) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*empty.Empty, error) GetUserById(ctx context.Context, in *wrappers.StringValue, opts ...grpc.CallOption) (*UserResponse, error) GetUserByUsername(ctx context.Context, in *wrappers.StringValue, opts ...grpc.CallOption) (*UserResponse, error) DeleteUser(ctx context.Context, in *wrappers.StringValue, opts ...grpc.CallOption) (*empty.Empty, error) AddUserToGroup(ctx context.Context, in *UserGroupRequest, opts ...grpc.CallOption) (*empty.Empty, error) RemoveUserFromGroup(ctx context.Context, in *UserGroupRequest, opts ...grpc.CallOption) (*empty.Empty, error) Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AccessTokenResponse, error) GetAllUsers(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*UsersResponse, error) GetUsersByIds(ctx context.Context, in *StringsRequest, opts ...grpc.CallOption) (*UsersResponse, error) GetUsersByUsernames(ctx context.Context, in *StringsRequest, opts ...grpc.CallOption) (*UsersResponse, error) SetUserPassword(ctx context.Context, in *PasswordRequest, opts ...grpc.CallOption) (*wrappers.BoolValue, error) }
UserServiceClient is the client API for UserService 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 NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { CreateUser(context.Context, *UserRequest) (*empty.Empty, error) UpdateUser(context.Context, *UpdateUserRequest) (*empty.Empty, error) GetUserById(context.Context, *wrappers.StringValue) (*UserResponse, error) GetUserByUsername(context.Context, *wrappers.StringValue) (*UserResponse, error) DeleteUser(context.Context, *wrappers.StringValue) (*empty.Empty, error) AddUserToGroup(context.Context, *UserGroupRequest) (*empty.Empty, error) RemoveUserFromGroup(context.Context, *UserGroupRequest) (*empty.Empty, error) Authenticate(context.Context, *AuthenticateRequest) (*AccessTokenResponse, error) GetAllUsers(context.Context, *empty.Empty) (*UsersResponse, error) GetUsersByIds(context.Context, *StringsRequest) (*UsersResponse, error) GetUsersByUsernames(context.Context, *StringsRequest) (*UsersResponse, error) SetUserPassword(context.Context, *PasswordRequest) (*wrappers.BoolValue, error) // contains filtered or unexported methods }
UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility
type UsersResponse ¶
type UsersResponse struct { Users []*UserResponse `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*UsersResponse) Descriptor
deprecated
func (*UsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use UsersResponse.ProtoReflect.Descriptor instead.
func (*UsersResponse) GetUsers ¶
func (x *UsersResponse) GetUsers() []*UserResponse
func (*UsersResponse) ProtoMessage ¶
func (*UsersResponse) ProtoMessage()
func (*UsersResponse) ProtoReflect ¶
func (x *UsersResponse) ProtoReflect() protoreflect.Message
func (*UsersResponse) Reset ¶
func (x *UsersResponse) Reset()
func (*UsersResponse) String ¶
func (x *UsersResponse) String() string