Search
⌃K
Links
Comment on page

PHP

Authenticate requests and manage Passage users with PHP.

Installation

To learn more, see our Github repo with up to date requirements and installation steps.
Requirements: Passage App ID and API Key from Console​
Composer Package: passageidentity/passage-php​

Session Management

Passage uses two types of tokens: auth tokens and refresh tokens for security. To learn more, see our full guide on Tokens.

​validateJWT()​

App

Retrieve information about the Passage app.

​getApp()​

User Management

Users of the app can be managed, all are reflected on the app's Users page in Console. To learn more about user management and correlating users between Passage and your database view our guide here.

​activateUser()​

​createUser()​

​deactivateUser()​

​deleteUser()​

​getUser()​

​updateUser()​

User Passkey Device Management

When a user creates a passkey, the device is saved. Devices can be retrieved and deleted from the user's profile.

​listUserDevices()​

Generate custom magic links for users that can be embedded into any content medium. To learn more, see our full guide on Embedded Magic Links.
​
Last modified 2d ago