Adjust Auth on server (#15)
* add auth that verifies identity is marked online * few changes for testing * handle identity with requirements * remove unnecessary logging from auth handler * change to UserRequirements * fixes to checks * fixes to UserRequirementHandler Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
This commit is contained in:
		| @@ -40,6 +40,11 @@ public class GrpcClientIdentificationService : IHostedService | ||||
|         _metrics = metrics; | ||||
|     } | ||||
|  | ||||
|     public bool IsOnCurrentServer(string uid) | ||||
|     { | ||||
|         return OnlineClients.ContainsKey(uid); | ||||
|     } | ||||
|  | ||||
|     public string? GetCharacterIdentForUid(string uid) | ||||
|     { | ||||
|         if (OnlineClients.TryGetValue(uid, out var ident)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 rootdarkarchon
					rootdarkarchon