Merge branch 'ChristianPauly-master-patch-74314' into 'master'
Hotfix OpenIdCredentials See merge request famedly/famedlysdk!342
This commit is contained in:
commit
d660749a56
|
@ -20,7 +20,7 @@ class OpenIdCredentials {
|
||||||
String accessToken;
|
String accessToken;
|
||||||
String tokenType;
|
String tokenType;
|
||||||
String matrixServerName;
|
String matrixServerName;
|
||||||
int expiresIn;
|
double expiresIn;
|
||||||
|
|
||||||
OpenIdCredentials.fromJson(Map<String, dynamic> json) {
|
OpenIdCredentials.fromJson(Map<String, dynamic> json) {
|
||||||
accessToken = json['access_token'];
|
accessToken = json['access_token'];
|
||||||
|
|
|
@ -1707,7 +1707,7 @@ class FakeMatrixApi extends MockClient {
|
||||||
'access_token': 'SomeT0kenHere',
|
'access_token': 'SomeT0kenHere',
|
||||||
'token_type': 'Bearer',
|
'token_type': 'Bearer',
|
||||||
'matrix_server_name': 'example.com',
|
'matrix_server_name': 'example.com',
|
||||||
'expires_in': 3600
|
'expires_in': 3600.0
|
||||||
},
|
},
|
||||||
'/client/r0/user/@test:fakeServer.notExisting/openid/request_token':
|
'/client/r0/user/@test:fakeServer.notExisting/openid/request_token':
|
||||||
(var req) => {
|
(var req) => {
|
||||||
|
|
Loading…
Reference in a new issue