Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

authentication-adal-pkg

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

authentication-adal-pkg

An authentication SDK based on MS ADAL

  • 1.0.20
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-92.98%
Maintainers
1
Weekly downloads
 
Created
Source

Authentication-pkg

Algemeen

Deze package maakt voor de authenticatie gebruik van adal-angular en adal-cordova. Deze biedt ondersteuning aan zowel browser als native (iOS 10 en hoger, Android 4.0.3 en hoger, UWP 10).

Installatie

npm install authentication-adal-pkg

Gebruik

import { authentication } from 'authentication-adal-pkg';

API

authentication

Methodes

initialize(config): void

       Het config object kan volgende zaken bevatten:

  • tenant***
  • clientId***
  • redirectUriWeb*
  • redirectUriAndroid (en/of) redirectUriIos**
  • authority**
  • resourceUri**
  • userId**
  • loginResource

       *verplicht voor authenticatie web

       **verplicht voor authenticatie native

       ***verplicht voor zowel authenticatie web & native

signIn() Promise<{token, error}>

signOut(): Promise<{}>

acquireToken(): Promise<token>

getTokenFromCache(): token

getUser(): Promise<{family_name, given_name, name, upn}>

getUserFromCache(): {family_name, given_name, name, upn}

Keywords

FAQs

Package last updated on 21 Nov 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc