46 =>
$"{UserUpdatedTopic}.{userId}";
Root type for GraphQL subscriptions.
const string GraphQLDescription
Description to show on the Subscription type.
static string SpecificUserUpdatedTopic(long userId)
The name of the topic for when a specific Models.User is updated.
static IEnumerable< string > UserUpdatedTopics(long userId)
Get the names of the topics to send to when a Models.User is updated.
ValueTask< ISourceStream< User > > CurrentUserUpdatedStream([Service] ITopicEventReceiver receiver, [Service] IAuthenticationContext authenticationContext, CancellationToken cancellationToken)
ISourceStream for CurrentUserUpdated(User).
ValueTask< ISourceStream< User > > UserUpdatedStream([ID(nameof(User))] long? userId, [Service] ITopicEventReceiver receiver, CancellationToken cancellationToken)
ISourceStream for UserUpdated(User).
User CurrentUserUpdated([EventMessage] User user)
Receive an update to the logged in User when it is changed.
User UserUpdated([EventMessage] User user)
Receive an update for all User changes.
const string UserUpdatedTopic
The name of the topic for when any user is updated.
A user registered in the server.
Implementation of HotChocolate.Subscriptions.ITopicEventReceiver that works around the global::System...
For creating and accessing authentication contexts.
@ List
User may list files if the Models.Instance allows it.
AdministrationRights
Administration rights for the server.