69 OAuthConnections = oAuthConnections
72 ExternalUserId = oAuthConnection.ExternalUserId,
73 Provider = oAuthConnection.Provider,
118 OAuthConnections = oAuthConnections
121 ExternalUserId = oAuthConnection.ExternalUserId,
122 Provider = oAuthConnection.Provider,
168 OAuthConnections = oAuthConnections
171 ExternalUserId = oAuthConnection.ExternalUserId,
172 Provider = oAuthConnection.Provider,
215 OAuthConnections = oAuthConnections
218 ExternalUserId = oAuthConnection.ExternalUserId,
219 Provider = oAuthConnection.Provider,
263 OAuthConnections = oAuthConnections
266 ExternalUserId = oAuthConnection.ExternalUserId,
267 Provider = oAuthConnection.Provider,
308 OAuthConnections = oAuthConnections
311 ExternalUserId = oAuthConnection.ExternalUserId,
312 Provider = oAuthConnection.Provider,
342 Id = authenticationContext.User.
Id,
370 Id = authenticationContext.User.
Id,
374 ExternalUserId = oAuthConnection.ExternalUserId,
375 Provider = oAuthConnection.Provider,
538 ExternalUserId = oAuthConnection.ExternalUserId,
539 Provider = oAuthConnection.Provider,
virtual ? long Id
The ID of the entity.
Represents a group of users.
Represents a set of server permissions.
InstanceManagerRights? InstanceManagerRights
The Rights.InstanceManagerRights for the user.
For editing a given user.
Exception representing ErrorMessageResponses.
Root type for GraphQL mutations.
const string GraphQLDescription
Description to show on the Mutation type.
IUserAuthority related Mutations.
ValueTask< User > CreateUserByPasswordAndGroup(string name, string password, bool? enabled, IEnumerable< OAuthConnection >? oAuthConnections, [ID(nameof(UserGroup))] long groupId, [Service] IGraphQLAuthorityInvoker< IUserAuthority > userAuthority, CancellationToken cancellationToken)
Creates a TGS user specifying the UserGroup they will belong to.
ValueTask< User > UpdateUser([ID(nameof(User))] long id, string? casingOnlyNameChange, string? newPassword, bool? enabled, IEnumerable< OAuthConnection >? newOAuthConnections, [Service] IGraphQLAuthorityInvoker< IUserAuthority > userAuthority, CancellationToken cancellationToken)
Updates a Users properties.
ValueTask< User > CreateUserBySystemIDAndPermissionSet(string systemIdentifier, bool? enabled, IEnumerable< OAuthConnection >? oAuthConnections, PermissionSetInput permissionSet, [Service] IGraphQLAuthorityInvoker< IUserAuthority > userAuthority, CancellationToken cancellationToken)
Creates a system user specifying a personal PermissionSet.
ValueTask< User > UpdateUserSetOwnedPermissionSet([ID(nameof(User))] long id, string? casingOnlyNameChange, string? newPassword, bool? enabled, PermissionSetInput newPermissionSet, IEnumerable< OAuthConnection >? newOAuthConnections, [Service] IGraphQLAuthorityInvoker< IUserAuthority > userAuthority, CancellationToken cancellationToken)
Updates a User, setting new values for its owned PermissionSet.
ValueTask< User > UpdateUserCore([ID(nameof(User))] long id, string? casingOnlyNameChange, string? newPassword, bool? enabled, PermissionSetInput? newPermissionSet, long? newGroupId, IEnumerable< OAuthConnection >? newOAuthConnections, IGraphQLAuthorityInvoker< IUserAuthority > userAuthority, CancellationToken cancellationToken)
Updates a user.
ValueTask< User > CreateUserByOAuthAndGroup(string name, IEnumerable< OAuthConnection > oAuthConnections, [ID(nameof(UserGroup))] long groupId, bool? enabled, [Service] IGraphQLAuthorityInvoker< IUserAuthority > userAuthority, CancellationToken cancellationToken)
Creates a TGS user specifying the UserGroup they will belong to.
ValueTask< User > CreateUserBySystemIDAndGroup(string systemIdentifier, bool? enabled, [ID(nameof(UserGroup))] long groupId, IEnumerable< OAuthConnection >? oAuthConnections, [Service] IGraphQLAuthorityInvoker< IUserAuthority > userAuthority, CancellationToken cancellationToken)
Creates a system user specifying the UserGroup they will belong to.
ValueTask< User > CreateUserByPasswordAndPermissionSet(string name, string password, bool? enabled, IEnumerable< OAuthConnection >? oAuthConnections, PermissionSetInput? permissionSet, [Service] IGraphQLAuthorityInvoker< IUserAuthority > userAuthority, CancellationToken cancellationToken)
Creates a TGS user specifying a personal PermissionSet.
ValueTask< User > SetCurrentOAuthConnections(IEnumerable< OAuthConnection > newOAuthConnections, [Service] IAuthenticationContext authenticationContext, [Service] IGraphQLAuthorityInvoker< IUserAuthority > userAuthority, CancellationToken cancellationToken)
Sets the current user's OAuthConnections.
ValueTask< User > UpdateUserSetGroup([ID(nameof(User))] long id, string? casingOnlyNameChange, string? newPassword, bool? enabled, [ID(nameof(UserGroup))] long newGroupId, IEnumerable< OAuthConnection >? newOAuthConnections, [Service] IGraphQLAuthorityInvoker< IUserAuthority > userAuthority, CancellationToken cancellationToken)
Updates a User, setting new values for its owned PermissionSet.
ValueTask< User > CreateUserByOAuthAndPermissionSet(string name, IEnumerable< OAuthConnection > oAuthConnections, bool? enabled, PermissionSetInput? permissionSet, [Service] IGraphQLAuthorityInvoker< IUserAuthority > userAuthority, CancellationToken cancellationToken)
Creates a TGS user authenticated with one or mor OAuthConnections specifying a personal PermissionSet...
ValueTask< User > SetCurrentUserPassword(string newPassword, [Service] IAuthenticationContext authenticationContext, [Service] IGraphQLAuthorityInvoker< IUserAuthority > userAuthority, CancellationToken cancellationToken)
Sets the current user's password.
Represents a set of permissions for the server.
Represents a group of Users.
A user registered in the server.
Invokes TAuthority s from GraphQL endpoints.
IAuthority for managing Users.
ValueTask< AuthorityResponse< User > > Create(UserCreateRequest createRequest, bool? needZeroLengthPasswordWithOAuthConnections, CancellationToken cancellationToken)
Creates a User.
For creating and accessing authentication contexts.
@ List
User may list files if the Models.Instance allows it.
InstanceManagerRights
Rights for managing Models.Instances.
AdministrationRights
Administration rights for the server.
@ Id
Lookup the Api.Models.EntityId.Id of the Models.PermissionSet.
@ Enabled
The OAuth Gateway is enabled.