ServerSettingsResolver
interface ServerSettingsResolver
Methods
string|null
current()
Return the current settings identifier, or null for the default settings.
resolve(string $identifier)
Load the settings for an identifier returned by current().
Details
at line 18
string|null
current()
Return the current settings identifier, or null for the default settings.
This runs on every OAuth endpoint request and bearer-token authentication, so it must not query the database. The identifier must change whenever the settings or their keys change.
at line 23
ServerSettings
resolve(string $identifier)
Load the settings for an identifier returned by current().