The current user. Type:
public static AccessDeniedSubscriber
public AccessDeniedSubscriber::on
public AccessDeniedSubscriber::__
Redirects users when access is denied. Anonymous users are taken to the login page when attempting to access the user profile pages. Authenticated