🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

idaptive-authentication

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

idaptive-authentication

Incluye una estrategia de autenticación en los proyectos FrontEnd de JavaScript desarrollados por COMFAMA, que requieran conectarse a los servicios de Idaptive/Cyberark.

1.0.8
unpublished
latest
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Autenticación Idaptive/Cyberark COMFAMA

Incluye una estrategia de autenticación en los proyectos FrontEnd de JavaScript desarrollados por COMFAMA, que requieran conectarse a los servicios de Idaptive/Cyberark.

Instalación

Instala idaptive-authentication con npm

  npm install idaptive-authentication

Ejemplo de Uso

Procura definir los valores de: REDIRECT_URI, IDATPTIVEAUTHENDPOINT, IDAPTIVETOKENENDPOINT, IDAPTIVECLIENTID, IDAPTIVECLIENTSECRET. Los cuales son suministrados por el proveedor del servicio Idaptive/Cyberark.

import { IdaptiveAuth } from "idaptive-authentication";

function App() {
  let autenticacion = new IdaptiveAuth(
    REDIRECT_URI,
    IDATPTIVEAUTHENDPOINT,
    IDAPTIVETOKENENDPOINT,
    IDAPTIVECLIENTID,
    IDAPTIVECLIENTSECRET
  );
  
  useEffect(() => {
    autenticacion
      .login()
      .then((token) => {
        console.log(token);
      })
      .catch((err) => {
        console.log(err)
      });
  }, []);

  return <Component />
}

FAQs

Package last updated on 25 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts