title: How to retrieve a user identifier using ngOnInit with Angular 9
body: <p>I'm new to Angular and I'm creating a forgot password link, which when the user interacts with it will send out an email to their email address with a unique password token in order so they can reset their password. I want to be able to recognize the user, using their user identifier and match their email address with this and send out the email.</p>
  <ol>
  <li>Do I need to pass in the user identifier or user email address into the service?</li>
  <li>How do I structure the ngOnInit?</li>
  </ol>
  <p>// user.service.ts</p>
  <pre><code>public forgotUserPasswordVerification(email: string): Observable&lt;void&gt; { // email or identifier?? 
          return this.http.post&lt;void&gt;('api/verifications/forgotpasswordverification', email);
      } 
  </code></pre>
  <p>// forgot-password.component.ts</p>
  <pre><code>ngOnInit() {
  this.userService.forgotUserPasswordVerification(this.email) // this.email or this.identifier?  
  .subscribe(data =&gt; {
  this.success = true;
  })};
  </code></pre>