You are here

public static function JwtTranscoderInterface::getAlgorithmType in JSON Web Token Authentication (JWT) 8.0

Same name and namespace in other branches
  1. 8 src/Transcoder/JwtTranscoderInterface.php \Drupal\jwt\Transcoder\JwtTranscoderInterface::getAlgorithmType()

Return the type of algorithm selected.

Parameters

string $algorithm: The algorithm.

Return value

string The algorithm type. Returns NULL if algorithm not found.

1 method overrides JwtTranscoderInterface::getAlgorithmType()
JwtTranscoder::getAlgorithmType in src/Transcoder/JwtTranscoder.php
Return the type of algorithm selected.

File

src/Transcoder/JwtTranscoderInterface.php, line 103

Class

JwtTranscoderInterface
Interface JwtTranscoderInterface.

Namespace

Drupal\jwt\Transcoder

Code

public static function getAlgorithmType($algorithm);