0.4.3 • Published 5 years ago

react-native-msal-client v0.4.3

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

react-native-msal-client

This is a simple wrapper around Microsofts MSAL library. it currently only supports iOS

Requirements

Installation

yarn add react-native-msal-client

Install MSAL with cocoapods

Add the following to the Podfile and run `pod install

pod 'MSAL', '0.4.2'

Usage

import MsalClient from 'react-native-msal-client';

const authClient = MsalClient('https://login.microsoftonline.com/common')

const clientId = '1ee9299a-9936-4aa9-92c5-b5602ee938d9';
const redirectUri = `msal${clientId}://auth`;
const scopes = ['email'];
const extraQueryParms = '';

authClient.acquireTokenAsync(clientId, scopes, redirectUri, '')
  .then((data)=> {

  }).catch((err) => {

  });
0.4.3

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.0-beta.10

5 years ago

0.2.3

5 years ago

0.2.2-beta.7

5 years ago

0.2.2-beta.6

5 years ago

0.2.2-beta.5

5 years ago

0.2.2-beta.4

5 years ago

0.2.3-beta.4

5 years ago

0.2.2-beta.2

5 years ago

0.2.2

5 years ago

0.3.0-beta.9

5 years ago

0.3.0-beta.8

5 years ago

0.3.0-beta.7

5 years ago

0.3.0-beta.6

5 years ago

0.3.0-beta.5

6 years ago

0.3.0-beta.4

6 years ago

0.3.0-beta.3

6 years ago

0.3.0-beta.2

6 years ago

0.3.0-beta.1

6 years ago

0.3.0-beta.0

6 years ago

0.3.0

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago