MCPcopy
hub / github.com/authts/oidc-client-ts / log

Function log

samples/Parcel/src/code-flow-duendesoftware/sample.js:30–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28///////////////////////////////
29
30function log() {
31 document.getElementById("out").innerText = "";
32
33 Array.prototype.forEach.call(arguments, function(msg) {
34 if (msg instanceof Error) {
35 msg = "Error: " + msg.message;
36 }
37 else if (typeof msg !== "string") {
38 msg = JSON.stringify(msg, null, 2);
39 }
40 document.getElementById("out").innerHTML += msg + "\r\n";
41 });
42}
43
44var mgr = new UserManager(settings);
45

Callers 15

sample-callback.jsFile · 0.90
sample-silent.jsFile · 0.90
sample.jsFile · 0.70
clearStateFunction · 0.70
getUserFunction · 0.70
removeUserFunction · 0.70
querySessionStatusFunction · 0.70
revokeAccessTokenFunction · 0.70
startSigninMainWindowFunction · 0.70
endSigninMainWindowFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected