Skip to content

A OATH app for Canokey.Support both Android & IOS

Notifications You must be signed in to change notification settings

canokeys/oath-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Canokey Client

A Flutter Application,both support Android and IOS.This app is written for Canokey.

Getting Started

This app is made for Canokey to do two-step verify.Support Google,Github,etc.The user introduction has been written in app.

Explanations to code

Folders

DrawerPages:

AboutPage.dart:Use in main.dart.Show via drawer.

Images:

All the images sources are stored in this folder.

Models:

Bloc.dart&DataSave.dart&StreamBuilder.dart&MultiLanguage.dart: These files are written for local storage,to store some users settings.And support-languages include: English,Chinese,Japanese,French,German

CredentialModule.dart : This is the most significant file.It contain all the functions to order Canokey.And it shows the credentials on the screen.

LeftScrollPrefab.dart: A Prefab which add credential module in CredentialModule.And it support user left scroll it to remove it.

StartPage.dart: A lead in page.Use for beautify the app.

Tutorial.dart: A instruction to lead users to use this app.Load at the first installation and the time user click 'help'.

Update on 2020/9/21

Mention:

Change the type of key that needed to be input in addDialog: UTF-8 ----> BASE32 it means you need to input Base32 format key , or create credential by hand can't succeed. *this change is to be consistent with apps like Google Authenticator , FreeOTP and so on.

About

A OATH app for Canokey.Support both Android & IOS

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages