1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-11 01:14:36 +00:00
Files
adapter/docs/modules/auth_spec.html
2021-12-13 17:01:59 +05:00

408 lines
34 KiB
HTML

<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>auth/spec | @sasjs/adapter</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
<script async src="../assets/js/search.js" id="search-script"></script>
</head>
<body>
<header>
<div class="tsd-page-toolbar">
<div class="container">
<div class="table-wrap">
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
<div class="field">
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
<input id="tsd-search-field" type="text" />
</div>
<ul class="results">
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<ul class="results-priority" style="display:none">
</ul>
<a href="../index.html" class="title">@sasjs/adapter</a>
&emsp;<a href="https://github.com/sasjs/adapter" class="title">SASjs on Github</a>
&emsp;<a href="https://sasjs.io" class="title">SASjs.io</a>
&emsp;<a href="https://github.com/sasjs/cli" class="title">SASjs CLI</a>
&emsp;<a href="https://github.com/sasjs/react-seed-app" class="title">React Seed App</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
<div class="tsd-filter-group">
<div class="tsd-select" id="tsd-filter-visibility">
<span class="tsd-select-label">All</span>
<ul class="tsd-select-list">
<li data-value="public">Public</li>
<li data-value="protected">Public/Protected</li>
<li data-value="private" class="selected">All</li>
</ul>
</div>
<input type="checkbox" id="tsd-filter-inherited" checked />
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
</div>
</div>
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
</div>
</div>
</div>
</div>
<div class="tsd-page-title">
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="auth_spec.html">auth/spec</a>
</li>
</ul>
</div>
</div>
</header>
<div class="container container-main">
<div class="row">
<div class="col-3 col-menu menu-sticky-wrap menu-highlight">
<nav class="tsd-navigation outline primary">
<a style="margin-left:0em" href="../modules.html">Modules</a>
<ul style="display:none">
{&quot;SAS Adapter&quot;:{&quot;SASjs&quot;:&quot;classes/reflection-717.reflection-180.sasjs&quot;,&quot;Types&quot;:&quot;modules/types&quot;},&quot;SAS Viya API Client&quot;:&quot;classes/reflection-717.reflection-180.sasviyaapiclient&quot;,&quot;SAS 9 API Client&quot;:&quot;classes/reflection-717.reflection-180.sas9apiclient&quot;}
</ul>
</nav>
</div>
<div class="col-7 offset-3 col-content">
<h1>Module auth/spec</h1>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<div class="tsd-index-content">
<section class="tsd-index-section ">
<h3>Variables</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="auth_spec.html#mockloginauthoriserequiredresponse" class="tsd-kind-icon">mock<wbr>Login<wbr>Authorise<wbr>Required<wbr>Response</a></li>
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="auth_spec.html#mockloginsuccessresponse" class="tsd-kind-icon">mock<wbr>Login<wbr>Success<wbr>Response</a></li>
</ul>
</section>
<section class="tsd-index-section ">
<h3>Functions</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-function tsd-parent-kind-module"><a href="auth_spec.html#generatetoken" class="tsd-kind-icon">generate<wbr>Token</a></li>
<li class="tsd-kind-function tsd-parent-kind-module"><a href="auth_spec.html#mockedcurrentuserapi" class="tsd-kind-icon">mocked<wbr>Current<wbr>User<wbr>Api</a></li>
</ul>
</section>
<section class="tsd-index-section ">
<h3>Object literals</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-object-literal tsd-parent-kind-module"><a href="auth_spec.html#mockauthresponse" class="tsd-kind-icon">mock<wbr>Auth<wbr>Response</a></li>
<li class="tsd-kind-object-literal tsd-parent-kind-module"><a href="auth_spec.html#mocksasjsauthresponse" class="tsd-kind-icon">mock<wbr>Sasjs<wbr>Auth<wbr>Response</a></li>
</ul>
</section>
</div>
</section>
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Variables</h2>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module">
<a name="mockloginauthoriserequiredresponse" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> mock<wbr>Login<wbr>Authorise<wbr>Required<wbr>Response</h3>
<div class="tsd-signature tsd-kind-icon">mock<wbr>Login<wbr>Authorise<wbr>Required<wbr>Response<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"&lt;form id&#x3D;&quot;application_authorization&quot; action&#x3D;&quot;/SASLogon/oauth/authorize&quot; method&#x3D;&quot;POST&quot;&gt;&lt;input type&#x3D;&quot;hidden&quot; name&#x3D;&quot;X-Uaa-Csrf&quot; value&#x3D;&quot;2nfuxIn6WaOURWL7tzTXCe&quot;/&gt;"</span><span class="tsd-signature-symbol"> = &#x60;&lt;form id&#x3D;&quot;application_authorization&quot; action&#x3D;&quot;/SASLogon/oauth/authorize&quot; method&#x3D;&quot;POST&quot;&gt;&lt;input type&#x3D;&quot;hidden&quot; name&#x3D;&quot;X-Uaa-Csrf&quot; value&#x3D;&quot;2nfuxIn6WaOURWL7tzTXCe&quot;/&gt;&#x60;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in
<a href="https://github.com/sasjs/adapter/blob/master/src/src/auth/spec/mockResponses.ts#L3">
src/auth/spec/mockResponses.ts:3
</a>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module">
<a name="mockloginsuccessresponse" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> mock<wbr>Login<wbr>Success<wbr>Response</h3>
<div class="tsd-signature tsd-kind-icon">mock<wbr>Login<wbr>Success<wbr>Response<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"You have signed in"</span><span class="tsd-signature-symbol"> = &#x60;You have signed in&#x60;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in
<a href="https://github.com/sasjs/adapter/blob/master/src/src/auth/spec/mockResponses.ts#L4">
src/auth/spec/mockResponses.ts:4
</a>
</li>
</ul>
</aside>
</section>
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Functions</h2>
<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
<a name="generatetoken" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> generate<wbr>Token</h3>
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
<li class="tsd-signature tsd-kind-icon">generate<wbr>Token<span class="tsd-signature-symbol">(</span>timeToLiveSeconds<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in
<a href="https://github.com/sasjs/adapter/blob/master/src/src/auth/spec/mockResponses.ts#L21">
src/auth/spec/mockResponses.ts:21
</a>
</li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>timeToLiveSeconds: <span class="tsd-signature-type">number</span></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module">
<a name="mockedcurrentuserapi" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> mocked<wbr>Current<wbr>User<wbr>Api</h3>
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
<li class="tsd-signature tsd-kind-icon">mocked<wbr>Current<wbr>User<wbr>Api<span class="tsd-signature-symbol">(</span>username<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">object</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in
<a href="https://github.com/sasjs/adapter/blob/master/src/src/auth/spec/mockResponses.ts#L31">
src/auth/spec/mockResponses.ts:31
</a>
</li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>username: <span class="tsd-signature-type">string</span></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">object</span></h4>
<ul class="tsd-parameters">
<li class="tsd-parameter">
<h5>creation<wbr>Time<wbr>Stamp<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
</li>
<li class="tsd-parameter">
<h5>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
</li>
<li class="tsd-parameter">
<h5>links<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">[]</span></h5>
</li>
<li class="tsd-parameter">
<h5>modified<wbr>Time<wbr>Stamp<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
</li>
<li class="tsd-parameter">
<h5>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
</li>
<li class="tsd-parameter">
<h5>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
</li>
<li class="tsd-parameter">
<h5>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5>
</li>
</ul>
</li>
</ul>
</section>
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Object literals</h2>
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-module">
<a name="mockauthresponse" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> mock<wbr>Auth<wbr>Response</h3>
<div class="tsd-signature tsd-kind-icon">mock<wbr>Auth<wbr>Response<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in
<a href="https://github.com/sasjs/adapter/blob/master/src/src/auth/spec/mockResponses.ts#L6">
src/auth/spec/mockResponses.ts:6
</a>
</li>
</ul>
</aside>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
<a name="mockauthresponse.access_token" class="tsd-anchor"></a>
<h3>access_<wbr>token</h3>
<div class="tsd-signature tsd-kind-icon">access_<wbr>token<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;acc355&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in
<a href="https://github.com/sasjs/adapter/blob/master/src/src/auth/spec/mockResponses.ts#L7">
src/auth/spec/mockResponses.ts:7
</a>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
<a name="mockauthresponse.expires_in" class="tsd-anchor"></a>
<h3>expires_<wbr>in</h3>
<div class="tsd-signature tsd-kind-icon">expires_<wbr>in<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = new Date().valueOf()</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in
<a href="https://github.com/sasjs/adapter/blob/master/src/src/auth/spec/mockResponses.ts#L11">
src/auth/spec/mockResponses.ts:11
</a>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
<a name="mockauthresponse.id_token" class="tsd-anchor"></a>
<h3>id_<wbr>token</h3>
<div class="tsd-signature tsd-kind-icon">id_<wbr>token<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;id&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in
<a href="https://github.com/sasjs/adapter/blob/master/src/src/auth/spec/mockResponses.ts#L9">
src/auth/spec/mockResponses.ts:9
</a>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
<a name="mockauthresponse.jti" class="tsd-anchor"></a>
<h3>jti</h3>
<div class="tsd-signature tsd-kind-icon">jti<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;test&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in
<a href="https://github.com/sasjs/adapter/blob/master/src/src/auth/spec/mockResponses.ts#L13">
src/auth/spec/mockResponses.ts:13
</a>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
<a name="mockauthresponse.refresh_token" class="tsd-anchor"></a>
<h3>refresh_<wbr>token</h3>
<div class="tsd-signature tsd-kind-icon">refresh_<wbr>token<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;r3fr35h&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in
<a href="https://github.com/sasjs/adapter/blob/master/src/src/auth/spec/mockResponses.ts#L8">
src/auth/spec/mockResponses.ts:8
</a>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
<a name="mockauthresponse.scope" class="tsd-anchor"></a>
<h3>scope</h3>
<div class="tsd-signature tsd-kind-icon">scope<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;default&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in
<a href="https://github.com/sasjs/adapter/blob/master/src/src/auth/spec/mockResponses.ts#L12">
src/auth/spec/mockResponses.ts:12
</a>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
<a name="mockauthresponse.token_type" class="tsd-anchor"></a>
<h3>token_<wbr>type</h3>
<div class="tsd-signature tsd-kind-icon">token_<wbr>type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"bearer"</span><span class="tsd-signature-symbol"> = &quot;bearer&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in
<a href="https://github.com/sasjs/adapter/blob/master/src/src/auth/spec/mockResponses.ts#L10">
src/auth/spec/mockResponses.ts:10
</a>
</li>
</ul>
</aside>
</section>
</section>
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-module">
<a name="mocksasjsauthresponse" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> mock<wbr>Sasjs<wbr>Auth<wbr>Response</h3>
<div class="tsd-signature tsd-kind-icon">mock<wbr>Sasjs<wbr>Auth<wbr>Response<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in
<a href="https://github.com/sasjs/adapter/blob/master/src/src/auth/spec/mockResponses.ts#L16">
src/auth/spec/mockResponses.ts:16
</a>
</li>
</ul>
</aside>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
<a name="mocksasjsauthresponse.access_token-1" class="tsd-anchor"></a>
<h3>access_<wbr>token</h3>
<div class="tsd-signature tsd-kind-icon">access_<wbr>token<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;acc355&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in
<a href="https://github.com/sasjs/adapter/blob/master/src/src/auth/spec/mockResponses.ts#L17">
src/auth/spec/mockResponses.ts:17
</a>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
<a name="mocksasjsauthresponse.refresh_token-1" class="tsd-anchor"></a>
<h3>refresh_<wbr>token</h3>
<div class="tsd-signature tsd-kind-icon">refresh_<wbr>token<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;r3fr35h&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in
<a href="https://github.com/sasjs/adapter/blob/master/src/src/auth/spec/mockResponses.ts#L18">
src/auth/spec/mockResponses.ts:18
</a>
</li>
</ul>
</aside>
</section>
</section>
</section>
<!--{&quot;options&quot;:&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter&quot;,&quot;tsconfig&quot;:&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter&quot;,&quot;inputFiles&quot;:[&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/ContextManager.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/SAS9ApiClient.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/SASViyaApiClient.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/SASViyaApiClient.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/SASjs.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/SASjsApiClient.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/SessionManager.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/index.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/__mocks__/axios.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/api/viya/executeScript.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/api/viya/getFileStream.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/api/viya/pollJobState.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/api/viya/saveLog.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/api/viya/uploadTables.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/api/viya/writeStream.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/api/viya/spec/executeScript.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/api/viya/spec/getFileStream.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/api/viya/spec/mockResponses.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/api/viya/spec/pollJobState.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/api/viya/spec/saveLog.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/api/viya/spec/uploadTables.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/api/viya/spec/writeStream.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/AuthManager.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/getAccessTokenForSasjs.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/getAccessTokenForViya.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/getAuthCodeForSasjs.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/getTokens.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/index.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/isAuthorizeFormRequired.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/isLoginRequired.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/openWebPage.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/refreshTokensForSasjs.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/refreshTokensForViya.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/verifySas9Login.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/verifySasViyaLogin.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/spec/AuthManager.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/spec/getAccessTokenForSasjs.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/spec/getAccessTokenForViya.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/spec/getTokens.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/spec/mockResponses.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/spec/openWebPage.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/spec/refreshTokensForSasjs.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/spec/refreshTokensForViya.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/spec/verifySas9Login.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/auth/spec/verifySasViyaLogin.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/file/generateFileUploadForm.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/file/generateTableUploadForm.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/job-execution/ComputeJobExecutor.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/job-execution/FileUploader.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/job-execution/JesJobExecutor.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/job-execution/JobExecutor.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/job-execution/Sas9JobExecutor.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/job-execution/WebJobExecutor.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/job-execution/index.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/request/RequestClient.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/request/Sas9RequestClient.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/request/SasjsRequestClient.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/test/ContextManager.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/test/FileUploader.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/test/FolderOperations.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/test/RequestClient.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/test/SAS_server_app.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/test/SessionManager.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/test/utils/getValidJson.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/test/utils/isUrl.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/test/utils/parseGeneratedCode.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/test/utils/parseSourceCode.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/Context.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/CsrfToken.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/ExecuteScript.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/File.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/FileTree.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/Folder.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/Job.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/JobDefinition.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/JobResult.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/Link.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/LogStatistics.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/Login.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/PollOptions.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/Process.d.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/SASjsConfig.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/SASjsRequest.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/Session.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/UploadFile.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/WriteStream.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/index.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/errors/AuthorizeError.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/errors/ComputeJobExecutionError.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/errors/ErrorResponse.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/errors/InternalServerError.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/errors/InvalidJsonError.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/errors/JobExecutionError.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/errors/JobStatePollError.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/errors/JsonParseArrayError.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/errors/LoginRequiredError.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/errors/NoSessionStateError.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/errors/NotFoundError.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/errors/RootFolderNotFoundError.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/errors/RootFolderNotFoundError.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/errors/SAS9AuthError.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/errors/WeboutResponseError.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/types/errors/index.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/appendExtraResponseAttributes.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/asyncForEach.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/compareTimestamps.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/convertToCsv.spec.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/convertToCsv.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/createAxiosInstance.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/delay.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/fetchLogByChunks.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/formatDataForRequest.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/getValidJson.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/index.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/isIeOrEdge.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/isNode.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/isRelativePath.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/isUri.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/isUrl.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/needsRetry.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/parseGeneratedCode.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/parseSasViyaLog.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/parseSourceCode.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/parseViyaDebugResponse.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/parseWeboutResponse.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/serialize.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/splitChunks.ts&quot;,&quot;/Users/saadjutt/projects/macropeople/sasjs/adapter/src/utils/loginPrompt/index.ts&quot;],&quot;mode&quot;:1,&quot;includeDeclarations&quot;:true,&quot;entryPoint&quot;:&quot;&quot;,&quot;exclude&quot;:[&quot;**/*+(index|.spec|.e2e).ts&quot;],&quot;externalPattern&quot;:[],&quot;excludeExternals&quot;:true,&quot;excludeNotExported&quot;:true,&quot;excludeNotDocumented&quot;:false,&quot;excludePrivate&quot;:true,&quot;excludeProtected&quot;:false,&quot;ignoreCompilerErrors&quot;:true,&quot;disableSources&quot;:false,&quot;includes&quot;:&quot;&quot;,&quot;media&quot;:&quot;&quot;,&quot;out&quot;:&quot;docs&quot;,&quot;json&quot;:&quot;&quot;,&quot;theme&quot;:&quot;./node_modules/typedoc-neo-theme/bin/default&quot;,&quot;name&quot;:&quot;&quot;,&quot;includeVersion&quot;:false,&quot;excludeTags&quot;:[],&quot;readme&quot;:&quot;&quot;,&quot;defaultCategory&quot;:&quot;Other&quot;,&quot;categoryOrder&quot;:[],&quot;categorizeByGroup&quot;:true,&quot;gitRevision&quot;:&quot;&quot;,&quot;gitRemote&quot;:&quot;origin&quot;,&quot;gaID&quot;:&quot;&quot;,&quot;gaSite&quot;:&quot;auto&quot;,&quot;hideGenerator&quot;:false,&quot;toc&quot;:[],&quot;disableOutputCheck&quot;:true,&quot;help&quot;:false,&quot;version&quot;:false,&quot;plugin&quot;:[],&quot;logger&quot;:&quot;console&quot;,&quot;listInvalidSymbolLinks&quot;:false,&quot;links&quot;:[{&quot;label&quot;:&quot;SASjs on Github&quot;,&quot;url&quot;:&quot;https://github.com/sasjs/adapter&quot;},{&quot;label&quot;:&quot;SASjs.io&quot;,&quot;url&quot;:&quot;https://sasjs.io&quot;},{&quot;label&quot;:&quot;SASjs CLI&quot;,&quot;url&quot;:&quot;https://github.com/sasjs/cli&quot;},{&quot;label&quot;:&quot;React Seed App&quot;,&quot;url&quot;:&quot;https://github.com/sasjs/react-seed-app&quot;}],&quot;outline&quot;:[{&quot;SAS Adapter&quot;:{&quot;SASjs&quot;:&quot;classes/reflection-717.reflection-180.sasjs&quot;,&quot;Types&quot;:&quot;modules/types&quot;},&quot;SAS Viya API Client&quot;:&quot;classes/reflection-717.reflection-180.sasviyaapiclient&quot;,&quot;SAS 9 API Client&quot;:&quot;classes/reflection-717.reflection-180.sas9apiclient&quot;}],&quot;source&quot;:[{&quot;path&quot;:&quot;https://github.com/sasjs/adapter/blob/master/src/&quot;,&quot;line&quot;:&quot;L&quot;}],&quot;disableAutoModuleName&quot;:&quot;false&quot;}-->
</div>
<div class="col-2 col-menu secondary-menu">
<nav class="tsd-navigation secondary menu-sticky">
<ul class="before-current">
<li class=" tsd-kind-variable tsd-parent-kind-module root">
<a href="auth_spec.html#mockloginauthoriserequiredresponse" class="tsd-kind-icon">mock<wbr>Login<wbr>Authorise<wbr>Required<wbr>Response</a>
</li>
<li class=" tsd-kind-variable tsd-parent-kind-module root">
<a href="auth_spec.html#mockloginsuccessresponse" class="tsd-kind-icon">mock<wbr>Login<wbr>Success<wbr>Response</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-module root">
<a href="auth_spec.html#generatetoken" class="tsd-kind-icon">generate<wbr>Token</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-module root">
<a href="auth_spec.html#mockedcurrentuserapi" class="tsd-kind-icon">mocked<wbr>Current<wbr>User<wbr>Api</a>
</li>
<li class=" tsd-kind-object-literal tsd-parent-kind-module root">
<a href="auth_spec.html#mockauthresponse" class="tsd-kind-icon">mock<wbr>Auth<wbr>Response</a>
</li>
<li class=" tsd-kind-object-literal tsd-parent-kind-module root">
<a href="auth_spec.html#mocksasjsauthresponse" class="tsd-kind-icon">mock<wbr>Sasjs<wbr>Auth<wbr>Response</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<footer class="with-border-bottom">
</footer>
<div class="container tsd-generator">
<p>Generated using <a href="http://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>