JWT Framework
v3.0
Search…
⌃K
v3.0
Introduction
Introduction
Provided Features
Pre-requisite
Continous Integration
Contributing
The Components
Algorithm Management (JWA)
Key (JWK) and Key Set (JWKSet)
Header Checker
Claim Checker
Signed Tokens (JWS)
Encrypted Tokens (JWE)
Encryption Algorithms
JWE Creation
JWE Loading
The Symfony Bundle
Symfony Bundle
Algorithm Management
Key and Key Set Management
Header and Claim Checker Management
Signed Tokens
Encrypted Tokens
Configuration Helper
Events
Console Command
Console
Standalone Application
PHAR Application
Symfony Console
Advanced Topics
Security Recommendations
Nested Tokens
Serialization
Custom Algorithm
Signed tokens and
Encrypted tokens and
Benchmark
How To
Result table
Migration
From v1.x to v2.0
From v2.x to v3.0
Powered By GitBook

Encrypted Tokens (JWE)

To use the encrypted tokens (JWE), you have to install the web-token/jwt-encryption component.
composer require web-token/jwt-encryption
This component provides lot of encryption algorithms and classes to load and create encrypted tokens.
Please refer to this encryption algorithm table to know what algorithms are available.
Then, you will find an example to create an encrypted token here and another example to load and decrypt incoming tokens.
Previous
JWS Loading
Next
Encryption Algorithms
Last modified 10mo ago
Export as PDF
Copy link