AzureAuth

AzureAuth

new AzureAuth(options)

AzureAuth for React Native client

Source:
Parameters:
Name Type Description
options Object

your AzureAuth client information

Name Type Description
clientId String

your AzureAuth client identifier. ALL other params are optional!

persistentCache boolean

do you want to store token cache between the app starts. Defaults to true.

authorityUrl String

optional Azure authority if you want to replace default v2 endpoint (https://login.microsoftonline.com/${tenant}/oauth2/v2.0/)

tenant String

uses given tenant in the default authority URL. Default is common

redirectUri String

uses given redirect URI instead of default one: iOS: {YOUR_BUNDLE_IDENTIFIER}://${YOUR_BUNDLE_IDENTIFIER}/ios/callback Android: {YOUR_APP_PACKAGE_NAME}://{YOUR_APP_PACKAGE_NAME}/android/callback