/// <summary>
        /// Guarda el último token de autenticación generado.
        /// </summary>
        /// <param name="authToken">Instancia del token que se debe guardar.</param>
        internal static void SetCurrentToken(IAuthToken authToken, AppScope scope)
        {
            string cacheKey = $"{scope.ToString()}|{TokenCacheKey}";

            AppDomain.CurrentDomain.SetData(cacheKey, authToken);
        }
        /// <summary>
        /// Obtiene el último token de autenticación generado o  <see langword="null" /> si no se ha obtenido ninguno.
        /// </summary>
        /// <returns>Instancia que implementa <see cref="IAuthToken"/> con el valor del último token generado.</returns>
        internal static IAuthToken GetCurrentToken(AppScope scope)
        {
            string cacheKey = $"{scope.ToString()}|{TokenCacheKey}";

            return(AppDomain.CurrentDomain.GetData(cacheKey) as IAuthToken);
        }