Compare commits
2 Commits
670fb7e0a6
...
7a757248c7
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7a757248c7 | ||
![]() |
3786af992c |
@ -1,8 +1,6 @@
|
||||
import 'dart:convert';
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:oauth2/oauth2.dart' as oauth2;
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
|
||||
Future<String> getSessionCookie(oauth2.Client client) async {
|
||||
final response0 = await client.get(
|
||||
|
@ -31,22 +31,6 @@ void main() {
|
||||
);
|
||||
}
|
||||
|
||||
void makeAlert(BuildContext context, String title, String message) {
|
||||
showDialog<String>(
|
||||
context: context,
|
||||
builder: (BuildContext context) => AlertDialog(
|
||||
title: Text(title),
|
||||
content: Text(message),
|
||||
actions: <Widget>[
|
||||
TextButton(
|
||||
onPressed: () => Navigator.pop(context, 'OK'),
|
||||
child: const Text('OK'),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Future<OpenSSHEd25519KeyPair> generateKeyPair() async {
|
||||
final algorithm = Ed25519();
|
||||
|
||||
@ -193,10 +177,6 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final String outputText = _output.isNotEmpty
|
||||
? 'Output: $_output'
|
||||
: 'Press the button to run a command.';
|
||||
|
||||
final authentikApiState = context
|
||||
.watch<AuthentikUserSettingsChangeDialogState>();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user