Skip to content

Commit

Permalink
Release v2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket committed Feb 10, 2020
1 parent 9f7fc24 commit 876ea48
Show file tree
Hide file tree
Showing 14 changed files with 338 additions and 23 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change Log

## [v2.3.0](https://github.com/auth0/react-native-auth0/tree/v2.3.0) (2020-02-10)

[Full Changelog](https://github.com/auth0/react-native-auth0/compare/v2.2.0...v2.3.0)

**Added**

- Added token exchange for native social endpoint [SDK-1307][\#273](https://github.com/auth0/react-native-auth0/pull/273) ([Widcket](https://github.com/Widcket))

## [v2.2.0](https://github.com/auth0/react-native-auth0/tree/v2.2.0) (2020-01-30)

[Full Changelog](https://github.com/auth0/react-native-auth0/compare/v2.1.1...v2.2.0)
Expand Down
212 changes: 201 additions & 11 deletions docs/Auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@
><a href="Auth.html#.exchange">exchange</a></span
>
</li>
<li class="nav-item">
<span class="nav-item-type type-function">F</span
><span class="nav-item-name"
><a href="Auth.html#.exchangeNativeSocial"
>exchangeNativeSocial</a
></span
>
</li>
<li class="nav-item">
<span class="nav-item-type type-function">F</span
><span class="nav-item-name"
Expand Down Expand Up @@ -379,7 +387,7 @@ <h4 class="name" id=".createUser">
<ul class="dummy">
<li>
<a href="src_auth_index.js.html">src/auth/index.js</a>,
<a href="src_auth_index.js.html#line441">line 441</a>
<a href="src_auth_index.js.html#line478">line 478</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -656,6 +664,188 @@ <h5>Returns:</h5>
</div>
</div>

<div class="section-method">
<h4 class="name" id=".exchangeNativeSocial">
<span class="type-signature">(static) </span
>exchangeNativeSocial<span class="signature">(parameters)</span
><span class="type-signature"> &rarr; {Promise}</span>
</h4>

<div class="description">
<p>
Exchanges an external token obtained via a native social
authentication solution for the user's tokens
</p>
</div>

<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source">
<ul class="dummy">
<li>
<a href="src_auth_index.js.html">src/auth/index.js</a>,
<a href="src_auth_index.js.html#line136">line 136</a>
</li>
</ul>
</dd>

<dt class="tag-see">See:</dt>
<dd class="tag-see">
<ul>
<li>
<a
href="https://auth0.com/docs/api/authentication#token-exchange-for-native-social"
>https://auth0.com/docs/api/authentication#token-exchange-for-native-social</a
>
</li>
</ul>
</dd>
</dl>

<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>parameters</code></td>

<td class="type">
<span class="param-type"><code>Object</code></span>
</td>

<td class="description last">
<p>
parameters used to obtain user tokens from an external
provider's token
</p>

<table class="params">
<thead>
<tr>
<th>Name</th>

<th>Type</th>

<th>Attributes</th>

<th class="last">Description</th>
</tr>
</thead>

<tbody>
<tr>
<td class="name"><code>subjectToken</code></td>

<td class="type">
<span class="param-type"><code>String</code></span>
</td>

<td class="attributes"></td>

<td class="description last">
<p>
token returned by the native social authentication
solution
</p>
</td>
</tr>

<tr>
<td class="name"><code>subjectTokenType</code></td>

<td class="type">
<span class="param-type"><code>String</code></span>
</td>

<td class="attributes"></td>

<td class="description last">
<p>
identifier that indicates the native social
authentication solution
</p>
</td>
</tr>

<tr>
<td class="name"><code>userProfile</code></td>

<td class="type">
<span class="param-type"><code>Object</code></span>
</td>

<td class="attributes">&lt;optional><br /></td>

<td class="description last">
<p>
additional profile attributes to set or override,
only on select native social authentication
solutions
</p>
</td>
</tr>

<tr>
<td class="name"><code>audience</code></td>

<td class="type">
<span class="param-type"><code>String</code></span>
</td>

<td class="attributes">&lt;optional><br /></td>

<td class="description last">
<p>API audience to request</p>
</td>
</tr>

<tr>
<td class="name"><code>scope</code></td>

<td class="type">
<span class="param-type"><code>String</code></span>
</td>

<td class="attributes">&lt;optional><br /></td>

<td class="description last">
<p>
scopes requested for the issued tokens. e.g.
<code>openid profile</code>
</p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>

<div class="section-returns">
<h5>Returns:</h5>

<dl class="param-type">
<dt>
Type:
</dt>
<dd>
<span class="param-type"><code>Promise</code></span>
</dd>
</dl>
</div>
</div>

<div class="section-method">
<h4 class="name" id=".loginWithEmail">
<span class="type-signature">(static) </span>loginWithEmail<span
Expand All @@ -677,7 +867,7 @@ <h4 class="name" id=".loginWithEmail">
<ul class="dummy">
<li>
<a href="src_auth_index.js.html">src/auth/index.js</a>,
<a href="src_auth_index.js.html#line259">line 259</a>
<a href="src_auth_index.js.html#line296">line 296</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -807,7 +997,7 @@ <h4 class="name" id=".loginWithSMS">
<ul class="dummy">
<li>
<a href="src_auth_index.js.html">src/auth/index.js</a>,
<a href="src_auth_index.js.html#line293">line 293</a>
<a href="src_auth_index.js.html#line330">line 330</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -1084,7 +1274,7 @@ <h4 class="name" id=".passwordlessWithEmail">
<ul class="dummy">
<li>
<a href="src_auth_index.js.html">src/auth/index.js</a>,
<a href="src_auth_index.js.html#line198">line 198</a>
<a href="src_auth_index.js.html#line235">line 235</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -1203,7 +1393,7 @@ <h4 class="name" id=".passwordlessWithSMS">
<ul class="dummy">
<li>
<a href="src_auth_index.js.html">src/auth/index.js</a>,
<a href="src_auth_index.js.html#line227">line 227</a>
<a href="src_auth_index.js.html#line264">line 264</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -1298,7 +1488,7 @@ <h4 class="name" id=".passwordRealm">
<ul class="dummy">
<li>
<a href="src_auth_index.js.html">src/auth/index.js</a>,
<a href="src_auth_index.js.html#line135">line 135</a>
<a href="src_auth_index.js.html#line172">line 172</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -1474,7 +1664,7 @@ <h4 class="name" id=".refreshToken">
<ul class="dummy">
<li>
<a href="src_auth_index.js.html">src/auth/index.js</a>,
<a href="src_auth_index.js.html#line168">line 168</a>
<a href="src_auth_index.js.html#line205">line 205</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -1601,7 +1791,7 @@ <h4 class="name" id=".resetPassword">
<ul class="dummy">
<li>
<a href="src_auth_index.js.html">src/auth/index.js</a>,
<a href="src_auth_index.js.html#line405">line 405</a>
<a href="src_auth_index.js.html#line442">line 442</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -1705,7 +1895,7 @@ <h4 class="name" id=".revoke">
<ul class="dummy">
<li>
<a href="src_auth_index.js.html">src/auth/index.js</a>,
<a href="src_auth_index.js.html#line324">line 324</a>
<a href="src_auth_index.js.html#line361">line 361</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -1797,7 +1987,7 @@ <h4 class="name" id=".userInfo">
<ul class="dummy">
<li>
<a href="src_auth_index.js.html">src/auth/index.js</a>,
<a href="src_auth_index.js.html#line355">line 355</a>
<a href="src_auth_index.js.html#line392">line 392</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -1878,7 +2068,7 @@ <h5>Returns:</h5>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on
Thu Jan 30 2020 15:56:51 GMT-0300 (Argentina Standard Time) using the
Mon Feb 10 2020 16:18:14 GMT-0300 (Argentina Standard Time) using the
Minami theme.
</footer>

Expand Down
10 changes: 9 additions & 1 deletion docs/Auth0.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@
><a href="Auth.html#.exchange">exchange</a></span
>
</li>
<li class="nav-item">
<span class="nav-item-type type-function">F</span
><span class="nav-item-name"
><a href="Auth.html#.exchangeNativeSocial"
>exchangeNativeSocial</a
></span
>
</li>
<li class="nav-item">
<span class="nav-item-type type-function">F</span
><span class="nav-item-name"
Expand Down Expand Up @@ -222,7 +230,7 @@ <h3 class="subsection-title">Classes</h3>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on
Thu Jan 30 2020 15:56:51 GMT-0300 (Argentina Standard Time) using the
Mon Feb 10 2020 16:18:14 GMT-0300 (Argentina Standard Time) using the
Minami theme.
</footer>

Expand Down
10 changes: 9 additions & 1 deletion docs/Auth0.module.exports.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@
><a href="Auth.html#.exchange">exchange</a></span
>
</li>
<li class="nav-item">
<span class="nav-item-type type-function">F</span
><span class="nav-item-name"
><a href="Auth.html#.exchangeNativeSocial"
>exchangeNativeSocial</a
></span
>
</li>
<li class="nav-item">
<span class="nav-item-type type-function">F</span
><span class="nav-item-name"
Expand Down Expand Up @@ -287,7 +295,7 @@ <h5>Parameters:</h5>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on
Thu Jan 30 2020 15:56:51 GMT-0300 (Argentina Standard Time) using the
Mon Feb 10 2020 16:18:14 GMT-0300 (Argentina Standard Time) using the
Minami theme.
</footer>

Expand Down
10 changes: 9 additions & 1 deletion docs/Users.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@
><a href="Auth.html#.exchange">exchange</a></span
>
</li>
<li class="nav-item">
<span class="nav-item-type type-function">F</span
><span class="nav-item-name"
><a href="Auth.html#.exchangeNativeSocial"
>exchangeNativeSocial</a
></span
>
</li>
<li class="nav-item">
<span class="nav-item-type type-function">F</span
><span class="nav-item-name"
Expand Down Expand Up @@ -455,7 +463,7 @@ <h5>Returns:</h5>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on
Thu Jan 30 2020 15:56:51 GMT-0300 (Argentina Standard Time) using the
Mon Feb 10 2020 16:18:14 GMT-0300 (Argentina Standard Time) using the
Minami theme.
</footer>

Expand Down
Loading

0 comments on commit 876ea48

Please sign in to comment.