validateKey

fun ApplicationCall.validateKey(requiredPermission: APIPermission): KeyManager.ValidationResult(source)

Validates key provided in the call request either in the API-Key header or in the query parameters

Return

Result of key validation

Parameters

requiredPermission

Permission to be checked for