TF-571 Setup and get OIDC configuration

This commit is contained in:
dab246
2022-05-20 13:35:03 +07:00
committed by Dat H. Pham
parent 239234f836
commit ffb5cadc16
17 changed files with 177 additions and 5 deletions
@@ -17,4 +17,13 @@ class AuthenticationOIDCDataSourceImpl extends AuthenticationOIDCDataSource {
throw error;
});
}
@override
Future<OIDCConfiguration> getOIDCConfiguration(Uri baseUri) {
return Future.sync(() async {
return await _oidcHttpClient.getOIDCConfiguration(baseUri);
}).catchError((error) {
throw error;
});
}
}