getToken method

Future<Map<String, dynamic>> getToken({
  1. required String userId,
  2. String? userJwt,
  3. String? appSecret,
})

便捷:控制面 getToken。

Implementation

Future<Map<String, dynamic>> getToken({
  required String userId,
  String? userJwt,
  String? appSecret,
}) {
  return controlPlane(
    userJwt: userJwt,
    appSecret: appSecret,
  ).getToken(userId: userId);
}