mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2025-12-10 04:59:29 +00:00
feat: add deeplinking support for oauth login
This commit is contained in:
parent
38bad9671d
commit
61aeaf429f
23 changed files with 1310 additions and 343 deletions
17
lib/features/onboarding/models/flow.dart
Normal file
17
lib/features/onboarding/models/flow.dart
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import 'dart:io';
|
||||
|
||||
import 'package:freezed_annotation/freezed_annotation.dart';
|
||||
|
||||
part 'flow.freezed.dart';
|
||||
|
||||
@freezed
|
||||
class Flow with _$Flow {
|
||||
const factory Flow({
|
||||
required Uri serverUri,
|
||||
required String state,
|
||||
required String verifier,
|
||||
required Cookie cookie,
|
||||
@Default(false) bool isFlowComplete,
|
||||
String? authToken,
|
||||
}) = _Flow;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue