Attempt to authorise a user suing the authentication data supplied. An instance of the principal type U should be returned on authentication success, otherwise undefined should be returned.
U
undefined
An instance of the authentication data type T.
T
Instance of type U or undefined on authentication failure.
Attempt to authorise a user suing the authentication data supplied. An instance of the principal type
U
should be returned on authentication success, otherwiseundefined
should be returned.