setExternalJwtAuthByIdentifiersForCurrentUser method
Implementation
Future<bool> setExternalJwtAuthByIdentifiersForCurrentUser(String sdkId, String externalJwtConfigId, String externalAuthenticationToken) async {
final res = await _methodChannel.invokeMethod<String>(
'UserApi.setExternalJwtAuthByIdentifiersForCurrentUser',
{
"sdkId": sdkId,
"externalJwtConfigId": jsonEncode(externalJwtConfigId),
"externalAuthenticationToken": jsonEncode(externalAuthenticationToken),
}
).catchError(convertPlatformException);
if (res == null) throw AssertionError("received null result from platform method setExternalJwtAuthByIdentifiersForCurrentUser");
final parsedResJson = jsonDecode(res);
return (parsedResJson as bool);
}