PHPackages                             dadi/passport - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. dadi/passport

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

dadi/passport
=============

A library for generating access tokens to authenticate with DADI platform components

783[2 issues](https://github.com/dadi/passport/issues)[1 PRs](https://github.com/dadi/passport/pulls)JavaScript

Since Sep 15Pushed 7y ago6 watchersCompare

[ Source](https://github.com/dadi/passport)[ Packagist](https://packagist.org/packages/dadi/passport)[ RSS](/packages/dadi-passport/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (4)Used By (0)

DADI Passport
=============

[](#dadi-passport)

Overview
--------

[](#overview)

DADI Passport is a library for generating access tokens to authenticate with DADI platform components.

Various components within the DADI stack implement 2-legged oAuth2, requiring a bearer token to authorise requests. This bearer token is obtained as a response sent to a specific endpoint with a clientId/secret pair, along with a TTL defined by the provider.

This library can be used by third-party applications that wish to integrate with DADI, as it abstracts the oAuth protocol by storing and requesting bearer tokens as needed, and returning always a promise with a valid bearer token.

Documentation
-------------

[](#documentation)

Documentation is maintained under the `docs` branch.

Licence
-------

[](#licence)

DADI is a data centric development and delivery stack, built specifically in support of the principles of API first and COPE.

Copyright notice
(C) 2016 DADI+ Limited
All rights reserved

This product is part of DADI.
DADI is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version ("the GPL"). **If you wish to use DADI outside the scope of the GPL, please contact us at  for details of alternative licence arrangements.**

**This product may be distributed alongside other components available under different licences (which may not be GPL). See those components themselves, or the documentation accompanying them, to determine what licences are applicable.**

DADI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

The GNU General Public License (GPL) is available at .
A copy can be found in the file GPL distributed with these files.

This copyright notice MUST APPEAR in all copies of the product!

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance14

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 74.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2db40072794551c5b7dabf9b2d46faad77ba1c31e18aef7804f9732056b57bfe?d=identicon)[eduardoboucas](/maintainers/eduardoboucas)

![](https://avatars.githubusercontent.com/u/30811?v=4)[DADI](/maintainers/dadi)[@dadi](https://github.com/dadi)

---

Top Contributors

[![eduardoboucas](https://avatars.githubusercontent.com/u/4162329?v=4)](https://github.com/eduardoboucas "eduardoboucas (56 commits)")[![jimlambie](https://avatars.githubusercontent.com/u/116263?v=4)](https://github.com/jimlambie "jimlambie (16 commits)")[![josephdenne](https://avatars.githubusercontent.com/u/150408?v=4)](https://github.com/josephdenne "josephdenne (3 commits)")

### Embed Badge

![Health badge](/badges/dadi-passport/health.svg)

```
[![Health](https://phpackages.com/badges/dadi-passport/health.svg)](https://phpackages.com/packages/dadi-passport)
```

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.2M17](/packages/kartik-v-yii2-password)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
