AuthenticationHandler typedef

AuthenticationHandler = Future<AuthenticationInfo?> Function(Session session, String key)

Returns authentication information for a given Session and key or null if the key is invalid.

Implementation

typedef AuthenticationHandler = Future<AuthenticationInfo?> Function(
    Session session, String key);