Added CORS, added specific type for token in AuthToken.cs, added login page to blazor client
This commit is contained in:
		| @@ -0,0 +1,11 @@ | ||||
| using ApplicationLayer.Services.AuthServices.Common; | ||||
| using Domains.Users; | ||||
|  | ||||
| namespace ApplicationLayer.InfrastructureServicesInterfaces; | ||||
|  | ||||
| /// Generates jwt-tokens | ||||
| public interface ITokenGenerator | ||||
| { | ||||
|     /// returns jwt-token for specific user | ||||
|     AuthToken CreateToken(User user); | ||||
| } | ||||
		Reference in New Issue
	
	Block a user