getResourceOwner abstract method

FutureOr<ResourceOwner?> getResourceOwner(
  1. AuthServer server,
  2. String username
)

Must return a ResourceOwner for a username.

This method must return an instance of ResourceOwner if one exists for username. Otherwise, it must return null.

Every property declared by ResourceOwner must be non-null in the return value.

server is the AuthServer invoking this method.

Implementation

FutureOr<ResourceOwner?> getResourceOwner(AuthServer server, String username);