/node_modules/stormpath/apidocs/stormpath/0.18.2/JwtAuthenticationResult.html
HTML | 537 lines | 237 code | 295 blank | 5 comment | 0 complexity | 3a1820513edef85b7cb77d1b08cff16c MD5 | raw file
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width">
- <title>Stormpath Node SDK Class: JwtAuthenticationResult</title>
- <!--[if lt IE 9]>
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
- <link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">
- <link type="text/css" rel="stylesheet" href="styles/site.cosmo.css">
- </head>
- <body>
- <div class="navbar navbar-default navbar-fixed-top ">
- <div class="container">
- <div class="navbar-header">
- <a class="navbar-brand" href="index.html">Stormpath Node SDK</a>
- <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- </div>
- <div class="navbar-collapse collapse" id="topNavigation">
- <ul class="nav navbar-nav">
-
- <li class="dropdown">
- <a href="modules.list.html" class="dropdown-toggle" data-toggle="dropdown">Modules<b class="caret"></b></a>
- <ul class="dropdown-menu ">
- <li><a href="module-stormpath.html">stormpath</a></li>
- </ul>
- </li>
-
- <li class="dropdown">
- <a href="classes.list.html" class="dropdown-toggle" data-toggle="dropdown">Classes<b class="caret"></b></a>
- <ul class="dropdown-menu ">
- <li><a href="Account.html">Account</a></li><li><a href="AccountStoreMapping.html">AccountStoreMapping</a></li><li><a href="ApiKey.html">ApiKey</a></li><li><a href="Application.html">Application</a></li><li><a href="ApplicationAccountStoreMapping.html">ApplicationAccountStoreMapping</a></li><li><a href="AuthenticationResult.html">AuthenticationResult</a></li><li><a href="Cache.html">Cache</a></li><li><a href="CacheEntry.html">CacheEntry</a></li><li><a href="CacheManager.html">CacheManager</a></li><li><a href="CacheStats.html">CacheStats</a></li><li><a href="Client.html">Client</a></li><li><a href="CollectionResource.html">CollectionResource</a></li><li><a href="DataStore.html">DataStore</a></li><li><a href="Directory.html">Directory</a></li><li><a href="DirectoryChildResource.html">DirectoryChildResource</a></li><li><a href="InstanceResource.html">InstanceResource</a></li><li><a href="JwtAuthenticationResult.html">JwtAuthenticationResult</a></li><li><a href="MemcachedStore.html">MemcachedStore</a></li><li><a href="OAuthClientCredentialsAuthenticationResult.html">OAuthClientCredentialsAuthenticationResult</a></li><li><a href="OAuthPasswordGrantAuthenticationResult.html">OAuthPasswordGrantAuthenticationResult</a></li><li><a href="OAuthPasswordGrantRequestAuthenticator.html">OAuthPasswordGrantRequestAuthenticator</a></li><li><a href="OAuthPolicy.html">OAuthPolicy</a></li><li><a href="ObjectCallProxy.html">ObjectCallProxy</a></li><li><a href="OrganizationAccountStoreMapping.html">OrganizationAccountStoreMapping</a></li><li><a href="PasswordResetToken.html">PasswordResetToken</a></li><li><a href="RedisStore.html">RedisStore</a></li><li><a href="RequestExecutor.html">RequestExecutor</a></li><li><a href="SamlPolicy.html">SamlPolicy</a></li><li><a href="SamlServiceProvider.html">SamlServiceProvider</a></li><li><a href="Tenant.html">Tenant</a></li>
- </ul>
- </li>
-
- <li class="dropdown">
- <a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a>
- <ul class="dropdown-menu ">
- <li><a href="global.html#createResource">createResource</a></li><li><a href="global.html#defaults">defaults</a></li><li><a href="global.html#getAuthenticator">getAuthenticator</a></li><li><a href="global.html#getResource">getResource</a></li><li><a href="global.html#instantiate">instantiate</a></li><li><a href="global.html#isAssignableFrom">isAssignableFrom</a></li><li><a href="global.html#resolveArgs">resolveArgs</a></li><li><a href="global.html#valueOf">valueOf</a></li>
- </ul>
- </li>
-
- </ul>
- <div class="col-sm-3 col-md-3">
- <form class="navbar-form" role="search">
- <div class="input-group">
- <input type="text" class="form-control" placeholder="Search" name="q" id="search-input">
- <div class="input-group-btn">
- <button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- <div class="container" id="toc-content">
- <div class="row">
-
- <div class="col-md-8">
-
- <div id="main">
-
- <h1 class="page-title">Class: JwtAuthenticationResult</h1>
- <section>
- <header>
-
- <h2>
- JwtAuthenticationResult
- </h2>
-
-
- </header>
- <article>
- <div class="container-overview">
-
-
- <hr>
- <dt>
- <h4 class="name" id="JwtAuthenticationResult"><span class="type-signature"></span>new JwtAuthenticationResult(application, accessTokenResponse)</h4>
-
-
- </dt>
- <dd>
-
- <div class="description">
- <p>Encapsulates the access token response from the Stormpath REST API.
- This class allows you to access the response data and get the account
- that was authenticated.</p>
- </div>
-
-
-
-
-
- <h5>Parameters:</h5>
-
- <table class="params table table-striped">
- <thead>
- <tr>
-
- <th>Name</th>
-
- <th>Type</th>
-
-
- <th class="last">Description</th>
- </tr>
- </thead>
- <tbody>
-
- <tr>
-
- <td class="name"><code>application</code></td>
-
- <td class="type">
-
-
- <span class="param-type"><a href="Application.html">Application</a></span>
-
- </td>
-
-
- <td class="description last"><p>The Stormpath Application that issued the tokens.</p></td>
- </tr>
-
- <tr>
-
- <td class="name"><code>accessTokenResponse</code></td>
-
- <td class="type">
-
-
- <span class="param-type"><a href="global.html#AccessTokenResponse">AccessTokenResponse</a></span>
-
- </td>
-
-
- <td class="description last"><p>The access token response from the Stormpath REST API.</p></td>
- </tr>
-
- </tbody>
- </table>
-
-
- <dl class="details">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
- <dd class="tag-source">
- jwt/jwt-authentication-result.js
- </dd>
-
-
-
-
- </dl>
-
-
-
-
-
-
-
- </dd>
-
- </div>
-
-
-
-
-
-
-
- <h3 class="subsection-title">Methods</h3>
- <dl>
-
- <hr>
- <dt>
- <h4 class="name" id="getAccount"><span class="type-signature"></span>getAccount(callback)</h4>
-
-
- </dt>
- <dd>
-
-
-
-
-
- <h5>Parameters:</h5>
-
- <table class="params table table-striped">
- <thead>
- <tr>
-
- <th>Name</th>
-
- <th>Type</th>
-
-
- <th class="last">Description</th>
- </tr>
- </thead>
- <tbody>
-
- <tr>
-
- <td class="name"><code>callback</code></td>
-
- <td class="type">
-
-
- <span class="param-type">function</span>
-
- </td>
-
-
- <td class="description last"><p>The callback to call with the parameters (err, <a href="Account.html">Account</a>).</p></td>
- </tr>
-
- </tbody>
- </table>
-
-
- <dl class="details">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
- <dd class="tag-source">
- jwt/jwt-authentication-result.js
- </dd>
-
-
-
-
- </dl>
-
-
-
-
-
-
-
- </dd>
- </dl>
-
-
-
- </article>
- </section>
- </div>
- </div>
- <div class="clearfix"></div>
-
- <div class="col-md-3">
- <div id="toc" class="col-md-3 hidden-xs hidden-sm hidden-md"></div>
- </div>
-
- </div>
- </div>
- <div class="modal fade" id="searchResults">
- <div class="modal-dialog">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title">Search results</h4>
- </div>
- <div class="modal-body"></div>
- <div class="modal-footer">
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
- </div>
- </div><!-- /.modal-content -->
- </div><!-- /.modal-dialog -->
- </div>
- <footer>
- <span class="jsdoc-message">
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.0</a>
-
- on 2016-05-06T13:02:24-07:00
-
- using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
- </span>
- </footer>
- <script src="scripts/docstrap.lib.js"></script>
- <script src="scripts/toc.js"></script>
- <script type="text/javascript" src="scripts/fulltext-search-ui.js"></script>
- <script>
- $( function () {
- $( "[id*='$']" ).each( function () {
- var $this = $( this );
- $this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
- } );
- $( ".tutorial-section pre, .readme-section pre" ).each( function () {
- var $this = $( this );
- var example = $this.find( "code" );
- exampleText = example.html();
- var lang = /{@lang (.*?)}/.exec( exampleText );
- if ( lang && lang[1] ) {
- exampleText = exampleText.replace( lang[0], "" );
- example.html( exampleText );
- lang = lang[1];
- } else {
- var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
- lang = langClassMatch ? langClassMatch[1] : "javascript";
- }
- if ( lang ) {
- $this
- .addClass( "sunlight-highlight-" + lang )
- .addClass( "linenums" )
- .html( example.html() );
- }
- } );
- Sunlight.highlightAll( {
- lineNumbers : true,
- showMenu : true,
- enableDoclinks : true
- } );
- $.catchAnchorLinks( {
- navbarOffset: 10
- } );
- $( "#toc" ).toc( {
- anchorName : function ( i, heading, prefix ) {
- var id = $( heading ).attr( "id" );
- return id && id.replace(/\~/g, '-inner-').replace(/\./g, '-static-') || ( prefix + i );
- },
- selectors : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
- showAndHide : false,
- smoothScrolling: true
- } );
- $( "#main span[id^='toc']" ).addClass( "toc-shim" );
- $( '.dropdown-toggle' ).dropdown();
- $( "table" ).each( function () {
- var $this = $( this );
- $this.addClass('table');
- } );
- } );
- </script>
- <!--Navigation and Symbol Display-->
- <!--Google Analytics-->
- <script type="text/javascript">
- $(document).ready(function() {
- SearcherDisplay.init();
- });
- </script>
- </body>
- </html>