The spec. does not describe where to obtain your credentials from, nor in what format to store your credentials (beyond encoding).
If you hard code credentials in a file, shame on you. When we authored the spec, we did not task ourselves with tell programmers how to do their job.
Any JS file you see on the internet that has credentials hardcoded are only doing this to provide an example of a set of credentials, not to instruct people to hard code credentials.
--
You received this message because you are subscribed to the Google Groups "xAPI-Specification" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xapi-spec+...@adlnet.gov.
I agree Sam:
Using JavaScript will not be secure (hardcoding-or-not).
I use PHP scripting to generate all dynamic transmitted data.
To follow up on your “Rustici's own TinCanJS Library suggests hardcoding credentials in Javascript.”
From Rustici: “TinCanJS doesn't have opinion on how you get your credentials in”.
Best Regards,
Dennis Hall
--
--
You received this message because you are subscribed to the Google Groups "xAPI-Specification" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xapi-spec+...@adlnet.gov.