Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

REST API Access Token

Security covered Under active development 303 sites

This module provides a way to authenticate with Drupal's REST API using tokens sent in headers. It also supports verifying request signatures and caching responses.

The REST API Access Token module provides a Drupal authentication provider that uses tokens (in headers) as the primary factor of authentication.
Additionally module provide signature verification for requests and response cache.

Installation

Install the REST API Access Token module as you would normally install a contributed Drupal module. Next, enable module in admin panel.

Configuration

Navigate to Administration > Configuration > REST API Access Token.

If you want to remove other user tokens

use EventSubscriberInterface and AccessTokenEvents::TOKEN_RESPONSE:

try {
  $this->tokenRepository->removeOtherUserTokens($token);
} catch (\Throwable $e) {}

Supporting:

https://www.drupal.org/u/marcinkazmierski - Development and maintenance.

Drupal 8–11

Ask your assistant about REST API Access Token

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
May 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
2.0.2 Stable 8–11 Apr 24, 2024
2.0.1 Stable 8–11 Apr 17, 2024
2.0.x-dev Dev 8–11 Apr 16, 2024
2.0.0 Stable 8–10 May 5, 2023