@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
24 lines (16 loc) • 728 B
Markdown
lang: en
title: 'API docs: authentication.authenticatefn'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/authentication
permalink: /doc/en/lb4/apidocs.authentication.authenticatefn.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/authentication](./authentication.md) > [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
```