Skip to content

Be able to Set/Remove LocalAuthentication. #465

Open
@MauriMiguez

Description

@MauriMiguez

Checklist

  • I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

In the particular App im working on, we would like to be able to toggle on or off LocalAuthentication based on user preference. Right now I don't see a way to either remove or add LocalAuthentication from an Auth0 or CredentialsManager already created instances.

To be more specific: if you already instantiated Auth0 without LocalAuthentication there is no way you can add it now.

Describe the ideal solution

I would for the API to expose a method to be able to add/remove local authentication.

Alternatives and current workarounds

The only work around I can think of is to make another instance of Auth0 in which CredentialsManager will be injected with the new LocalAuthentication.

Additional context

Currently I create the Auth0 instance during the initialization of the app and after that is injected into the corresponding classes that need that instance. So is at that point that I decide to either add local biometrics or not add it.

If user decides that now it wants to add it I would have to re-instantiate the object and inject it again which is troublesome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    androidfeature requestA feature has been asked for or suggested by the communityios

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions