title: How to customize reset password Token in Asp.net core Identity
body: <p>I use <code>Asp.netCore identity</code> in my project, i added this package:</p>
  
  <p><code>"IdentityServer4.AspNetIdentity": "1.0.0",</code></p>
  
  <p>to my project, i use this method for generation <code>reset password token</code>:</p>
  
  <pre><code> string code = await _userManager.GeneratePasswordResetTokenAsync(user);
  </code></pre>
  
  <p>it works fine, but the generated code is something like this:</p>
  
  <pre><code>/DgEiBeBT3zArfkZzxY8/hxCebWeT3cV/c xXdQDV2w9AOey7iW5KwsJYtuaV qe87KSXRnmYXNNrw2NY2DQNWsMgy3vxBIZgkgnUGk6ekxItf5XUmxRl5g6bFHZ2XHRBqmpcbj1yGDpoYkUkYvXUhtaDvszgmVOn8GjmFsyrPwFY5ARsd4LYygclKWFCG2TsAEkixVIwqmliBeITrzCGm4HoM i1nm15ZRb/bA
  </code></pre>
  
  <blockquote>
    <p>Is there a way to customize this method to return six digit number
    instead of  above string?</p>
  </blockquote>