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

貢獻者指南