Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

186
Vistas
Store Function Value (RefreshSession in Cognito) As A Constant or variable

Hi iam trying to store the refreshed session data from the cognito as a constant or variable so i can use it somewhere else.Any help would be appreciated. i have attached my code below

cognitoUser.refreshSession(refreshToken, (err, session) => {
        if (err) {
            console.log(err);
        } else {
            
            console.log(session);
    }
  } 

So i want to store the session value of this function as a constant or variable outside this function

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda