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

458 lines
37 KiB
HTML

<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>AuthManager | @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="../modules/auth.html">auth</a>
</li>
<li>
<a href="auth.authmanager.html">AuthManager</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>Class AuthManager</h1>
<section class="tsd-panel tsd-hierarchy">
<h3>Hierarchy</h3>
<ul class="tsd-hierarchy">
<li>
<span class="target">AuthManager</span>
</li>
</ul>
</section>
<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>Constructors</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="auth.authmanager.html#constructor" class="tsd-kind-icon">constructor</a></li>
</ul>
</section>
<section class="tsd-index-section ">
<h3>Properties</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-property tsd-parent-kind-class"><a href="auth.authmanager.html#username" class="tsd-kind-icon">user<wbr>Name</a></li>
</ul>
</section>
<section class="tsd-index-section ">
<h3>Methods</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-method tsd-parent-kind-class"><a href="auth.authmanager.html#checksession" class="tsd-kind-icon">check<wbr>Session</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="auth.authmanager.html#login" class="tsd-kind-icon">log<wbr>In</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="auth.authmanager.html#loginsasjs" class="tsd-kind-icon">log<wbr>InSasjs</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="auth.authmanager.html#logout" class="tsd-kind-icon">log<wbr>Out</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="auth.authmanager.html#redirectedlogin" class="tsd-kind-icon">redirected<wbr>Log<wbr>In</a></li>
</ul>
</section>
</div>
</section>
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Constructors</h2>
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
<a name="constructor" class="tsd-anchor"></a>
<h3>constructor</h3>
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">new <wbr>Auth<wbr>Manager<span class="tsd-signature-symbol">(</span>serverUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, serverType<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ServerType</span>, requestClient<span class="tsd-signature-symbol">: </span><a href="request.requestclient.html" class="tsd-signature-type">RequestClient</a>, loginCallback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="auth.authmanager.html" class="tsd-signature-type">AuthManager</a></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/AuthManager.ts#L15">
src/auth/AuthManager.ts:15
</a>
</li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>serverUrl: <span class="tsd-signature-type">string</span></h5>
</li>
<li>
<h5>serverType: <span class="tsd-signature-type">ServerType</span></h5>
</li>
<li>
<h5>requestClient: <a href="request.requestclient.html" class="tsd-signature-type">RequestClient</a></h5>
</li>
<li>
<h5>loginCallback: <span class="tsd-signature-type">function</span></h5>
<ul class="tsd-parameters">
<li class="tsd-parameter-siganture">
<ul class="tsd-signatures tsd-kind-type-literal">
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="auth.authmanager.html" class="tsd-signature-type">AuthManager</a></h4>
</li>
</ul>
</section>
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a name="username" class="tsd-anchor"></a>
<h3>user<wbr>Name</h3>
<div class="tsd-signature tsd-kind-icon">user<wbr>Name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in
<a href="https://github.com/sasjs/adapter/blob/master/src/src/auth/AuthManager.ts#L12">
src/auth/AuthManager.ts:12
</a>
</li>
</ul>
</aside>
</section>
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="checksession" class="tsd-anchor"></a>
<h3>check<wbr>Session</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">check<wbr>Session<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">&gt;</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/AuthManager.ts#L238">
src/auth/AuthManager.ts:238
</a>
</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography tsd-comment-shorttext">
<div class="lead">
<p>Checks whether a session is active, or login is required.</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">&gt;</span></h4>
<ul>
<li>a promise which resolves with an object containing three values</li>
<li>a boolean <code>isLoggedIn</code></li>
<li>a string <code>userName</code> and</li>
<li>a form <code>loginForm</code> if not loggedin.</li>
</ul>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="login" class="tsd-anchor"></a>
<h3>log<wbr>In</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">log<wbr>In<span class="tsd-signature-symbol">(</span>username<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, password<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">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/types.loginresult.html" class="tsd-signature-type">LoginResult</a><span class="tsd-signature-symbol">&gt;</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/AuthManager.ts#L125">
src/auth/AuthManager.ts:125
</a>
</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography tsd-comment-shorttext">
<div class="lead">
<p>Logs into the SAS server with the supplied credentials.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>username: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography tsd-comment-text">
<p>a string representing the username.</p>
</div>
</li>
<li>
<h5>password: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography tsd-comment-text">
<p>a string representing the password.</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/types.loginresult.html" class="tsd-signature-type">LoginResult</a><span class="tsd-signature-symbol">&gt;</span></h4>
<ul>
<li>a boolean <code>isLoggedin</code> and a string <code>username</code></li>
</ul>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="loginsasjs" class="tsd-anchor"></a>
<h3>log<wbr>InSasjs</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">log<wbr>InSasjs<span class="tsd-signature-symbol">(</span>username<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, password<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, clientId<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">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/types.loginresult.html" class="tsd-signature-type">LoginResult</a><span class="tsd-signature-symbol">&gt;</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/AuthManager.ts#L93">
src/auth/AuthManager.ts:93
</a>
</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography tsd-comment-shorttext">
<div class="lead">
<p>Logs into the SAS server with the supplied credentials.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>username: <span class="tsd-signature-type">string</span></h5>
</li>
<li>
<h5>password: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography tsd-comment-text">
<p>a string representing the password.</p>
</div>
</li>
<li>
<h5>clientId: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography tsd-comment-text">
<p>a string representing the client ID.</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/types.loginresult.html" class="tsd-signature-type">LoginResult</a><span class="tsd-signature-symbol">&gt;</span></h4>
<ul>
<li>a boolean <code>isLoggedin</code> and a string <code>username</code></li>
</ul>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="logout" class="tsd-anchor"></a>
<h3>log<wbr>Out</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">log<wbr>Out<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">&gt;</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/AuthManager.ts#L365">
src/auth/AuthManager.ts:365
</a>
</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography tsd-comment-shorttext">
<div class="lead">
<p>Logs out of the configured SAS server.</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">&gt;</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="redirectedlogin" class="tsd-anchor"></a>
<h3>redirected<wbr>Log<wbr>In</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">redirected<wbr>Log<wbr>In<span class="tsd-signature-symbol">(</span>__namedParameters<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/types.loginresult.html" class="tsd-signature-type">LoginResult</a><span class="tsd-signature-symbol">&gt;</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/AuthManager.ts#L35">
src/auth/AuthManager.ts:35
</a>
</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography tsd-comment-shorttext">
<div class="lead">
<p>Opens Pop up window to SAS Login screen.
And checks if user has finished login process.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>__namedParameters: <span class="tsd-signature-type">object</span></h5>
<ul class="tsd-parameters">
<li class="tsd-parameter">
<h5>on<wbr>Logged<wbr>Out<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">function</span></h5>
</li>
</ul>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/types.loginresult.html" class="tsd-signature-type">LoginResult</a><span class="tsd-signature-symbol">&gt;</span></h4>
</li>
</ul>
</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">
</ul>
<ul class="current">
<li class="current tsd-kind-class tsd-parent-kind-module root">
<a href="auth.authmanager.html" class="tsd-kind-icon">Auth<wbr>Manager</a>
<ul>
<li class=" tsd-kind-constructor tsd-parent-kind-class">
<a href="auth.authmanager.html#constructor" class="tsd-kind-icon">constructor</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class">
<a href="auth.authmanager.html#username" class="tsd-kind-icon">user<wbr>Name</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="auth.authmanager.html#checksession" class="tsd-kind-icon">check<wbr>Session</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="auth.authmanager.html#login" class="tsd-kind-icon">log<wbr>In</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="auth.authmanager.html#loginsasjs" class="tsd-kind-icon">log<wbr>InSasjs</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="auth.authmanager.html#logout" class="tsd-kind-icon">log<wbr>Out</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="auth.authmanager.html#redirectedlogin" class="tsd-kind-icon">redirected<wbr>Log<wbr>In</a>
</li>
</ul>
</li>
</ul>
<ul class="after-current">
<li class=" tsd-kind-function tsd-parent-kind-module root">
<a href="../modules/auth.html#getaccesstokenforsasjs" class="tsd-kind-icon">get<wbr>Access<wbr>Token<wbr>For<wbr>Sasjs</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-module root">
<a href="../modules/auth.html#getaccesstokenforviya" class="tsd-kind-icon">get<wbr>Access<wbr>Token<wbr>For<wbr>Viya</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-module root">
<a href="../modules/auth.html#getauthcodeforsasjs" class="tsd-kind-icon">get<wbr>Auth<wbr>Code<wbr>For<wbr>Sasjs</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-module root">
<a href="../modules/auth.html#gettokens" class="tsd-kind-icon">get<wbr>Tokens</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-module root">
<a href="../modules/auth.html#isauthorizeformrequired" class="tsd-kind-icon">is<wbr>Authorize<wbr>Form<wbr>Required</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-module root">
<a href="../modules/auth.html#isloginrequired" class="tsd-kind-icon">is<wbr>Log<wbr>InRequired</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-module root">
<a href="../modules/auth.html#isloggedinsasviya" class="tsd-kind-icon">is<wbr>Logged<wbr>InSASVIYA</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-module root">
<a href="../modules/auth.html#openwebpage" class="tsd-kind-icon">open<wbr>Web<wbr>Page</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-module root">
<a href="../modules/auth.html#refreshtokensforsasjs" class="tsd-kind-icon">refresh<wbr>Tokens<wbr>For<wbr>Sasjs</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-module root">
<a href="../modules/auth.html#refreshtokensforviya" class="tsd-kind-icon">refresh<wbr>Tokens<wbr>For<wbr>Viya</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-module root">
<a href="../modules/auth.html#verifysas9login" class="tsd-kind-icon">verify<wbr>Sas9<wbr>Login</a>
</li>
<li class=" tsd-kind-function tsd-parent-kind-module root">
<a href="../modules/auth.html#verifysasviyalogin" class="tsd-kind-icon">verify<wbr>Sas<wbr>Viya<wbr>Login</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>