public function JwtHsKeyType::defaultConfiguration in JSON Web Token Authentication (JWT) 8
Same name and namespace in other branches
- 8.0 src/Plugin/KeyType/JwtHsKeyType.php \Drupal\jwt\Plugin\KeyType\JwtHsKeyType::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides KeyPluginBase::defaultConfiguration
File
- src/
Plugin/ KeyType/ JwtHsKeyType.php, line 28
Class
- JwtHsKeyType
- Defines a key type for JWT HMAC Signatures.
Namespace
Drupal\jwt\Plugin\KeyTypeCode
public function defaultConfiguration() {
return [
'algorithm' => 'HS256',
];
}