Create shorter tokens with small lifespan in ASP.NET Core Identity
问题 Using ASP.NET Core 3.1 I am creating an User's Email confirmation token to send by email: String token = await _userManager.GenerateEmailConfirmationTokenAsync(user); And I get the following: CfDJ8IjJLi0iO61KsS5NTyS4wJkSvCyzEDUBaVlXCkbxz6zwI1LocG8+WPubx5Rvoi4tFuiWAVFut4gfTnhgsdihE0gY+o7JyJrNtfXmzGLnczwbKZ3Wwy15+IUEi1h2qId72IRKvFqBSFv7rJdECSR/thZphpTQm7EnOuAA7loHlQFRWuMUVBce8HUsv1odbLNsKQ== How can I create shorter tokens with a small lifespan instead of huge tokens? 回答1: If I understand the