Add email
This commit is contained in:
parent
13a469ba6d
commit
8e2df0703d
3 changed files with 4 additions and 1 deletions
|
@ -105,6 +105,8 @@ class ApiHelper {
|
|||
"exp":
|
||||
DateTime.now().add(Duration(days: 7)).millisecondsSinceEpoch ~/
|
||||
1000,
|
||||
"email":
|
||||
"${user.userId.split(':').first.replaceFirst('@', '')}@federated.nexus",
|
||||
"iat": DateTime.now().millisecondsSinceEpoch ~/ 1000,
|
||||
},
|
||||
subject: user.userId,
|
||||
|
|
|
@ -26,7 +26,7 @@ packages:
|
|||
source: hosted
|
||||
version: "7.4.5"
|
||||
args:
|
||||
dependency: transitive
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: args
|
||||
sha256: d0481093c50b1da8910eb0bb301626d4d8eb7284aa739614d2b394ee09e3ea04
|
||||
|
|
|
@ -18,6 +18,7 @@ dependencies:
|
|||
shelf_router: ^1.1.4
|
||||
fast_immutable_collections: ^11.0.4
|
||||
cli_tools: ^0.6.0
|
||||
args: ^2.7.0
|
||||
|
||||
dev_dependencies:
|
||||
build_runner: ^2.4.6
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue