Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Biometric Authentication features #1351

Merged
merged 4 commits into from
Apr 4, 2020

Conversation

ichan-mb
Copy link
Member

@ichan-mb ichan-mb commented Apr 3, 2020

It provides the easiest way to do biometric authentication using a sensor available on the device. This feature adds a new trigger action called <Authenticate/> and trigger class called <SupportBiometric/>.

Example

<JavaScript>
    module.exports = {
        resultHandler: function(data) {
            console.dir(data.status) // boolean value true or false
        }
    }
</JavaScript>
<Panel>
    <SupportBiometric>
        <Button Text="Sign In With Biometric">
            <Clicked>
                <Authenticate PromptMessage="We need your Fingerprint" Handler="{resultHandler}" />
            </Clicked>
        </Button>
    </SupportBiometric>
</Panel>

Note

This PR require Uno PR: fuse-open/uno#305

This PR contains:

  • Changelog
  • Documentation
  • Tests

Copy link
Member

@mortend mortend left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice feature. :)

Source/Fuse.Auth/Biometric.uno Outdated Show resolved Hide resolved
Source/Fuse.Auth/Biometric.uno Outdated Show resolved Hide resolved
@mortend mortend merged commit e1e5cb5 into fuse-open:master Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants