@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
33 lines (21 loc) • 1.01 kB
Markdown
lang: en
title: 'API docs: authentication-jwt.jwtauthenticationstrategy.extractcredentials'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/extensions/authentication-jwt
permalink: /doc/en/lb4/apidocs.authentication-jwt.jwtauthenticationstrategy.extractcredentials.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/authentication-jwt](./authentication-jwt.md) > [JWTAuthenticationStrategy](./authentication-jwt.jwtauthenticationstrategy.md) > [extractCredentials](./authentication-jwt.jwtauthenticationstrategy.extractcredentials.md)
## JWTAuthenticationStrategy.extractCredentials() method
<b>Signature:</b>
```typescript
extractCredentials(request: Request): string;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| request | Request | |
<b>Returns:</b>
string