part of angel_auth; /// A function that handles login and signup for an Angel application. abstract class AuthStrategy { String name; /// Authenticates or rejects an incoming user. Future authenticate(RequestContext req, ResponseContext res, [AngelAuthOptions options]); /// Determines whether a signed-in user can log out or not. Future canLogout(RequestContext req, ResponseContext res); }