Skip to content

[F] getAuthenticationForOperation

function getAuthenticationForOperation(program, operation): undefined | Authentication

Resolve the authentication for a given operation.

Parameters

ParameterTypeDescription
programProgramProgram
operationOperationOperation

Returns

undefined | Authentication

Authentication provided on the operation or containing interface or namespace.