getPasswordInfo method

  1. @override
Future<UserPasswordInfoV1?> getPasswordInfo(
  1. String? correlationId,
  2. String userId
)
override

Gets a password infomation.

  • correlationId (optional) transaction id to trace execution through call chain.
  • userId an id of password to be retrieved. Return Future that receives a password info. Throws error.

Implementation

@override
Future<UserPasswordInfoV1?> getPasswordInfo(
    String? correlationId, String userId) async {
  return UserPasswordInfoV1(
      id: userId, change_time: null, locked: false, lock_time: null);
}