-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow additional options for authorize and support custom LAPolicy (#526
) * Update auth0-provider.js Fix issue passing Other configuration options to authorize call * Update auth0-provider.js Fix issue passing Other configuration options to authorize call * no message * no message * Code review changes and rename LAPolicy to Security Level * Removed unsupported policies from conversion * Fixed compilation error * Update ios/CredentialsManagerBridge.swift Co-authored-by: Rita Zerrizuela <zeta@widcket.com> * Update ios/CredentialsManagerBridge.swift Co-authored-by: Rita Zerrizuela <zeta@widcket.com> * Update ios/CredentialsManagerBridge.swift Co-authored-by: Rita Zerrizuela <zeta@widcket.com> * Update ios/CredentialsManagerBridge.swift Co-authored-by: Rita Zerrizuela <zeta@widcket.com> * Refactor name to LAPolicy * Use NSInteger * Defaults to deviceOwnerWithBiometrics * Start enum from 0 * Revert "Start enum from 0" This reverts commit 0364a67. * Refactor SecurityLevel to LAPolicy * Refactor LAPolicy to LocalAuthenticationStrategy * Update src/credentials-manager/index.js Co-authored-by: Rita Zerrizuela <zeta@widcket.com> * Update src/credentials-manager/index.js Co-authored-by: Rita Zerrizuela <zeta@widcket.com> * Trigger Build * Fix broken tests --------- Co-authored-by: Poovamraj T T <poovamraj@gmail.com> Co-authored-by: Rita Zerrizuela <zeta@widcket.com>
- Loading branch information
1 parent
5de06c1
commit da04cb0
Showing
6 changed files
with
31 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
export {TimeoutError} from './src/utils/fetchWithTimeout'; | ||
export {default as useAuth0} from './src/hooks/use-auth0'; | ||
export {default as Auth0Provider} from './src/hooks/auth0-provider'; | ||
export {default as LocalAuthenticationStrategy} from './src/credentials-manager/localAuthenticationStrategy'; | ||
|
||
import Auth0 from './src/auth0'; | ||
export default Auth0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
const LocalAuthenticationStrategy = { | ||
deviceOwnerWithBiometrics: 1, | ||
deviceOwner: 2, | ||
} | ||
|
||
export default LocalAuthenticationStrategy; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters