Skip to content

kitsu418/go-touchid

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Authenticating with TouchID

package main

import (
	"log"

	touchid "github.com/ikitsuchi/go-touchid"
)

func main() {
	ok, err := touchid.Authenticate("access llamas", "cancel", "fallback")
	if err != nil {
		log.Fatal(err)
	}

	if ok {
		log.Printf("Authenticated")
	} else {
		log.Fatal("Failed to authenticate")
	}
}

Screenshot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%