How to get various common user profile related URLs programatically in Drupal 8?

I’d like to get the following URLs in Drupal 8:

  • mysite/user/register
  • mysite/user/login
  • mysite/logout


mysite/user which will redirect to mysite/user/{current_user_id}

I already know I can do this Drupal::service('path.current')->getPath(); to get the current path. Not very useful tho. I wanna build links to send user to other paths, obviously…

How do I get these paths programatically?