Skip to main content
Version: Next 🚧

[F] getAuthenticationForOperation

function getAuthenticationForOperation(program, operation): Authentication | undefined

Resolve the authentication for a given operation.

Parameters

ParameterTypeDescription
programProgramProgram
operationOperationOperation

Returns

Authentication | undefined

Authentication provided on the operation or containing interface or namespace.