Skip to content

Commit e59a2be

Browse files
committed
Release v2.1.0
1 parent 1bbd1dd commit e59a2be

14 files changed

+226
-89
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Change Log
22

3+
## [v2.1.0](https://github.com/auth0/react-native-auth0/tree/v2.1.0) (2019-10-23)
4+
5+
[Full Changelog](https://github.com/auth0/react-native-auth0/compare/v2.0.0...v2.1.0)
6+
7+
**Security**
8+
9+
- Improved OIDC compliance [\#243](https://github.com/auth0/react-native-auth0/pull/243) ([jimmyjames](https://github.com/jimmyjames))
10+
311
## [v2.0.0](https://github.com/auth0/react-native-auth0/tree/v2.0.0) (2019-10-08)
412

513
This is a major release that supports **CocoaPods** and **Android X**.

docs/Auth.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1379,7 +1379,7 @@ <h5>Returns:</h5>
13791379

13801380
<footer>
13811381
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on
1382-
Tue Oct 08 2019 15:17:20 GMT-0300 (Argentina Standard Time) using the
1382+
Wed Oct 23 2019 15:23:35 GMT-0300 (Argentina Standard Time) using the
13831383
Minami theme.
13841384
</footer>
13851385

docs/Auth0.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ <h3 class="subsection-title">Classes</h3>
194194

195195
<footer>
196196
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on
197-
Tue Oct 08 2019 15:17:20 GMT-0300 (Argentina Standard Time) using the
197+
Wed Oct 23 2019 15:23:35 GMT-0300 (Argentina Standard Time) using the
198198
Minami theme.
199199
</footer>
200200

docs/Auth0.module.exports.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ <h5>Parameters:</h5>
259259

260260
<footer>
261261
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on
262-
Tue Oct 08 2019 15:17:20 GMT-0300 (Argentina Standard Time) using the
262+
Wed Oct 23 2019 15:23:35 GMT-0300 (Argentina Standard Time) using the
263263
Minami theme.
264264
</footer>
265265

docs/Users.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ <h5>Returns:</h5>
427427

428428
<footer>
429429
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on
430-
Tue Oct 08 2019 15:17:20 GMT-0300 (Argentina Standard Time) using the
430+
Wed Oct 23 2019 15:23:35 GMT-0300 (Argentina Standard Time) using the
431431
Minami theme.
432432
</footer>
433433

docs/WebAuth.html

+69-6
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ <h4 class="name" id="WebAuth">
178178
<li>
179179
<a href="src_webauth_index.js.html"
180180
>src/webauth/index.js</a
181-
>, <a href="src_webauth_index.js.html#line16">line 16</a>
181+
>, <a href="src_webauth_index.js.html#line17">line 17</a>
182182
</li>
183183
</ul>
184184
</dd>
@@ -204,7 +204,7 @@ <h3 class="subsection-title">Methods</h3>
204204
<h4 class="name" id=".authorize">
205205
<span class="type-signature">(static) </span>authorize<span
206206
class="signature"
207-
>(parameters)</span
207+
>(parameters, options)</span
208208
><span class="type-signature"> &rarr; {Promise}</span>
209209
</h4>
210210

@@ -230,7 +230,7 @@ <h4 class="name" id=".authorize">
230230
<ul class="dummy">
231231
<li>
232232
<a href="src_webauth_index.js.html">src/webauth/index.js</a
233-
>, <a href="src_webauth_index.js.html#line54">line 54</a>
233+
>, <a href="src_webauth_index.js.html#line58">line 58</a>
234234
</li>
235235
</ul>
236236
</dd>
@@ -270,7 +270,7 @@ <h5>Parameters:</h5>
270270
</td>
271271

272272
<td class="description last">
273-
<p>parameters to send</p>
273+
<p>parameters to send on the AuthN/AuthZ request.</p>
274274

275275
<table class="params">
276276
<thead>
@@ -373,6 +373,69 @@ <h5>Parameters:</h5>
373373
</p>
374374
</td>
375375
</tr>
376+
377+
<tr>
378+
<td class="name"><code>max_age</code></td>
379+
380+
<td class="type">
381+
<span class="param-type"><code>Number</code></span>
382+
</td>
383+
384+
<td class="attributes">&lt;optional><br /></td>
385+
386+
<td class="description last">
387+
<p>
388+
The allowable elapsed time in seconds since the
389+
last time the user was authenticated (optional).
390+
</p>
391+
</td>
392+
</tr>
393+
</tbody>
394+
</table>
395+
</td>
396+
</tr>
397+
398+
<tr>
399+
<td class="name"><code>options</code></td>
400+
401+
<td class="type">
402+
<span class="param-type"><code>Object</code></span>
403+
</td>
404+
405+
<td class="description last">
406+
<p>options for ID token validation configuration.</p>
407+
408+
<table class="params">
409+
<thead>
410+
<tr>
411+
<th>Name</th>
412+
413+
<th>Type</th>
414+
415+
<th>Attributes</th>
416+
417+
<th class="last">Description</th>
418+
</tr>
419+
</thead>
420+
421+
<tbody>
422+
<tr>
423+
<td class="name"><code>leeway</code></td>
424+
425+
<td class="type">
426+
<span class="param-type"><code>Number</code></span>
427+
</td>
428+
429+
<td class="attributes">&lt;optional><br /></td>
430+
431+
<td class="description last">
432+
<p>
433+
The amount of leeway, in seconds, to accommodate
434+
potential clock skew when validating an ID token's
435+
claims. Defaults to 60 seconds if not specified.
436+
</p>
437+
</td>
438+
</tr>
376439
</tbody>
377440
</table>
378441
</td>
@@ -419,7 +482,7 @@ <h4 class="name" id=".clearSession">
419482
<ul class="dummy">
420483
<li>
421484
<a href="src_webauth_index.js.html">src/webauth/index.js</a
422-
>, <a href="src_webauth_index.js.html#line109">line 109</a>
485+
>, <a href="src_webauth_index.js.html#line125">line 125</a>
423486
</li>
424487
</ul>
425488
</dd>
@@ -515,7 +578,7 @@ <h5>Returns:</h5>
515578

516579
<footer>
517580
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on
518-
Tue Oct 08 2019 15:17:20 GMT-0300 (Argentina Standard Time) using the
581+
Wed Oct 23 2019 15:23:35 GMT-0300 (Argentina Standard Time) using the
519582
Minami theme.
520583
</footer>
521584

docs/global.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ <h5>Returns:</h5>
233233

234234
<footer>
235235
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on
236-
Tue Oct 08 2019 15:17:20 GMT-0300 (Argentina Standard Time) using the
236+
Wed Oct 23 2019 15:23:35 GMT-0300 (Argentina Standard Time) using the
237237
Minami theme.
238238
</footer>
239239

docs/index.html

+105-55
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@
146146
<section class="readme">
147147
<article>
148148
<h1>react-native-auth0</h1>
149+
<p>
150+
React Native toolkit for Auth0 API, compliant with
151+
<a href="https://tools.ietf.org/html/rfc8252">RFC 8252</a>
152+
</p>
149153
<p>
150154
<a href="https://circleci.com/gh/auth0/react-native-auth0"
151155
><img
@@ -173,10 +177,50 @@ <h1>react-native-auth0</h1>
173177
alt="Downloads"
174178
/></a>
175179
</p>
176-
<p>
177-
React Native toolkit for Auth0 API, compliant with
178-
<a href="https://tools.ietf.org/html/rfc8252">RFC 8252</a>
179-
</p>
180+
<h2>Table of Contents</h2>
181+
<ul>
182+
<li><a href="#documentation">Documentation</a></li>
183+
<li><a href="#requirements">Requirements</a></li>
184+
<li><a href="#getting-started">Getting Started</a></li>
185+
<li><a href="#usage">Usage</a></li>
186+
<li><a href="#support--feedback">Support + Feedback</a></li>
187+
<li>
188+
<a href="#vulnerability-reporting">Vulnerability Reporting</a>
189+
</li>
190+
<li><a href="#thank-you">Thank You</a></li>
191+
<li><a href="#what-is-auth0">What is Auth0</a></li>
192+
<li><a href="#license">License</a></li>
193+
</ul>
194+
<h2>Documentation</h2>
195+
<ul>
196+
<li>
197+
The
198+
<a href="https://auth0.com/docs/quickstart/native/react-native"
199+
>React Native Quickstart</a
200+
>
201+
shows how to get an iOS or Android app running from scratch.
202+
</li>
203+
<li>
204+
The
205+
<a
206+
href="https://github.com/auth0-samples/auth0-react-native-sample/tree/master/00-Login"
207+
>React Native Sample</a
208+
>
209+
has complete, running iOS and Android applications you can try.
210+
</li>
211+
<li>
212+
The <a href="#usage">Usage</a> section below covers specific use
213+
cases outside of basic authentication.
214+
</li>
215+
<li>
216+
The
217+
<a href="https://auth0.github.io/react-native-auth0/"
218+
>API documentation</a
219+
>
220+
is generated from the code and explains all methods that are able
221+
to be used.
222+
</li>
223+
</ul>
180224
<h2>Requirements</h2>
181225
<p>
182226
This SDK targets apps that are using React Native SDK version
@@ -216,7 +260,7 @@ <h3>Compatibility Matrix</h3>
216260
>branch v1</a
217261
>.
218262
</p>
219-
<h2>Getting started</h2>
263+
<h2>Getting Started</h2>
220264
<p>First install the native library module:</p>
221265
<p>Using <a href="https://www.npmjs.com">npm</a></p>
222266
<p><code>$ npm install react-native-auth0 --save</code></p>
@@ -554,71 +598,77 @@ <h3>Get full user profile</h3>
554598
>documentation</a
555599
>
556600
</p>
557-
<h2>What is Auth0?</h2>
558-
<p>Auth0 helps you to:</p>
601+
<h2>Contributing</h2>
602+
<p>
603+
We appreciate feedback and contribution to this repo! Before you get
604+
started, please see the following:
605+
</p>
559606
<ul>
560607
<li>
561-
Add authentication with
562-
<a href="https://docs.auth0.com/identityproviders"
563-
>multiple authentication sources</a
564-
>, either social like
565-
<strong
566-
>Google, Facebook, Microsoft Account, LinkedIn, GitHub, Twitter,
567-
Box, Salesforce, amont others</strong
568-
>, or enterprise identity systems like
569-
<strong
570-
>Windows Azure AD, Google Apps, Active Directory, ADFS or any
571-
SAML Identity Provider</strong
572-
>.
573-
</li>
574-
<li>
575-
Add authentication through more traditional
576-
<strong
577-
><a href="https://docs.auth0.com/mysql-connection-tutorial"
578-
>username/password databases</a
579-
></strong
580-
>.
608+
<a
609+
href="https://github.com/auth0/.github/blob/master/CONTRIBUTING.md"
610+
>Auth0's general contribution guidelines</a
611+
>
581612
</li>
582613
<li>
583-
Add support for
584-
<strong
585-
><a href="https://docs.auth0.com/link-accounts"
586-
>linking different user accounts</a
587-
></strong
614+
<a
615+
href="https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md"
616+
>Auth0's code of conduct guidelines</a
588617
>
589-
with the same user.
590618
</li>
619+
<li><a href="DEVELOPMENT.md">This repo's development guide</a></li>
620+
</ul>
621+
<h2>Support + Feedback</h2>
622+
<ul>
591623
<li>
592-
Support for generating signed
593-
<a href="https://docs.auth0.com/jwt">Json Web Tokens</a> to call
594-
your APIs and <strong>flow the user identity</strong> securely.
624+
Use
625+
<a href="https://github.com/auth0/react-native-auth0/issues"
626+
>Issues</a
627+
>
628+
for code-level support
595629
</li>
596-
<li>Analytics of how, when and where users are logging in.</li>
597630
<li>
598-
Pull data from other sources and add it to the user profile,
599-
through
600-
<a href="https://docs.auth0.com/rules">JavaScript rules</a>.
631+
Use <a href="https://community.auth0.com/">Community</a> for
632+
usage, questions, specific cases
601633
</li>
602634
</ul>
603-
<h2>Create a free Auth0 Account</h2>
604-
<ol>
605-
<li>
606-
Go to <a href="https://auth0.com">Auth0</a> and click Sign Up.
607-
</li>
608-
<li>Use Google, GitHub or Microsoft Account to login.</li>
609-
</ol>
610-
<h2>Issue Reporting</h2>
635+
<h2>Vulnerability Reporting</h2>
611636
<p>
612-
If you have found a bug or if you have a feature request, please
613-
report them at this repository issues section. Please do not report
614-
security vulnerabilities on the public GitHub issue tracker. The
615-
<a href="https://auth0.com/whitehat"
637+
Please do not report security vulnerabilities on the public GitHub
638+
issue tracker. The
639+
<a href="https://auth0.com/responsible-disclosure-policy/"
616640
>Responsible Disclosure Program</a
617641
>
618642
details the procedure for disclosing security issues.
619643
</p>
620-
<h2>Author</h2>
621-
<p><a href="auth0.com">Auth0</a></p>
644+
<h2>What is Auth0?</h2>
645+
<p>Auth0 helps you to easily:</p>
646+
<ul>
647+
<li>
648+
implement authentication with multiple identity providers,
649+
including social (e.g., Google, Facebook, Microsoft, LinkedIn,
650+
GitHub, Twitter, etc), or enterprise (e.g., Windows Azure AD,
651+
Google Apps, Active Directory, ADFS, SAML, etc.)
652+
</li>
653+
<li>
654+
log in users with username/password databases, passwordless, or
655+
multi-factor authentication
656+
</li>
657+
<li>link multiple user accounts together</li>
658+
<li>
659+
generate signed JSON Web Tokens to authorize your API calls and
660+
flow the user identity securely
661+
</li>
662+
<li>
663+
access demographics and analytics detailing how, when, and where
664+
users are logging in
665+
</li>
666+
<li>
667+
enrich user profiles from other data sources using customizable
668+
JavaScript rules
669+
</li>
670+
</ul>
671+
<p><a href="https://auth0.com/why-auth0">Why Auth0?</a></p>
622672
<h2>License</h2>
623673
<p>
624674
This project is licensed under the MIT license. See the
@@ -633,7 +683,7 @@ <h2>License</h2>
633683

634684
<footer>
635685
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on
636-
Tue Oct 08 2019 15:17:20 GMT-0300 (Argentina Standard Time) using the
686+
Wed Oct 23 2019 15:23:35 GMT-0300 (Argentina Standard Time) using the
637687
Minami theme.
638688
</footer>
639689

0 commit comments

Comments
 (0)