public function OAuth2Storage::getEncryptionAlgorithm in OAuth2 Server 8
Same name and namespace in other branches
- 2.0.x src/OAuth2Storage.php \Drupal\oauth2_server\OAuth2Storage::getEncryptionAlgorithm()
Get encryption algorithm.
Parameters
string|null $client_id: The client id string.
Return value
string The encryption algorithm identifier string.
File
- src/
OAuth2Storage.php, line 983
Class
- OAuth2Storage
- Provides Drupal OAuth2 storage for the library.
Namespace
Drupal\oauth2_serverCode
public function getEncryptionAlgorithm($client_id = NULL) {
return 'RS256';
}