Task<ID2LPrincipal> IRequestAuthenticator.AuthenticateAsync( HttpRequest request, AuthenticationMode authMode ) { string cookie = request.GetCookieValue(); string bearerToken = request.GetBearerTokenValue(); string xsrfToken = request.GetXsrfValue(); return AuthenticateHelper( cookie, xsrfToken, bearerToken, authMode ); }