mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-23 10:11:52 +03:00
update OperationContext enum
This commit is contained in:
parent
eddee700b3
commit
5a6e87028d
@ -317,7 +317,7 @@ class MainActivity : FlutterFragmentActivity() {
|
||||
dialogManager,
|
||||
appPreferences
|
||||
)
|
||||
OperationContext.Fido -> FidoManager(
|
||||
OperationContext.FidoPasskeys -> FidoManager(
|
||||
this,
|
||||
messenger,
|
||||
viewModel,
|
||||
|
@ -24,12 +24,14 @@ import com.yubico.yubikit.android.transport.usb.UsbYubiKeyDevice
|
||||
|
||||
enum class OperationContext(val value: Int) {
|
||||
Oath(0),
|
||||
Fido(1),
|
||||
YubiOtp(2),
|
||||
Piv(3),
|
||||
OpenPgp(4),
|
||||
HsmAuth(5),
|
||||
Management(6),
|
||||
FidoU2f(1),
|
||||
FidoFingerprints(2),
|
||||
FidoPasskeys(3),
|
||||
YubiOtp(4),
|
||||
Piv(5),
|
||||
OpenPgp(6),
|
||||
HsmAuth(7),
|
||||
Management(8),
|
||||
Invalid(-1);
|
||||
|
||||
companion object {
|
||||
|
@ -57,7 +57,7 @@ Future<Widget> initialize() async {
|
||||
overrides: [
|
||||
supportedAppsProvider.overrideWith(implementedApps([
|
||||
Application.accounts,
|
||||
Application.webauthn,
|
||||
Application.passkeys,
|
||||
])),
|
||||
prefProvider.overrideWithValue(await SharedPreferences.getInstance()),
|
||||
logLevelProvider.overrideWith((ref) => AndroidLogger()),
|
||||
|
Loading…
Reference in New Issue
Block a user