swagger-api/swagger-codegen

[Apex] Use NamedCredentials/Callouts instead of remoteSite

开放

#5,679 创建于 2017年5月21日

 (1 条评论) (0 个反应) (0 位负责人)HTML (5,474 个派生)batch import
Client: ApexEnhancement: Generalhelp wanted

仓库指标

星标
 (12,701 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Description

The initial implementation for Apex supports only remote site settings. That leads to the issue that the developer has to hardcode authentication credentials into the Apex classes.

The best approach is to use Named Credentials in combination with callouts. With that an administration can define URL/Credentials etc. via UI in Salesforce and nothing needs to be hardcoded in the Apex classes.

Swagger-codegen version

master

贡献者指南