You are here

service jwt.authentication.jwt in JSON Web Token Authentication (JWT) 8

Same name and namespace in other branches
  1. 8.0 jwt.services.yml \jwt.authentication.jwt

Class

Drupal\jwt\Authentication\Provider\JwtAuth

Tags

  • authentication_provider
4 string references to jwt.authentication.jwt
JwtAuthIssuerController::create in modules/jwt_auth_issuer/src/Controller/JwtAuthIssuerController.php
Instantiates a new instance of this class.
JwtAuthTest::testJwtAuth in tests/src/Functional/JwtAuthTest.php
Test jwt authentication.
RsaKeyTest::testRsaGenerateToken in tests/src/Kernel/RsaKeyTest.php
Verify generation and verification with RSA.
UserAuthTest::testAuth in tests/src/Kernel/UserAuthTest.php
Verify the authentication for a user.

File

./jwt.services.yml
jwt.services.yml

View source
  1. class: Drupal\jwt\Authentication\Provider\JwtAuth
  2. arguments:
  3. - '@jwt.transcoder'
  4. - '@event_dispatcher'
  5. tags:
  6. - { name: authentication_provider, provider_id: jwt_auth, global: true, priority: 200 }