challenge method

  1. @override
Future<Authenticate> challenge(
  1. Extra extra
)
override

This method is called by the session if the router returns the challenge or the challenges extra respectively. This method only returns the plain password as a signature.

Implementation

@override
Future<Authenticate> challenge(Extra extra) {
  return Future.value(Authenticate(signature: password));
}