diff --git a/CHANGELOG.md b/CHANGELOG.md index 3bddf99b..4cd39223 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Change Log +## [v2.12.0](https://github.com/auth0/react-native-auth0/tree/v2.12.0) (2022-01-07) + +[Full Changelog](https://github.com/auth0/react-native-auth0/compare/v2.11.0...v2.12.0) + +**Added** + +- Feature: Implemented MFA APIs [\#442](https://github.com/auth0/react-native-auth0/pull/442) ([poovamraj](https://github.com/poovamraj)) + +**Fixed** + +- Fix: Warning on RN65 while linking from agent.js [\#441](https://github.com/auth0/react-native-auth0/pull/441) ([poovamraj](https://github.com/poovamraj)) + ## [v2.11.0](https://github.com/auth0/react-native-auth0/tree/v2.11.0) (2021-11-30) [Full Changelog](https://github.com/auth0/react-native-auth0/compare/v2.10.0...v2.11.0) diff --git a/docs/Auth.html b/docs/Auth.html index a2b976a8..ecc9bf91 100644 --- a/docs/Auth.html +++ b/docs/Auth.html @@ -69,6 +69,26 @@ >loginWithEmail +
+ Log in a user using an Out Of Band authentication code after + they have received the 'mfa_required' error. The MFA token tells + the server the username or email, password, and realm values + sent on the first request. +
++ Requires your client to have the MFA OOB Grant + Type enabled. See + Client Grant Types + to learn how to enable it. +
+Name | + +Type | + +Description | +||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
parameters |
+
+
+ Object
+ |
+
+
+ login with Recovery Code parameters + +
|
+
Promise
+ + Log in a user using the One Time Password code after they have + received the 'mfa_required' error. The MFA token tells the + server the username or email, password, and realm values sent on + the first request. +
++ Requires your client to have the MFA OTP Grant + Type enabled. See + Client Grant Types + to learn how to enable it. +
+Name | + +Type | + +Description | +|||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
parameters |
+
+
+ Object
+ |
+
+
+ login with OTP parameters + +
|
+
Promise
+ + Log in a user using a multi-factor authentication Recovery Code + after they have received the 'mfa_required' error. The MFA token + tells the server the username or email, password, and realm + values sent on the first request. +
++ Requires your client to have the MFA Grant Type + enabled. See + Client Grant Types + to learn how to enable it. +
+Name | + +Type | + +Description | +|||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
parameters |
+
+
+ Object
+ |
+
+
+ login with Recovery Code parameters + +
|
+
Promise
+ + Request a challenge for multi-factor authentication (MFA) based + on the challenge types supported by the application and user. + The challenge type is how the user will get the challenge and + prove possession. Supported challenge types include: + "otp" and "oob". +
+Name | + +Type | + +Description | +||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
parameters |
+
+
+ Object
+ |
+
+
+ challenge request parameters + +
|
+
Promise
+