---
lang: en
title: 'API docs: authentication.authenticatefn'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.authentication.authenticatefn.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/authentication](./authentication.md) &gt; [AuthenticateFn](./authentication.authenticatefn.md)

## AuthenticateFn interface

interface definition of a function which accepts a request and returns an authenticated user

<b>Signature:</b>

```typescript
export interface AuthenticateFn 
```

