Documentation ¶
Index ¶
- func RegisterAuthServer(s *grpc.Server, srv AuthServer)
- func RegisterGroupManagerServer(s *grpc.Server, srv GroupManagerServer)
- func RegisterPermissionManagerServer(s *grpc.Server, srv PermissionManagerServer)
- func RegisterRefreshTokenManagerServer(s *grpc.Server, srv RefreshTokenManagerServer)
- func RegisterUserManagerServer(s *grpc.Server, srv UserManagerServer)
- type ActorResponse
- func (*ActorResponse) Descriptor() ([]byte, []int)
- func (m *ActorResponse) GetFirstName() string
- func (m *ActorResponse) GetId() int64
- func (m *ActorResponse) GetIsActive() bool
- func (m *ActorResponse) GetIsConfirmed() bool
- func (m *ActorResponse) GetIsStaff() bool
- func (m *ActorResponse) GetIsStuff() booldeprecated
- func (m *ActorResponse) GetIsSuperuser() bool
- func (m *ActorResponse) GetLastName() string
- func (m *ActorResponse) GetPermissions() []string
- func (m *ActorResponse) GetUsername() string
- func (*ActorResponse) ProtoMessage()
- func (m *ActorResponse) Reset()
- func (m *ActorResponse) String() string
- func (m *ActorResponse) XXX_DiscardUnknown()
- func (m *ActorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ActorResponse) XXX_Merge(src proto.Message)
- func (m *ActorResponse) XXX_Size() int
- func (m *ActorResponse) XXX_Unmarshal(b []byte) error
- type AuthClient
- type AuthServer
- type BelongsToRequest
- func (*BelongsToRequest) Descriptor() ([]byte, []int)
- func (m *BelongsToRequest) GetGroupId() int64
- func (m *BelongsToRequest) GetUserId() int64
- func (*BelongsToRequest) ProtoMessage()
- func (m *BelongsToRequest) Reset()
- func (m *BelongsToRequest) String() string
- func (m *BelongsToRequest) XXX_DiscardUnknown()
- func (m *BelongsToRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BelongsToRequest) XXX_Merge(src proto.Message)
- func (m *BelongsToRequest) XXX_Size() int
- func (m *BelongsToRequest) XXX_Unmarshal(b []byte) error
- type CreateGroupRequest
- func (*CreateGroupRequest) Descriptor() ([]byte, []int)
- func (m *CreateGroupRequest) GetDescription() *ntypes.String
- func (m *CreateGroupRequest) GetName() string
- func (*CreateGroupRequest) ProtoMessage()
- func (m *CreateGroupRequest) Reset()
- func (m *CreateGroupRequest) String() string
- func (m *CreateGroupRequest) XXX_DiscardUnknown()
- func (m *CreateGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateGroupRequest) XXX_Merge(src proto.Message)
- func (m *CreateGroupRequest) XXX_Size() int
- func (m *CreateGroupRequest) XXX_Unmarshal(b []byte) error
- type CreateGroupResponse
- func (*CreateGroupResponse) Descriptor() ([]byte, []int)
- func (m *CreateGroupResponse) GetGroup() *Group
- func (*CreateGroupResponse) ProtoMessage()
- func (m *CreateGroupResponse) Reset()
- func (m *CreateGroupResponse) String() string
- func (m *CreateGroupResponse) XXX_DiscardUnknown()
- func (m *CreateGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateGroupResponse) XXX_Merge(src proto.Message)
- func (m *CreateGroupResponse) XXX_Size() int
- func (m *CreateGroupResponse) XXX_Unmarshal(b []byte) error
- type CreateRefreshTokenRequest
- func (*CreateRefreshTokenRequest) Descriptor() ([]byte, []int)
- func (m *CreateRefreshTokenRequest) GetExpireAt() *timestamp.Timestamp
- func (m *CreateRefreshTokenRequest) GetNotes() *ntypes.String
- func (*CreateRefreshTokenRequest) ProtoMessage()
- func (m *CreateRefreshTokenRequest) Reset()
- func (m *CreateRefreshTokenRequest) String() string
- func (m *CreateRefreshTokenRequest) XXX_DiscardUnknown()
- func (m *CreateRefreshTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateRefreshTokenRequest) XXX_Merge(src proto.Message)
- func (m *CreateRefreshTokenRequest) XXX_Size() int
- func (m *CreateRefreshTokenRequest) XXX_Unmarshal(b []byte) error
- type CreateRefreshTokenResponse
- func (*CreateRefreshTokenResponse) Descriptor() ([]byte, []int)
- func (m *CreateRefreshTokenResponse) GetRefreshToken() *RefreshToken
- func (*CreateRefreshTokenResponse) ProtoMessage()
- func (m *CreateRefreshTokenResponse) Reset()
- func (m *CreateRefreshTokenResponse) String() string
- func (m *CreateRefreshTokenResponse) XXX_DiscardUnknown()
- func (m *CreateRefreshTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateRefreshTokenResponse) XXX_Merge(src proto.Message)
- func (m *CreateRefreshTokenResponse) XXX_Size() int
- func (m *CreateRefreshTokenResponse) XXX_Unmarshal(b []byte) error
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)
- func (m *CreateUserRequest) GetFirstName() string
- func (m *CreateUserRequest) GetIsActive() *ntypes.Bool
- func (m *CreateUserRequest) GetIsConfirmed() *ntypes.Bool
- func (m *CreateUserRequest) GetIsStaff() *ntypes.Bool
- func (m *CreateUserRequest) GetIsSuperuser() *ntypes.Bool
- func (m *CreateUserRequest) GetLastName() string
- func (m *CreateUserRequest) GetPlainPassword() string
- func (m *CreateUserRequest) GetSecurePassword() []byte
- func (m *CreateUserRequest) GetUsername() string
- func (*CreateUserRequest) ProtoMessage()
- func (m *CreateUserRequest) Reset()
- func (m *CreateUserRequest) String() string
- func (m *CreateUserRequest) XXX_DiscardUnknown()
- func (m *CreateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateUserRequest) XXX_Merge(src proto.Message)
- func (m *CreateUserRequest) XXX_Size() int
- func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error
- type CreateUserResponse
- func (*CreateUserResponse) Descriptor() ([]byte, []int)
- func (m *CreateUserResponse) GetUser() *User
- func (*CreateUserResponse) ProtoMessage()
- func (m *CreateUserResponse) Reset()
- func (m *CreateUserResponse) String() string
- func (m *CreateUserResponse) XXX_DiscardUnknown()
- func (m *CreateUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateUserResponse) XXX_Merge(src proto.Message)
- func (m *CreateUserResponse) XXX_Size() int
- func (m *CreateUserResponse) XXX_Unmarshal(b []byte) error
- type DeleteGroupRequest
- func (*DeleteGroupRequest) Descriptor() ([]byte, []int)
- func (m *DeleteGroupRequest) GetId() int64
- func (*DeleteGroupRequest) ProtoMessage()
- func (m *DeleteGroupRequest) Reset()
- func (m *DeleteGroupRequest) String() string
- func (m *DeleteGroupRequest) XXX_DiscardUnknown()
- func (m *DeleteGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteGroupRequest) XXX_Merge(src proto.Message)
- func (m *DeleteGroupRequest) XXX_Size() int
- func (m *DeleteGroupRequest) XXX_Unmarshal(b []byte) error
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)
- func (m *DeleteUserRequest) GetId() int64
- func (*DeleteUserRequest) ProtoMessage()
- func (m *DeleteUserRequest) Reset()
- func (m *DeleteUserRequest) String() string
- func (m *DeleteUserRequest) XXX_DiscardUnknown()
- func (m *DeleteUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteUserRequest) XXX_Merge(src proto.Message)
- func (m *DeleteUserRequest) XXX_Size() int
- func (m *DeleteUserRequest) XXX_Unmarshal(b []byte) error
- type GetGroupRequest
- func (*GetGroupRequest) Descriptor() ([]byte, []int)
- func (m *GetGroupRequest) GetId() int64
- func (*GetGroupRequest) ProtoMessage()
- func (m *GetGroupRequest) Reset()
- func (m *GetGroupRequest) String() string
- func (m *GetGroupRequest) XXX_DiscardUnknown()
- func (m *GetGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetGroupRequest) XXX_Merge(src proto.Message)
- func (m *GetGroupRequest) XXX_Size() int
- func (m *GetGroupRequest) XXX_Unmarshal(b []byte) error
- type GetGroupResponse
- func (*GetGroupResponse) Descriptor() ([]byte, []int)
- func (m *GetGroupResponse) GetGroup() *Group
- func (*GetGroupResponse) ProtoMessage()
- func (m *GetGroupResponse) Reset()
- func (m *GetGroupResponse) String() string
- func (m *GetGroupResponse) XXX_DiscardUnknown()
- func (m *GetGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetGroupResponse) XXX_Merge(src proto.Message)
- func (m *GetGroupResponse) XXX_Size() int
- func (m *GetGroupResponse) XXX_Unmarshal(b []byte) error
- type GetPermissionRequest
- func (*GetPermissionRequest) Descriptor() ([]byte, []int)
- func (m *GetPermissionRequest) GetId() int64
- func (*GetPermissionRequest) ProtoMessage()
- func (m *GetPermissionRequest) Reset()
- func (m *GetPermissionRequest) String() string
- func (m *GetPermissionRequest) XXX_DiscardUnknown()
- func (m *GetPermissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetPermissionRequest) XXX_Merge(src proto.Message)
- func (m *GetPermissionRequest) XXX_Size() int
- func (m *GetPermissionRequest) XXX_Unmarshal(b []byte) error
- type GetPermissionResponse
- func (*GetPermissionResponse) Descriptor() ([]byte, []int)
- func (m *GetPermissionResponse) GetPermission() string
- func (*GetPermissionResponse) ProtoMessage()
- func (m *GetPermissionResponse) Reset()
- func (m *GetPermissionResponse) String() string
- func (m *GetPermissionResponse) XXX_DiscardUnknown()
- func (m *GetPermissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetPermissionResponse) XXX_Merge(src proto.Message)
- func (m *GetPermissionResponse) XXX_Size() int
- func (m *GetPermissionResponse) XXX_Unmarshal(b []byte) error
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)
- func (m *GetUserRequest) GetId() int64
- func (*GetUserRequest) ProtoMessage()
- func (m *GetUserRequest) Reset()
- func (m *GetUserRequest) String() string
- func (m *GetUserRequest) XXX_DiscardUnknown()
- func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetUserRequest) XXX_Merge(src proto.Message)
- func (m *GetUserRequest) XXX_Size() int
- func (m *GetUserRequest) XXX_Unmarshal(b []byte) error
- type GetUserResponse
- func (*GetUserResponse) Descriptor() ([]byte, []int)
- func (m *GetUserResponse) GetUser() *User
- func (*GetUserResponse) ProtoMessage()
- func (m *GetUserResponse) Reset()
- func (m *GetUserResponse) String() string
- func (m *GetUserResponse) XXX_DiscardUnknown()
- func (m *GetUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetUserResponse) XXX_Merge(src proto.Message)
- func (m *GetUserResponse) XXX_Size() int
- func (m *GetUserResponse) XXX_Unmarshal(b []byte) error
- type Group
- func (*Group) Descriptor() ([]byte, []int)
- func (m *Group) GetCreatedAt() *timestamp.Timestamp
- func (m *Group) GetCreatedBy() *ntypes.Int64
- func (m *Group) GetDescription() string
- func (m *Group) GetId() int64
- func (m *Group) GetName() string
- func (m *Group) GetUpdatedAt() *timestamp.Timestamp
- func (m *Group) GetUpdatedBy() *ntypes.Int64
- func (*Group) ProtoMessage()
- func (m *Group) Reset()
- func (m *Group) String() string
- func (m *Group) XXX_DiscardUnknown()
- func (m *Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Group) XXX_Merge(src proto.Message)
- func (m *Group) XXX_Size() int
- func (m *Group) XXX_Unmarshal(b []byte) error
- type GroupManagerClient
- type GroupManagerServer
- type IsAuthenticatedRequest
- func (*IsAuthenticatedRequest) Descriptor() ([]byte, []int)
- func (m *IsAuthenticatedRequest) GetAccessToken() string
- func (*IsAuthenticatedRequest) ProtoMessage()
- func (m *IsAuthenticatedRequest) Reset()
- func (m *IsAuthenticatedRequest) String() string
- func (m *IsAuthenticatedRequest) XXX_DiscardUnknown()
- func (m *IsAuthenticatedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IsAuthenticatedRequest) XXX_Merge(src proto.Message)
- func (m *IsAuthenticatedRequest) XXX_Size() int
- func (m *IsAuthenticatedRequest) XXX_Unmarshal(b []byte) error
- type IsGrantedRequest
- func (*IsGrantedRequest) Descriptor() ([]byte, []int)
- func (m *IsGrantedRequest) GetPermission() string
- func (m *IsGrantedRequest) GetUserId() int64
- func (*IsGrantedRequest) ProtoMessage()
- func (m *IsGrantedRequest) Reset()
- func (m *IsGrantedRequest) String() string
- func (m *IsGrantedRequest) XXX_DiscardUnknown()
- func (m *IsGrantedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IsGrantedRequest) XXX_Merge(src proto.Message)
- func (m *IsGrantedRequest) XXX_Size() int
- func (m *IsGrantedRequest) XXX_Unmarshal(b []byte) error
- type ListGroupPermissionsRequest
- func (*ListGroupPermissionsRequest) Descriptor() ([]byte, []int)
- func (m *ListGroupPermissionsRequest) GetId() int64
- func (*ListGroupPermissionsRequest) ProtoMessage()
- func (m *ListGroupPermissionsRequest) Reset()
- func (m *ListGroupPermissionsRequest) String() string
- func (m *ListGroupPermissionsRequest) XXX_DiscardUnknown()
- func (m *ListGroupPermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListGroupPermissionsRequest) XXX_Merge(src proto.Message)
- func (m *ListGroupPermissionsRequest) XXX_Size() int
- func (m *ListGroupPermissionsRequest) XXX_Unmarshal(b []byte) error
- type ListGroupPermissionsResponse
- func (*ListGroupPermissionsResponse) Descriptor() ([]byte, []int)
- func (m *ListGroupPermissionsResponse) GetPermissions() []string
- func (*ListGroupPermissionsResponse) ProtoMessage()
- func (m *ListGroupPermissionsResponse) Reset()
- func (m *ListGroupPermissionsResponse) String() string
- func (m *ListGroupPermissionsResponse) XXX_DiscardUnknown()
- func (m *ListGroupPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListGroupPermissionsResponse) XXX_Merge(src proto.Message)
- func (m *ListGroupPermissionsResponse) XXX_Size() int
- func (m *ListGroupPermissionsResponse) XXX_Unmarshal(b []byte) error
- type ListGroupsRequest
- func (*ListGroupsRequest) Descriptor() ([]byte, []int)
- func (m *ListGroupsRequest) GetLimit() *ntypes.Int64
- func (m *ListGroupsRequest) GetOffset() *ntypes.Int64
- func (m *ListGroupsRequest) GetOrderBy() []*Order
- func (*ListGroupsRequest) ProtoMessage()
- func (m *ListGroupsRequest) Reset()
- func (m *ListGroupsRequest) String() string
- func (m *ListGroupsRequest) XXX_DiscardUnknown()
- func (m *ListGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListGroupsRequest) XXX_Merge(src proto.Message)
- func (m *ListGroupsRequest) XXX_Size() int
- func (m *ListGroupsRequest) XXX_Unmarshal(b []byte) error
- type ListGroupsResponse
- func (*ListGroupsResponse) Descriptor() ([]byte, []int)
- func (m *ListGroupsResponse) GetGroups() []*Group
- func (*ListGroupsResponse) ProtoMessage()
- func (m *ListGroupsResponse) Reset()
- func (m *ListGroupsResponse) String() string
- func (m *ListGroupsResponse) XXX_DiscardUnknown()
- func (m *ListGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListGroupsResponse) XXX_Merge(src proto.Message)
- func (m *ListGroupsResponse) XXX_Size() int
- func (m *ListGroupsResponse) XXX_Unmarshal(b []byte) error
- type ListPermissionsRequest
- func (*ListPermissionsRequest) Descriptor() ([]byte, []int)
- func (m *ListPermissionsRequest) GetAction() *qtypes.String
- func (m *ListPermissionsRequest) GetCreatedAt() *qtypes.Timestamp
- func (m *ListPermissionsRequest) GetCreatedBy() *qtypes.Int64
- func (m *ListPermissionsRequest) GetLimit() *ntypes.Int64
- func (m *ListPermissionsRequest) GetModule() *qtypes.String
- func (m *ListPermissionsRequest) GetOffset() *ntypes.Int64
- func (m *ListPermissionsRequest) GetOrderBy() []*Order
- func (m *ListPermissionsRequest) GetSort() map[string]booldeprecated
- func (m *ListPermissionsRequest) GetSubsystem() *qtypes.String
- func (*ListPermissionsRequest) ProtoMessage()
- func (m *ListPermissionsRequest) Reset()
- func (m *ListPermissionsRequest) String() string
- func (m *ListPermissionsRequest) XXX_DiscardUnknown()
- func (m *ListPermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListPermissionsRequest) XXX_Merge(src proto.Message)
- func (m *ListPermissionsRequest) XXX_Size() int
- func (m *ListPermissionsRequest) XXX_Unmarshal(b []byte) error
- type ListPermissionsResponse
- func (*ListPermissionsResponse) Descriptor() ([]byte, []int)
- func (m *ListPermissionsResponse) GetPermissions() []string
- func (*ListPermissionsResponse) ProtoMessage()
- func (m *ListPermissionsResponse) Reset()
- func (m *ListPermissionsResponse) String() string
- func (m *ListPermissionsResponse) XXX_DiscardUnknown()
- func (m *ListPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListPermissionsResponse) XXX_Merge(src proto.Message)
- func (m *ListPermissionsResponse) XXX_Size() int
- func (m *ListPermissionsResponse) XXX_Unmarshal(b []byte) error
- type ListRefreshTokensRequest
- func (*ListRefreshTokensRequest) Descriptor() ([]byte, []int)
- func (m *ListRefreshTokensRequest) GetLimit() *ntypes.Int64
- func (m *ListRefreshTokensRequest) GetOffset() *ntypes.Int64
- func (m *ListRefreshTokensRequest) GetOrderBy() []*Order
- func (m *ListRefreshTokensRequest) GetQuery() *RefreshTokenQuery
- func (*ListRefreshTokensRequest) ProtoMessage()
- func (m *ListRefreshTokensRequest) Reset()
- func (m *ListRefreshTokensRequest) String() string
- func (m *ListRefreshTokensRequest) XXX_DiscardUnknown()
- func (m *ListRefreshTokensRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListRefreshTokensRequest) XXX_Merge(src proto.Message)
- func (m *ListRefreshTokensRequest) XXX_Size() int
- func (m *ListRefreshTokensRequest) XXX_Unmarshal(b []byte) error
- type ListRefreshTokensResponse
- func (*ListRefreshTokensResponse) Descriptor() ([]byte, []int)
- func (m *ListRefreshTokensResponse) GetRefreshTokens() []*RefreshToken
- func (*ListRefreshTokensResponse) ProtoMessage()
- func (m *ListRefreshTokensResponse) Reset()
- func (m *ListRefreshTokensResponse) String() string
- func (m *ListRefreshTokensResponse) XXX_DiscardUnknown()
- func (m *ListRefreshTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListRefreshTokensResponse) XXX_Merge(src proto.Message)
- func (m *ListRefreshTokensResponse) XXX_Size() int
- func (m *ListRefreshTokensResponse) XXX_Unmarshal(b []byte) error
- type ListUserGroupsRequest
- func (*ListUserGroupsRequest) Descriptor() ([]byte, []int)
- func (m *ListUserGroupsRequest) GetId() int64
- func (*ListUserGroupsRequest) ProtoMessage()
- func (m *ListUserGroupsRequest) Reset()
- func (m *ListUserGroupsRequest) String() string
- func (m *ListUserGroupsRequest) XXX_DiscardUnknown()
- func (m *ListUserGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListUserGroupsRequest) XXX_Merge(src proto.Message)
- func (m *ListUserGroupsRequest) XXX_Size() int
- func (m *ListUserGroupsRequest) XXX_Unmarshal(b []byte) error
- type ListUserGroupsResponse
- func (*ListUserGroupsResponse) Descriptor() ([]byte, []int)
- func (m *ListUserGroupsResponse) GetGroups() []*Group
- func (*ListUserGroupsResponse) ProtoMessage()
- func (m *ListUserGroupsResponse) Reset()
- func (m *ListUserGroupsResponse) String() string
- func (m *ListUserGroupsResponse) XXX_DiscardUnknown()
- func (m *ListUserGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListUserGroupsResponse) XXX_Merge(src proto.Message)
- func (m *ListUserGroupsResponse) XXX_Size() int
- func (m *ListUserGroupsResponse) XXX_Unmarshal(b []byte) error
- type ListUserPermissionsRequest
- func (*ListUserPermissionsRequest) Descriptor() ([]byte, []int)
- func (m *ListUserPermissionsRequest) GetId() int64
- func (*ListUserPermissionsRequest) ProtoMessage()
- func (m *ListUserPermissionsRequest) Reset()
- func (m *ListUserPermissionsRequest) String() string
- func (m *ListUserPermissionsRequest) XXX_DiscardUnknown()
- func (m *ListUserPermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListUserPermissionsRequest) XXX_Merge(src proto.Message)
- func (m *ListUserPermissionsRequest) XXX_Size() int
- func (m *ListUserPermissionsRequest) XXX_Unmarshal(b []byte) error
- type ListUserPermissionsResponse
- func (*ListUserPermissionsResponse) Descriptor() ([]byte, []int)
- func (m *ListUserPermissionsResponse) GetPermissions() []string
- func (*ListUserPermissionsResponse) ProtoMessage()
- func (m *ListUserPermissionsResponse) Reset()
- func (m *ListUserPermissionsResponse) String() string
- func (m *ListUserPermissionsResponse) XXX_DiscardUnknown()
- func (m *ListUserPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListUserPermissionsResponse) XXX_Merge(src proto.Message)
- func (m *ListUserPermissionsResponse) XXX_Size() int
- func (m *ListUserPermissionsResponse) XXX_Unmarshal(b []byte) error
- type ListUsersRequest
- func (*ListUsersRequest) Descriptor() ([]byte, []int)
- func (m *ListUsersRequest) GetCreatedBy() *qtypes.Int64
- func (m *ListUsersRequest) GetIsStaff() *ntypes.Bool
- func (m *ListUsersRequest) GetIsSuperuser() *ntypes.Bool
- func (m *ListUsersRequest) GetLimit() *ntypes.Int64
- func (m *ListUsersRequest) GetOffset() *ntypes.Int64
- func (m *ListUsersRequest) GetOrderBy() []*Order
- func (m *ListUsersRequest) GetSort() map[string]booldeprecated
- func (*ListUsersRequest) ProtoMessage()
- func (m *ListUsersRequest) Reset()
- func (m *ListUsersRequest) String() string
- func (m *ListUsersRequest) XXX_DiscardUnknown()
- func (m *ListUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListUsersRequest) XXX_Merge(src proto.Message)
- func (m *ListUsersRequest) XXX_Size() int
- func (m *ListUsersRequest) XXX_Unmarshal(b []byte) error
- type ListUsersResponse
- func (*ListUsersResponse) Descriptor() ([]byte, []int)
- func (m *ListUsersResponse) GetUsers() []*User
- func (*ListUsersResponse) ProtoMessage()
- func (m *ListUsersResponse) Reset()
- func (m *ListUsersResponse) String() string
- func (m *ListUsersResponse) XXX_DiscardUnknown()
- func (m *ListUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListUsersResponse) XXX_Merge(src proto.Message)
- func (m *ListUsersResponse) XXX_Size() int
- func (m *ListUsersResponse) XXX_Unmarshal(b []byte) error
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)
- func (m *LoginRequest) GetClient() string
- func (m *LoginRequest) GetPassword() stringdeprecated
- func (m *LoginRequest) GetRefreshToken() *RefreshTokenStrategy
- func (m *LoginRequest) GetStrategy() isLoginRequest_Strategy
- func (m *LoginRequest) GetUsername() stringdeprecated
- func (m *LoginRequest) GetUsernameAndPassword() *UsernameAndPasswordStrategy
- func (*LoginRequest) ProtoMessage()
- func (m *LoginRequest) Reset()
- func (m *LoginRequest) String() string
- func (m *LoginRequest) XXX_DiscardUnknown()
- func (m *LoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LoginRequest) XXX_Merge(src proto.Message)
- func (*LoginRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *LoginRequest) XXX_Size() int
- func (m *LoginRequest) XXX_Unmarshal(b []byte) error
- type LoginRequest_RefreshToken
- type LoginRequest_UsernameAndPassword
- type LogoutRequest
- func (*LogoutRequest) Descriptor() ([]byte, []int)
- func (m *LogoutRequest) GetAccessToken() string
- func (*LogoutRequest) ProtoMessage()
- func (m *LogoutRequest) Reset()
- func (m *LogoutRequest) String() string
- func (m *LogoutRequest) XXX_DiscardUnknown()
- func (m *LogoutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LogoutRequest) XXX_Merge(src proto.Message)
- func (m *LogoutRequest) XXX_Size() int
- func (m *LogoutRequest) XXX_Unmarshal(b []byte) error
- type ModifyGroupRequest
- func (*ModifyGroupRequest) Descriptor() ([]byte, []int)
- func (m *ModifyGroupRequest) GetDescription() *ntypes.String
- func (m *ModifyGroupRequest) GetId() int64
- func (m *ModifyGroupRequest) GetName() *ntypes.String
- func (*ModifyGroupRequest) ProtoMessage()
- func (m *ModifyGroupRequest) Reset()
- func (m *ModifyGroupRequest) String() string
- func (m *ModifyGroupRequest) XXX_DiscardUnknown()
- func (m *ModifyGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ModifyGroupRequest) XXX_Merge(src proto.Message)
- func (m *ModifyGroupRequest) XXX_Size() int
- func (m *ModifyGroupRequest) XXX_Unmarshal(b []byte) error
- type ModifyGroupResponse
- func (*ModifyGroupResponse) Descriptor() ([]byte, []int)
- func (m *ModifyGroupResponse) GetGroup() *Group
- func (*ModifyGroupResponse) ProtoMessage()
- func (m *ModifyGroupResponse) Reset()
- func (m *ModifyGroupResponse) String() string
- func (m *ModifyGroupResponse) XXX_DiscardUnknown()
- func (m *ModifyGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ModifyGroupResponse) XXX_Merge(src proto.Message)
- func (m *ModifyGroupResponse) XXX_Size() int
- func (m *ModifyGroupResponse) XXX_Unmarshal(b []byte) error
- type ModifyUserRequest
- func (*ModifyUserRequest) Descriptor() ([]byte, []int)
- func (m *ModifyUserRequest) GetFirstName() *ntypes.String
- func (m *ModifyUserRequest) GetId() int64
- func (m *ModifyUserRequest) GetIsActive() *ntypes.Bool
- func (m *ModifyUserRequest) GetIsConfirmed() *ntypes.Bool
- func (m *ModifyUserRequest) GetIsStaff() *ntypes.Bool
- func (m *ModifyUserRequest) GetIsSuperuser() *ntypes.Bool
- func (m *ModifyUserRequest) GetLastName() *ntypes.String
- func (m *ModifyUserRequest) GetPlainPassword() *ntypes.String
- func (m *ModifyUserRequest) GetSecurePassword() []byte
- func (m *ModifyUserRequest) GetUsername() *ntypes.String
- func (*ModifyUserRequest) ProtoMessage()
- func (m *ModifyUserRequest) Reset()
- func (m *ModifyUserRequest) String() string
- func (m *ModifyUserRequest) XXX_DiscardUnknown()
- func (m *ModifyUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ModifyUserRequest) XXX_Merge(src proto.Message)
- func (m *ModifyUserRequest) XXX_Size() int
- func (m *ModifyUserRequest) XXX_Unmarshal(b []byte) error
- type ModifyUserResponse
- func (*ModifyUserResponse) Descriptor() ([]byte, []int)
- func (m *ModifyUserResponse) GetUser() *User
- func (*ModifyUserResponse) ProtoMessage()
- func (m *ModifyUserResponse) Reset()
- func (m *ModifyUserResponse) String() string
- func (m *ModifyUserResponse) XXX_DiscardUnknown()
- func (m *ModifyUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ModifyUserResponse) XXX_Merge(src proto.Message)
- func (m *ModifyUserResponse) XXX_Size() int
- func (m *ModifyUserResponse) XXX_Unmarshal(b []byte) error
- type Order
- func (*Order) Descriptor() ([]byte, []int)
- func (m *Order) GetDescending() bool
- func (m *Order) GetName() string
- func (*Order) ProtoMessage()
- func (m *Order) Reset()
- func (m *Order) String() string
- func (m *Order) XXX_DiscardUnknown()
- func (m *Order) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Order) XXX_Merge(src proto.Message)
- func (m *Order) XXX_Size() int
- func (m *Order) XXX_Unmarshal(b []byte) error
- type PermissionManagerClient
- type PermissionManagerServer
- type RefreshToken
- func (*RefreshToken) Descriptor() ([]byte, []int)
- func (m *RefreshToken) GetCreatedAt() *timestamp.Timestamp
- func (m *RefreshToken) GetCreatedBy() *ntypes.Int64
- func (m *RefreshToken) GetExpireAt() *timestamp.Timestamp
- func (m *RefreshToken) GetLastUsedAt() *timestamp.Timestamp
- func (m *RefreshToken) GetNotes() *ntypes.String
- func (m *RefreshToken) GetRevoked() bool
- func (m *RefreshToken) GetToken() string
- func (m *RefreshToken) GetUpdatedAt() *timestamp.Timestamp
- func (m *RefreshToken) GetUpdatedBy() *ntypes.Int64
- func (m *RefreshToken) GetUserId() int64
- func (*RefreshToken) ProtoMessage()
- func (m *RefreshToken) Reset()
- func (m *RefreshToken) String() string
- func (m *RefreshToken) XXX_DiscardUnknown()
- func (m *RefreshToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RefreshToken) XXX_Merge(src proto.Message)
- func (m *RefreshToken) XXX_Size() int
- func (m *RefreshToken) XXX_Unmarshal(b []byte) error
- type RefreshTokenManagerClient
- type RefreshTokenManagerServer
- type RefreshTokenQuery
- func (*RefreshTokenQuery) Descriptor() ([]byte, []int)
- func (m *RefreshTokenQuery) GetCreatedAt() *qtypes.Timestamp
- func (m *RefreshTokenQuery) GetExpireAt() *qtypes.Timestamp
- func (m *RefreshTokenQuery) GetLastUsedAt() *qtypes.Timestamp
- func (m *RefreshTokenQuery) GetNotes() *qtypes.String
- func (m *RefreshTokenQuery) GetRevoked() *ntypes.Bool
- func (m *RefreshTokenQuery) GetUpdatedAt() *qtypes.Timestamp
- func (m *RefreshTokenQuery) GetUserId() *qtypes.Int64
- func (*RefreshTokenQuery) ProtoMessage()
- func (m *RefreshTokenQuery) Reset()
- func (m *RefreshTokenQuery) String() string
- func (m *RefreshTokenQuery) XXX_DiscardUnknown()
- func (m *RefreshTokenQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RefreshTokenQuery) XXX_Merge(src proto.Message)
- func (m *RefreshTokenQuery) XXX_Size() int
- func (m *RefreshTokenQuery) XXX_Unmarshal(b []byte) error
- type RefreshTokenStrategy
- func (*RefreshTokenStrategy) Descriptor() ([]byte, []int)
- func (m *RefreshTokenStrategy) GetRefreshToken() string
- func (*RefreshTokenStrategy) ProtoMessage()
- func (m *RefreshTokenStrategy) Reset()
- func (m *RefreshTokenStrategy) String() string
- func (m *RefreshTokenStrategy) XXX_DiscardUnknown()
- func (m *RefreshTokenStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RefreshTokenStrategy) XXX_Merge(src proto.Message)
- func (m *RefreshTokenStrategy) XXX_Size() int
- func (m *RefreshTokenStrategy) XXX_Unmarshal(b []byte) error
- type RegisterPermissionsRequest
- func (*RegisterPermissionsRequest) Descriptor() ([]byte, []int)
- func (m *RegisterPermissionsRequest) GetPermissions() []string
- func (*RegisterPermissionsRequest) ProtoMessage()
- func (m *RegisterPermissionsRequest) Reset()
- func (m *RegisterPermissionsRequest) String() string
- func (m *RegisterPermissionsRequest) XXX_DiscardUnknown()
- func (m *RegisterPermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RegisterPermissionsRequest) XXX_Merge(src proto.Message)
- func (m *RegisterPermissionsRequest) XXX_Size() int
- func (m *RegisterPermissionsRequest) XXX_Unmarshal(b []byte) error
- type RegisterPermissionsResponse
- func (*RegisterPermissionsResponse) Descriptor() ([]byte, []int)
- func (m *RegisterPermissionsResponse) GetCreated() int64
- func (m *RegisterPermissionsResponse) GetRemoved() int64
- func (m *RegisterPermissionsResponse) GetUntouched() int64
- func (*RegisterPermissionsResponse) ProtoMessage()
- func (m *RegisterPermissionsResponse) Reset()
- func (m *RegisterPermissionsResponse) String() string
- func (m *RegisterPermissionsResponse) XXX_DiscardUnknown()
- func (m *RegisterPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RegisterPermissionsResponse) XXX_Merge(src proto.Message)
- func (m *RegisterPermissionsResponse) XXX_Size() int
- func (m *RegisterPermissionsResponse) XXX_Unmarshal(b []byte) error
- type RevokeRefreshTokenRequest
- func (*RevokeRefreshTokenRequest) Descriptor() ([]byte, []int)
- func (m *RevokeRefreshTokenRequest) GetToken() string
- func (m *RevokeRefreshTokenRequest) GetUserId() int64
- func (*RevokeRefreshTokenRequest) ProtoMessage()
- func (m *RevokeRefreshTokenRequest) Reset()
- func (m *RevokeRefreshTokenRequest) String() string
- func (m *RevokeRefreshTokenRequest) XXX_DiscardUnknown()
- func (m *RevokeRefreshTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RevokeRefreshTokenRequest) XXX_Merge(src proto.Message)
- func (m *RevokeRefreshTokenRequest) XXX_Size() int
- func (m *RevokeRefreshTokenRequest) XXX_Unmarshal(b []byte) error
- type RevokeRefreshTokenResponse
- func (*RevokeRefreshTokenResponse) Descriptor() ([]byte, []int)
- func (m *RevokeRefreshTokenResponse) GetRefreshToken() *RefreshToken
- func (*RevokeRefreshTokenResponse) ProtoMessage()
- func (m *RevokeRefreshTokenResponse) Reset()
- func (m *RevokeRefreshTokenResponse) String() string
- func (m *RevokeRefreshTokenResponse) XXX_DiscardUnknown()
- func (m *RevokeRefreshTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RevokeRefreshTokenResponse) XXX_Merge(src proto.Message)
- func (m *RevokeRefreshTokenResponse) XXX_Size() int
- func (m *RevokeRefreshTokenResponse) XXX_Unmarshal(b []byte) error
- type SetGroupPermissionsRequest
- func (*SetGroupPermissionsRequest) Descriptor() ([]byte, []int)
- func (m *SetGroupPermissionsRequest) GetForce() bool
- func (m *SetGroupPermissionsRequest) GetGroupId() int64
- func (m *SetGroupPermissionsRequest) GetPermissions() []string
- func (*SetGroupPermissionsRequest) ProtoMessage()
- func (m *SetGroupPermissionsRequest) Reset()
- func (m *SetGroupPermissionsRequest) String() string
- func (m *SetGroupPermissionsRequest) XXX_DiscardUnknown()
- func (m *SetGroupPermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetGroupPermissionsRequest) XXX_Merge(src proto.Message)
- func (m *SetGroupPermissionsRequest) XXX_Size() int
- func (m *SetGroupPermissionsRequest) XXX_Unmarshal(b []byte) error
- type SetGroupPermissionsResponse
- func (*SetGroupPermissionsResponse) Descriptor() ([]byte, []int)
- func (m *SetGroupPermissionsResponse) GetCreated() int64
- func (m *SetGroupPermissionsResponse) GetRemoved() int64
- func (m *SetGroupPermissionsResponse) GetUntouched() int64
- func (*SetGroupPermissionsResponse) ProtoMessage()
- func (m *SetGroupPermissionsResponse) Reset()
- func (m *SetGroupPermissionsResponse) String() string
- func (m *SetGroupPermissionsResponse) XXX_DiscardUnknown()
- func (m *SetGroupPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetGroupPermissionsResponse) XXX_Merge(src proto.Message)
- func (m *SetGroupPermissionsResponse) XXX_Size() int
- func (m *SetGroupPermissionsResponse) XXX_Unmarshal(b []byte) error
- type SetUserGroupsRequest
- func (*SetUserGroupsRequest) Descriptor() ([]byte, []int)
- func (m *SetUserGroupsRequest) GetGroups() []int64
- func (m *SetUserGroupsRequest) GetUserId() int64
- func (*SetUserGroupsRequest) ProtoMessage()
- func (m *SetUserGroupsRequest) Reset()
- func (m *SetUserGroupsRequest) String() string
- func (m *SetUserGroupsRequest) XXX_DiscardUnknown()
- func (m *SetUserGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetUserGroupsRequest) XXX_Merge(src proto.Message)
- func (m *SetUserGroupsRequest) XXX_Size() int
- func (m *SetUserGroupsRequest) XXX_Unmarshal(b []byte) error
- type SetUserGroupsResponse
- func (*SetUserGroupsResponse) Descriptor() ([]byte, []int)
- func (m *SetUserGroupsResponse) GetCreated() int64
- func (m *SetUserGroupsResponse) GetRemoved() int64
- func (m *SetUserGroupsResponse) GetUntouched() int64
- func (*SetUserGroupsResponse) ProtoMessage()
- func (m *SetUserGroupsResponse) Reset()
- func (m *SetUserGroupsResponse) String() string
- func (m *SetUserGroupsResponse) XXX_DiscardUnknown()
- func (m *SetUserGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetUserGroupsResponse) XXX_Merge(src proto.Message)
- func (m *SetUserGroupsResponse) XXX_Size() int
- func (m *SetUserGroupsResponse) XXX_Unmarshal(b []byte) error
- type SetUserPermissionsRequest
- func (*SetUserPermissionsRequest) Descriptor() ([]byte, []int)
- func (m *SetUserPermissionsRequest) GetForce() bool
- func (m *SetUserPermissionsRequest) GetPermissions() []string
- func (m *SetUserPermissionsRequest) GetUserId() int64
- func (*SetUserPermissionsRequest) ProtoMessage()
- func (m *SetUserPermissionsRequest) Reset()
- func (m *SetUserPermissionsRequest) String() string
- func (m *SetUserPermissionsRequest) XXX_DiscardUnknown()
- func (m *SetUserPermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetUserPermissionsRequest) XXX_Merge(src proto.Message)
- func (m *SetUserPermissionsRequest) XXX_Size() int
- func (m *SetUserPermissionsRequest) XXX_Unmarshal(b []byte) error
- type SetUserPermissionsResponse
- func (*SetUserPermissionsResponse) Descriptor() ([]byte, []int)
- func (m *SetUserPermissionsResponse) GetCreated() int64
- func (m *SetUserPermissionsResponse) GetRemoved() int64
- func (m *SetUserPermissionsResponse) GetUntouched() int64
- func (*SetUserPermissionsResponse) ProtoMessage()
- func (m *SetUserPermissionsResponse) Reset()
- func (m *SetUserPermissionsResponse) String() string
- func (m *SetUserPermissionsResponse) XXX_DiscardUnknown()
- func (m *SetUserPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SetUserPermissionsResponse) XXX_Merge(src proto.Message)
- func (m *SetUserPermissionsResponse) XXX_Size() int
- func (m *SetUserPermissionsResponse) XXX_Unmarshal(b []byte) error
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetCreatedAt() *timestamp.Timestamp
- func (m *User) GetCreatedBy() *ntypes.Int64
- func (m *User) GetFirstName() string
- func (m *User) GetId() int64
- func (m *User) GetIsActive() bool
- func (m *User) GetIsConfirmed() bool
- func (m *User) GetIsStaff() bool
- func (m *User) GetIsSuperuser() bool
- func (m *User) GetLastName() string
- func (m *User) GetUpdatedAt() *timestamp.Timestamp
- func (m *User) GetUpdatedBy() *ntypes.Int64
- func (m *User) GetUsername() string
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
- type UserManagerClient
- type UserManagerServer
- type UsernameAndPasswordStrategy
- func (*UsernameAndPasswordStrategy) Descriptor() ([]byte, []int)
- func (m *UsernameAndPasswordStrategy) GetPassword() string
- func (m *UsernameAndPasswordStrategy) GetUsername() string
- func (*UsernameAndPasswordStrategy) ProtoMessage()
- func (m *UsernameAndPasswordStrategy) Reset()
- func (m *UsernameAndPasswordStrategy) String() string
- func (m *UsernameAndPasswordStrategy) XXX_DiscardUnknown()
- func (m *UsernameAndPasswordStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UsernameAndPasswordStrategy) XXX_Merge(src proto.Message)
- func (m *UsernameAndPasswordStrategy) XXX_Size() int
- func (m *UsernameAndPasswordStrategy) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAuthServer ¶
func RegisterAuthServer(s *grpc.Server, srv AuthServer)
func RegisterGroupManagerServer ¶
func RegisterGroupManagerServer(s *grpc.Server, srv GroupManagerServer)
func RegisterPermissionManagerServer ¶
func RegisterPermissionManagerServer(s *grpc.Server, srv PermissionManagerServer)
func RegisterRefreshTokenManagerServer ¶
func RegisterRefreshTokenManagerServer(s *grpc.Server, srv RefreshTokenManagerServer)
func RegisterUserManagerServer ¶
func RegisterUserManagerServer(s *grpc.Server, srv UserManagerServer)
Types ¶
type ActorResponse ¶
type ActorResponse struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` Permissions []string `protobuf:"bytes,5,rep,name=permissions,proto3" json:"permissions,omitempty"` IsSuperuser bool `protobuf:"varint,6,opt,name=is_superuser,json=isSuperuser,proto3" json:"is_superuser,omitempty"` IsActive bool `protobuf:"varint,7,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` IsStuff bool `protobuf:"varint,8,opt,name=is_stuff,json=isStuff,proto3" json:"is_stuff,omitempty"` // Deprecated: Do not use. IsConfirmed bool `protobuf:"varint,9,opt,name=is_confirmed,json=isConfirmed,proto3" json:"is_confirmed,omitempty"` IsStaff bool `protobuf:"varint,10,opt,name=is_staff,json=isStaff,proto3" json:"is_staff,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ActorResponse) Descriptor ¶
func (*ActorResponse) Descriptor() ([]byte, []int)
func (*ActorResponse) GetFirstName ¶
func (m *ActorResponse) GetFirstName() string
func (*ActorResponse) GetId ¶
func (m *ActorResponse) GetId() int64
func (*ActorResponse) GetIsActive ¶
func (m *ActorResponse) GetIsActive() bool
func (*ActorResponse) GetIsConfirmed ¶
func (m *ActorResponse) GetIsConfirmed() bool
func (*ActorResponse) GetIsStaff ¶
func (m *ActorResponse) GetIsStaff() bool
func (*ActorResponse) GetIsStuff
deprecated
func (m *ActorResponse) GetIsStuff() bool
Deprecated: Do not use.
func (*ActorResponse) GetIsSuperuser ¶
func (m *ActorResponse) GetIsSuperuser() bool
func (*ActorResponse) GetLastName ¶
func (m *ActorResponse) GetLastName() string
func (*ActorResponse) GetPermissions ¶
func (m *ActorResponse) GetPermissions() []string
func (*ActorResponse) GetUsername ¶
func (m *ActorResponse) GetUsername() string
func (*ActorResponse) ProtoMessage ¶
func (*ActorResponse) ProtoMessage()
func (*ActorResponse) Reset ¶
func (m *ActorResponse) Reset()
func (*ActorResponse) String ¶
func (m *ActorResponse) String() string
func (*ActorResponse) XXX_DiscardUnknown ¶
func (m *ActorResponse) XXX_DiscardUnknown()
func (*ActorResponse) XXX_Marshal ¶
func (m *ActorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActorResponse) XXX_Merge ¶
func (dst *ActorResponse) XXX_Merge(src proto.Message)
func (*ActorResponse) XXX_Size ¶
func (m *ActorResponse) XXX_Size() int
func (*ActorResponse) XXX_Unmarshal ¶
func (m *ActorResponse) XXX_Unmarshal(b []byte) error
type AuthClient ¶
type AuthClient interface { Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*wrappers.StringValue, error) Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*empty.Empty, error) IsAuthenticated(ctx context.Context, in *IsAuthenticatedRequest, opts ...grpc.CallOption) (*wrappers.BoolValue, error) Actor(ctx context.Context, in *wrappers.StringValue, opts ...grpc.CallOption) (*ActorResponse, error) IsGranted(ctx context.Context, in *IsGrantedRequest, opts ...grpc.CallOption) (*wrappers.BoolValue, error) BelongsTo(ctx context.Context, in *BelongsToRequest, opts ...grpc.CallOption) (*wrappers.BoolValue, error) }
AuthClient is the client API for Auth service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAuthClient ¶
func NewAuthClient(cc *grpc.ClientConn) AuthClient
type AuthServer ¶
type AuthServer interface { Login(context.Context, *LoginRequest) (*wrappers.StringValue, error) Logout(context.Context, *LogoutRequest) (*empty.Empty, error) IsAuthenticated(context.Context, *IsAuthenticatedRequest) (*wrappers.BoolValue, error) Actor(context.Context, *wrappers.StringValue) (*ActorResponse, error) IsGranted(context.Context, *IsGrantedRequest) (*wrappers.BoolValue, error) BelongsTo(context.Context, *BelongsToRequest) (*wrappers.BoolValue, error) }
AuthServer is the server API for Auth service.
type BelongsToRequest ¶
type BelongsToRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` GroupId int64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BelongsToRequest) Descriptor ¶
func (*BelongsToRequest) Descriptor() ([]byte, []int)
func (*BelongsToRequest) GetGroupId ¶
func (m *BelongsToRequest) GetGroupId() int64
func (*BelongsToRequest) GetUserId ¶
func (m *BelongsToRequest) GetUserId() int64
func (*BelongsToRequest) ProtoMessage ¶
func (*BelongsToRequest) ProtoMessage()
func (*BelongsToRequest) Reset ¶
func (m *BelongsToRequest) Reset()
func (*BelongsToRequest) String ¶
func (m *BelongsToRequest) String() string
func (*BelongsToRequest) XXX_DiscardUnknown ¶
func (m *BelongsToRequest) XXX_DiscardUnknown()
func (*BelongsToRequest) XXX_Marshal ¶
func (m *BelongsToRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BelongsToRequest) XXX_Merge ¶
func (dst *BelongsToRequest) XXX_Merge(src proto.Message)
func (*BelongsToRequest) XXX_Size ¶
func (m *BelongsToRequest) XXX_Size() int
func (*BelongsToRequest) XXX_Unmarshal ¶
func (m *BelongsToRequest) XXX_Unmarshal(b []byte) error
type CreateGroupRequest ¶
type CreateGroupRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description *ntypes.String `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateGroupRequest) Descriptor ¶
func (*CreateGroupRequest) Descriptor() ([]byte, []int)
func (*CreateGroupRequest) GetDescription ¶
func (m *CreateGroupRequest) GetDescription() *ntypes.String
func (*CreateGroupRequest) GetName ¶
func (m *CreateGroupRequest) GetName() string
func (*CreateGroupRequest) ProtoMessage ¶
func (*CreateGroupRequest) ProtoMessage()
func (*CreateGroupRequest) Reset ¶
func (m *CreateGroupRequest) Reset()
func (*CreateGroupRequest) String ¶
func (m *CreateGroupRequest) String() string
func (*CreateGroupRequest) XXX_DiscardUnknown ¶
func (m *CreateGroupRequest) XXX_DiscardUnknown()
func (*CreateGroupRequest) XXX_Marshal ¶
func (m *CreateGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateGroupRequest) XXX_Merge ¶
func (dst *CreateGroupRequest) XXX_Merge(src proto.Message)
func (*CreateGroupRequest) XXX_Size ¶
func (m *CreateGroupRequest) XXX_Size() int
func (*CreateGroupRequest) XXX_Unmarshal ¶
func (m *CreateGroupRequest) XXX_Unmarshal(b []byte) error
type CreateGroupResponse ¶
type CreateGroupResponse struct { Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateGroupResponse) Descriptor ¶
func (*CreateGroupResponse) Descriptor() ([]byte, []int)
func (*CreateGroupResponse) GetGroup ¶
func (m *CreateGroupResponse) GetGroup() *Group
func (*CreateGroupResponse) ProtoMessage ¶
func (*CreateGroupResponse) ProtoMessage()
func (*CreateGroupResponse) Reset ¶
func (m *CreateGroupResponse) Reset()
func (*CreateGroupResponse) String ¶
func (m *CreateGroupResponse) String() string
func (*CreateGroupResponse) XXX_DiscardUnknown ¶
func (m *CreateGroupResponse) XXX_DiscardUnknown()
func (*CreateGroupResponse) XXX_Marshal ¶
func (m *CreateGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateGroupResponse) XXX_Merge ¶
func (dst *CreateGroupResponse) XXX_Merge(src proto.Message)
func (*CreateGroupResponse) XXX_Size ¶
func (m *CreateGroupResponse) XXX_Size() int
func (*CreateGroupResponse) XXX_Unmarshal ¶
func (m *CreateGroupResponse) XXX_Unmarshal(b []byte) error
type CreateRefreshTokenRequest ¶
type CreateRefreshTokenRequest struct { Notes *ntypes.String `protobuf:"bytes,1,opt,name=notes,proto3" json:"notes,omitempty"` ExpireAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateRefreshTokenRequest) Descriptor ¶
func (*CreateRefreshTokenRequest) Descriptor() ([]byte, []int)
func (*CreateRefreshTokenRequest) GetExpireAt ¶
func (m *CreateRefreshTokenRequest) GetExpireAt() *timestamp.Timestamp
func (*CreateRefreshTokenRequest) GetNotes ¶
func (m *CreateRefreshTokenRequest) GetNotes() *ntypes.String
func (*CreateRefreshTokenRequest) ProtoMessage ¶
func (*CreateRefreshTokenRequest) ProtoMessage()
func (*CreateRefreshTokenRequest) Reset ¶
func (m *CreateRefreshTokenRequest) Reset()
func (*CreateRefreshTokenRequest) String ¶
func (m *CreateRefreshTokenRequest) String() string
func (*CreateRefreshTokenRequest) XXX_DiscardUnknown ¶
func (m *CreateRefreshTokenRequest) XXX_DiscardUnknown()
func (*CreateRefreshTokenRequest) XXX_Marshal ¶
func (m *CreateRefreshTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateRefreshTokenRequest) XXX_Merge ¶
func (dst *CreateRefreshTokenRequest) XXX_Merge(src proto.Message)
func (*CreateRefreshTokenRequest) XXX_Size ¶
func (m *CreateRefreshTokenRequest) XXX_Size() int
func (*CreateRefreshTokenRequest) XXX_Unmarshal ¶
func (m *CreateRefreshTokenRequest) XXX_Unmarshal(b []byte) error
type CreateRefreshTokenResponse ¶
type CreateRefreshTokenResponse struct { RefreshToken *RefreshToken `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateRefreshTokenResponse) Descriptor ¶
func (*CreateRefreshTokenResponse) Descriptor() ([]byte, []int)
func (*CreateRefreshTokenResponse) GetRefreshToken ¶
func (m *CreateRefreshTokenResponse) GetRefreshToken() *RefreshToken
func (*CreateRefreshTokenResponse) ProtoMessage ¶
func (*CreateRefreshTokenResponse) ProtoMessage()
func (*CreateRefreshTokenResponse) Reset ¶
func (m *CreateRefreshTokenResponse) Reset()
func (*CreateRefreshTokenResponse) String ¶
func (m *CreateRefreshTokenResponse) String() string
func (*CreateRefreshTokenResponse) XXX_DiscardUnknown ¶
func (m *CreateRefreshTokenResponse) XXX_DiscardUnknown()
func (*CreateRefreshTokenResponse) XXX_Marshal ¶
func (m *CreateRefreshTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateRefreshTokenResponse) XXX_Merge ¶
func (dst *CreateRefreshTokenResponse) XXX_Merge(src proto.Message)
func (*CreateRefreshTokenResponse) XXX_Size ¶
func (m *CreateRefreshTokenResponse) XXX_Size() int
func (*CreateRefreshTokenResponse) XXX_Unmarshal ¶
func (m *CreateRefreshTokenResponse) XXX_Unmarshal(b []byte) error
type CreateUserRequest ¶
type CreateUserRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` PlainPassword string `protobuf:"bytes,2,opt,name=plain_password,json=plainPassword,proto3" json:"plain_password,omitempty"` SecurePassword []byte `protobuf:"bytes,3,opt,name=secure_password,json=securePassword,proto3" json:"secure_password,omitempty"` FirstName string `protobuf:"bytes,4,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,5,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` IsSuperuser *ntypes.Bool `protobuf:"bytes,6,opt,name=is_superuser,json=isSuperuser,proto3" json:"is_superuser,omitempty"` IsActive *ntypes.Bool `protobuf:"bytes,7,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` IsStaff *ntypes.Bool `protobuf:"bytes,8,opt,name=is_staff,json=isStaff,proto3" json:"is_staff,omitempty"` IsConfirmed *ntypes.Bool `protobuf:"bytes,9,opt,name=is_confirmed,json=isConfirmed,proto3" json:"is_confirmed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateUserRequest) Descriptor ¶
func (*CreateUserRequest) Descriptor() ([]byte, []int)
func (*CreateUserRequest) GetFirstName ¶
func (m *CreateUserRequest) GetFirstName() string
func (*CreateUserRequest) GetIsActive ¶
func (m *CreateUserRequest) GetIsActive() *ntypes.Bool
func (*CreateUserRequest) GetIsConfirmed ¶
func (m *CreateUserRequest) GetIsConfirmed() *ntypes.Bool
func (*CreateUserRequest) GetIsStaff ¶
func (m *CreateUserRequest) GetIsStaff() *ntypes.Bool
func (*CreateUserRequest) GetIsSuperuser ¶
func (m *CreateUserRequest) GetIsSuperuser() *ntypes.Bool
func (*CreateUserRequest) GetLastName ¶
func (m *CreateUserRequest) GetLastName() string
func (*CreateUserRequest) GetPlainPassword ¶
func (m *CreateUserRequest) GetPlainPassword() string
func (*CreateUserRequest) GetSecurePassword ¶
func (m *CreateUserRequest) GetSecurePassword() []byte
func (*CreateUserRequest) GetUsername ¶
func (m *CreateUserRequest) GetUsername() string
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) Reset ¶
func (m *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (m *CreateUserRequest) String() string
func (*CreateUserRequest) XXX_DiscardUnknown ¶
func (m *CreateUserRequest) XXX_DiscardUnknown()
func (*CreateUserRequest) XXX_Marshal ¶
func (m *CreateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateUserRequest) XXX_Merge ¶
func (dst *CreateUserRequest) XXX_Merge(src proto.Message)
func (*CreateUserRequest) XXX_Size ¶
func (m *CreateUserRequest) XXX_Size() int
func (*CreateUserRequest) XXX_Unmarshal ¶
func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error
type CreateUserResponse ¶
type CreateUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateUserResponse) Descriptor ¶
func (*CreateUserResponse) Descriptor() ([]byte, []int)
func (*CreateUserResponse) GetUser ¶
func (m *CreateUserResponse) GetUser() *User
func (*CreateUserResponse) ProtoMessage ¶
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) Reset ¶
func (m *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶
func (m *CreateUserResponse) String() string
func (*CreateUserResponse) XXX_DiscardUnknown ¶
func (m *CreateUserResponse) XXX_DiscardUnknown()
func (*CreateUserResponse) XXX_Marshal ¶
func (m *CreateUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateUserResponse) XXX_Merge ¶
func (dst *CreateUserResponse) XXX_Merge(src proto.Message)
func (*CreateUserResponse) XXX_Size ¶
func (m *CreateUserResponse) XXX_Size() int
func (*CreateUserResponse) XXX_Unmarshal ¶
func (m *CreateUserResponse) XXX_Unmarshal(b []byte) error
type DeleteGroupRequest ¶
type DeleteGroupRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteGroupRequest) Descriptor ¶
func (*DeleteGroupRequest) Descriptor() ([]byte, []int)
func (*DeleteGroupRequest) GetId ¶
func (m *DeleteGroupRequest) GetId() int64
func (*DeleteGroupRequest) ProtoMessage ¶
func (*DeleteGroupRequest) ProtoMessage()
func (*DeleteGroupRequest) Reset ¶
func (m *DeleteGroupRequest) Reset()
func (*DeleteGroupRequest) String ¶
func (m *DeleteGroupRequest) String() string
func (*DeleteGroupRequest) XXX_DiscardUnknown ¶
func (m *DeleteGroupRequest) XXX_DiscardUnknown()
func (*DeleteGroupRequest) XXX_Marshal ¶
func (m *DeleteGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteGroupRequest) XXX_Merge ¶
func (dst *DeleteGroupRequest) XXX_Merge(src proto.Message)
func (*DeleteGroupRequest) XXX_Size ¶
func (m *DeleteGroupRequest) XXX_Size() int
func (*DeleteGroupRequest) XXX_Unmarshal ¶
func (m *DeleteGroupRequest) XXX_Unmarshal(b []byte) error
type DeleteUserRequest ¶
type DeleteUserRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteUserRequest) Descriptor ¶
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
func (*DeleteUserRequest) GetId ¶
func (m *DeleteUserRequest) GetId() int64
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) Reset ¶
func (m *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (m *DeleteUserRequest) String() string
func (*DeleteUserRequest) XXX_DiscardUnknown ¶
func (m *DeleteUserRequest) XXX_DiscardUnknown()
func (*DeleteUserRequest) XXX_Marshal ¶
func (m *DeleteUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteUserRequest) XXX_Merge ¶
func (dst *DeleteUserRequest) XXX_Merge(src proto.Message)
func (*DeleteUserRequest) XXX_Size ¶
func (m *DeleteUserRequest) XXX_Size() int
func (*DeleteUserRequest) XXX_Unmarshal ¶
func (m *DeleteUserRequest) XXX_Unmarshal(b []byte) error
type GetGroupRequest ¶
type GetGroupRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetGroupRequest) Descriptor ¶
func (*GetGroupRequest) Descriptor() ([]byte, []int)
func (*GetGroupRequest) GetId ¶
func (m *GetGroupRequest) GetId() int64
func (*GetGroupRequest) ProtoMessage ¶
func (*GetGroupRequest) ProtoMessage()
func (*GetGroupRequest) Reset ¶
func (m *GetGroupRequest) Reset()
func (*GetGroupRequest) String ¶
func (m *GetGroupRequest) String() string
func (*GetGroupRequest) XXX_DiscardUnknown ¶
func (m *GetGroupRequest) XXX_DiscardUnknown()
func (*GetGroupRequest) XXX_Marshal ¶
func (m *GetGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetGroupRequest) XXX_Merge ¶
func (dst *GetGroupRequest) XXX_Merge(src proto.Message)
func (*GetGroupRequest) XXX_Size ¶
func (m *GetGroupRequest) XXX_Size() int
func (*GetGroupRequest) XXX_Unmarshal ¶
func (m *GetGroupRequest) XXX_Unmarshal(b []byte) error
type GetGroupResponse ¶
type GetGroupResponse struct { Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetGroupResponse) Descriptor ¶
func (*GetGroupResponse) Descriptor() ([]byte, []int)
func (*GetGroupResponse) GetGroup ¶
func (m *GetGroupResponse) GetGroup() *Group
func (*GetGroupResponse) ProtoMessage ¶
func (*GetGroupResponse) ProtoMessage()
func (*GetGroupResponse) Reset ¶
func (m *GetGroupResponse) Reset()
func (*GetGroupResponse) String ¶
func (m *GetGroupResponse) String() string
func (*GetGroupResponse) XXX_DiscardUnknown ¶
func (m *GetGroupResponse) XXX_DiscardUnknown()
func (*GetGroupResponse) XXX_Marshal ¶
func (m *GetGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetGroupResponse) XXX_Merge ¶
func (dst *GetGroupResponse) XXX_Merge(src proto.Message)
func (*GetGroupResponse) XXX_Size ¶
func (m *GetGroupResponse) XXX_Size() int
func (*GetGroupResponse) XXX_Unmarshal ¶
func (m *GetGroupResponse) XXX_Unmarshal(b []byte) error
type GetPermissionRequest ¶
type GetPermissionRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetPermissionRequest) Descriptor ¶
func (*GetPermissionRequest) Descriptor() ([]byte, []int)
func (*GetPermissionRequest) GetId ¶
func (m *GetPermissionRequest) GetId() int64
func (*GetPermissionRequest) ProtoMessage ¶
func (*GetPermissionRequest) ProtoMessage()
func (*GetPermissionRequest) Reset ¶
func (m *GetPermissionRequest) Reset()
func (*GetPermissionRequest) String ¶
func (m *GetPermissionRequest) String() string
func (*GetPermissionRequest) XXX_DiscardUnknown ¶
func (m *GetPermissionRequest) XXX_DiscardUnknown()
func (*GetPermissionRequest) XXX_Marshal ¶
func (m *GetPermissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPermissionRequest) XXX_Merge ¶
func (dst *GetPermissionRequest) XXX_Merge(src proto.Message)
func (*GetPermissionRequest) XXX_Size ¶
func (m *GetPermissionRequest) XXX_Size() int
func (*GetPermissionRequest) XXX_Unmarshal ¶
func (m *GetPermissionRequest) XXX_Unmarshal(b []byte) error
type GetPermissionResponse ¶
type GetPermissionResponse struct { Permission string `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetPermissionResponse) Descriptor ¶
func (*GetPermissionResponse) Descriptor() ([]byte, []int)
func (*GetPermissionResponse) GetPermission ¶
func (m *GetPermissionResponse) GetPermission() string
func (*GetPermissionResponse) ProtoMessage ¶
func (*GetPermissionResponse) ProtoMessage()
func (*GetPermissionResponse) Reset ¶
func (m *GetPermissionResponse) Reset()
func (*GetPermissionResponse) String ¶
func (m *GetPermissionResponse) String() string
func (*GetPermissionResponse) XXX_DiscardUnknown ¶
func (m *GetPermissionResponse) XXX_DiscardUnknown()
func (*GetPermissionResponse) XXX_Marshal ¶
func (m *GetPermissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPermissionResponse) XXX_Merge ¶
func (dst *GetPermissionResponse) XXX_Merge(src proto.Message)
func (*GetPermissionResponse) XXX_Size ¶
func (m *GetPermissionResponse) XXX_Size() int
func (*GetPermissionResponse) XXX_Unmarshal ¶
func (m *GetPermissionResponse) XXX_Unmarshal(b []byte) error
type GetUserRequest ¶
type GetUserRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetUserRequest) Descriptor ¶
func (*GetUserRequest) Descriptor() ([]byte, []int)
func (*GetUserRequest) GetId ¶
func (m *GetUserRequest) GetId() int64
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) Reset ¶
func (m *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (m *GetUserRequest) String() string
func (*GetUserRequest) XXX_DiscardUnknown ¶
func (m *GetUserRequest) XXX_DiscardUnknown()
func (*GetUserRequest) XXX_Marshal ¶
func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserRequest) XXX_Merge ¶
func (dst *GetUserRequest) XXX_Merge(src proto.Message)
func (*GetUserRequest) XXX_Size ¶
func (m *GetUserRequest) XXX_Size() int
func (*GetUserRequest) XXX_Unmarshal ¶
func (m *GetUserRequest) XXX_Unmarshal(b []byte) error
type GetUserResponse ¶
type GetUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetUserResponse) Descriptor ¶
func (*GetUserResponse) Descriptor() ([]byte, []int)
func (*GetUserResponse) GetUser ¶
func (m *GetUserResponse) GetUser() *User
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) Reset ¶
func (m *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (m *GetUserResponse) String() string
func (*GetUserResponse) XXX_DiscardUnknown ¶
func (m *GetUserResponse) XXX_DiscardUnknown()
func (*GetUserResponse) XXX_Marshal ¶
func (m *GetUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserResponse) XXX_Merge ¶
func (dst *GetUserResponse) XXX_Merge(src proto.Message)
func (*GetUserResponse) XXX_Size ¶
func (m *GetUserResponse) XXX_Size() int
func (*GetUserResponse) XXX_Unmarshal ¶
func (m *GetUserResponse) XXX_Unmarshal(b []byte) error
type Group ¶
type Group struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"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"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` CreatedBy *ntypes.Int64 `protobuf:"bytes,5,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedBy *ntypes.Int64 `protobuf:"bytes,7,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Group) Descriptor ¶
func (*Group) GetCreatedAt ¶
func (*Group) GetCreatedBy ¶
func (*Group) GetDescription ¶
func (*Group) GetUpdatedAt ¶
func (*Group) GetUpdatedBy ¶
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) XXX_DiscardUnknown ¶
func (m *Group) XXX_DiscardUnknown()
func (*Group) XXX_Marshal ¶
func (*Group) XXX_Unmarshal ¶
type GroupManagerClient ¶
type GroupManagerClient interface { Create(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*CreateGroupResponse, error) Modify(ctx context.Context, in *ModifyGroupRequest, opts ...grpc.CallOption) (*ModifyGroupResponse, error) Get(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*GetGroupResponse, error) List(ctx context.Context, in *ListGroupsRequest, opts ...grpc.CallOption) (*ListGroupsResponse, error) Delete(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*wrappers.BoolValue, error) ListPermissions(ctx context.Context, in *ListGroupPermissionsRequest, opts ...grpc.CallOption) (*ListGroupPermissionsResponse, error) SetPermissions(ctx context.Context, in *SetGroupPermissionsRequest, opts ...grpc.CallOption) (*SetGroupPermissionsResponse, error) }
GroupManagerClient is the client API for GroupManager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGroupManagerClient ¶
func NewGroupManagerClient(cc *grpc.ClientConn) GroupManagerClient
type GroupManagerServer ¶
type GroupManagerServer interface { Create(context.Context, *CreateGroupRequest) (*CreateGroupResponse, error) Modify(context.Context, *ModifyGroupRequest) (*ModifyGroupResponse, error) Get(context.Context, *GetGroupRequest) (*GetGroupResponse, error) List(context.Context, *ListGroupsRequest) (*ListGroupsResponse, error) Delete(context.Context, *DeleteGroupRequest) (*wrappers.BoolValue, error) ListPermissions(context.Context, *ListGroupPermissionsRequest) (*ListGroupPermissionsResponse, error) SetPermissions(context.Context, *SetGroupPermissionsRequest) (*SetGroupPermissionsResponse, error) }
GroupManagerServer is the server API for GroupManager service.
type IsAuthenticatedRequest ¶
type IsAuthenticatedRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IsAuthenticatedRequest) Descriptor ¶
func (*IsAuthenticatedRequest) Descriptor() ([]byte, []int)
func (*IsAuthenticatedRequest) GetAccessToken ¶
func (m *IsAuthenticatedRequest) GetAccessToken() string
func (*IsAuthenticatedRequest) ProtoMessage ¶
func (*IsAuthenticatedRequest) ProtoMessage()
func (*IsAuthenticatedRequest) Reset ¶
func (m *IsAuthenticatedRequest) Reset()
func (*IsAuthenticatedRequest) String ¶
func (m *IsAuthenticatedRequest) String() string
func (*IsAuthenticatedRequest) XXX_DiscardUnknown ¶
func (m *IsAuthenticatedRequest) XXX_DiscardUnknown()
func (*IsAuthenticatedRequest) XXX_Marshal ¶
func (m *IsAuthenticatedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IsAuthenticatedRequest) XXX_Merge ¶
func (dst *IsAuthenticatedRequest) XXX_Merge(src proto.Message)
func (*IsAuthenticatedRequest) XXX_Size ¶
func (m *IsAuthenticatedRequest) XXX_Size() int
func (*IsAuthenticatedRequest) XXX_Unmarshal ¶
func (m *IsAuthenticatedRequest) XXX_Unmarshal(b []byte) error
type IsGrantedRequest ¶
type IsGrantedRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Permission string `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IsGrantedRequest) Descriptor ¶
func (*IsGrantedRequest) Descriptor() ([]byte, []int)
func (*IsGrantedRequest) GetPermission ¶
func (m *IsGrantedRequest) GetPermission() string
func (*IsGrantedRequest) GetUserId ¶
func (m *IsGrantedRequest) GetUserId() int64
func (*IsGrantedRequest) ProtoMessage ¶
func (*IsGrantedRequest) ProtoMessage()
func (*IsGrantedRequest) Reset ¶
func (m *IsGrantedRequest) Reset()
func (*IsGrantedRequest) String ¶
func (m *IsGrantedRequest) String() string
func (*IsGrantedRequest) XXX_DiscardUnknown ¶
func (m *IsGrantedRequest) XXX_DiscardUnknown()
func (*IsGrantedRequest) XXX_Marshal ¶
func (m *IsGrantedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IsGrantedRequest) XXX_Merge ¶
func (dst *IsGrantedRequest) XXX_Merge(src proto.Message)
func (*IsGrantedRequest) XXX_Size ¶
func (m *IsGrantedRequest) XXX_Size() int
func (*IsGrantedRequest) XXX_Unmarshal ¶
func (m *IsGrantedRequest) XXX_Unmarshal(b []byte) error
type ListGroupPermissionsRequest ¶
type ListGroupPermissionsRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListGroupPermissionsRequest) Descriptor ¶
func (*ListGroupPermissionsRequest) Descriptor() ([]byte, []int)
func (*ListGroupPermissionsRequest) GetId ¶
func (m *ListGroupPermissionsRequest) GetId() int64
func (*ListGroupPermissionsRequest) ProtoMessage ¶
func (*ListGroupPermissionsRequest) ProtoMessage()
func (*ListGroupPermissionsRequest) Reset ¶
func (m *ListGroupPermissionsRequest) Reset()
func (*ListGroupPermissionsRequest) String ¶
func (m *ListGroupPermissionsRequest) String() string
func (*ListGroupPermissionsRequest) XXX_DiscardUnknown ¶
func (m *ListGroupPermissionsRequest) XXX_DiscardUnknown()
func (*ListGroupPermissionsRequest) XXX_Marshal ¶
func (m *ListGroupPermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListGroupPermissionsRequest) XXX_Merge ¶
func (dst *ListGroupPermissionsRequest) XXX_Merge(src proto.Message)
func (*ListGroupPermissionsRequest) XXX_Size ¶
func (m *ListGroupPermissionsRequest) XXX_Size() int
func (*ListGroupPermissionsRequest) XXX_Unmarshal ¶
func (m *ListGroupPermissionsRequest) XXX_Unmarshal(b []byte) error
type ListGroupPermissionsResponse ¶
type ListGroupPermissionsResponse struct { Permissions []string `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListGroupPermissionsResponse) Descriptor ¶
func (*ListGroupPermissionsResponse) Descriptor() ([]byte, []int)
func (*ListGroupPermissionsResponse) GetPermissions ¶
func (m *ListGroupPermissionsResponse) GetPermissions() []string
func (*ListGroupPermissionsResponse) ProtoMessage ¶
func (*ListGroupPermissionsResponse) ProtoMessage()
func (*ListGroupPermissionsResponse) Reset ¶
func (m *ListGroupPermissionsResponse) Reset()
func (*ListGroupPermissionsResponse) String ¶
func (m *ListGroupPermissionsResponse) String() string
func (*ListGroupPermissionsResponse) XXX_DiscardUnknown ¶
func (m *ListGroupPermissionsResponse) XXX_DiscardUnknown()
func (*ListGroupPermissionsResponse) XXX_Marshal ¶
func (m *ListGroupPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListGroupPermissionsResponse) XXX_Merge ¶
func (dst *ListGroupPermissionsResponse) XXX_Merge(src proto.Message)
func (*ListGroupPermissionsResponse) XXX_Size ¶
func (m *ListGroupPermissionsResponse) XXX_Size() int
func (*ListGroupPermissionsResponse) XXX_Unmarshal ¶
func (m *ListGroupPermissionsResponse) XXX_Unmarshal(b []byte) error
type ListGroupsRequest ¶
type ListGroupsRequest struct { Offset *ntypes.Int64 `protobuf:"bytes,100,opt,name=offset,proto3" json:"offset,omitempty"` Limit *ntypes.Int64 `protobuf:"bytes,101,opt,name=limit,proto3" json:"limit,omitempty"` OrderBy []*Order `protobuf:"bytes,102,rep,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListGroupsRequest) Descriptor ¶
func (*ListGroupsRequest) Descriptor() ([]byte, []int)
func (*ListGroupsRequest) GetLimit ¶
func (m *ListGroupsRequest) GetLimit() *ntypes.Int64
func (*ListGroupsRequest) GetOffset ¶
func (m *ListGroupsRequest) GetOffset() *ntypes.Int64
func (*ListGroupsRequest) GetOrderBy ¶
func (m *ListGroupsRequest) GetOrderBy() []*Order
func (*ListGroupsRequest) ProtoMessage ¶
func (*ListGroupsRequest) ProtoMessage()
func (*ListGroupsRequest) Reset ¶
func (m *ListGroupsRequest) Reset()
func (*ListGroupsRequest) String ¶
func (m *ListGroupsRequest) String() string
func (*ListGroupsRequest) XXX_DiscardUnknown ¶
func (m *ListGroupsRequest) XXX_DiscardUnknown()
func (*ListGroupsRequest) XXX_Marshal ¶
func (m *ListGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListGroupsRequest) XXX_Merge ¶
func (dst *ListGroupsRequest) XXX_Merge(src proto.Message)
func (*ListGroupsRequest) XXX_Size ¶
func (m *ListGroupsRequest) XXX_Size() int
func (*ListGroupsRequest) XXX_Unmarshal ¶
func (m *ListGroupsRequest) XXX_Unmarshal(b []byte) error
type ListGroupsResponse ¶
type ListGroupsResponse struct { Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListGroupsResponse) Descriptor ¶
func (*ListGroupsResponse) Descriptor() ([]byte, []int)
func (*ListGroupsResponse) GetGroups ¶
func (m *ListGroupsResponse) GetGroups() []*Group
func (*ListGroupsResponse) ProtoMessage ¶
func (*ListGroupsResponse) ProtoMessage()
func (*ListGroupsResponse) Reset ¶
func (m *ListGroupsResponse) Reset()
func (*ListGroupsResponse) String ¶
func (m *ListGroupsResponse) String() string
func (*ListGroupsResponse) XXX_DiscardUnknown ¶
func (m *ListGroupsResponse) XXX_DiscardUnknown()
func (*ListGroupsResponse) XXX_Marshal ¶
func (m *ListGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListGroupsResponse) XXX_Merge ¶
func (dst *ListGroupsResponse) XXX_Merge(src proto.Message)
func (*ListGroupsResponse) XXX_Size ¶
func (m *ListGroupsResponse) XXX_Size() int
func (*ListGroupsResponse) XXX_Unmarshal ¶
func (m *ListGroupsResponse) XXX_Unmarshal(b []byte) error
type ListPermissionsRequest ¶
type ListPermissionsRequest struct { Subsystem *qtypes.String `protobuf:"bytes,1,opt,name=subsystem,proto3" json:"subsystem,omitempty"` Module *qtypes.String `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"` Action *qtypes.String `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"` CreatedAt *qtypes.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` CreatedBy *qtypes.Int64 `protobuf:"bytes,5,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` Offset *ntypes.Int64 `protobuf:"bytes,100,opt,name=offset,proto3" json:"offset,omitempty"` Limit *ntypes.Int64 `protobuf:"bytes,101,opt,name=limit,proto3" json:"limit,omitempty"` Sort map[string]bool `` // Deprecated: Do not use. /* 152-byte string literal not displayed */ OrderBy []*Order `protobuf:"bytes,103,rep,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListPermissionsRequest) Descriptor ¶
func (*ListPermissionsRequest) Descriptor() ([]byte, []int)
func (*ListPermissionsRequest) GetAction ¶
func (m *ListPermissionsRequest) GetAction() *qtypes.String
func (*ListPermissionsRequest) GetCreatedAt ¶
func (m *ListPermissionsRequest) GetCreatedAt() *qtypes.Timestamp
func (*ListPermissionsRequest) GetCreatedBy ¶
func (m *ListPermissionsRequest) GetCreatedBy() *qtypes.Int64
func (*ListPermissionsRequest) GetLimit ¶
func (m *ListPermissionsRequest) GetLimit() *ntypes.Int64
func (*ListPermissionsRequest) GetModule ¶
func (m *ListPermissionsRequest) GetModule() *qtypes.String
func (*ListPermissionsRequest) GetOffset ¶
func (m *ListPermissionsRequest) GetOffset() *ntypes.Int64
func (*ListPermissionsRequest) GetOrderBy ¶
func (m *ListPermissionsRequest) GetOrderBy() []*Order
func (*ListPermissionsRequest) GetSort
deprecated
func (m *ListPermissionsRequest) GetSort() map[string]bool
Deprecated: Do not use.
func (*ListPermissionsRequest) GetSubsystem ¶
func (m *ListPermissionsRequest) GetSubsystem() *qtypes.String
func (*ListPermissionsRequest) ProtoMessage ¶
func (*ListPermissionsRequest) ProtoMessage()
func (*ListPermissionsRequest) Reset ¶
func (m *ListPermissionsRequest) Reset()
func (*ListPermissionsRequest) String ¶
func (m *ListPermissionsRequest) String() string
func (*ListPermissionsRequest) XXX_DiscardUnknown ¶
func (m *ListPermissionsRequest) XXX_DiscardUnknown()
func (*ListPermissionsRequest) XXX_Marshal ¶
func (m *ListPermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPermissionsRequest) XXX_Merge ¶
func (dst *ListPermissionsRequest) XXX_Merge(src proto.Message)
func (*ListPermissionsRequest) XXX_Size ¶
func (m *ListPermissionsRequest) XXX_Size() int
func (*ListPermissionsRequest) XXX_Unmarshal ¶
func (m *ListPermissionsRequest) XXX_Unmarshal(b []byte) error
type ListPermissionsResponse ¶
type ListPermissionsResponse struct { Permissions []string `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListPermissionsResponse) Descriptor ¶
func (*ListPermissionsResponse) Descriptor() ([]byte, []int)
func (*ListPermissionsResponse) GetPermissions ¶
func (m *ListPermissionsResponse) GetPermissions() []string
func (*ListPermissionsResponse) ProtoMessage ¶
func (*ListPermissionsResponse) ProtoMessage()
func (*ListPermissionsResponse) Reset ¶
func (m *ListPermissionsResponse) Reset()
func (*ListPermissionsResponse) String ¶
func (m *ListPermissionsResponse) String() string
func (*ListPermissionsResponse) XXX_DiscardUnknown ¶
func (m *ListPermissionsResponse) XXX_DiscardUnknown()
func (*ListPermissionsResponse) XXX_Marshal ¶
func (m *ListPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPermissionsResponse) XXX_Merge ¶
func (dst *ListPermissionsResponse) XXX_Merge(src proto.Message)
func (*ListPermissionsResponse) XXX_Size ¶
func (m *ListPermissionsResponse) XXX_Size() int
func (*ListPermissionsResponse) XXX_Unmarshal ¶
func (m *ListPermissionsResponse) XXX_Unmarshal(b []byte) error
type ListRefreshTokensRequest ¶
type ListRefreshTokensRequest struct { Offset *ntypes.Int64 `protobuf:"bytes,1,opt,name=offset,proto3" json:"offset,omitempty"` Limit *ntypes.Int64 `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"` OrderBy []*Order `protobuf:"bytes,3,rep,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` Query *RefreshTokenQuery `protobuf:"bytes,11,opt,name=query,proto3" json:"query,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListRefreshTokensRequest) Descriptor ¶
func (*ListRefreshTokensRequest) Descriptor() ([]byte, []int)
func (*ListRefreshTokensRequest) GetLimit ¶
func (m *ListRefreshTokensRequest) GetLimit() *ntypes.Int64
func (*ListRefreshTokensRequest) GetOffset ¶
func (m *ListRefreshTokensRequest) GetOffset() *ntypes.Int64
func (*ListRefreshTokensRequest) GetOrderBy ¶
func (m *ListRefreshTokensRequest) GetOrderBy() []*Order
func (*ListRefreshTokensRequest) GetQuery ¶
func (m *ListRefreshTokensRequest) GetQuery() *RefreshTokenQuery
func (*ListRefreshTokensRequest) ProtoMessage ¶
func (*ListRefreshTokensRequest) ProtoMessage()
func (*ListRefreshTokensRequest) Reset ¶
func (m *ListRefreshTokensRequest) Reset()
func (*ListRefreshTokensRequest) String ¶
func (m *ListRefreshTokensRequest) String() string
func (*ListRefreshTokensRequest) XXX_DiscardUnknown ¶
func (m *ListRefreshTokensRequest) XXX_DiscardUnknown()
func (*ListRefreshTokensRequest) XXX_Marshal ¶
func (m *ListRefreshTokensRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListRefreshTokensRequest) XXX_Merge ¶
func (dst *ListRefreshTokensRequest) XXX_Merge(src proto.Message)
func (*ListRefreshTokensRequest) XXX_Size ¶
func (m *ListRefreshTokensRequest) XXX_Size() int
func (*ListRefreshTokensRequest) XXX_Unmarshal ¶
func (m *ListRefreshTokensRequest) XXX_Unmarshal(b []byte) error
type ListRefreshTokensResponse ¶
type ListRefreshTokensResponse struct { RefreshTokens []*RefreshToken `protobuf:"bytes,1,rep,name=refresh_tokens,json=refreshTokens,proto3" json:"refresh_tokens,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListRefreshTokensResponse) Descriptor ¶
func (*ListRefreshTokensResponse) Descriptor() ([]byte, []int)
func (*ListRefreshTokensResponse) GetRefreshTokens ¶
func (m *ListRefreshTokensResponse) GetRefreshTokens() []*RefreshToken
func (*ListRefreshTokensResponse) ProtoMessage ¶
func (*ListRefreshTokensResponse) ProtoMessage()
func (*ListRefreshTokensResponse) Reset ¶
func (m *ListRefreshTokensResponse) Reset()
func (*ListRefreshTokensResponse) String ¶
func (m *ListRefreshTokensResponse) String() string
func (*ListRefreshTokensResponse) XXX_DiscardUnknown ¶
func (m *ListRefreshTokensResponse) XXX_DiscardUnknown()
func (*ListRefreshTokensResponse) XXX_Marshal ¶
func (m *ListRefreshTokensResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListRefreshTokensResponse) XXX_Merge ¶
func (dst *ListRefreshTokensResponse) XXX_Merge(src proto.Message)
func (*ListRefreshTokensResponse) XXX_Size ¶
func (m *ListRefreshTokensResponse) XXX_Size() int
func (*ListRefreshTokensResponse) XXX_Unmarshal ¶
func (m *ListRefreshTokensResponse) XXX_Unmarshal(b []byte) error
type ListUserGroupsRequest ¶
type ListUserGroupsRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListUserGroupsRequest) Descriptor ¶
func (*ListUserGroupsRequest) Descriptor() ([]byte, []int)
func (*ListUserGroupsRequest) GetId ¶
func (m *ListUserGroupsRequest) GetId() int64
func (*ListUserGroupsRequest) ProtoMessage ¶
func (*ListUserGroupsRequest) ProtoMessage()
func (*ListUserGroupsRequest) Reset ¶
func (m *ListUserGroupsRequest) Reset()
func (*ListUserGroupsRequest) String ¶
func (m *ListUserGroupsRequest) String() string
func (*ListUserGroupsRequest) XXX_DiscardUnknown ¶
func (m *ListUserGroupsRequest) XXX_DiscardUnknown()
func (*ListUserGroupsRequest) XXX_Marshal ¶
func (m *ListUserGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUserGroupsRequest) XXX_Merge ¶
func (dst *ListUserGroupsRequest) XXX_Merge(src proto.Message)
func (*ListUserGroupsRequest) XXX_Size ¶
func (m *ListUserGroupsRequest) XXX_Size() int
func (*ListUserGroupsRequest) XXX_Unmarshal ¶
func (m *ListUserGroupsRequest) XXX_Unmarshal(b []byte) error
type ListUserGroupsResponse ¶
type ListUserGroupsResponse struct { Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListUserGroupsResponse) Descriptor ¶
func (*ListUserGroupsResponse) Descriptor() ([]byte, []int)
func (*ListUserGroupsResponse) GetGroups ¶
func (m *ListUserGroupsResponse) GetGroups() []*Group
func (*ListUserGroupsResponse) ProtoMessage ¶
func (*ListUserGroupsResponse) ProtoMessage()
func (*ListUserGroupsResponse) Reset ¶
func (m *ListUserGroupsResponse) Reset()
func (*ListUserGroupsResponse) String ¶
func (m *ListUserGroupsResponse) String() string
func (*ListUserGroupsResponse) XXX_DiscardUnknown ¶
func (m *ListUserGroupsResponse) XXX_DiscardUnknown()
func (*ListUserGroupsResponse) XXX_Marshal ¶
func (m *ListUserGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUserGroupsResponse) XXX_Merge ¶
func (dst *ListUserGroupsResponse) XXX_Merge(src proto.Message)
func (*ListUserGroupsResponse) XXX_Size ¶
func (m *ListUserGroupsResponse) XXX_Size() int
func (*ListUserGroupsResponse) XXX_Unmarshal ¶
func (m *ListUserGroupsResponse) XXX_Unmarshal(b []byte) error
type ListUserPermissionsRequest ¶
type ListUserPermissionsRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListUserPermissionsRequest) Descriptor ¶
func (*ListUserPermissionsRequest) Descriptor() ([]byte, []int)
func (*ListUserPermissionsRequest) GetId ¶
func (m *ListUserPermissionsRequest) GetId() int64
func (*ListUserPermissionsRequest) ProtoMessage ¶
func (*ListUserPermissionsRequest) ProtoMessage()
func (*ListUserPermissionsRequest) Reset ¶
func (m *ListUserPermissionsRequest) Reset()
func (*ListUserPermissionsRequest) String ¶
func (m *ListUserPermissionsRequest) String() string
func (*ListUserPermissionsRequest) XXX_DiscardUnknown ¶
func (m *ListUserPermissionsRequest) XXX_DiscardUnknown()
func (*ListUserPermissionsRequest) XXX_Marshal ¶
func (m *ListUserPermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUserPermissionsRequest) XXX_Merge ¶
func (dst *ListUserPermissionsRequest) XXX_Merge(src proto.Message)
func (*ListUserPermissionsRequest) XXX_Size ¶
func (m *ListUserPermissionsRequest) XXX_Size() int
func (*ListUserPermissionsRequest) XXX_Unmarshal ¶
func (m *ListUserPermissionsRequest) XXX_Unmarshal(b []byte) error
type ListUserPermissionsResponse ¶
type ListUserPermissionsResponse struct { Permissions []string `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListUserPermissionsResponse) Descriptor ¶
func (*ListUserPermissionsResponse) Descriptor() ([]byte, []int)
func (*ListUserPermissionsResponse) GetPermissions ¶
func (m *ListUserPermissionsResponse) GetPermissions() []string
func (*ListUserPermissionsResponse) ProtoMessage ¶
func (*ListUserPermissionsResponse) ProtoMessage()
func (*ListUserPermissionsResponse) Reset ¶
func (m *ListUserPermissionsResponse) Reset()
func (*ListUserPermissionsResponse) String ¶
func (m *ListUserPermissionsResponse) String() string
func (*ListUserPermissionsResponse) XXX_DiscardUnknown ¶
func (m *ListUserPermissionsResponse) XXX_DiscardUnknown()
func (*ListUserPermissionsResponse) XXX_Marshal ¶
func (m *ListUserPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUserPermissionsResponse) XXX_Merge ¶
func (dst *ListUserPermissionsResponse) XXX_Merge(src proto.Message)
func (*ListUserPermissionsResponse) XXX_Size ¶
func (m *ListUserPermissionsResponse) XXX_Size() int
func (*ListUserPermissionsResponse) XXX_Unmarshal ¶
func (m *ListUserPermissionsResponse) XXX_Unmarshal(b []byte) error
type ListUsersRequest ¶
type ListUsersRequest struct { IsSuperuser *ntypes.Bool `protobuf:"bytes,1,opt,name=is_superuser,json=isSuperuser,proto3" json:"is_superuser,omitempty"` IsStaff *ntypes.Bool `protobuf:"bytes,2,opt,name=is_staff,json=isStaff,proto3" json:"is_staff,omitempty"` CreatedBy *qtypes.Int64 `protobuf:"bytes,3,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` Offset *ntypes.Int64 `protobuf:"bytes,100,opt,name=offset,proto3" json:"offset,omitempty"` Limit *ntypes.Int64 `protobuf:"bytes,101,opt,name=limit,proto3" json:"limit,omitempty"` Sort map[string]bool `` // Deprecated: Do not use. /* 152-byte string literal not displayed */ OrderBy []*Order `protobuf:"bytes,103,rep,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListUsersRequest) Descriptor ¶
func (*ListUsersRequest) Descriptor() ([]byte, []int)
func (*ListUsersRequest) GetCreatedBy ¶
func (m *ListUsersRequest) GetCreatedBy() *qtypes.Int64
func (*ListUsersRequest) GetIsStaff ¶
func (m *ListUsersRequest) GetIsStaff() *ntypes.Bool
func (*ListUsersRequest) GetIsSuperuser ¶
func (m *ListUsersRequest) GetIsSuperuser() *ntypes.Bool
func (*ListUsersRequest) GetLimit ¶
func (m *ListUsersRequest) GetLimit() *ntypes.Int64
func (*ListUsersRequest) GetOffset ¶
func (m *ListUsersRequest) GetOffset() *ntypes.Int64
func (*ListUsersRequest) GetOrderBy ¶
func (m *ListUsersRequest) GetOrderBy() []*Order
func (*ListUsersRequest) GetSort
deprecated
func (m *ListUsersRequest) GetSort() map[string]bool
Deprecated: Do not use.
func (*ListUsersRequest) ProtoMessage ¶
func (*ListUsersRequest) ProtoMessage()
func (*ListUsersRequest) Reset ¶
func (m *ListUsersRequest) Reset()
func (*ListUsersRequest) String ¶
func (m *ListUsersRequest) String() string
func (*ListUsersRequest) XXX_DiscardUnknown ¶
func (m *ListUsersRequest) XXX_DiscardUnknown()
func (*ListUsersRequest) XXX_Marshal ¶
func (m *ListUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUsersRequest) XXX_Merge ¶
func (dst *ListUsersRequest) XXX_Merge(src proto.Message)
func (*ListUsersRequest) XXX_Size ¶
func (m *ListUsersRequest) XXX_Size() int
func (*ListUsersRequest) XXX_Unmarshal ¶
func (m *ListUsersRequest) XXX_Unmarshal(b []byte) error
type ListUsersResponse ¶
type ListUsersResponse struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListUsersResponse) Descriptor ¶
func (*ListUsersResponse) Descriptor() ([]byte, []int)
func (*ListUsersResponse) GetUsers ¶
func (m *ListUsersResponse) GetUsers() []*User
func (*ListUsersResponse) ProtoMessage ¶
func (*ListUsersResponse) ProtoMessage()
func (*ListUsersResponse) Reset ¶
func (m *ListUsersResponse) Reset()
func (*ListUsersResponse) String ¶
func (m *ListUsersResponse) String() string
func (*ListUsersResponse) XXX_DiscardUnknown ¶
func (m *ListUsersResponse) XXX_DiscardUnknown()
func (*ListUsersResponse) XXX_Marshal ¶
func (m *ListUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUsersResponse) XXX_Merge ¶
func (dst *ListUsersResponse) XXX_Merge(src proto.Message)
func (*ListUsersResponse) XXX_Size ¶
func (m *ListUsersResponse) XXX_Size() int
func (*ListUsersResponse) XXX_Unmarshal ¶
func (m *ListUsersResponse) XXX_Unmarshal(b []byte) error
type LoginRequest ¶
type LoginRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // Deprecated: Do not use. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // Deprecated: Do not use. Client string `protobuf:"bytes,3,opt,name=client,proto3" json:"client,omitempty"` // Types that are valid to be assigned to Strategy: // *LoginRequest_UsernameAndPassword // *LoginRequest_RefreshToken Strategy isLoginRequest_Strategy `protobuf_oneof:"strategy"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoginRequest) Descriptor ¶
func (*LoginRequest) Descriptor() ([]byte, []int)
func (*LoginRequest) GetClient ¶
func (m *LoginRequest) GetClient() string
func (*LoginRequest) GetPassword
deprecated
func (m *LoginRequest) GetPassword() string
Deprecated: Do not use.
func (*LoginRequest) GetRefreshToken ¶
func (m *LoginRequest) GetRefreshToken() *RefreshTokenStrategy
func (*LoginRequest) GetStrategy ¶
func (m *LoginRequest) GetStrategy() isLoginRequest_Strategy
func (*LoginRequest) GetUsername
deprecated
func (m *LoginRequest) GetUsername() string
Deprecated: Do not use.
func (*LoginRequest) GetUsernameAndPassword ¶
func (m *LoginRequest) GetUsernameAndPassword() *UsernameAndPasswordStrategy
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) Reset ¶
func (m *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (m *LoginRequest) String() string
func (*LoginRequest) XXX_DiscardUnknown ¶
func (m *LoginRequest) XXX_DiscardUnknown()
func (*LoginRequest) XXX_Marshal ¶
func (m *LoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoginRequest) XXX_Merge ¶
func (dst *LoginRequest) XXX_Merge(src proto.Message)
func (*LoginRequest) XXX_OneofFuncs ¶
func (*LoginRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*LoginRequest) XXX_Size ¶
func (m *LoginRequest) XXX_Size() int
func (*LoginRequest) XXX_Unmarshal ¶
func (m *LoginRequest) XXX_Unmarshal(b []byte) error
type LoginRequest_RefreshToken ¶
type LoginRequest_RefreshToken struct {
RefreshToken *RefreshTokenStrategy `protobuf:"bytes,12,opt,name=refresh_token,json=refreshToken,proto3,oneof"`
}
type LoginRequest_UsernameAndPassword ¶
type LoginRequest_UsernameAndPassword struct {
UsernameAndPassword *UsernameAndPasswordStrategy `protobuf:"bytes,11,opt,name=username_and_password,json=usernameAndPassword,proto3,oneof"`
}
type LogoutRequest ¶
type LogoutRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LogoutRequest) Descriptor ¶
func (*LogoutRequest) Descriptor() ([]byte, []int)
func (*LogoutRequest) GetAccessToken ¶
func (m *LogoutRequest) GetAccessToken() string
func (*LogoutRequest) ProtoMessage ¶
func (*LogoutRequest) ProtoMessage()
func (*LogoutRequest) Reset ¶
func (m *LogoutRequest) Reset()
func (*LogoutRequest) String ¶
func (m *LogoutRequest) String() string
func (*LogoutRequest) XXX_DiscardUnknown ¶
func (m *LogoutRequest) XXX_DiscardUnknown()
func (*LogoutRequest) XXX_Marshal ¶
func (m *LogoutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LogoutRequest) XXX_Merge ¶
func (dst *LogoutRequest) XXX_Merge(src proto.Message)
func (*LogoutRequest) XXX_Size ¶
func (m *LogoutRequest) XXX_Size() int
func (*LogoutRequest) XXX_Unmarshal ¶
func (m *LogoutRequest) XXX_Unmarshal(b []byte) error
type ModifyGroupRequest ¶
type ModifyGroupRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name *ntypes.String `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description *ntypes.String `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModifyGroupRequest) Descriptor ¶
func (*ModifyGroupRequest) Descriptor() ([]byte, []int)
func (*ModifyGroupRequest) GetDescription ¶
func (m *ModifyGroupRequest) GetDescription() *ntypes.String
func (*ModifyGroupRequest) GetId ¶
func (m *ModifyGroupRequest) GetId() int64
func (*ModifyGroupRequest) GetName ¶
func (m *ModifyGroupRequest) GetName() *ntypes.String
func (*ModifyGroupRequest) ProtoMessage ¶
func (*ModifyGroupRequest) ProtoMessage()
func (*ModifyGroupRequest) Reset ¶
func (m *ModifyGroupRequest) Reset()
func (*ModifyGroupRequest) String ¶
func (m *ModifyGroupRequest) String() string
func (*ModifyGroupRequest) XXX_DiscardUnknown ¶
func (m *ModifyGroupRequest) XXX_DiscardUnknown()
func (*ModifyGroupRequest) XXX_Marshal ¶
func (m *ModifyGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModifyGroupRequest) XXX_Merge ¶
func (dst *ModifyGroupRequest) XXX_Merge(src proto.Message)
func (*ModifyGroupRequest) XXX_Size ¶
func (m *ModifyGroupRequest) XXX_Size() int
func (*ModifyGroupRequest) XXX_Unmarshal ¶
func (m *ModifyGroupRequest) XXX_Unmarshal(b []byte) error
type ModifyGroupResponse ¶
type ModifyGroupResponse struct { Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModifyGroupResponse) Descriptor ¶
func (*ModifyGroupResponse) Descriptor() ([]byte, []int)
func (*ModifyGroupResponse) GetGroup ¶
func (m *ModifyGroupResponse) GetGroup() *Group
func (*ModifyGroupResponse) ProtoMessage ¶
func (*ModifyGroupResponse) ProtoMessage()
func (*ModifyGroupResponse) Reset ¶
func (m *ModifyGroupResponse) Reset()
func (*ModifyGroupResponse) String ¶
func (m *ModifyGroupResponse) String() string
func (*ModifyGroupResponse) XXX_DiscardUnknown ¶
func (m *ModifyGroupResponse) XXX_DiscardUnknown()
func (*ModifyGroupResponse) XXX_Marshal ¶
func (m *ModifyGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModifyGroupResponse) XXX_Merge ¶
func (dst *ModifyGroupResponse) XXX_Merge(src proto.Message)
func (*ModifyGroupResponse) XXX_Size ¶
func (m *ModifyGroupResponse) XXX_Size() int
func (*ModifyGroupResponse) XXX_Unmarshal ¶
func (m *ModifyGroupResponse) XXX_Unmarshal(b []byte) error
type ModifyUserRequest ¶
type ModifyUserRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Username *ntypes.String `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` PlainPassword *ntypes.String `protobuf:"bytes,3,opt,name=plain_password,json=plainPassword,proto3" json:"plain_password,omitempty"` SecurePassword []byte `protobuf:"bytes,4,opt,name=secure_password,json=securePassword,proto3" json:"secure_password,omitempty"` FirstName *ntypes.String `protobuf:"bytes,5,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` LastName *ntypes.String `protobuf:"bytes,6,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` IsSuperuser *ntypes.Bool `protobuf:"bytes,7,opt,name=is_superuser,json=isSuperuser,proto3" json:"is_superuser,omitempty"` IsActive *ntypes.Bool `protobuf:"bytes,8,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` IsStaff *ntypes.Bool `protobuf:"bytes,9,opt,name=is_staff,json=isStaff,proto3" json:"is_staff,omitempty"` IsConfirmed *ntypes.Bool `protobuf:"bytes,10,opt,name=is_confirmed,json=isConfirmed,proto3" json:"is_confirmed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModifyUserRequest) Descriptor ¶
func (*ModifyUserRequest) Descriptor() ([]byte, []int)
func (*ModifyUserRequest) GetFirstName ¶
func (m *ModifyUserRequest) GetFirstName() *ntypes.String
func (*ModifyUserRequest) GetId ¶
func (m *ModifyUserRequest) GetId() int64
func (*ModifyUserRequest) GetIsActive ¶
func (m *ModifyUserRequest) GetIsActive() *ntypes.Bool
func (*ModifyUserRequest) GetIsConfirmed ¶
func (m *ModifyUserRequest) GetIsConfirmed() *ntypes.Bool
func (*ModifyUserRequest) GetIsStaff ¶
func (m *ModifyUserRequest) GetIsStaff() *ntypes.Bool
func (*ModifyUserRequest) GetIsSuperuser ¶
func (m *ModifyUserRequest) GetIsSuperuser() *ntypes.Bool
func (*ModifyUserRequest) GetLastName ¶
func (m *ModifyUserRequest) GetLastName() *ntypes.String
func (*ModifyUserRequest) GetPlainPassword ¶
func (m *ModifyUserRequest) GetPlainPassword() *ntypes.String
func (*ModifyUserRequest) GetSecurePassword ¶
func (m *ModifyUserRequest) GetSecurePassword() []byte
func (*ModifyUserRequest) GetUsername ¶
func (m *ModifyUserRequest) GetUsername() *ntypes.String
func (*ModifyUserRequest) ProtoMessage ¶
func (*ModifyUserRequest) ProtoMessage()
func (*ModifyUserRequest) Reset ¶
func (m *ModifyUserRequest) Reset()
func (*ModifyUserRequest) String ¶
func (m *ModifyUserRequest) String() string
func (*ModifyUserRequest) XXX_DiscardUnknown ¶
func (m *ModifyUserRequest) XXX_DiscardUnknown()
func (*ModifyUserRequest) XXX_Marshal ¶
func (m *ModifyUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModifyUserRequest) XXX_Merge ¶
func (dst *ModifyUserRequest) XXX_Merge(src proto.Message)
func (*ModifyUserRequest) XXX_Size ¶
func (m *ModifyUserRequest) XXX_Size() int
func (*ModifyUserRequest) XXX_Unmarshal ¶
func (m *ModifyUserRequest) XXX_Unmarshal(b []byte) error
type ModifyUserResponse ¶
type ModifyUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModifyUserResponse) Descriptor ¶
func (*ModifyUserResponse) Descriptor() ([]byte, []int)
func (*ModifyUserResponse) GetUser ¶
func (m *ModifyUserResponse) GetUser() *User
func (*ModifyUserResponse) ProtoMessage ¶
func (*ModifyUserResponse) ProtoMessage()
func (*ModifyUserResponse) Reset ¶
func (m *ModifyUserResponse) Reset()
func (*ModifyUserResponse) String ¶
func (m *ModifyUserResponse) String() string
func (*ModifyUserResponse) XXX_DiscardUnknown ¶
func (m *ModifyUserResponse) XXX_DiscardUnknown()
func (*ModifyUserResponse) XXX_Marshal ¶
func (m *ModifyUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModifyUserResponse) XXX_Merge ¶
func (dst *ModifyUserResponse) XXX_Merge(src proto.Message)
func (*ModifyUserResponse) XXX_Size ¶
func (m *ModifyUserResponse) XXX_Size() int
func (*ModifyUserResponse) XXX_Unmarshal ¶
func (m *ModifyUserResponse) XXX_Unmarshal(b []byte) error
type Order ¶
type Order struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Descending bool `protobuf:"varint,2,opt,name=descending,proto3" json:"descending,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Order represents single field within OrderBy clause.
func (*Order) Descriptor ¶
func (*Order) GetDescending ¶
func (*Order) ProtoMessage ¶
func (*Order) ProtoMessage()
func (*Order) XXX_DiscardUnknown ¶
func (m *Order) XXX_DiscardUnknown()
func (*Order) XXX_Marshal ¶
func (*Order) XXX_Unmarshal ¶
type PermissionManagerClient ¶
type PermissionManagerClient interface { Register(ctx context.Context, in *RegisterPermissionsRequest, opts ...grpc.CallOption) (*RegisterPermissionsResponse, error) List(ctx context.Context, in *ListPermissionsRequest, opts ...grpc.CallOption) (*ListPermissionsResponse, error) Get(ctx context.Context, in *GetPermissionRequest, opts ...grpc.CallOption) (*GetPermissionResponse, error) }
PermissionManagerClient is the client API for PermissionManager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPermissionManagerClient ¶
func NewPermissionManagerClient(cc *grpc.ClientConn) PermissionManagerClient
type PermissionManagerServer ¶
type PermissionManagerServer interface { Register(context.Context, *RegisterPermissionsRequest) (*RegisterPermissionsResponse, error) List(context.Context, *ListPermissionsRequest) (*ListPermissionsResponse, error) Get(context.Context, *GetPermissionRequest) (*GetPermissionResponse, error) }
PermissionManagerServer is the server API for PermissionManager service.
type RefreshToken ¶
type RefreshToken struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Notes *ntypes.String `protobuf:"bytes,2,opt,name=notes,proto3" json:"notes,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Revoked bool `protobuf:"varint,4,opt,name=revoked,proto3" json:"revoked,omitempty"` ExpireAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` LastUsedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=last_used_at,json=lastUsedAt,proto3" json:"last_used_at,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` CreatedBy *ntypes.Int64 `protobuf:"bytes,8,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedBy *ntypes.Int64 `protobuf:"bytes,10,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RefreshToken) Descriptor ¶
func (*RefreshToken) Descriptor() ([]byte, []int)
func (*RefreshToken) GetCreatedAt ¶
func (m *RefreshToken) GetCreatedAt() *timestamp.Timestamp
func (*RefreshToken) GetCreatedBy ¶
func (m *RefreshToken) GetCreatedBy() *ntypes.Int64
func (*RefreshToken) GetExpireAt ¶
func (m *RefreshToken) GetExpireAt() *timestamp.Timestamp
func (*RefreshToken) GetLastUsedAt ¶
func (m *RefreshToken) GetLastUsedAt() *timestamp.Timestamp
func (*RefreshToken) GetNotes ¶
func (m *RefreshToken) GetNotes() *ntypes.String
func (*RefreshToken) GetRevoked ¶
func (m *RefreshToken) GetRevoked() bool
func (*RefreshToken) GetToken ¶
func (m *RefreshToken) GetToken() string
func (*RefreshToken) GetUpdatedAt ¶
func (m *RefreshToken) GetUpdatedAt() *timestamp.Timestamp
func (*RefreshToken) GetUpdatedBy ¶
func (m *RefreshToken) GetUpdatedBy() *ntypes.Int64
func (*RefreshToken) GetUserId ¶
func (m *RefreshToken) GetUserId() int64
func (*RefreshToken) ProtoMessage ¶
func (*RefreshToken) ProtoMessage()
func (*RefreshToken) Reset ¶
func (m *RefreshToken) Reset()
func (*RefreshToken) String ¶
func (m *RefreshToken) String() string
func (*RefreshToken) XXX_DiscardUnknown ¶
func (m *RefreshToken) XXX_DiscardUnknown()
func (*RefreshToken) XXX_Marshal ¶
func (m *RefreshToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RefreshToken) XXX_Merge ¶
func (dst *RefreshToken) XXX_Merge(src proto.Message)
func (*RefreshToken) XXX_Size ¶
func (m *RefreshToken) XXX_Size() int
func (*RefreshToken) XXX_Unmarshal ¶
func (m *RefreshToken) XXX_Unmarshal(b []byte) error
type RefreshTokenManagerClient ¶
type RefreshTokenManagerClient interface { Create(ctx context.Context, in *CreateRefreshTokenRequest, opts ...grpc.CallOption) (*CreateRefreshTokenResponse, error) Revoke(ctx context.Context, in *RevokeRefreshTokenRequest, opts ...grpc.CallOption) (*RevokeRefreshTokenResponse, error) List(ctx context.Context, in *ListRefreshTokensRequest, opts ...grpc.CallOption) (*ListRefreshTokensResponse, error) }
RefreshTokenManagerClient is the client API for RefreshTokenManager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRefreshTokenManagerClient ¶
func NewRefreshTokenManagerClient(cc *grpc.ClientConn) RefreshTokenManagerClient
type RefreshTokenManagerServer ¶
type RefreshTokenManagerServer interface { Create(context.Context, *CreateRefreshTokenRequest) (*CreateRefreshTokenResponse, error) Revoke(context.Context, *RevokeRefreshTokenRequest) (*RevokeRefreshTokenResponse, error) List(context.Context, *ListRefreshTokensRequest) (*ListRefreshTokensResponse, error) }
RefreshTokenManagerServer is the server API for RefreshTokenManager service.
type RefreshTokenQuery ¶
type RefreshTokenQuery struct { UserId *qtypes.Int64 `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Notes *qtypes.String `protobuf:"bytes,2,opt,name=notes,proto3" json:"notes,omitempty"` Revoked *ntypes.Bool `protobuf:"bytes,3,opt,name=revoked,proto3" json:"revoked,omitempty"` ExpireAt *qtypes.Timestamp `protobuf:"bytes,4,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"` LastUsedAt *qtypes.Timestamp `protobuf:"bytes,5,opt,name=last_used_at,json=lastUsedAt,proto3" json:"last_used_at,omitempty"` CreatedAt *qtypes.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *qtypes.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RefreshTokenQuery) Descriptor ¶
func (*RefreshTokenQuery) Descriptor() ([]byte, []int)
func (*RefreshTokenQuery) GetCreatedAt ¶
func (m *RefreshTokenQuery) GetCreatedAt() *qtypes.Timestamp
func (*RefreshTokenQuery) GetExpireAt ¶
func (m *RefreshTokenQuery) GetExpireAt() *qtypes.Timestamp
func (*RefreshTokenQuery) GetLastUsedAt ¶
func (m *RefreshTokenQuery) GetLastUsedAt() *qtypes.Timestamp
func (*RefreshTokenQuery) GetNotes ¶
func (m *RefreshTokenQuery) GetNotes() *qtypes.String
func (*RefreshTokenQuery) GetRevoked ¶
func (m *RefreshTokenQuery) GetRevoked() *ntypes.Bool
func (*RefreshTokenQuery) GetUpdatedAt ¶
func (m *RefreshTokenQuery) GetUpdatedAt() *qtypes.Timestamp
func (*RefreshTokenQuery) GetUserId ¶
func (m *RefreshTokenQuery) GetUserId() *qtypes.Int64
func (*RefreshTokenQuery) ProtoMessage ¶
func (*RefreshTokenQuery) ProtoMessage()
func (*RefreshTokenQuery) Reset ¶
func (m *RefreshTokenQuery) Reset()
func (*RefreshTokenQuery) String ¶
func (m *RefreshTokenQuery) String() string
func (*RefreshTokenQuery) XXX_DiscardUnknown ¶
func (m *RefreshTokenQuery) XXX_DiscardUnknown()
func (*RefreshTokenQuery) XXX_Marshal ¶
func (m *RefreshTokenQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RefreshTokenQuery) XXX_Merge ¶
func (dst *RefreshTokenQuery) XXX_Merge(src proto.Message)
func (*RefreshTokenQuery) XXX_Size ¶
func (m *RefreshTokenQuery) XXX_Size() int
func (*RefreshTokenQuery) XXX_Unmarshal ¶
func (m *RefreshTokenQuery) XXX_Unmarshal(b []byte) error
type RefreshTokenStrategy ¶
type RefreshTokenStrategy struct { RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RefreshTokenStrategy) Descriptor ¶
func (*RefreshTokenStrategy) Descriptor() ([]byte, []int)
func (*RefreshTokenStrategy) GetRefreshToken ¶
func (m *RefreshTokenStrategy) GetRefreshToken() string
func (*RefreshTokenStrategy) ProtoMessage ¶
func (*RefreshTokenStrategy) ProtoMessage()
func (*RefreshTokenStrategy) Reset ¶
func (m *RefreshTokenStrategy) Reset()
func (*RefreshTokenStrategy) String ¶
func (m *RefreshTokenStrategy) String() string
func (*RefreshTokenStrategy) XXX_DiscardUnknown ¶
func (m *RefreshTokenStrategy) XXX_DiscardUnknown()
func (*RefreshTokenStrategy) XXX_Marshal ¶
func (m *RefreshTokenStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RefreshTokenStrategy) XXX_Merge ¶
func (dst *RefreshTokenStrategy) XXX_Merge(src proto.Message)
func (*RefreshTokenStrategy) XXX_Size ¶
func (m *RefreshTokenStrategy) XXX_Size() int
func (*RefreshTokenStrategy) XXX_Unmarshal ¶
func (m *RefreshTokenStrategy) XXX_Unmarshal(b []byte) error
type RegisterPermissionsRequest ¶
type RegisterPermissionsRequest struct { Permissions []string `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RegisterPermissionsRequest) Descriptor ¶
func (*RegisterPermissionsRequest) Descriptor() ([]byte, []int)
func (*RegisterPermissionsRequest) GetPermissions ¶
func (m *RegisterPermissionsRequest) GetPermissions() []string
func (*RegisterPermissionsRequest) ProtoMessage ¶
func (*RegisterPermissionsRequest) ProtoMessage()
func (*RegisterPermissionsRequest) Reset ¶
func (m *RegisterPermissionsRequest) Reset()
func (*RegisterPermissionsRequest) String ¶
func (m *RegisterPermissionsRequest) String() string
func (*RegisterPermissionsRequest) XXX_DiscardUnknown ¶
func (m *RegisterPermissionsRequest) XXX_DiscardUnknown()
func (*RegisterPermissionsRequest) XXX_Marshal ¶
func (m *RegisterPermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterPermissionsRequest) XXX_Merge ¶
func (dst *RegisterPermissionsRequest) XXX_Merge(src proto.Message)
func (*RegisterPermissionsRequest) XXX_Size ¶
func (m *RegisterPermissionsRequest) XXX_Size() int
func (*RegisterPermissionsRequest) XXX_Unmarshal ¶
func (m *RegisterPermissionsRequest) XXX_Unmarshal(b []byte) error
type RegisterPermissionsResponse ¶
type RegisterPermissionsResponse struct { Created int64 `protobuf:"varint,1,opt,name=created,proto3" json:"created,omitempty"` Removed int64 `protobuf:"varint,2,opt,name=removed,proto3" json:"removed,omitempty"` Untouched int64 `protobuf:"varint,3,opt,name=untouched,proto3" json:"untouched,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RegisterPermissionsResponse) Descriptor ¶
func (*RegisterPermissionsResponse) Descriptor() ([]byte, []int)
func (*RegisterPermissionsResponse) GetCreated ¶
func (m *RegisterPermissionsResponse) GetCreated() int64
func (*RegisterPermissionsResponse) GetRemoved ¶
func (m *RegisterPermissionsResponse) GetRemoved() int64
func (*RegisterPermissionsResponse) GetUntouched ¶
func (m *RegisterPermissionsResponse) GetUntouched() int64
func (*RegisterPermissionsResponse) ProtoMessage ¶
func (*RegisterPermissionsResponse) ProtoMessage()
func (*RegisterPermissionsResponse) Reset ¶
func (m *RegisterPermissionsResponse) Reset()
func (*RegisterPermissionsResponse) String ¶
func (m *RegisterPermissionsResponse) String() string
func (*RegisterPermissionsResponse) XXX_DiscardUnknown ¶
func (m *RegisterPermissionsResponse) XXX_DiscardUnknown()
func (*RegisterPermissionsResponse) XXX_Marshal ¶
func (m *RegisterPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterPermissionsResponse) XXX_Merge ¶
func (dst *RegisterPermissionsResponse) XXX_Merge(src proto.Message)
func (*RegisterPermissionsResponse) XXX_Size ¶
func (m *RegisterPermissionsResponse) XXX_Size() int
func (*RegisterPermissionsResponse) XXX_Unmarshal ¶
func (m *RegisterPermissionsResponse) XXX_Unmarshal(b []byte) error
type RevokeRefreshTokenRequest ¶
type RevokeRefreshTokenRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RevokeRefreshTokenRequest) Descriptor ¶
func (*RevokeRefreshTokenRequest) Descriptor() ([]byte, []int)
func (*RevokeRefreshTokenRequest) GetToken ¶
func (m *RevokeRefreshTokenRequest) GetToken() string
func (*RevokeRefreshTokenRequest) GetUserId ¶
func (m *RevokeRefreshTokenRequest) GetUserId() int64
func (*RevokeRefreshTokenRequest) ProtoMessage ¶
func (*RevokeRefreshTokenRequest) ProtoMessage()
func (*RevokeRefreshTokenRequest) Reset ¶
func (m *RevokeRefreshTokenRequest) Reset()
func (*RevokeRefreshTokenRequest) String ¶
func (m *RevokeRefreshTokenRequest) String() string
func (*RevokeRefreshTokenRequest) XXX_DiscardUnknown ¶
func (m *RevokeRefreshTokenRequest) XXX_DiscardUnknown()
func (*RevokeRefreshTokenRequest) XXX_Marshal ¶
func (m *RevokeRefreshTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RevokeRefreshTokenRequest) XXX_Merge ¶
func (dst *RevokeRefreshTokenRequest) XXX_Merge(src proto.Message)
func (*RevokeRefreshTokenRequest) XXX_Size ¶
func (m *RevokeRefreshTokenRequest) XXX_Size() int
func (*RevokeRefreshTokenRequest) XXX_Unmarshal ¶
func (m *RevokeRefreshTokenRequest) XXX_Unmarshal(b []byte) error
type RevokeRefreshTokenResponse ¶
type RevokeRefreshTokenResponse struct { RefreshToken *RefreshToken `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RevokeRefreshTokenResponse) Descriptor ¶
func (*RevokeRefreshTokenResponse) Descriptor() ([]byte, []int)
func (*RevokeRefreshTokenResponse) GetRefreshToken ¶
func (m *RevokeRefreshTokenResponse) GetRefreshToken() *RefreshToken
func (*RevokeRefreshTokenResponse) ProtoMessage ¶
func (*RevokeRefreshTokenResponse) ProtoMessage()
func (*RevokeRefreshTokenResponse) Reset ¶
func (m *RevokeRefreshTokenResponse) Reset()
func (*RevokeRefreshTokenResponse) String ¶
func (m *RevokeRefreshTokenResponse) String() string
func (*RevokeRefreshTokenResponse) XXX_DiscardUnknown ¶
func (m *RevokeRefreshTokenResponse) XXX_DiscardUnknown()
func (*RevokeRefreshTokenResponse) XXX_Marshal ¶
func (m *RevokeRefreshTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RevokeRefreshTokenResponse) XXX_Merge ¶
func (dst *RevokeRefreshTokenResponse) XXX_Merge(src proto.Message)
func (*RevokeRefreshTokenResponse) XXX_Size ¶
func (m *RevokeRefreshTokenResponse) XXX_Size() int
func (*RevokeRefreshTokenResponse) XXX_Unmarshal ¶
func (m *RevokeRefreshTokenResponse) XXX_Unmarshal(b []byte) error
type SetGroupPermissionsRequest ¶
type SetGroupPermissionsRequest struct { GroupId int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` Permissions []string `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"` // Force tells if permission should be created in case if it does not exists. Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetGroupPermissionsRequest) Descriptor ¶
func (*SetGroupPermissionsRequest) Descriptor() ([]byte, []int)
func (*SetGroupPermissionsRequest) GetForce ¶
func (m *SetGroupPermissionsRequest) GetForce() bool
func (*SetGroupPermissionsRequest) GetGroupId ¶
func (m *SetGroupPermissionsRequest) GetGroupId() int64
func (*SetGroupPermissionsRequest) GetPermissions ¶
func (m *SetGroupPermissionsRequest) GetPermissions() []string
func (*SetGroupPermissionsRequest) ProtoMessage ¶
func (*SetGroupPermissionsRequest) ProtoMessage()
func (*SetGroupPermissionsRequest) Reset ¶
func (m *SetGroupPermissionsRequest) Reset()
func (*SetGroupPermissionsRequest) String ¶
func (m *SetGroupPermissionsRequest) String() string
func (*SetGroupPermissionsRequest) XXX_DiscardUnknown ¶
func (m *SetGroupPermissionsRequest) XXX_DiscardUnknown()
func (*SetGroupPermissionsRequest) XXX_Marshal ¶
func (m *SetGroupPermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetGroupPermissionsRequest) XXX_Merge ¶
func (dst *SetGroupPermissionsRequest) XXX_Merge(src proto.Message)
func (*SetGroupPermissionsRequest) XXX_Size ¶
func (m *SetGroupPermissionsRequest) XXX_Size() int
func (*SetGroupPermissionsRequest) XXX_Unmarshal ¶
func (m *SetGroupPermissionsRequest) XXX_Unmarshal(b []byte) error
type SetGroupPermissionsResponse ¶
type SetGroupPermissionsResponse struct { Created int64 `protobuf:"varint,1,opt,name=created,proto3" json:"created,omitempty"` Removed int64 `protobuf:"varint,2,opt,name=removed,proto3" json:"removed,omitempty"` Untouched int64 `protobuf:"varint,3,opt,name=untouched,proto3" json:"untouched,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetGroupPermissionsResponse) Descriptor ¶
func (*SetGroupPermissionsResponse) Descriptor() ([]byte, []int)
func (*SetGroupPermissionsResponse) GetCreated ¶
func (m *SetGroupPermissionsResponse) GetCreated() int64
func (*SetGroupPermissionsResponse) GetRemoved ¶
func (m *SetGroupPermissionsResponse) GetRemoved() int64
func (*SetGroupPermissionsResponse) GetUntouched ¶
func (m *SetGroupPermissionsResponse) GetUntouched() int64
func (*SetGroupPermissionsResponse) ProtoMessage ¶
func (*SetGroupPermissionsResponse) ProtoMessage()
func (*SetGroupPermissionsResponse) Reset ¶
func (m *SetGroupPermissionsResponse) Reset()
func (*SetGroupPermissionsResponse) String ¶
func (m *SetGroupPermissionsResponse) String() string
func (*SetGroupPermissionsResponse) XXX_DiscardUnknown ¶
func (m *SetGroupPermissionsResponse) XXX_DiscardUnknown()
func (*SetGroupPermissionsResponse) XXX_Marshal ¶
func (m *SetGroupPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetGroupPermissionsResponse) XXX_Merge ¶
func (dst *SetGroupPermissionsResponse) XXX_Merge(src proto.Message)
func (*SetGroupPermissionsResponse) XXX_Size ¶
func (m *SetGroupPermissionsResponse) XXX_Size() int
func (*SetGroupPermissionsResponse) XXX_Unmarshal ¶
func (m *SetGroupPermissionsResponse) XXX_Unmarshal(b []byte) error
type SetUserGroupsRequest ¶
type SetUserGroupsRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Groups []int64 `protobuf:"varint,2,rep,packed,name=groups,proto3" json:"groups,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetUserGroupsRequest) Descriptor ¶
func (*SetUserGroupsRequest) Descriptor() ([]byte, []int)
func (*SetUserGroupsRequest) GetGroups ¶
func (m *SetUserGroupsRequest) GetGroups() []int64
func (*SetUserGroupsRequest) GetUserId ¶
func (m *SetUserGroupsRequest) GetUserId() int64
func (*SetUserGroupsRequest) ProtoMessage ¶
func (*SetUserGroupsRequest) ProtoMessage()
func (*SetUserGroupsRequest) Reset ¶
func (m *SetUserGroupsRequest) Reset()
func (*SetUserGroupsRequest) String ¶
func (m *SetUserGroupsRequest) String() string
func (*SetUserGroupsRequest) XXX_DiscardUnknown ¶
func (m *SetUserGroupsRequest) XXX_DiscardUnknown()
func (*SetUserGroupsRequest) XXX_Marshal ¶
func (m *SetUserGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetUserGroupsRequest) XXX_Merge ¶
func (dst *SetUserGroupsRequest) XXX_Merge(src proto.Message)
func (*SetUserGroupsRequest) XXX_Size ¶
func (m *SetUserGroupsRequest) XXX_Size() int
func (*SetUserGroupsRequest) XXX_Unmarshal ¶
func (m *SetUserGroupsRequest) XXX_Unmarshal(b []byte) error
type SetUserGroupsResponse ¶
type SetUserGroupsResponse struct { Created int64 `protobuf:"varint,1,opt,name=created,proto3" json:"created,omitempty"` Removed int64 `protobuf:"varint,2,opt,name=removed,proto3" json:"removed,omitempty"` Untouched int64 `protobuf:"varint,3,opt,name=untouched,proto3" json:"untouched,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetUserGroupsResponse) Descriptor ¶
func (*SetUserGroupsResponse) Descriptor() ([]byte, []int)
func (*SetUserGroupsResponse) GetCreated ¶
func (m *SetUserGroupsResponse) GetCreated() int64
func (*SetUserGroupsResponse) GetRemoved ¶
func (m *SetUserGroupsResponse) GetRemoved() int64
func (*SetUserGroupsResponse) GetUntouched ¶
func (m *SetUserGroupsResponse) GetUntouched() int64
func (*SetUserGroupsResponse) ProtoMessage ¶
func (*SetUserGroupsResponse) ProtoMessage()
func (*SetUserGroupsResponse) Reset ¶
func (m *SetUserGroupsResponse) Reset()
func (*SetUserGroupsResponse) String ¶
func (m *SetUserGroupsResponse) String() string
func (*SetUserGroupsResponse) XXX_DiscardUnknown ¶
func (m *SetUserGroupsResponse) XXX_DiscardUnknown()
func (*SetUserGroupsResponse) XXX_Marshal ¶
func (m *SetUserGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetUserGroupsResponse) XXX_Merge ¶
func (dst *SetUserGroupsResponse) XXX_Merge(src proto.Message)
func (*SetUserGroupsResponse) XXX_Size ¶
func (m *SetUserGroupsResponse) XXX_Size() int
func (*SetUserGroupsResponse) XXX_Unmarshal ¶
func (m *SetUserGroupsResponse) XXX_Unmarshal(b []byte) error
type SetUserPermissionsRequest ¶
type SetUserPermissionsRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Permissions []string `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"` // Force tells if permission should be created in case if it does not exists. Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetUserPermissionsRequest) Descriptor ¶
func (*SetUserPermissionsRequest) Descriptor() ([]byte, []int)
func (*SetUserPermissionsRequest) GetForce ¶
func (m *SetUserPermissionsRequest) GetForce() bool
func (*SetUserPermissionsRequest) GetPermissions ¶
func (m *SetUserPermissionsRequest) GetPermissions() []string
func (*SetUserPermissionsRequest) GetUserId ¶
func (m *SetUserPermissionsRequest) GetUserId() int64
func (*SetUserPermissionsRequest) ProtoMessage ¶
func (*SetUserPermissionsRequest) ProtoMessage()
func (*SetUserPermissionsRequest) Reset ¶
func (m *SetUserPermissionsRequest) Reset()
func (*SetUserPermissionsRequest) String ¶
func (m *SetUserPermissionsRequest) String() string
func (*SetUserPermissionsRequest) XXX_DiscardUnknown ¶
func (m *SetUserPermissionsRequest) XXX_DiscardUnknown()
func (*SetUserPermissionsRequest) XXX_Marshal ¶
func (m *SetUserPermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetUserPermissionsRequest) XXX_Merge ¶
func (dst *SetUserPermissionsRequest) XXX_Merge(src proto.Message)
func (*SetUserPermissionsRequest) XXX_Size ¶
func (m *SetUserPermissionsRequest) XXX_Size() int
func (*SetUserPermissionsRequest) XXX_Unmarshal ¶
func (m *SetUserPermissionsRequest) XXX_Unmarshal(b []byte) error
type SetUserPermissionsResponse ¶
type SetUserPermissionsResponse struct { Created int64 `protobuf:"varint,1,opt,name=created,proto3" json:"created,omitempty"` Removed int64 `protobuf:"varint,2,opt,name=removed,proto3" json:"removed,omitempty"` Untouched int64 `protobuf:"varint,3,opt,name=untouched,proto3" json:"untouched,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetUserPermissionsResponse) Descriptor ¶
func (*SetUserPermissionsResponse) Descriptor() ([]byte, []int)
func (*SetUserPermissionsResponse) GetCreated ¶
func (m *SetUserPermissionsResponse) GetCreated() int64
func (*SetUserPermissionsResponse) GetRemoved ¶
func (m *SetUserPermissionsResponse) GetRemoved() int64
func (*SetUserPermissionsResponse) GetUntouched ¶
func (m *SetUserPermissionsResponse) GetUntouched() int64
func (*SetUserPermissionsResponse) ProtoMessage ¶
func (*SetUserPermissionsResponse) ProtoMessage()
func (*SetUserPermissionsResponse) Reset ¶
func (m *SetUserPermissionsResponse) Reset()
func (*SetUserPermissionsResponse) String ¶
func (m *SetUserPermissionsResponse) String() string
func (*SetUserPermissionsResponse) XXX_DiscardUnknown ¶
func (m *SetUserPermissionsResponse) XXX_DiscardUnknown()
func (*SetUserPermissionsResponse) XXX_Marshal ¶
func (m *SetUserPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetUserPermissionsResponse) XXX_Merge ¶
func (dst *SetUserPermissionsResponse) XXX_Merge(src proto.Message)
func (*SetUserPermissionsResponse) XXX_Size ¶
func (m *SetUserPermissionsResponse) XXX_Size() int
func (*SetUserPermissionsResponse) XXX_Unmarshal ¶
func (m *SetUserPermissionsResponse) XXX_Unmarshal(b []byte) error
type User ¶
type User struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` IsSuperuser bool `protobuf:"varint,5,opt,name=is_superuser,json=isSuperuser,proto3" json:"is_superuser,omitempty"` IsActive bool `protobuf:"varint,6,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` IsStaff bool `protobuf:"varint,7,opt,name=is_staff,json=isStaff,proto3" json:"is_staff,omitempty"` IsConfirmed bool `protobuf:"varint,8,opt,name=is_confirmed,json=isConfirmed,proto3" json:"is_confirmed,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` CreatedBy *ntypes.Int64 `protobuf:"bytes,10,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedBy *ntypes.Int64 `protobuf:"bytes,12,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*User) Descriptor ¶
func (*User) GetCreatedAt ¶
func (*User) GetCreatedBy ¶
func (*User) GetFirstName ¶
func (*User) GetIsActive ¶
func (*User) GetIsConfirmed ¶
func (*User) GetIsStaff ¶
func (*User) GetIsSuperuser ¶
func (*User) GetLastName ¶
func (*User) GetUpdatedAt ¶
func (*User) GetUpdatedBy ¶
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
type UserManagerClient ¶
type UserManagerClient interface { Create(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error) Modify(ctx context.Context, in *ModifyUserRequest, opts ...grpc.CallOption) (*ModifyUserResponse, error) Get(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) List(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error) Delete(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*wrappers.BoolValue, error) ListPermissions(ctx context.Context, in *ListUserPermissionsRequest, opts ...grpc.CallOption) (*ListUserPermissionsResponse, error) SetPermissions(ctx context.Context, in *SetUserPermissionsRequest, opts ...grpc.CallOption) (*SetUserPermissionsResponse, error) ListGroups(ctx context.Context, in *ListUserGroupsRequest, opts ...grpc.CallOption) (*ListUserGroupsResponse, error) SetGroups(ctx context.Context, in *SetUserGroupsRequest, opts ...grpc.CallOption) (*SetUserGroupsResponse, error) }
UserManagerClient is the client API for UserManager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUserManagerClient ¶
func NewUserManagerClient(cc *grpc.ClientConn) UserManagerClient
type UserManagerServer ¶
type UserManagerServer interface { Create(context.Context, *CreateUserRequest) (*CreateUserResponse, error) Modify(context.Context, *ModifyUserRequest) (*ModifyUserResponse, error) Get(context.Context, *GetUserRequest) (*GetUserResponse, error) List(context.Context, *ListUsersRequest) (*ListUsersResponse, error) Delete(context.Context, *DeleteUserRequest) (*wrappers.BoolValue, error) ListPermissions(context.Context, *ListUserPermissionsRequest) (*ListUserPermissionsResponse, error) SetPermissions(context.Context, *SetUserPermissionsRequest) (*SetUserPermissionsResponse, error) ListGroups(context.Context, *ListUserGroupsRequest) (*ListUserGroupsResponse, error) SetGroups(context.Context, *SetUserGroupsRequest) (*SetUserGroupsResponse, error) }
UserManagerServer is the server API for UserManager service.
type UsernameAndPasswordStrategy ¶
type UsernameAndPasswordStrategy 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UsernameAndPasswordStrategy) Descriptor ¶
func (*UsernameAndPasswordStrategy) Descriptor() ([]byte, []int)
func (*UsernameAndPasswordStrategy) GetPassword ¶
func (m *UsernameAndPasswordStrategy) GetPassword() string
func (*UsernameAndPasswordStrategy) GetUsername ¶
func (m *UsernameAndPasswordStrategy) GetUsername() string
func (*UsernameAndPasswordStrategy) ProtoMessage ¶
func (*UsernameAndPasswordStrategy) ProtoMessage()
func (*UsernameAndPasswordStrategy) Reset ¶
func (m *UsernameAndPasswordStrategy) Reset()
func (*UsernameAndPasswordStrategy) String ¶
func (m *UsernameAndPasswordStrategy) String() string
func (*UsernameAndPasswordStrategy) XXX_DiscardUnknown ¶
func (m *UsernameAndPasswordStrategy) XXX_DiscardUnknown()
func (*UsernameAndPasswordStrategy) XXX_Marshal ¶
func (m *UsernameAndPasswordStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UsernameAndPasswordStrategy) XXX_Merge ¶
func (dst *UsernameAndPasswordStrategy) XXX_Merge(src proto.Message)
func (*UsernameAndPasswordStrategy) XXX_Size ¶
func (m *UsernameAndPasswordStrategy) XXX_Size() int
func (*UsernameAndPasswordStrategy) XXX_Unmarshal ¶
func (m *UsernameAndPasswordStrategy) XXX_Unmarshal(b []byte) error