1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
react-native-alipay/interfaces/authresult.html

228 lines
9.0 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>AuthResult | React Native Alipay</title>
<meta name="description" content="Documentation for React Native Alipay">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
</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>
<a href="../index.html" class="title">React Native Alipay</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>
<input type="checkbox" id="tsd-filter-only-exported" />
<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</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="../globals.html">Globals</a>
</li>
<li>
<a href="authresult.html">AuthResult</a>
</li>
</ul>
<h1>Interface AuthResult</h1>
</div>
</div>
</header>
<div class="container container-main">
<div class="row">
<div class="col-8 col-content">
<section class="tsd-panel tsd-comment">
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>快速登录授权,<a href="https://opendocs.alipay.com/open/218/105327#%E8%BF%94%E5%9B%9E%E7%BB%93%E6%9E%9C%E8%AF%B4%E6%98%8E">支付宝文档</a></p>
</div>
</div>
</section>
<section class="tsd-panel tsd-hierarchy">
<h3>Hierarchy</h3>
<ul class="tsd-hierarchy">
<li>
<span class="target">AuthResult</span>
</li>
</ul>
</section>
<section class="tsd-panel-group tsd-index-group">
<h2>Index</h2>
<section class="tsd-panel tsd-index-panel">
<div class="tsd-index-content">
<section class="tsd-index-section ">
<h3>Properties</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="authresult.html#memo" class="tsd-kind-icon">memo</a></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="authresult.html#result" class="tsd-kind-icon">result</a></li>
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="authresult.html#resultstatus" class="tsd-kind-icon">result<wbr>Status</a></li>
</ul>
</section>
</div>
</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-interface">
<a name="memo" class="tsd-anchor"></a>
<h3>memo</h3>
<div class="tsd-signature tsd-kind-icon">memo<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/uiwjs/react-native-alipay/blob/dd227ce/index.d.ts#L128">index.d.ts:128</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>长度:无,保留参数,一般无内容。 处理成功</p>
</div>
</div>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
<a name="result" class="tsd-anchor"></a>
<h3>result</h3>
<div class="tsd-signature tsd-kind-icon">result<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/uiwjs/react-native-alipay/blob/dd227ce/index.d.ts#L116">index.d.ts:116</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>长度144本次操作返回的结果数据。</p>
<ul>
<li><code>result_code</code> 具体状态码值请参见“result_code状态代码”。仅当resultStatus为“9000”且result_code为“200”时代表授权成功。</li>
<li><code>auth_code</code> 表示授权成功的授码。</li>
</ul>
</div>
<dl class="tsd-comment-tags">
<dt>example</dt>
<dd><p><code>success=true&amp;auth_code=9c11732de44f4f1790b63978b6fbOX53&amp;result_code=200&amp;alipay_open_id=20881001757376426161095132517425&amp;user_id=2088003646494707</code></p>
</dd>
</dl>
</div>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
<a name="resultstatus" class="tsd-anchor"></a>
<h3>result<wbr>Status</h3>
<div class="tsd-signature tsd-kind-icon">result<wbr>Status<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"9000"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"4000"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"6001"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"6002"</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/uiwjs/react-native-alipay/blob/dd227ce/index.d.ts#L124">index.d.ts:124</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>长度5本次操作的状态返回值标识本次调用的结果参见“resultStatus状态代码”。</p>
<ul>
<li>9000 请求处理成功</li>
<li>4000 系统异常</li>
<li>6001 用户中途取消</li>
<li>6002 网络连接出错</li>
</ul>
</div>
</div>
</section>
</section>
</div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<nav class="tsd-navigation primary">
<ul>
<li class="globals ">
<a href="../globals.html"><em>Globals</em></a>
</li>
</ul>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul class="before-current">
</ul>
<ul class="current">
<li class="current tsd-kind-interface">
<a href="authresult.html" class="tsd-kind-icon">Auth<wbr>Result</a>
<ul>
<li class=" tsd-kind-property tsd-parent-kind-interface">
<a href="authresult.html#memo" class="tsd-kind-icon">memo</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-interface">
<a href="authresult.html#result" class="tsd-kind-icon">result</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-interface">
<a href="authresult.html#resultstatus" class="tsd-kind-icon">result<wbr>Status</a>
</li>
</ul>
</li>
</ul>
<ul class="after-current">
<li class=" tsd-kind-interface">
<a href="orderresult.html" class="tsd-kind-icon">Order<wbr>Result</a>
</li>
<li class=" tsd-kind-interface">
<a href="orderresultstr.html" class="tsd-kind-icon">Order<wbr>Result<wbr>Str</a>
</li>
<li class=" tsd-kind-function">
<a href="../globals.html#alipay" class="tsd-kind-icon">alipay</a>
</li>
<li class=" tsd-kind-function">
<a href="../globals.html#authinfo" class="tsd-kind-icon">auth<wbr>Info</a>
</li>
<li class=" tsd-kind-function">
<a href="../globals.html#getversion" class="tsd-kind-icon">get<wbr>Version</a>
</li>
<li class=" tsd-kind-function">
<a href="../globals.html#setalipaysandbox" class="tsd-kind-icon">set<wbr>Alipay<wbr>Sandbox</a>
</li>
<li class=" tsd-kind-function">
<a href="../globals.html#setalipayscheme" class="tsd-kind-icon">set<wbr>Alipay<wbr>Scheme</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<footer>
<div class="container">
<h2>Legend</h2>
<div class="tsd-legend-group">
<ul class="tsd-legend">
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
</ul>
</div>
</div>
</footer>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>