From 982850ed0a56a6976ab9c38dae07dc351fe813c6 Mon Sep 17 00:00:00 2001
From: Poovamraj T T Hierarchy
Hierarchy
See
See
See
See
See
See
Hierarchy
Hierarchy
Hierarchy
Memberof
Memberof
Hierarchy
See
See
Hierarchy
Enumeration LocalAuthenticationStrategy
+ We're excited to announce the release of react-native-auth0 + v3.0.0! Please note that this update includes breaking changes that + require your attention. To ensure a smooth transition, please review + our 👉 + Migration Guide + 👈 for detailed instructions on updating your integration. +
+ Our SDK requires a minimum iOS deployment target of 13.0. In your + project's ios/Podfile, ensure your platform target is set to + 13.0. +
+platform :ios '13.0'
+
First install the native library module:
@@ -231,8 +255,8 @@- You need make your Android, iOS or Expo applications aware that an - authentication result will be received from the browser. This SDK + You need to make your Android, iOS or Expo applications aware that + an authentication result will be received from the browser. This SDK makes use of the Android's Package Name and its analogous iOS's Product Bundle Identifier to generate the redirect URL. Each platform has its own set of instructions. @@ -259,14 +283,14 @@
android/app/build.gradle
) and add the following
manifest placeholders:
- android {
defaultConfig {
// Add the next line
manifestPlaceholders = [auth0Domain: "YOUR_AUTH0_DOMAIN", auth0Scheme: "${applicationId}.auth0"]
}
...
}
+ android {
defaultConfig {
// Add the next line
manifestPlaceholders = [auth0Domain: "YOUR_AUTH0_DOMAIN", auth0Scheme: "${applicationId}.auth0"]
}
...
}
The auth0Domain
value must be replaced with your Auth0
domain value. So if you have samples.us.auth0.com
as
your Auth0 domain you would have a configuration like the following:
- android {
defaultConfig {
manifestPlaceholders = [auth0Domain: "samples.us.auth0.com", auth0Scheme: "${applicationId}.auth0"]
}
...
}
+ android {
defaultConfig {
manifestPlaceholders = [auth0Domain: "samples.us.auth0.com", auth0Scheme: "${applicationId}.auth0"]
}
...
}
The applicationId
value will be auto-replaced at
@@ -328,7 +352,7 @@
removed from the final APK by using the same process. A complete
snippet to achieve this is:
- <activity
android:name="com.auth0.react.AuthenticationActivity"
tools:node="remove"/>
<!-- Optional: Remove RedirectActivity -->
<activity
android:name="com.auth0.react.RedirectActivity"
tools:node="remove"/>
+ <activity
android:name="com.auth0.react.AuthenticationActivity"
tools:node="remove"/>
<!-- Optional: Remove RedirectActivity -->
<activity
android:name="com.auth0.react.RedirectActivity"
tools:node="remove"/>
iOS
@@ -336,21 +360,21 @@ iOS
Inside the ios
folder find the file
AppDelegate.[swift|m]
add the following to it:
- #import <React/RCTLinkingManager.h>
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url
options:(NSDictionary<UIApplicationOpenURLOptionsKey, id> *)options
{
return [RCTLinkingManager application:app openURL:url options:options];
}
+ #import <React/RCTLinkingManager.h>
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url
options:(NSDictionary<UIApplicationOpenURLOptionsKey, id> *)options
{
return [RCTLinkingManager application:app openURL:url options:options];
}
Inside the ios
folder open the
Info.plist
and locate the value for
CFBundleIdentifier
, e.g.
- <key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+ <key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
and then below it register a URL type entry using the value of
CFBundleIdentifier
as the value for
CFBundleURLSchemes
:
- <key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>None</string>
<key>CFBundleURLName</key>
<string>auth0</string>
<key>CFBundleURLSchemes</key>
<array>
<string>$(PRODUCT_BUNDLE_IDENTIFIER).auth0</string>
</array>
</dict>
</array>
+ <key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>None</string>
<key>CFBundleURLName</key>
<string>auth0</string>
<key>CFBundleURLSchemes</key>
<array>
<string>$(PRODUCT_BUNDLE_IDENTIFIER).auth0</string>
</array>
</dict>
</array>
If your application is generated using the React Native CLI, the
@@ -417,7 +441,7 @@
Expo
>. To do this, add the following snippet to app.json or
app.config.js:
- {
"expo": {
...
"plugins": [
[
"react-native-auth0",
{
"domain": "YOUR_AUTH0_DOMAIN",
"customScheme": "YOUR_CUSTOM_SCHEME"
}
]
]
}
}
+ {
"expo": {
...
"plugins": [
[
"react-native-auth0",
{
"domain": "YOUR_AUTH0_DOMAIN",
"customScheme": "YOUR_CUSTOM_SCHEME"
}
]
]
}
}
@@ -472,7 +496,7 @@ Callback URL(s)
Callback URL with them. If any of these values contains uppercase
characters a warning message will be printed in the console. Make
sure to check that the right Callback URL is whitelisted in the
- Auth0 dashboard or the browser will not route succesfully back to
+ Auth0 dashboard or the browser will not route successfully back to
your application.
@@ -553,7 +577,7 @@
Web Authentication
clientId
values as given to you when setting up your
Auth0 app in the dashboard:
- import { Auth0Provider } from 'react-native-auth0';
const App = () => {
return (
<Auth0Provider domain="YOUR_AUTH0_DOMAIN" clientId="YOUR_AUTH0_CLIENT_ID">
{/* YOUR APP */}
</Auth0Provider>
);
};
export default App;
+ import { Auth0Provider } from 'react-native-auth0';
const App = () => {
return (
<Auth0Provider domain="YOUR_AUTH0_DOMAIN" clientId="YOUR_AUTH0_CLIENT_ID">
{/* YOUR APP */}
</Auth0Provider>
);
};
export default App;
Using the `Auth0` class
@@ -562,7 +586,7 @@ Web Authentication
If you're not using React Hooks, you can simply instantiate
the Auth0
class:
- import Auth0 from 'react-native-auth0';
const auth0 = new Auth0({
domain: 'YOUR_AUTH0_DOMAIN',
clientId: 'YOUR_AUTH0_CLIENT_ID',
});
+ import Auth0 from 'react-native-auth0';
const auth0 = new Auth0({
domain: 'YOUR_AUTH0_DOMAIN',
clientId: 'YOUR_AUTH0_CLIENT_ID',
});
@@ -570,7 +594,7 @@ Web Authentication
Then import the hook into a component where you want to get access
to the properties and methods for integrating with Auth0:
- import { useAuth0 } from 'react-native-auth0';
+ import { useAuth0 } from 'react-native-auth0';
Login
@@ -598,12 +622,12 @@ Login
The error
property is populated if any error occurs.
- const Component = () => {
const { authorize, user, isLoading, error } = useAuth0();
const login = async () => {
await authorize();
};
if (isLoading) {
return (
<View>
<Text>SDK is Loading</Text>
</View>
);
}
return (
<View>
{!user && <Button onPress={login} title="Log in" />}
{user && <Text>Logged in as {user.name}</Text>}
{error && <Text>{error.message}</Text>}
</View>
);
};
+ const Component = () => {
const { authorize, user, isLoading, error } = useAuth0();
const login = async () => {
await authorize();
};
if (isLoading) {
return (
<View>
<Text>SDK is Loading</Text>
</View>
);
}
return (
<View>
{!user && <Button onPress={login} title="Log in" />}
{user && <Text>Logged in as {user.name}</Text>}
{error && <Text>{error.message}</Text>}
</View>
);
};
Using the `Auth0` class
- auth0.webAuth
.authorize()
.then(credentials => console.log(credentials))
.catch(error => console.log(error));
+ auth0.webAuth
.authorize()
.then(credentials => console.log(credentials))
.catch(error => console.log(error));
@@ -638,12 +662,12 @@ Logout
Log the user out by using the clearSession
method from
the useAuth0
hook.
- const Component = () => {
const { clearSession, user } = useAuth0();
const logout = async () => {
await clearSession();
};
return <View>{user && <Button onPress={logout} title="Log out" />}</View>;
};
+ const Component = () => {
const { clearSession, user } = useAuth0();
const logout = async () => {
await clearSession();
};
return <View>{user && <Button onPress={logout} title="Log out" />}</View>;
};
Using the `Auth0` class
- auth0.webAuth.clearSession().catch((error) => console.log(error));
+ auth0.webAuth.clearSession().catch((error) => console.log(error));
@@ -696,7 +720,7 @@
exist, you can retrieve them and redirect the users to the app's
main flow without any additional login steps.
- const isLoggedIn = await auth0.credentialsManager.hasValidCredentials();
if (isLoggedIn) {
// Retrieve credentials and redirect to the main flow
} else {
// Redirect to the login page
}
+ const isLoggedIn = await auth0.credentialsManager.hasValidCredentials();
if (isLoggedIn) {
// Retrieve credentials and redirect to the main flow
} else {
// Redirect to the login page
}
@@ -711,7 +735,7 @@
>, if the access token has expired.
This method is thread safe.
- const credentials = await auth0.credentialsManager.getCredentials();
+ const credentials = await auth0.credentialsManager.getCredentials();
@@ -728,7 +752,7 @@
Local authentication
the device, for example PIN or fingerprint on Android, and Face ID
or Touch ID on iOS.
- await auth0.credentialsManager.requireLocalAuthentication();
+ await auth0.credentialsManager.requireLocalAuthentication();
Check the
@@ -755,7 +779,7 @@
CredentialsManagerError
exceptions. You can find more
information in the details property of the exception.
- try {
const credentials = await auth0.credentialsManager.getCredentials();
} catch (error) {
console.log(error);
}
+ try {
const credentials = await auth0.credentialsManager.getCredentials();
} catch (error) {
console.log(error);
}
Feedback
@@ -988,10 +1012,20 @@
-
- Documentation
+ ⚠️
Important Migration Notice:
+ v3.0.0
-
+ -
+ Documentation
+
-
Getting
StartedIndexable
Defined in
types.ts:153
@@ -223,7 +223,7 @@
Defined in
types.ts:161
@@ -255,7 +255,7 @@
Defined in
types.ts:157
@@ -284,7 +284,7 @@
Defined in
types.ts:165
diff --git a/docs/interfaces/ClearSessionOptions.html b/docs/interfaces/ClearSessionOptions.html
index 652fa33b..a4f0536b 100644
--- a/docs/interfaces/ClearSessionOptions.html
+++ b/docs/interfaces/ClearSessionOptions.html
@@ -99,7 +99,7 @@ Hierarchy
Defined in
types.ts:131
@@ -212,7 +212,7 @@
Defined in
types.ts:135
@@ -242,7 +242,7 @@
Defined in
types.ts:136
diff --git a/docs/interfaces/ClearSessionParameters.html b/docs/interfaces/ClearSessionParameters.html
index 8e2e4b10..8cb22d41 100644
--- a/docs/interfaces/ClearSessionParameters.html
+++ b/docs/interfaces/ClearSessionParameters.html
@@ -99,7 +99,7 @@ Hierarchy
Defined in
types.ts:119
@@ -214,7 +214,7 @@ See
Defined in
types.ts:125
diff --git a/docs/interfaces/CreateUserOptions.html b/docs/interfaces/CreateUserOptions.html
index c47ca84d..0716ef21 100644
--- a/docs/interfaces/CreateUserOptions.html
+++ b/docs/interfaces/CreateUserOptions.html
@@ -106,7 +106,7 @@ Indexable
Defined in
types.ts:485
@@ -269,7 +269,7 @@
Defined in
types.ts:497
@@ -298,7 +298,7 @@
Defined in
types.ts:489
@@ -331,7 +331,7 @@
Defined in
types.ts:509
@@ -364,7 +364,7 @@
Defined in
types.ts:505
@@ -400,7 +400,7 @@
Defined in
types.ts:525
@@ -430,7 +430,7 @@
Defined in
types.ts:513
@@ -463,7 +463,7 @@
Defined in
types.ts:517
@@ -495,7 +495,7 @@
Defined in
types.ts:493
@@ -525,7 +525,7 @@
Defined in
types.ts:521
@@ -558,7 +558,7 @@
Defined in
types.ts:501
diff --git a/docs/interfaces/ExchangeNativeSocialOptions.html b/docs/interfaces/ExchangeNativeSocialOptions.html
index 9244d39e..da4b550f 100644
--- a/docs/interfaces/ExchangeNativeSocialOptions.html
+++ b/docs/interfaces/ExchangeNativeSocialOptions.html
@@ -113,7 +113,7 @@ Indexable
Defined in
types.ts:219
@@ -242,7 +242,7 @@
Defined in
types.ts:235
@@ -275,7 +275,7 @@
Defined in
types.ts:239
@@ -309,7 +309,7 @@
Defined in
types.ts:223
@@ -345,7 +345,7 @@
Defined in
types.ts:227
@@ -381,7 +381,7 @@
Defined in
types.ts:231
diff --git a/docs/interfaces/ExchangeOptions.html b/docs/interfaces/ExchangeOptions.html
index 207515db..77706efc 100644
--- a/docs/interfaces/ExchangeOptions.html
+++ b/docs/interfaces/ExchangeOptions.html
@@ -109,7 +109,7 @@ Indexable
Defined in
types.ts:197
@@ -218,7 +218,7 @@
Defined in
types.ts:201
@@ -253,7 +253,7 @@
Defined in
types.ts:209
@@ -288,7 +288,7 @@
Defined in
types.ts:205
diff --git a/docs/interfaces/GetUserOptions.html b/docs/interfaces/GetUserOptions.html
index bba563d4..6d89be5e 100644
--- a/docs/interfaces/GetUserOptions.html
+++ b/docs/interfaces/GetUserOptions.html
@@ -100,7 +100,7 @@ Indexable
Defined in
types.ts:139
@@ -191,7 +191,7 @@
Defined in
types.ts:140
diff --git a/docs/interfaces/LoginWithEmailOptions.html b/docs/interfaces/LoginWithEmailOptions.html
index afc2cd2b..c4f1366f 100644
--- a/docs/interfaces/LoginWithEmailOptions.html
+++ b/docs/interfaces/LoginWithEmailOptions.html
@@ -111,7 +111,7 @@ Indexable
Defined in
types.ts:326
@@ -233,7 +233,7 @@
Defined in
types.ts:338
@@ -262,7 +262,7 @@
Defined in
types.ts:334
@@ -291,7 +291,7 @@
Defined in
types.ts:330
@@ -321,7 +321,7 @@
Defined in
types.ts:342
diff --git a/docs/interfaces/LoginWithOOBOptions.html b/docs/interfaces/LoginWithOOBOptions.html
index a1f52d0c..a8a36fa6 100644
--- a/docs/interfaces/LoginWithOOBOptions.html
+++ b/docs/interfaces/LoginWithOOBOptions.html
@@ -106,7 +106,7 @@ Indexable
Defined in
types.ts:392
@@ -226,7 +226,7 @@
Defined in
types.ts:406
@@ -258,7 +258,7 @@
Defined in
types.ts:396
@@ -287,7 +287,7 @@
Defined in
types.ts:400
diff --git a/docs/interfaces/LoginWithOTPOptions.html b/docs/interfaces/LoginWithOTPOptions.html
index cc11a690..8d8fa5c6 100644
--- a/docs/interfaces/LoginWithOTPOptions.html
+++ b/docs/interfaces/LoginWithOTPOptions.html
@@ -106,7 +106,7 @@ Indexable
Defined in
types.ts:372
@@ -221,7 +221,7 @@
Defined in
types.ts:385
@@ -253,7 +253,7 @@
Defined in
types.ts:376
@@ -286,7 +286,7 @@
Defined in
types.ts:381
diff --git a/docs/interfaces/LoginWithRecoveryCodeOptions.html b/docs/interfaces/LoginWithRecoveryCodeOptions.html
index eeb36c3a..60f1d455 100644
--- a/docs/interfaces/LoginWithRecoveryCodeOptions.html
+++ b/docs/interfaces/LoginWithRecoveryCodeOptions.html
@@ -110,7 +110,7 @@ Indexable
Defined in
types.ts:413
@@ -217,7 +217,7 @@
Defined in
types.ts:417
@@ -249,7 +249,7 @@
Defined in
types.ts:421
diff --git a/docs/interfaces/LoginWithSMSOptions.html b/docs/interfaces/LoginWithSMSOptions.html
index 3d4c4e66..da46c54d 100644
--- a/docs/interfaces/LoginWithSMSOptions.html
+++ b/docs/interfaces/LoginWithSMSOptions.html
@@ -108,7 +108,7 @@ Indexable
Defined in
types.ts:349
@@ -230,7 +230,7 @@
Defined in
types.ts:361
@@ -259,7 +259,7 @@
Defined in
types.ts:357
@@ -291,7 +291,7 @@
Defined in
types.ts:353
@@ -321,7 +321,7 @@
Defined in
types.ts:365
diff --git a/docs/interfaces/LogoutUrlOptions.html b/docs/interfaces/LogoutUrlOptions.html
index d09994f9..7118e3fe 100644
--- a/docs/interfaces/LogoutUrlOptions.html
+++ b/docs/interfaces/LogoutUrlOptions.html
@@ -106,7 +106,7 @@ Indexable
Defined in
types.ts:175
@@ -221,7 +221,7 @@
Defined in
types.ts:183
@@ -257,7 +257,7 @@
Defined in
types.ts:179
@@ -293,7 +293,7 @@
Defined in
types.ts:187
diff --git a/docs/interfaces/MultifactorChallengeOptions.html b/docs/interfaces/MultifactorChallengeOptions.html
index 1ab9f47e..821cf4d2 100644
--- a/docs/interfaces/MultifactorChallengeOptions.html
+++ b/docs/interfaces/MultifactorChallengeOptions.html
@@ -110,7 +110,7 @@ Indexable
Defined in
types.ts:428
@@ -225,7 +225,7 @@
Defined in
types.ts:442
@@ -263,7 +263,7 @@
Defined in
types.ts:438
@@ -295,7 +295,7 @@
Defined in
types.ts:432
diff --git a/docs/interfaces/PasswordRealmOptions.html b/docs/interfaces/PasswordRealmOptions.html
index 201f349a..2e51552d 100644
--- a/docs/interfaces/PasswordRealmOptions.html
+++ b/docs/interfaces/PasswordRealmOptions.html
@@ -111,7 +111,7 @@ Indexable
Defined in
types.ts:246
@@ -243,7 +243,7 @@
Defined in
types.ts:262
@@ -275,7 +275,7 @@
Defined in
types.ts:254
@@ -304,7 +304,7 @@
Defined in
types.ts:258
@@ -337,7 +337,7 @@
Defined in
types.ts:266
@@ -369,7 +369,7 @@
Defined in
types.ts:250
diff --git a/docs/interfaces/PasswordlessWithEmailOptions.html b/docs/interfaces/PasswordlessWithEmailOptions.html
index e726196a..e53dea23 100644
--- a/docs/interfaces/PasswordlessWithEmailOptions.html
+++ b/docs/interfaces/PasswordlessWithEmailOptions.html
@@ -110,7 +110,7 @@ Indexable
Defined in
types.ts:288
@@ -225,7 +225,7 @@
Defined in
types.ts:300
@@ -254,7 +254,7 @@
Defined in
types.ts:292
@@ -287,7 +287,7 @@
Defined in
types.ts:296
diff --git a/docs/interfaces/PasswordlessWithSMSOptions.html b/docs/interfaces/PasswordlessWithSMSOptions.html
index 5153d40a..ff078688 100644
--- a/docs/interfaces/PasswordlessWithSMSOptions.html
+++ b/docs/interfaces/PasswordlessWithSMSOptions.html
@@ -110,7 +110,7 @@ Indexable
Defined in
types.ts:307
@@ -225,7 +225,7 @@
Defined in
types.ts:319
@@ -257,7 +257,7 @@
Defined in
types.ts:311
@@ -290,7 +290,7 @@
Defined in
types.ts:315
diff --git a/docs/interfaces/PatchUserOptions.html b/docs/interfaces/PatchUserOptions.html
index 61be4166..54825515 100644
--- a/docs/interfaces/PatchUserOptions.html
+++ b/docs/interfaces/PatchUserOptions.html
@@ -100,7 +100,7 @@ Indexable
Defined in
types.ts:144
@@ -198,7 +198,7 @@
Defined in
types.ts:145
@@ -226,7 +226,7 @@
Defined in
types.ts:146
diff --git a/docs/interfaces/RefreshTokenOptions.html b/docs/interfaces/RefreshTokenOptions.html
index 1722223a..3d33c273 100644
--- a/docs/interfaces/RefreshTokenOptions.html
+++ b/docs/interfaces/RefreshTokenOptions.html
@@ -106,7 +106,7 @@ Indexable
Defined in
types.ts:273
@@ -213,7 +213,7 @@
Defined in
types.ts:277
@@ -246,7 +246,7 @@
Defined in
types.ts:281
diff --git a/docs/interfaces/ResetPasswordOptions.html b/docs/interfaces/ResetPasswordOptions.html
index 7fac9d83..c0002d50 100644
--- a/docs/interfaces/ResetPasswordOptions.html
+++ b/docs/interfaces/ResetPasswordOptions.html
@@ -108,7 +108,7 @@ Indexable
Defined in
types.ts:470
@@ -215,7 +215,7 @@
Defined in
types.ts:478
@@ -244,7 +244,7 @@
Defined in
types.ts:474
diff --git a/docs/interfaces/RevokeOptions.html b/docs/interfaces/RevokeOptions.html
index 860563b6..cb2f3e6a 100644
--- a/docs/interfaces/RevokeOptions.html
+++ b/docs/interfaces/RevokeOptions.html
@@ -106,7 +106,7 @@ Indexable
Defined in
types.ts:449
@@ -206,7 +206,7 @@
Defined in
types.ts:453
diff --git a/docs/interfaces/Types.Auth0ContextInterface.html b/docs/interfaces/Types.Auth0ContextInterface.html
index a8228a80..c83500ac 100644
--- a/docs/interfaces/Types.Auth0ContextInterface.html
+++ b/docs/interfaces/Types.Auth0ContextInterface.html
@@ -130,7 +130,7 @@ Hierarchy
Defined in
hooks/auth0-context.ts:20
@@ -335,8 +335,10 @@
>:
((parameters,
+ >parameters?,
options?) => PromiseType declaration
-
(parameters,
+ >parameters?,
options?): PromiseParameters
-
+ Optional
parameters:
-
+ Optional
options:
-
Defined in
hooks/auth0-context.ts:27
@@ -554,8 +564,8 @@
-
Defined in
hooks/auth0-context.ts:46hooks/auth0-context.ts:48
@@ -664,8 +674,8 @@
Defined in
hooks/auth0-context.ts:56hooks/auth0-context.ts:60
@@ -773,8 +783,8 @@
Defined in
hooks/auth0-context.ts:60hooks/auth0-context.ts:66
@@ -884,8 +894,8 @@
Defined in
hooks/auth0-context.ts:64hooks/auth0-context.ts:72
@@ -993,7 +1003,7 @@
Defined in
hooks/auth0-context.ts:38
@@ -1065,8 +1075,8 @@
Defined in
hooks/auth0-context.ts:100hooks/auth0-context.ts:108
@@ -1088,8 +1098,10 @@
>:
((parameters,
+ >parameters?,
options?) => PromiseType declaration
id="clearSession.__type-14.__type-15"
>
(parameters,
+ >parameters?,
options?): PromiseParameters
-
+ Optional
parameters:
-
+ Optional
options:
-
Defined in
hooks/auth0-context.ts:78hooks/auth0-context.ts:86
@@ -1223,8 +1243,8 @@
Defined in
hooks/auth0-context.ts:122hooks/auth0-context.ts:130
@@ -1405,8 +1425,8 @@
Defined in
hooks/auth0-context.ts:91hooks/auth0-context.ts:99
@@ -1503,8 +1523,8 @@
Defined in
hooks/auth0-context.ts:72hooks/auth0-context.ts:80
@@ -1544,8 +1564,8 @@
Defined in
hooks/auth0-context.ts:130hooks/auth0-context.ts:138
@@ -1741,8 +1761,8 @@
Defined in
hooks/auth0-context.ts:109hooks/auth0-context.ts:117
@@ -1835,8 +1855,8 @@
Defined in
hooks/auth0-context.ts:42hooks/auth0-context.ts:44
@@ -1930,8 +1950,8 @@
Defined in
hooks/auth0-context.ts:50hooks/auth0-context.ts:54
@@ -2024,7 +2044,7 @@
Defined in
hooks/auth0-context.ts:34
@@ -2066,8 +2086,8 @@
Defined in
hooks/auth0-context.ts:126hooks/auth0-context.ts:134
diff --git a/docs/interfaces/Types.AuthState.html b/docs/interfaces/Types.AuthState.html
index ee780325..c49f99e9 100644
--- a/docs/interfaces/Types.AuthState.html
+++ b/docs/interfaces/Types.AuthState.html
@@ -125,8 +125,8 @@ Hierarchy
Defined in
hooks/auth0-context.ts:118hooks/auth0-context.ts:126
@@ -234,8 +234,8 @@
Defined in
hooks/auth0-context.ts:122hooks/auth0-context.ts:130
@@ -269,8 +269,8 @@
Defined in
hooks/auth0-context.ts:130hooks/auth0-context.ts:138
@@ -305,8 +305,8 @@
Defined in
hooks/auth0-context.ts:126hooks/auth0-context.ts:134
diff --git a/docs/interfaces/UserInfoOptions.html b/docs/interfaces/UserInfoOptions.html
index b954c59c..b014b917 100644
--- a/docs/interfaces/UserInfoOptions.html
+++ b/docs/interfaces/UserInfoOptions.html
@@ -97,7 +97,7 @@ Hierarchy
Defined in
types.ts:460
@@ -192,7 +192,7 @@
Defined in
types.ts:464
diff --git a/docs/interfaces/WebAuthorizeOptions.html b/docs/interfaces/WebAuthorizeOptions.html
index 12bb054e..2932b690 100644
--- a/docs/interfaces/WebAuthorizeOptions.html
+++ b/docs/interfaces/WebAuthorizeOptions.html
@@ -100,7 +100,7 @@ Hierarchy
Defined in
types.ts:98
@@ -227,7 +227,7 @@
Defined in
types.ts:112
@@ -266,7 +266,7 @@ Default
Defined in
types.ts:108
@@ -302,7 +302,7 @@ Default
Defined in
types.ts:103
@@ -332,7 +332,7 @@
Defined in
types.ts:113
diff --git a/docs/interfaces/WebAuthorizeParameters.html b/docs/interfaces/WebAuthorizeParameters.html
index 2e190885..8aab718b 100644
--- a/docs/interfaces/WebAuthorizeParameters.html
+++ b/docs/interfaces/WebAuthorizeParameters.html
@@ -102,7 +102,7 @@ Hierarchy
Defined in
types.ts:56
@@ -284,7 +284,7 @@
Defined in
types.ts:92
@@ -320,7 +320,7 @@
Defined in
types.ts:68
@@ -353,7 +353,7 @@
Defined in
types.ts:76
@@ -389,7 +389,7 @@
Defined in
types.ts:88
@@ -422,7 +422,7 @@
Defined in
types.ts:80
@@ -454,7 +454,7 @@
Defined in
types.ts:64
@@ -490,7 +490,7 @@
Defined in
types.ts:84
@@ -523,7 +523,7 @@
Defined in
types.ts:72
@@ -553,7 +553,7 @@
Defined in
types.ts:60
diff --git a/docs/modules/Auth0Provider.html b/docs/modules/Auth0Provider.html
index de212f3a..b3dc4768 100644
--- a/docs/modules/Auth0Provider.html
+++ b/docs/modules/Auth0Provider.html
@@ -92,7 +92,7 @@ Param
Your Auth0 client ID
Example
- <Auth0Provider domain="YOUR AUTH0 DOMAIN" clientId="YOUR CLIENT ID">
<App />
</Auth0Provider>
+ <Auth0Provider domain="YOUR AUTH0 DOMAIN" clientId="YOUR CLIENT ID">
<App />
</Auth0Provider>
@@ -101,14 +101,14 @@ Example
Defined in
hooks/auth0-provider.tsx:71
Defined in
hooks/auth0-provider.tsx:381
diff --git a/docs/types/Credentials.html b/docs/types/Credentials.html
index 7e655e3e..3df66f92 100644
--- a/docs/types/Credentials.html
+++ b/docs/types/Credentials.html
@@ -207,7 +207,7 @@
Defined in
types.ts:1
diff --git a/docs/types/MultifactorChallengeOOBResponse.html b/docs/types/MultifactorChallengeOOBResponse.html
index ea8f418c..4c51a122 100644
--- a/docs/types/MultifactorChallengeOOBResponse.html
+++ b/docs/types/MultifactorChallengeOOBResponse.html
@@ -119,7 +119,7 @@
Defined in
types.ts:531
diff --git a/docs/types/MultifactorChallengeOOBWithBindingResponse.html b/docs/types/MultifactorChallengeOOBWithBindingResponse.html
index 847fe625..e787859a 100644
--- a/docs/types/MultifactorChallengeOOBWithBindingResponse.html
+++ b/docs/types/MultifactorChallengeOOBWithBindingResponse.html
@@ -121,7 +121,7 @@
Defined in
types.ts:535
diff --git a/docs/types/MultifactorChallengeOTPResponse.html b/docs/types/MultifactorChallengeOTPResponse.html
index b8027854..a6757cc4 100644
--- a/docs/types/MultifactorChallengeOTPResponse.html
+++ b/docs/types/MultifactorChallengeOTPResponse.html
@@ -114,7 +114,7 @@
Defined in
types.ts:529
diff --git a/docs/types/MultifactorChallengeResponse.html b/docs/types/MultifactorChallengeResponse.html
index 8f12ebd9..e0e8a6b8 100644
--- a/docs/types/MultifactorChallengeResponse.html
+++ b/docs/types/MultifactorChallengeResponse.html
@@ -109,7 +109,7 @@ Type alias MultifactorChallengeResponse
Defined in
types.ts:540
diff --git a/docs/types/Types.Auth0Response.html b/docs/types/Types.Auth0Response.html
index 78047d23..eb8c6f50 100644
--- a/docs/types/Types.Auth0Response.html
+++ b/docs/types/Types.Auth0Response.html
@@ -171,7 +171,7 @@
Defined in
networking/index.ts:134
diff --git a/docs/types/Types.Telemetry.html b/docs/types/Types.Telemetry.html
index 3368d395..7afede15 100644
--- a/docs/types/Types.Telemetry.html
+++ b/docs/types/Types.Telemetry.html
@@ -135,7 +135,7 @@
Defined in
networking/telemetry.ts:3
diff --git a/docs/types/User.html b/docs/types/User.html
index 70ff6425..428fafb0 100644
--- a/docs/types/User.html
+++ b/docs/types/User.html
@@ -354,7 +354,7 @@
Defined in
types.ts:29
diff --git a/docs/variables/Auth0Provider.propTypes.html b/docs/variables/Auth0Provider.propTypes.html
index 2f39e66d..9c5898f4 100644
--- a/docs/variables/Auth0Provider.propTypes.html
+++ b/docs/variables/Auth0Provider.propTypes.html
@@ -150,7 +150,7 @@
Defined in
hooks/auth0-provider.tsx:381
diff --git a/package.json b/package.json
index 2dc82811..ee382fbf 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "react-native-auth0",
"title": "React Native Auth0",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "React Native toolkit for Auth0 API",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Example
-