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":
|
"exp":
|
||||||
DateTime.now().add(Duration(days: 7)).millisecondsSinceEpoch ~/
|
DateTime.now().add(Duration(days: 7)).millisecondsSinceEpoch ~/
|
||||||
1000,
|
1000,
|
||||||
|
"email":
|
||||||
|
"${user.userId.split(':').first.replaceFirst('@', '')}@federated.nexus",
|
||||||
"iat": DateTime.now().millisecondsSinceEpoch ~/ 1000,
|
"iat": DateTime.now().millisecondsSinceEpoch ~/ 1000,
|
||||||
},
|
},
|
||||||
subject: user.userId,
|
subject: user.userId,
|
||||||
|
|
|
@ -26,7 +26,7 @@ packages:
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "7.4.5"
|
version: "7.4.5"
|
||||||
args:
|
args:
|
||||||
dependency: transitive
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: args
|
name: args
|
||||||
sha256: d0481093c50b1da8910eb0bb301626d4d8eb7284aa739614d2b394ee09e3ea04
|
sha256: d0481093c50b1da8910eb0bb301626d4d8eb7284aa739614d2b394ee09e3ea04
|
||||||
|
|
|
@ -18,6 +18,7 @@ dependencies:
|
||||||
shelf_router: ^1.1.4
|
shelf_router: ^1.1.4
|
||||||
fast_immutable_collections: ^11.0.4
|
fast_immutable_collections: ^11.0.4
|
||||||
cli_tools: ^0.6.0
|
cli_tools: ^0.6.0
|
||||||
|
args: ^2.7.0
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
build_runner: ^2.4.6
|
build_runner: ^2.4.6
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue