bcquality/microsoft/knowledge/breaking-changes/do-not-expose-sensitive-data-through-public-api.bad.al
Jesper Schulz-Wedde 6140a52b03
Add breaking-changes knowledge domain and review leaf skill (#44)
Seed a new breaking-changes (AL API stability) knowledge domain with six
articles plus good/bad AL samples, a new al-breaking-changes-review leaf
skill, and minimal wiring into al-code-review and the README.

Co-authored-by: Jesper Schulz-Wedde <jesper.schulzwedde@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-25 12:33:30 +02:00

13 lines
366 B
AL

codeunit 50321 "Payment Client Bad"
{
var
AccessToken: Text;
// Crossing the trust boundary: a public getter hands the raw credential to any
// caller, turning a secret into a de-facto public API that cannot be removed
// later without breaking consumers.
procedure GetAccessToken(): Text
begin
exit(AccessToken);
end;
}