UNPKG

adal-angular

Version:
414 lines (124 loc) 6.15 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JSDoc: Global</title> <script src="scripts/prettify/prettify.js"> </script> <script src="scripts/prettify/lang-css.js"> </script> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css"> <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css"> </head> <body> <div id="main"> <h1 class="page-title">Global</h1> <section> <header> <h2> </h2> </header> <article> <div class="container-overview"> <dl class="details"> </dl> </div> <h3 class="subsection-title">Type Definitions</h3> <dl> <dt> <h4 class="name" id="tokenCallback"><span class="type-signature"></span>tokenCallback<span class="signature">(error_description, token, error)</span><span class="type-signature"></span></h4> </dt> <dd> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>error_description</code></td> <td class="type"> <span class="param-type">string</span> </td> <td class="description last">error description returned from AAD if token request fails.</td> </tr> <tr> <td class="name"><code>token</code></td> <td class="type"> <span class="param-type">string</span> </td> <td class="description last">token returned from AAD if token request is successful.</td> </tr> <tr> <td class="name"><code>error</code></td> <td class="type"> <span class="param-type">string</span> </td> <td class="description last">error message returned from AAD if token request fails.</td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="adal.js.html">adal.js</a>, <a href="adal.js.html#line534">line 534</a> </li></ul></dd> </dl> </dd> <dt> <h4 class="name" id="userCallback"><span class="type-signature"></span>userCallback<span class="signature">(error, user)</span><span class="type-signature"></span></h4> </dt> <dd> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>error</code></td> <td class="type"> <span class="param-type">string</span> </td> <td class="description last">error message if user info is not available.</td> </tr> <tr> <td class="name"><code>user</code></td> <td class="type"> <span class="param-type"><a href="User.html">User</a></span> </td> <td class="description last">user object retrieved from the cache.</td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="adal.js.html">adal.js</a>, <a href="adal.js.html#line767">line 767</a> </li></ul></dd> </dl> </dd> </dl> </article> </section> </div> <nav> <h2><a href="index.html">Index</a></h2><h3>Classes</h3><ul><li><a href="AuthenticationContext.html">AuthenticationContext</a></li><li><a href="config.html">config</a></li><li><a href="RequestInfo.html">RequestInfo</a></li><li><a href="User.html">User</a></li></ul><h3><a href="global.html">Global</a></h3> </nav> <br clear="both"> <footer> Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Fri Oct 20 2017 15:19:15 GMT-0700 (PDT) </footer> <script> prettyPrint(); </script> <script src="scripts/linenumber.js"> </script> </body> </html>