swagger-api/swagger-codegen

[Apex] Use NamedCredentials/Callouts instead of remoteSite

Open

#5 679 ouverte le 21 mai 2017

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)HTML (5 474 forks)batch import
Client: ApexEnhancement: Generalhelp wanted

Métriques du dépôt

Stars
 (12 701 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur