Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Let's add an alter hook to the API key validation callback, so that other modules can add custom logic as needed. Simple modulename.api.php included as well. Patch incoming.
Comment | File | Size | Author |
---|---|---|---|
#1 | services_api_key_auth_2331865_1_alter_hook.patch | 1.43 KB | mcrittenden |
Comments
Comment #1
mcrittenden CreditAttribution: mcrittenden commentedComment #2
mglamanThis patch allows the addition of some dynamics to Services and the API key. Works like a charm.
Comment #3
mglamanThis could allow #2195767: Support for multiple API keys to be marked closed, as any special logic can be handled here.
Comment #5
colanThanks!