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