Currently the KeyGeneratorService (simple_oauth.key.generator) is used directly by the key generator form and also the drush simple-oauth:generate-keys command, this means It can't be decorated.

If it can be decorated then sites can do additional things before/after key generation or use alternative key generator systems etc.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

thtas created an issue. See original summary.

thtas’s picture

Status: Needs work » Needs review
StatusFileSize
new4.03 KB

Patch attached

bradjones1’s picture

Version: 8.x-4.x-dev » 5.x-dev
mxr576’s picture

Version: 5.x-dev » 6.0.x-dev

It looks like this is a valid feature request for 6.x

bojan_dev made their first commit to this issue’s fork.

  • bojan_dev committed 1982aa64 on 6.0.x
    Issue #3086949: Add interface for the KeyGeneratorService
    
bojan_dev’s picture

Status: Needs review » Fixed

TY for the patch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.