/// <summary>
        /// Triggers the authentication mechanism specified in Startup.cs to refresh an expired token for the currently logged-in user.
        /// </summary>
        public void RefreshToken()
        {
            if (_config == null)
            {
                throw new ArgumentNullException("authOptions", "You attempted to use the Authentication option without registering a BlazorAuthenticationConfig instance with the IServiceCollection.");
            }

            //TODO: Should the action replace the CurrentUser or should we do it? Leaning toward us.
            _config.RefreshToken(this);
        }
 /// <summary>
 /// Triggers the authentication mechanism specified in Startup.cs to refresh an expired token for the currently logged-in user.
 /// </summary>
 public void RefreshToken()
 {
     //TODO: Should the action replace the CurrentUser or should we do it? Leaning toward us.
     _config.RefreshToken(this);
 }