getAccessToken method
Implementation
@override
Future getAccessToken({required MethodCall call}) async{
final accessToken = await _getModuleInstance().getAccessToken();
return {
"success": accessToken != null,
"message": accessToken != null ? "Get access token successful" : "No access token found",
"data": {
"token": accessToken?.token,
"refreshToken": accessToken?.refreshToken,
"claims": accessToken?.claims,
"payload": accessToken?.payload
}
};
}