diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 54c6f839..c66ec51d 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -15,10 +15,13 @@ jobs: with: ref: gh-pages - - name: tar the existing docs + - name: remove all symbolic links from root if present run: | - mkdir -p ./docs - tar -cvf documentation.tar ./docs + find . -maxdepth 1 -type l -delete + + - name: tar the existing docs from root + run: | + tar -cvf documentation.tar - name: create a document artifact uses: actions/upload-artifact@v4 @@ -33,51 +36,26 @@ jobs: - name: Checkout src uses: actions/checkout@v5 - - run: mkdir -p ./docs - name: Download the existing documents artifact uses: actions/download-artifact@v5 with: name: documentation + - run: rm -rf ./docs # delete previous docs folder present + - run: mkdir ./docs # create an empty docs folder - run: tar -xf documentation.tar -C ./docs + - run: rm -f documentation.tar - name: Setup uses: ./.github/actions/setup - name: Build documents run: yarn docs #set up 'docs' build script in your package.json - - - name: Run cleanup and manage document versions - run: node scripts/manage-doc-versions.js - - - name: tar the new docs - run: tar -cvf newdocumentation.tar ./docs - - name: create a new document artifact - uses: actions/upload-artifact@v4 - with: - name: newdocumentation - path: newdocumentation.tar - - commit: # commit the old and new merged documents to gh-pages/docs - needs: build - runs-on: ubuntu-latest - steps: - - name: checkout the gh-pages repo - uses: actions/checkout@v5 - with: - ref: gh-pages + - name: Remove all the symbolic links from docs folder + run: find ./docs -type l -delete - - run: mkdir -p ./docs - - name: Download the new documents artifact - uses: actions/download-artifact@v5 - with: - name: newdocumentation - - run: tar -xf newdocumentation.tar -C ./docs + - name: Run cleanup and manage document versions + run: node scripts/manage-doc-versions.js - - name: commit - run: | - git config --global user.email "username@users.noreply.github.com" - git config --global user.name "Continuous Integration" - git add . - git commit -m "CI updated the documentation" - git push \ No newline at end of file + - name: Deploy to github pages using gh-pages + run: npx gh-pages -d docs diff --git a/.gitignore b/.gitignore index a8389b69..ad341773 100644 --- a/.gitignore +++ b/.gitignore @@ -94,4 +94,5 @@ android/generated # Other dist/ out/ -coverage/ \ No newline at end of file +coverage/ +docs/ \ No newline at end of file diff --git a/docs/.typedoc-plugin-versions b/docs/.typedoc-plugin-versions deleted file mode 100644 index e4764c08..00000000 --- a/docs/.typedoc-plugin-versions +++ /dev/null @@ -1 +0,0 @@ -{"versions":["v5.0.0-beta.5", "v4.6.0"],"dev":"v5.0.0-beta.5"} diff --git a/docs/.version b/docs/.version deleted file mode 100644 index b5da024f..00000000 --- a/docs/.version +++ /dev/null @@ -1 +0,0 @@ -v5.0.0-beta.4 diff --git a/docs/dev/assets/hierarchy.js b/docs/dev/assets/hierarchy.js deleted file mode 100644 index 82a8b808..00000000 --- a/docs/dev/assets/hierarchy.js +++ /dev/null @@ -1,2 +0,0 @@ -window.hierarchyData = - 'eJydkjFvgzAQhf/LzQ4B4xLjrYo6ZGmHVuoQMVBwhFWwK/uoKkX898pBQS5VVchky3fvviffO4M1Bh2IY8JSkuacMJ4XBKw8tbJCZbQDcYaEpf7QZSdBwH2PTfz0MVYJvCtdg6B3GYHetiBAaZT2VFbSbQ/XaxSKoga7FghUbekcCEBXb/yUzaT0xUa1tZUaxDFllKRZXAwEUkYDJ48lqk95k5/f0gWuvIEsDgy8yreb6DPdQjTfBegX1UnT44O1xk7chPIr9zJLuu1+PKOw/0/e+OBZOZ9tfDFoav6H8nPFfOfXy2g8D9reaJRfeAiisSJxc/Wyn2Y8n9l4xhLXoS+KtUlnNC6GYfgG+bcyXg=='; diff --git a/docs/dev/assets/highlight.css b/docs/dev/assets/highlight.css deleted file mode 100644 index 376632e0..00000000 --- a/docs/dev/assets/highlight.css +++ /dev/null @@ -1,173 +0,0 @@ -:root { - --light-hl-0: #000000; - --dark-hl-0: #c8c8c8; - --light-hl-1: #000000; - --dark-hl-1: #d4d4d4; - --light-hl-2: #001080; - --dark-hl-2: #9cdcfe; - --light-hl-3: #a31515; - --dark-hl-3: #ce9178; - --light-hl-4: #0451a5; - --dark-hl-4: #9cdcfe; - --light-hl-5: #cd3131; - --dark-hl-5: #f44747; - --light-hl-6: #af00db; - --dark-hl-6: #c586c0; - --light-hl-7: #0000ff; - --dark-hl-7: #569cd6; - --light-hl-8: #795e26; - --dark-hl-8: #dcdcaa; - --light-hl-9: #800000; - --dark-hl-9: #808080; - --light-hl-10: #267f99; - --dark-hl-10: #4ec9b0; - --light-hl-11: #e50000; - --dark-hl-11: #9cdcfe; - --light-hl-12: #008000; - --dark-hl-12: #6a9955; - --light-hl-13: #000000ff; - --dark-hl-13: #d4d4d4; - --light-hl-14: #0070c1; - --dark-hl-14: #4fc1ff; - --light-hl-15: #098658; - --dark-hl-15: #b5cea8; - --light-code-background: #ffffff; - --dark-code-background: #1e1e1e; -} - -@media (prefers-color-scheme: light) { - :root { - --hl-0: var(--light-hl-0); - --hl-1: var(--light-hl-1); - --hl-2: var(--light-hl-2); - --hl-3: var(--light-hl-3); - --hl-4: var(--light-hl-4); - --hl-5: var(--light-hl-5); - --hl-6: var(--light-hl-6); - --hl-7: var(--light-hl-7); - --hl-8: var(--light-hl-8); - --hl-9: var(--light-hl-9); - --hl-10: var(--light-hl-10); - --hl-11: var(--light-hl-11); - --hl-12: var(--light-hl-12); - --hl-13: var(--light-hl-13); - --hl-14: var(--light-hl-14); - --hl-15: var(--light-hl-15); - --code-background: var(--light-code-background); - } -} - -@media (prefers-color-scheme: dark) { - :root { - --hl-0: var(--dark-hl-0); - --hl-1: var(--dark-hl-1); - --hl-2: var(--dark-hl-2); - --hl-3: var(--dark-hl-3); - --hl-4: var(--dark-hl-4); - --hl-5: var(--dark-hl-5); - --hl-6: var(--dark-hl-6); - --hl-7: var(--dark-hl-7); - --hl-8: var(--dark-hl-8); - --hl-9: var(--dark-hl-9); - --hl-10: var(--dark-hl-10); - --hl-11: var(--dark-hl-11); - --hl-12: var(--dark-hl-12); - --hl-13: var(--dark-hl-13); - --hl-14: var(--dark-hl-14); - --hl-15: var(--dark-hl-15); - --code-background: var(--dark-code-background); - } -} - -:root[data-theme='light'] { - --hl-0: var(--light-hl-0); - --hl-1: var(--light-hl-1); - --hl-2: var(--light-hl-2); - --hl-3: var(--light-hl-3); - --hl-4: var(--light-hl-4); - --hl-5: var(--light-hl-5); - --hl-6: var(--light-hl-6); - --hl-7: var(--light-hl-7); - --hl-8: var(--light-hl-8); - --hl-9: var(--light-hl-9); - --hl-10: var(--light-hl-10); - --hl-11: var(--light-hl-11); - --hl-12: var(--light-hl-12); - --hl-13: var(--light-hl-13); - --hl-14: var(--light-hl-14); - --hl-15: var(--light-hl-15); - --code-background: var(--light-code-background); -} - -:root[data-theme='dark'] { - --hl-0: var(--dark-hl-0); - --hl-1: var(--dark-hl-1); - --hl-2: var(--dark-hl-2); - --hl-3: var(--dark-hl-3); - --hl-4: var(--dark-hl-4); - --hl-5: var(--dark-hl-5); - --hl-6: var(--dark-hl-6); - --hl-7: var(--dark-hl-7); - --hl-8: var(--dark-hl-8); - --hl-9: var(--dark-hl-9); - --hl-10: var(--dark-hl-10); - --hl-11: var(--dark-hl-11); - --hl-12: var(--dark-hl-12); - --hl-13: var(--dark-hl-13); - --hl-14: var(--dark-hl-14); - --hl-15: var(--dark-hl-15); - --code-background: var(--dark-code-background); -} - -.hl-0 { - color: var(--hl-0); -} -.hl-1 { - color: var(--hl-1); -} -.hl-2 { - color: var(--hl-2); -} -.hl-3 { - color: var(--hl-3); -} -.hl-4 { - color: var(--hl-4); -} -.hl-5 { - color: var(--hl-5); -} -.hl-6 { - color: var(--hl-6); -} -.hl-7 { - color: var(--hl-7); -} -.hl-8 { - color: var(--hl-8); -} -.hl-9 { - color: var(--hl-9); -} -.hl-10 { - color: var(--hl-10); -} -.hl-11 { - color: var(--hl-11); -} -.hl-12 { - color: var(--hl-12); -} -.hl-13 { - color: var(--hl-13); -} -.hl-14 { - color: var(--hl-14); -} -.hl-15 { - color: var(--hl-15); -} -pre, -code { - background: var(--code-background); -} diff --git a/docs/dev/assets/icons.js b/docs/dev/assets/icons.js deleted file mode 100644 index 20caa56f..00000000 --- a/docs/dev/assets/icons.js +++ /dev/null @@ -1,21 +0,0 @@ -(function () { - addIcons(); - function addIcons() { - if (document.readyState === 'loading') - return document.addEventListener('DOMContentLoaded', addIcons); - const svg = document.body.appendChild( - document.createElementNS('http://www.w3.org/2000/svg', 'svg') - ); - svg.innerHTML = `MMNEPVFCICPMFPCPTTAAATR`; - svg.style.display = 'none'; - if (location.protocol === 'file:') updateUseElements(); - } - - function updateUseElements() { - document.querySelectorAll('use').forEach((el) => { - if (el.getAttribute('href').includes('#icon-')) { - el.setAttribute('href', el.getAttribute('href').replace(/.*#/, '#')); - } - }); - } -})(); diff --git a/docs/dev/assets/icons.svg b/docs/dev/assets/icons.svg deleted file mode 100644 index 50ad5799..00000000 --- a/docs/dev/assets/icons.svg +++ /dev/null @@ -1 +0,0 @@ -MMNEPVFCICPMFPCPTTAAATR \ No newline at end of file diff --git a/docs/dev/assets/main.js b/docs/dev/assets/main.js deleted file mode 100644 index f831c885..00000000 --- a/docs/dev/assets/main.js +++ /dev/null @@ -1,2598 +0,0 @@ -'use strict'; -window.translations = { - copy: 'Copy', - copied: 'Copied!', - normally_hidden: - 'This member is normally hidden due to your filter settings.', - hierarchy_expand: 'Expand', - hierarchy_collapse: 'Collapse', - folder: 'Folder', - search_index_not_available: 'The search index is not available', - search_no_results_found_for_0: 'No results found for {0}', - kind_1: 'Project', - kind_2: 'Module', - kind_4: 'Namespace', - kind_8: 'Enumeration', - kind_16: 'Enumeration Member', - kind_32: 'Variable', - kind_64: 'Function', - kind_128: 'Class', - kind_256: 'Interface', - kind_512: 'Constructor', - kind_1024: 'Property', - kind_2048: 'Method', - kind_4096: 'Call Signature', - kind_8192: 'Index Signature', - kind_16384: 'Constructor Signature', - kind_32768: 'Parameter', - kind_65536: 'Type Literal', - kind_131072: 'Type Parameter', - kind_262144: 'Accessor', - kind_524288: 'Get Signature', - kind_1048576: 'Set Signature', - kind_2097152: 'Type Alias', - kind_4194304: 'Reference', - kind_8388608: 'Document', -}; -('use strict'); -(() => { - var Ke = Object.create; - var he = Object.defineProperty; - var Ge = Object.getOwnPropertyDescriptor; - var Ze = Object.getOwnPropertyNames; - var Xe = Object.getPrototypeOf, - Ye = Object.prototype.hasOwnProperty; - var et = (t, e) => () => ( - e || t((e = { exports: {} }).exports, e), e.exports - ); - var tt = (t, e, n, r) => { - if ((e && typeof e == 'object') || typeof e == 'function') - for (let i of Ze(e)) - !Ye.call(t, i) && - i !== n && - he(t, i, { - get: () => e[i], - enumerable: !(r = Ge(e, i)) || r.enumerable, - }); - return t; - }; - var nt = (t, e, n) => ( - (n = t != null ? Ke(Xe(t)) : {}), - tt( - e || !t || !t.__esModule - ? he(n, 'default', { value: t, enumerable: !0 }) - : n, - t - ) - ); - var ye = et((me, ge) => { - (function () { - var t = function (e) { - var n = new t.Builder(); - return ( - n.pipeline.add(t.trimmer, t.stopWordFilter, t.stemmer), - n.searchPipeline.add(t.stemmer), - e.call(n, n), - n.build() - ); - }; - t.version = '2.3.9'; - (t.utils = {}), - (t.utils.warn = (function (e) { - return function (n) { - e.console && console.warn && console.warn(n); - }; - })(this)), - (t.utils.asString = function (e) { - return e == null ? '' : e.toString(); - }), - (t.utils.clone = function (e) { - if (e == null) return e; - for ( - var n = Object.create(null), r = Object.keys(e), i = 0; - i < r.length; - i++ - ) { - var s = r[i], - o = e[s]; - if (Array.isArray(o)) { - n[s] = o.slice(); - continue; - } - if ( - typeof o == 'string' || - typeof o == 'number' || - typeof o == 'boolean' - ) { - n[s] = o; - continue; - } - throw new TypeError( - 'clone is not deep and does not support nested objects' - ); - } - return n; - }), - (t.FieldRef = function (e, n, r) { - (this.docRef = e), (this.fieldName = n), (this._stringValue = r); - }), - (t.FieldRef.joiner = '/'), - (t.FieldRef.fromString = function (e) { - var n = e.indexOf(t.FieldRef.joiner); - if (n === -1) throw 'malformed field ref string'; - var r = e.slice(0, n), - i = e.slice(n + 1); - return new t.FieldRef(i, r, e); - }), - (t.FieldRef.prototype.toString = function () { - return ( - this._stringValue == null && - (this._stringValue = - this.fieldName + t.FieldRef.joiner + this.docRef), - this._stringValue - ); - }); - (t.Set = function (e) { - if (((this.elements = Object.create(null)), e)) { - this.length = e.length; - for (var n = 0; n < this.length; n++) this.elements[e[n]] = !0; - } else this.length = 0; - }), - (t.Set.complete = { - intersect: function (e) { - return e; - }, - union: function () { - return this; - }, - contains: function () { - return !0; - }, - }), - (t.Set.empty = { - intersect: function () { - return this; - }, - union: function (e) { - return e; - }, - contains: function () { - return !1; - }, - }), - (t.Set.prototype.contains = function (e) { - return !!this.elements[e]; - }), - (t.Set.prototype.intersect = function (e) { - var n, - r, - i, - s = []; - if (e === t.Set.complete) return this; - if (e === t.Set.empty) return e; - this.length < e.length - ? ((n = this), (r = e)) - : ((n = e), (r = this)), - (i = Object.keys(n.elements)); - for (var o = 0; o < i.length; o++) { - var a = i[o]; - a in r.elements && s.push(a); - } - return new t.Set(s); - }), - (t.Set.prototype.union = function (e) { - return e === t.Set.complete - ? t.Set.complete - : e === t.Set.empty - ? this - : new t.Set( - Object.keys(this.elements).concat(Object.keys(e.elements)) - ); - }), - (t.idf = function (e, n) { - var r = 0; - for (var i in e) i != '_index' && (r += Object.keys(e[i]).length); - var s = (n - r + 0.5) / (r + 0.5); - return Math.log(1 + Math.abs(s)); - }), - (t.Token = function (e, n) { - (this.str = e || ''), (this.metadata = n || {}); - }), - (t.Token.prototype.toString = function () { - return this.str; - }), - (t.Token.prototype.update = function (e) { - return (this.str = e(this.str, this.metadata)), this; - }), - (t.Token.prototype.clone = function (e) { - return ( - (e = - e || - function (n) { - return n; - }), - new t.Token(e(this.str, this.metadata), this.metadata) - ); - }); - (t.tokenizer = function (e, n) { - if (e == null || e == null) return []; - if (Array.isArray(e)) - return e.map(function (f) { - return new t.Token( - t.utils.asString(f).toLowerCase(), - t.utils.clone(n) - ); - }); - for ( - var r = e.toString().toLowerCase(), - i = r.length, - s = [], - o = 0, - a = 0; - o <= i; - o++ - ) { - var c = r.charAt(o), - l = o - a; - if (c.match(t.tokenizer.separator) || o == i) { - if (l > 0) { - var d = t.utils.clone(n) || {}; - (d.position = [a, l]), - (d.index = s.length), - s.push(new t.Token(r.slice(a, o), d)); - } - a = o + 1; - } - } - return s; - }), - (t.tokenizer.separator = /[\s\-]+/); - (t.Pipeline = function () { - this._stack = []; - }), - (t.Pipeline.registeredFunctions = Object.create(null)), - (t.Pipeline.registerFunction = function (e, n) { - n in this.registeredFunctions && - t.utils.warn('Overwriting existing registered function: ' + n), - (e.label = n), - (t.Pipeline.registeredFunctions[e.label] = e); - }), - (t.Pipeline.warnIfFunctionNotRegistered = function (e) { - var n = e.label && e.label in this.registeredFunctions; - n || - t.utils.warn( - `Function is not registered with pipeline. This may cause problems when serialising the index. -`, - e - ); - }), - (t.Pipeline.load = function (e) { - var n = new t.Pipeline(); - return ( - e.forEach(function (r) { - var i = t.Pipeline.registeredFunctions[r]; - if (i) n.add(i); - else throw new Error('Cannot load unregistered function: ' + r); - }), - n - ); - }), - (t.Pipeline.prototype.add = function () { - var e = Array.prototype.slice.call(arguments); - e.forEach(function (n) { - t.Pipeline.warnIfFunctionNotRegistered(n), this._stack.push(n); - }, this); - }), - (t.Pipeline.prototype.after = function (e, n) { - t.Pipeline.warnIfFunctionNotRegistered(n); - var r = this._stack.indexOf(e); - if (r == -1) throw new Error('Cannot find existingFn'); - (r = r + 1), this._stack.splice(r, 0, n); - }), - (t.Pipeline.prototype.before = function (e, n) { - t.Pipeline.warnIfFunctionNotRegistered(n); - var r = this._stack.indexOf(e); - if (r == -1) throw new Error('Cannot find existingFn'); - this._stack.splice(r, 0, n); - }), - (t.Pipeline.prototype.remove = function (e) { - var n = this._stack.indexOf(e); - n != -1 && this._stack.splice(n, 1); - }), - (t.Pipeline.prototype.run = function (e) { - for (var n = this._stack.length, r = 0; r < n; r++) { - for (var i = this._stack[r], s = [], o = 0; o < e.length; o++) { - var a = i(e[o], o, e); - if (!(a == null || a === '')) - if (Array.isArray(a)) - for (var c = 0; c < a.length; c++) s.push(a[c]); - else s.push(a); - } - e = s; - } - return e; - }), - (t.Pipeline.prototype.runString = function (e, n) { - var r = new t.Token(e, n); - return this.run([r]).map(function (i) { - return i.toString(); - }); - }), - (t.Pipeline.prototype.reset = function () { - this._stack = []; - }), - (t.Pipeline.prototype.toJSON = function () { - return this._stack.map(function (e) { - return t.Pipeline.warnIfFunctionNotRegistered(e), e.label; - }); - }); - (t.Vector = function (e) { - (this._magnitude = 0), (this.elements = e || []); - }), - (t.Vector.prototype.positionForIndex = function (e) { - if (this.elements.length == 0) return 0; - for ( - var n = 0, - r = this.elements.length / 2, - i = r - n, - s = Math.floor(i / 2), - o = this.elements[s * 2]; - i > 1 && (o < e && (n = s), o > e && (r = s), o != e); - - ) - (i = r - n), - (s = n + Math.floor(i / 2)), - (o = this.elements[s * 2]); - if (o == e || o > e) return s * 2; - if (o < e) return (s + 1) * 2; - }), - (t.Vector.prototype.insert = function (e, n) { - this.upsert(e, n, function () { - throw 'duplicate index'; - }); - }), - (t.Vector.prototype.upsert = function (e, n, r) { - this._magnitude = 0; - var i = this.positionForIndex(e); - this.elements[i] == e - ? (this.elements[i + 1] = r(this.elements[i + 1], n)) - : this.elements.splice(i, 0, e, n); - }), - (t.Vector.prototype.magnitude = function () { - if (this._magnitude) return this._magnitude; - for (var e = 0, n = this.elements.length, r = 1; r < n; r += 2) { - var i = this.elements[r]; - e += i * i; - } - return (this._magnitude = Math.sqrt(e)); - }), - (t.Vector.prototype.dot = function (e) { - for ( - var n = 0, - r = this.elements, - i = e.elements, - s = r.length, - o = i.length, - a = 0, - c = 0, - l = 0, - d = 0; - l < s && d < o; - - ) - (a = r[l]), - (c = i[d]), - a < c - ? (l += 2) - : a > c - ? (d += 2) - : a == c && ((n += r[l + 1] * i[d + 1]), (l += 2), (d += 2)); - return n; - }), - (t.Vector.prototype.similarity = function (e) { - return this.dot(e) / this.magnitude() || 0; - }), - (t.Vector.prototype.toArray = function () { - for ( - var e = new Array(this.elements.length / 2), n = 1, r = 0; - n < this.elements.length; - n += 2, r++ - ) - e[r] = this.elements[n]; - return e; - }), - (t.Vector.prototype.toJSON = function () { - return this.elements; - }); - (t.stemmer = (function () { - var e = { - ational: 'ate', - tional: 'tion', - enci: 'ence', - anci: 'ance', - izer: 'ize', - bli: 'ble', - alli: 'al', - entli: 'ent', - eli: 'e', - ousli: 'ous', - ization: 'ize', - ation: 'ate', - ator: 'ate', - alism: 'al', - iveness: 'ive', - fulness: 'ful', - ousness: 'ous', - aliti: 'al', - iviti: 'ive', - biliti: 'ble', - logi: 'log', - }, - n = { - icate: 'ic', - ative: '', - alize: 'al', - iciti: 'ic', - ical: 'ic', - ful: '', - ness: '', - }, - r = '[^aeiou]', - i = '[aeiouy]', - s = r + '[^aeiouy]*', - o = i + '[aeiou]*', - a = '^(' + s + ')?' + o + s, - c = '^(' + s + ')?' + o + s + '(' + o + ')?$', - l = '^(' + s + ')?' + o + s + o + s, - d = '^(' + s + ')?' + i, - f = new RegExp(a), - p = new RegExp(l), - v = new RegExp(c), - x = new RegExp(d), - w = /^(.+?)(ss|i)es$/, - m = /^(.+?)([^s])s$/, - g = /^(.+?)eed$/, - T = /^(.+?)(ed|ing)$/, - L = /.$/, - C = /(at|bl|iz)$/, - O = new RegExp('([^aeiouylsz])\\1$'), - j = new RegExp('^' + s + i + '[^aeiouwxy]$'), - N = /^(.+?[^aeiou])y$/, - q = - /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/, - W = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/, - B = - /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/, - z = /^(.+?)(s|t)(ion)$/, - _ = /^(.+?)e$/, - U = /ll$/, - J = new RegExp('^' + s + i + '[^aeiouwxy]$'), - V = function (u) { - var y, P, k, h, E, Q, H; - if (u.length < 3) return u; - if ( - ((k = u.substr(0, 1)), - k == 'y' && (u = k.toUpperCase() + u.substr(1)), - (h = w), - (E = m), - h.test(u) - ? (u = u.replace(h, '$1$2')) - : E.test(u) && (u = u.replace(E, '$1$2')), - (h = g), - (E = T), - h.test(u)) - ) { - var b = h.exec(u); - (h = f), h.test(b[1]) && ((h = L), (u = u.replace(h, ''))); - } else if (E.test(u)) { - var b = E.exec(u); - (y = b[1]), - (E = x), - E.test(y) && - ((u = y), - (E = C), - (Q = O), - (H = j), - E.test(u) - ? (u = u + 'e') - : Q.test(u) - ? ((h = L), (u = u.replace(h, ''))) - : H.test(u) && (u = u + 'e')); - } - if (((h = N), h.test(u))) { - var b = h.exec(u); - (y = b[1]), (u = y + 'i'); - } - if (((h = q), h.test(u))) { - var b = h.exec(u); - (y = b[1]), (P = b[2]), (h = f), h.test(y) && (u = y + e[P]); - } - if (((h = W), h.test(u))) { - var b = h.exec(u); - (y = b[1]), (P = b[2]), (h = f), h.test(y) && (u = y + n[P]); - } - if (((h = B), (E = z), h.test(u))) { - var b = h.exec(u); - (y = b[1]), (h = p), h.test(y) && (u = y); - } else if (E.test(u)) { - var b = E.exec(u); - (y = b[1] + b[2]), (E = p), E.test(y) && (u = y); - } - if (((h = _), h.test(u))) { - var b = h.exec(u); - (y = b[1]), - (h = p), - (E = v), - (Q = J), - (h.test(y) || (E.test(y) && !Q.test(y))) && (u = y); - } - return ( - (h = U), - (E = p), - h.test(u) && E.test(u) && ((h = L), (u = u.replace(h, ''))), - k == 'y' && (u = k.toLowerCase() + u.substr(1)), - u - ); - }; - return function (A) { - return A.update(V); - }; - })()), - t.Pipeline.registerFunction(t.stemmer, 'stemmer'); - (t.generateStopWordFilter = function (e) { - var n = e.reduce(function (r, i) { - return (r[i] = i), r; - }, {}); - return function (r) { - if (r && n[r.toString()] !== r.toString()) return r; - }; - }), - (t.stopWordFilter = t.generateStopWordFilter([ - 'a', - 'able', - 'about', - 'across', - 'after', - 'all', - 'almost', - 'also', - 'am', - 'among', - 'an', - 'and', - 'any', - 'are', - 'as', - 'at', - 'be', - 'because', - 'been', - 'but', - 'by', - 'can', - 'cannot', - 'could', - 'dear', - 'did', - 'do', - 'does', - 'either', - 'else', - 'ever', - 'every', - 'for', - 'from', - 'get', - 'got', - 'had', - 'has', - 'have', - 'he', - 'her', - 'hers', - 'him', - 'his', - 'how', - 'however', - 'i', - 'if', - 'in', - 'into', - 'is', - 'it', - 'its', - 'just', - 'least', - 'let', - 'like', - 'likely', - 'may', - 'me', - 'might', - 'most', - 'must', - 'my', - 'neither', - 'no', - 'nor', - 'not', - 'of', - 'off', - 'often', - 'on', - 'only', - 'or', - 'other', - 'our', - 'own', - 'rather', - 'said', - 'say', - 'says', - 'she', - 'should', - 'since', - 'so', - 'some', - 'than', - 'that', - 'the', - 'their', - 'them', - 'then', - 'there', - 'these', - 'they', - 'this', - 'tis', - 'to', - 'too', - 'twas', - 'us', - 'wants', - 'was', - 'we', - 'were', - 'what', - 'when', - 'where', - 'which', - 'while', - 'who', - 'whom', - 'why', - 'will', - 'with', - 'would', - 'yet', - 'you', - 'your', - ])), - t.Pipeline.registerFunction(t.stopWordFilter, 'stopWordFilter'); - (t.trimmer = function (e) { - return e.update(function (n) { - return n.replace(/^\W+/, '').replace(/\W+$/, ''); - }); - }), - t.Pipeline.registerFunction(t.trimmer, 'trimmer'); - (t.TokenSet = function () { - (this.final = !1), - (this.edges = {}), - (this.id = t.TokenSet._nextId), - (t.TokenSet._nextId += 1); - }), - (t.TokenSet._nextId = 1), - (t.TokenSet.fromArray = function (e) { - for ( - var n = new t.TokenSet.Builder(), r = 0, i = e.length; - r < i; - r++ - ) - n.insert(e[r]); - return n.finish(), n.root; - }), - (t.TokenSet.fromClause = function (e) { - return 'editDistance' in e - ? t.TokenSet.fromFuzzyString(e.term, e.editDistance) - : t.TokenSet.fromString(e.term); - }), - (t.TokenSet.fromFuzzyString = function (e, n) { - for ( - var r = new t.TokenSet(), - i = [{ node: r, editsRemaining: n, str: e }]; - i.length; - - ) { - var s = i.pop(); - if (s.str.length > 0) { - var o = s.str.charAt(0), - a; - o in s.node.edges - ? (a = s.node.edges[o]) - : ((a = new t.TokenSet()), (s.node.edges[o] = a)), - s.str.length == 1 && (a.final = !0), - i.push({ - node: a, - editsRemaining: s.editsRemaining, - str: s.str.slice(1), - }); - } - if (s.editsRemaining != 0) { - if ('*' in s.node.edges) var c = s.node.edges['*']; - else { - var c = new t.TokenSet(); - s.node.edges['*'] = c; - } - if ( - (s.str.length == 0 && (c.final = !0), - i.push({ - node: c, - editsRemaining: s.editsRemaining - 1, - str: s.str, - }), - s.str.length > 1 && - i.push({ - node: s.node, - editsRemaining: s.editsRemaining - 1, - str: s.str.slice(1), - }), - s.str.length == 1 && (s.node.final = !0), - s.str.length >= 1) - ) { - if ('*' in s.node.edges) var l = s.node.edges['*']; - else { - var l = new t.TokenSet(); - s.node.edges['*'] = l; - } - s.str.length == 1 && (l.final = !0), - i.push({ - node: l, - editsRemaining: s.editsRemaining - 1, - str: s.str.slice(1), - }); - } - if (s.str.length > 1) { - var d = s.str.charAt(0), - f = s.str.charAt(1), - p; - f in s.node.edges - ? (p = s.node.edges[f]) - : ((p = new t.TokenSet()), (s.node.edges[f] = p)), - s.str.length == 1 && (p.final = !0), - i.push({ - node: p, - editsRemaining: s.editsRemaining - 1, - str: d + s.str.slice(2), - }); - } - } - } - return r; - }), - (t.TokenSet.fromString = function (e) { - for ( - var n = new t.TokenSet(), r = n, i = 0, s = e.length; - i < s; - i++ - ) { - var o = e[i], - a = i == s - 1; - if (o == '*') (n.edges[o] = n), (n.final = a); - else { - var c = new t.TokenSet(); - (c.final = a), (n.edges[o] = c), (n = c); - } - } - return r; - }), - (t.TokenSet.prototype.toArray = function () { - for (var e = [], n = [{ prefix: '', node: this }]; n.length; ) { - var r = n.pop(), - i = Object.keys(r.node.edges), - s = i.length; - r.node.final && (r.prefix.charAt(0), e.push(r.prefix)); - for (var o = 0; o < s; o++) { - var a = i[o]; - n.push({ prefix: r.prefix.concat(a), node: r.node.edges[a] }); - } - } - return e; - }), - (t.TokenSet.prototype.toString = function () { - if (this._str) return this._str; - for ( - var e = this.final ? '1' : '0', - n = Object.keys(this.edges).sort(), - r = n.length, - i = 0; - i < r; - i++ - ) { - var s = n[i], - o = this.edges[s]; - e = e + s + o.id; - } - return e; - }), - (t.TokenSet.prototype.intersect = function (e) { - for ( - var n = new t.TokenSet(), - r = void 0, - i = [{ qNode: e, output: n, node: this }]; - i.length; - - ) { - r = i.pop(); - for ( - var s = Object.keys(r.qNode.edges), - o = s.length, - a = Object.keys(r.node.edges), - c = a.length, - l = 0; - l < o; - l++ - ) - for (var d = s[l], f = 0; f < c; f++) { - var p = a[f]; - if (p == d || d == '*') { - var v = r.node.edges[p], - x = r.qNode.edges[d], - w = v.final && x.final, - m = void 0; - p in r.output.edges - ? ((m = r.output.edges[p]), (m.final = m.final || w)) - : ((m = new t.TokenSet()), - (m.final = w), - (r.output.edges[p] = m)), - i.push({ qNode: x, output: m, node: v }); - } - } - } - return n; - }), - (t.TokenSet.Builder = function () { - (this.previousWord = ''), - (this.root = new t.TokenSet()), - (this.uncheckedNodes = []), - (this.minimizedNodes = {}); - }), - (t.TokenSet.Builder.prototype.insert = function (e) { - var n, - r = 0; - if (e < this.previousWord) - throw new Error('Out of order word insertion'); - for ( - var i = 0; - i < e.length && - i < this.previousWord.length && - e[i] == this.previousWord[i]; - i++ - ) - r++; - this.minimize(r), - this.uncheckedNodes.length == 0 - ? (n = this.root) - : (n = this.uncheckedNodes[this.uncheckedNodes.length - 1].child); - for (var i = r; i < e.length; i++) { - var s = new t.TokenSet(), - o = e[i]; - (n.edges[o] = s), - this.uncheckedNodes.push({ parent: n, char: o, child: s }), - (n = s); - } - (n.final = !0), (this.previousWord = e); - }), - (t.TokenSet.Builder.prototype.finish = function () { - this.minimize(0); - }), - (t.TokenSet.Builder.prototype.minimize = function (e) { - for (var n = this.uncheckedNodes.length - 1; n >= e; n--) { - var r = this.uncheckedNodes[n], - i = r.child.toString(); - i in this.minimizedNodes - ? (r.parent.edges[r.char] = this.minimizedNodes[i]) - : ((r.child._str = i), (this.minimizedNodes[i] = r.child)), - this.uncheckedNodes.pop(); - } - }); - (t.Index = function (e) { - (this.invertedIndex = e.invertedIndex), - (this.fieldVectors = e.fieldVectors), - (this.tokenSet = e.tokenSet), - (this.fields = e.fields), - (this.pipeline = e.pipeline); - }), - (t.Index.prototype.search = function (e) { - return this.query(function (n) { - var r = new t.QueryParser(e, n); - r.parse(); - }); - }), - (t.Index.prototype.query = function (e) { - for ( - var n = new t.Query(this.fields), - r = Object.create(null), - i = Object.create(null), - s = Object.create(null), - o = Object.create(null), - a = Object.create(null), - c = 0; - c < this.fields.length; - c++ - ) - i[this.fields[c]] = new t.Vector(); - e.call(n, n); - for (var c = 0; c < n.clauses.length; c++) { - var l = n.clauses[c], - d = null, - f = t.Set.empty; - l.usePipeline - ? (d = this.pipeline.runString(l.term, { fields: l.fields })) - : (d = [l.term]); - for (var p = 0; p < d.length; p++) { - var v = d[p]; - l.term = v; - var x = t.TokenSet.fromClause(l), - w = this.tokenSet.intersect(x).toArray(); - if (w.length === 0 && l.presence === t.Query.presence.REQUIRED) { - for (var m = 0; m < l.fields.length; m++) { - var g = l.fields[m]; - o[g] = t.Set.empty; - } - break; - } - for (var T = 0; T < w.length; T++) - for ( - var L = w[T], C = this.invertedIndex[L], O = C._index, m = 0; - m < l.fields.length; - m++ - ) { - var g = l.fields[m], - j = C[g], - N = Object.keys(j), - q = L + '/' + g, - W = new t.Set(N); - if ( - (l.presence == t.Query.presence.REQUIRED && - ((f = f.union(W)), - o[g] === void 0 && (o[g] = t.Set.complete)), - l.presence == t.Query.presence.PROHIBITED) - ) { - a[g] === void 0 && (a[g] = t.Set.empty), - (a[g] = a[g].union(W)); - continue; - } - if ( - (i[g].upsert(O, l.boost, function (Ue, Je) { - return Ue + Je; - }), - !s[q]) - ) { - for (var B = 0; B < N.length; B++) { - var z = N[B], - _ = new t.FieldRef(z, g), - U = j[z], - J; - (J = r[_]) === void 0 - ? (r[_] = new t.MatchData(L, g, U)) - : J.add(L, g, U); - } - s[q] = !0; - } - } - } - if (l.presence === t.Query.presence.REQUIRED) - for (var m = 0; m < l.fields.length; m++) { - var g = l.fields[m]; - o[g] = o[g].intersect(f); - } - } - for ( - var V = t.Set.complete, A = t.Set.empty, c = 0; - c < this.fields.length; - c++ - ) { - var g = this.fields[c]; - o[g] && (V = V.intersect(o[g])), a[g] && (A = A.union(a[g])); - } - var u = Object.keys(r), - y = [], - P = Object.create(null); - if (n.isNegated()) { - u = Object.keys(this.fieldVectors); - for (var c = 0; c < u.length; c++) { - var _ = u[c], - k = t.FieldRef.fromString(_); - r[_] = new t.MatchData(); - } - } - for (var c = 0; c < u.length; c++) { - var k = t.FieldRef.fromString(u[c]), - h = k.docRef; - if (V.contains(h) && !A.contains(h)) { - var E = this.fieldVectors[k], - Q = i[k.fieldName].similarity(E), - H; - if ((H = P[h]) !== void 0) - (H.score += Q), H.matchData.combine(r[k]); - else { - var b = { ref: h, score: Q, matchData: r[k] }; - (P[h] = b), y.push(b); - } - } - } - return y.sort(function (We, ze) { - return ze.score - We.score; - }); - }), - (t.Index.prototype.toJSON = function () { - var e = Object.keys(this.invertedIndex) - .sort() - .map(function (r) { - return [r, this.invertedIndex[r]]; - }, this), - n = Object.keys(this.fieldVectors).map(function (r) { - return [r, this.fieldVectors[r].toJSON()]; - }, this); - return { - version: t.version, - fields: this.fields, - fieldVectors: n, - invertedIndex: e, - pipeline: this.pipeline.toJSON(), - }; - }), - (t.Index.load = function (e) { - var n = {}, - r = {}, - i = e.fieldVectors, - s = Object.create(null), - o = e.invertedIndex, - a = new t.TokenSet.Builder(), - c = t.Pipeline.load(e.pipeline); - e.version != t.version && - t.utils.warn( - "Version mismatch when loading serialised index. Current version of lunr '" + - t.version + - "' does not match serialized index '" + - e.version + - "'" - ); - for (var l = 0; l < i.length; l++) { - var d = i[l], - f = d[0], - p = d[1]; - r[f] = new t.Vector(p); - } - for (var l = 0; l < o.length; l++) { - var d = o[l], - v = d[0], - x = d[1]; - a.insert(v), (s[v] = x); - } - return ( - a.finish(), - (n.fields = e.fields), - (n.fieldVectors = r), - (n.invertedIndex = s), - (n.tokenSet = a.root), - (n.pipeline = c), - new t.Index(n) - ); - }); - (t.Builder = function () { - (this._ref = 'id'), - (this._fields = Object.create(null)), - (this._documents = Object.create(null)), - (this.invertedIndex = Object.create(null)), - (this.fieldTermFrequencies = {}), - (this.fieldLengths = {}), - (this.tokenizer = t.tokenizer), - (this.pipeline = new t.Pipeline()), - (this.searchPipeline = new t.Pipeline()), - (this.documentCount = 0), - (this._b = 0.75), - (this._k1 = 1.2), - (this.termIndex = 0), - (this.metadataWhitelist = []); - }), - (t.Builder.prototype.ref = function (e) { - this._ref = e; - }), - (t.Builder.prototype.field = function (e, n) { - if (/\//.test(e)) - throw new RangeError( - "Field '" + e + "' contains illegal character '/'" - ); - this._fields[e] = n || {}; - }), - (t.Builder.prototype.b = function (e) { - e < 0 ? (this._b = 0) : e > 1 ? (this._b = 1) : (this._b = e); - }), - (t.Builder.prototype.k1 = function (e) { - this._k1 = e; - }), - (t.Builder.prototype.add = function (e, n) { - var r = e[this._ref], - i = Object.keys(this._fields); - (this._documents[r] = n || {}), (this.documentCount += 1); - for (var s = 0; s < i.length; s++) { - var o = i[s], - a = this._fields[o].extractor, - c = a ? a(e) : e[o], - l = this.tokenizer(c, { fields: [o] }), - d = this.pipeline.run(l), - f = new t.FieldRef(r, o), - p = Object.create(null); - (this.fieldTermFrequencies[f] = p), - (this.fieldLengths[f] = 0), - (this.fieldLengths[f] += d.length); - for (var v = 0; v < d.length; v++) { - var x = d[v]; - if ( - (p[x] == null && (p[x] = 0), - (p[x] += 1), - this.invertedIndex[x] == null) - ) { - var w = Object.create(null); - (w._index = this.termIndex), (this.termIndex += 1); - for (var m = 0; m < i.length; m++) - w[i[m]] = Object.create(null); - this.invertedIndex[x] = w; - } - this.invertedIndex[x][o][r] == null && - (this.invertedIndex[x][o][r] = Object.create(null)); - for (var g = 0; g < this.metadataWhitelist.length; g++) { - var T = this.metadataWhitelist[g], - L = x.metadata[T]; - this.invertedIndex[x][o][r][T] == null && - (this.invertedIndex[x][o][r][T] = []), - this.invertedIndex[x][o][r][T].push(L); - } - } - } - }), - (t.Builder.prototype.calculateAverageFieldLengths = function () { - for ( - var e = Object.keys(this.fieldLengths), - n = e.length, - r = {}, - i = {}, - s = 0; - s < n; - s++ - ) { - var o = t.FieldRef.fromString(e[s]), - a = o.fieldName; - i[a] || (i[a] = 0), - (i[a] += 1), - r[a] || (r[a] = 0), - (r[a] += this.fieldLengths[o]); - } - for (var c = Object.keys(this._fields), s = 0; s < c.length; s++) { - var l = c[s]; - r[l] = r[l] / i[l]; - } - this.averageFieldLength = r; - }), - (t.Builder.prototype.createFieldVectors = function () { - for ( - var e = {}, - n = Object.keys(this.fieldTermFrequencies), - r = n.length, - i = Object.create(null), - s = 0; - s < r; - s++ - ) { - for ( - var o = t.FieldRef.fromString(n[s]), - a = o.fieldName, - c = this.fieldLengths[o], - l = new t.Vector(), - d = this.fieldTermFrequencies[o], - f = Object.keys(d), - p = f.length, - v = this._fields[a].boost || 1, - x = this._documents[o.docRef].boost || 1, - w = 0; - w < p; - w++ - ) { - var m = f[w], - g = d[m], - T = this.invertedIndex[m]._index, - L, - C, - O; - i[m] === void 0 - ? ((L = t.idf(this.invertedIndex[m], this.documentCount)), - (i[m] = L)) - : (L = i[m]), - (C = - (L * ((this._k1 + 1) * g)) / - (this._k1 * - (1 - this._b + this._b * (c / this.averageFieldLength[a])) + - g)), - (C *= v), - (C *= x), - (O = Math.round(C * 1e3) / 1e3), - l.insert(T, O); - } - e[o] = l; - } - this.fieldVectors = e; - }), - (t.Builder.prototype.createTokenSet = function () { - this.tokenSet = t.TokenSet.fromArray( - Object.keys(this.invertedIndex).sort() - ); - }), - (t.Builder.prototype.build = function () { - return ( - this.calculateAverageFieldLengths(), - this.createFieldVectors(), - this.createTokenSet(), - new t.Index({ - invertedIndex: this.invertedIndex, - fieldVectors: this.fieldVectors, - tokenSet: this.tokenSet, - fields: Object.keys(this._fields), - pipeline: this.searchPipeline, - }) - ); - }), - (t.Builder.prototype.use = function (e) { - var n = Array.prototype.slice.call(arguments, 1); - n.unshift(this), e.apply(this, n); - }), - (t.MatchData = function (e, n, r) { - for ( - var i = Object.create(null), s = Object.keys(r || {}), o = 0; - o < s.length; - o++ - ) { - var a = s[o]; - i[a] = r[a].slice(); - } - (this.metadata = Object.create(null)), - e !== void 0 && - ((this.metadata[e] = Object.create(null)), - (this.metadata[e][n] = i)); - }), - (t.MatchData.prototype.combine = function (e) { - for (var n = Object.keys(e.metadata), r = 0; r < n.length; r++) { - var i = n[r], - s = Object.keys(e.metadata[i]); - this.metadata[i] == null && - (this.metadata[i] = Object.create(null)); - for (var o = 0; o < s.length; o++) { - var a = s[o], - c = Object.keys(e.metadata[i][a]); - this.metadata[i][a] == null && - (this.metadata[i][a] = Object.create(null)); - for (var l = 0; l < c.length; l++) { - var d = c[l]; - this.metadata[i][a][d] == null - ? (this.metadata[i][a][d] = e.metadata[i][a][d]) - : (this.metadata[i][a][d] = this.metadata[i][a][d].concat( - e.metadata[i][a][d] - )); - } - } - } - }), - (t.MatchData.prototype.add = function (e, n, r) { - if (!(e in this.metadata)) { - (this.metadata[e] = Object.create(null)), (this.metadata[e][n] = r); - return; - } - if (!(n in this.metadata[e])) { - this.metadata[e][n] = r; - return; - } - for (var i = Object.keys(r), s = 0; s < i.length; s++) { - var o = i[s]; - o in this.metadata[e][n] - ? (this.metadata[e][n][o] = this.metadata[e][n][o].concat(r[o])) - : (this.metadata[e][n][o] = r[o]); - } - }), - (t.Query = function (e) { - (this.clauses = []), (this.allFields = e); - }), - (t.Query.wildcard = new String('*')), - (t.Query.wildcard.NONE = 0), - (t.Query.wildcard.LEADING = 1), - (t.Query.wildcard.TRAILING = 2), - (t.Query.presence = { OPTIONAL: 1, REQUIRED: 2, PROHIBITED: 3 }), - (t.Query.prototype.clause = function (e) { - return ( - 'fields' in e || (e.fields = this.allFields), - 'boost' in e || (e.boost = 1), - 'usePipeline' in e || (e.usePipeline = !0), - 'wildcard' in e || (e.wildcard = t.Query.wildcard.NONE), - e.wildcard & t.Query.wildcard.LEADING && - e.term.charAt(0) != t.Query.wildcard && - (e.term = '*' + e.term), - e.wildcard & t.Query.wildcard.TRAILING && - e.term.slice(-1) != t.Query.wildcard && - (e.term = '' + e.term + '*'), - 'presence' in e || (e.presence = t.Query.presence.OPTIONAL), - this.clauses.push(e), - this - ); - }), - (t.Query.prototype.isNegated = function () { - for (var e = 0; e < this.clauses.length; e++) - if (this.clauses[e].presence != t.Query.presence.PROHIBITED) - return !1; - return !0; - }), - (t.Query.prototype.term = function (e, n) { - if (Array.isArray(e)) - return ( - e.forEach(function (i) { - this.term(i, t.utils.clone(n)); - }, this), - this - ); - var r = n || {}; - return (r.term = e.toString()), this.clause(r), this; - }), - (t.QueryParseError = function (e, n, r) { - (this.name = 'QueryParseError'), - (this.message = e), - (this.start = n), - (this.end = r); - }), - (t.QueryParseError.prototype = new Error()), - (t.QueryLexer = function (e) { - (this.lexemes = []), - (this.str = e), - (this.length = e.length), - (this.pos = 0), - (this.start = 0), - (this.escapeCharPositions = []); - }), - (t.QueryLexer.prototype.run = function () { - for (var e = t.QueryLexer.lexText; e; ) e = e(this); - }), - (t.QueryLexer.prototype.sliceString = function () { - for ( - var e = [], n = this.start, r = this.pos, i = 0; - i < this.escapeCharPositions.length; - i++ - ) - (r = this.escapeCharPositions[i]), - e.push(this.str.slice(n, r)), - (n = r + 1); - return ( - e.push(this.str.slice(n, this.pos)), - (this.escapeCharPositions.length = 0), - e.join('') - ); - }), - (t.QueryLexer.prototype.emit = function (e) { - this.lexemes.push({ - type: e, - str: this.sliceString(), - start: this.start, - end: this.pos, - }), - (this.start = this.pos); - }), - (t.QueryLexer.prototype.escapeCharacter = function () { - this.escapeCharPositions.push(this.pos - 1), (this.pos += 1); - }), - (t.QueryLexer.prototype.next = function () { - if (this.pos >= this.length) return t.QueryLexer.EOS; - var e = this.str.charAt(this.pos); - return (this.pos += 1), e; - }), - (t.QueryLexer.prototype.width = function () { - return this.pos - this.start; - }), - (t.QueryLexer.prototype.ignore = function () { - this.start == this.pos && (this.pos += 1), (this.start = this.pos); - }), - (t.QueryLexer.prototype.backup = function () { - this.pos -= 1; - }), - (t.QueryLexer.prototype.acceptDigitRun = function () { - var e, n; - do (e = this.next()), (n = e.charCodeAt(0)); - while (n > 47 && n < 58); - e != t.QueryLexer.EOS && this.backup(); - }), - (t.QueryLexer.prototype.more = function () { - return this.pos < this.length; - }), - (t.QueryLexer.EOS = 'EOS'), - (t.QueryLexer.FIELD = 'FIELD'), - (t.QueryLexer.TERM = 'TERM'), - (t.QueryLexer.EDIT_DISTANCE = 'EDIT_DISTANCE'), - (t.QueryLexer.BOOST = 'BOOST'), - (t.QueryLexer.PRESENCE = 'PRESENCE'), - (t.QueryLexer.lexField = function (e) { - return ( - e.backup(), - e.emit(t.QueryLexer.FIELD), - e.ignore(), - t.QueryLexer.lexText - ); - }), - (t.QueryLexer.lexTerm = function (e) { - if ( - (e.width() > 1 && (e.backup(), e.emit(t.QueryLexer.TERM)), - e.ignore(), - e.more()) - ) - return t.QueryLexer.lexText; - }), - (t.QueryLexer.lexEditDistance = function (e) { - return ( - e.ignore(), - e.acceptDigitRun(), - e.emit(t.QueryLexer.EDIT_DISTANCE), - t.QueryLexer.lexText - ); - }), - (t.QueryLexer.lexBoost = function (e) { - return ( - e.ignore(), - e.acceptDigitRun(), - e.emit(t.QueryLexer.BOOST), - t.QueryLexer.lexText - ); - }), - (t.QueryLexer.lexEOS = function (e) { - e.width() > 0 && e.emit(t.QueryLexer.TERM); - }), - (t.QueryLexer.termSeparator = t.tokenizer.separator), - (t.QueryLexer.lexText = function (e) { - for (;;) { - var n = e.next(); - if (n == t.QueryLexer.EOS) return t.QueryLexer.lexEOS; - if (n.charCodeAt(0) == 92) { - e.escapeCharacter(); - continue; - } - if (n == ':') return t.QueryLexer.lexField; - if (n == '~') - return ( - e.backup(), - e.width() > 0 && e.emit(t.QueryLexer.TERM), - t.QueryLexer.lexEditDistance - ); - if (n == '^') - return ( - e.backup(), - e.width() > 0 && e.emit(t.QueryLexer.TERM), - t.QueryLexer.lexBoost - ); - if ((n == '+' && e.width() === 1) || (n == '-' && e.width() === 1)) - return e.emit(t.QueryLexer.PRESENCE), t.QueryLexer.lexText; - if (n.match(t.QueryLexer.termSeparator)) - return t.QueryLexer.lexTerm; - } - }), - (t.QueryParser = function (e, n) { - (this.lexer = new t.QueryLexer(e)), - (this.query = n), - (this.currentClause = {}), - (this.lexemeIdx = 0); - }), - (t.QueryParser.prototype.parse = function () { - this.lexer.run(), (this.lexemes = this.lexer.lexemes); - for (var e = t.QueryParser.parseClause; e; ) e = e(this); - return this.query; - }), - (t.QueryParser.prototype.peekLexeme = function () { - return this.lexemes[this.lexemeIdx]; - }), - (t.QueryParser.prototype.consumeLexeme = function () { - var e = this.peekLexeme(); - return (this.lexemeIdx += 1), e; - }), - (t.QueryParser.prototype.nextClause = function () { - var e = this.currentClause; - this.query.clause(e), (this.currentClause = {}); - }), - (t.QueryParser.parseClause = function (e) { - var n = e.peekLexeme(); - if (n != null) - switch (n.type) { - case t.QueryLexer.PRESENCE: - return t.QueryParser.parsePresence; - case t.QueryLexer.FIELD: - return t.QueryParser.parseField; - case t.QueryLexer.TERM: - return t.QueryParser.parseTerm; - default: - var r = 'expected either a field or a term, found ' + n.type; - throw ( - (n.str.length >= 1 && (r += " with value '" + n.str + "'"), - new t.QueryParseError(r, n.start, n.end)) - ); - } - }), - (t.QueryParser.parsePresence = function (e) { - var n = e.consumeLexeme(); - if (n != null) { - switch (n.str) { - case '-': - e.currentClause.presence = t.Query.presence.PROHIBITED; - break; - case '+': - e.currentClause.presence = t.Query.presence.REQUIRED; - break; - default: - var r = "unrecognised presence operator'" + n.str + "'"; - throw new t.QueryParseError(r, n.start, n.end); - } - var i = e.peekLexeme(); - if (i == null) { - var r = 'expecting term or field, found nothing'; - throw new t.QueryParseError(r, n.start, n.end); - } - switch (i.type) { - case t.QueryLexer.FIELD: - return t.QueryParser.parseField; - case t.QueryLexer.TERM: - return t.QueryParser.parseTerm; - default: - var r = "expecting term or field, found '" + i.type + "'"; - throw new t.QueryParseError(r, i.start, i.end); - } - } - }), - (t.QueryParser.parseField = function (e) { - var n = e.consumeLexeme(); - if (n != null) { - if (e.query.allFields.indexOf(n.str) == -1) { - var r = e.query.allFields - .map(function (o) { - return "'" + o + "'"; - }) - .join(', '), - i = "unrecognised field '" + n.str + "', possible fields: " + r; - throw new t.QueryParseError(i, n.start, n.end); - } - e.currentClause.fields = [n.str]; - var s = e.peekLexeme(); - if (s == null) { - var i = 'expecting term, found nothing'; - throw new t.QueryParseError(i, n.start, n.end); - } - switch (s.type) { - case t.QueryLexer.TERM: - return t.QueryParser.parseTerm; - default: - var i = "expecting term, found '" + s.type + "'"; - throw new t.QueryParseError(i, s.start, s.end); - } - } - }), - (t.QueryParser.parseTerm = function (e) { - var n = e.consumeLexeme(); - if (n != null) { - (e.currentClause.term = n.str.toLowerCase()), - n.str.indexOf('*') != -1 && (e.currentClause.usePipeline = !1); - var r = e.peekLexeme(); - if (r == null) { - e.nextClause(); - return; - } - switch (r.type) { - case t.QueryLexer.TERM: - return e.nextClause(), t.QueryParser.parseTerm; - case t.QueryLexer.FIELD: - return e.nextClause(), t.QueryParser.parseField; - case t.QueryLexer.EDIT_DISTANCE: - return t.QueryParser.parseEditDistance; - case t.QueryLexer.BOOST: - return t.QueryParser.parseBoost; - case t.QueryLexer.PRESENCE: - return e.nextClause(), t.QueryParser.parsePresence; - default: - var i = "Unexpected lexeme type '" + r.type + "'"; - throw new t.QueryParseError(i, r.start, r.end); - } - } - }), - (t.QueryParser.parseEditDistance = function (e) { - var n = e.consumeLexeme(); - if (n != null) { - var r = parseInt(n.str, 10); - if (isNaN(r)) { - var i = 'edit distance must be numeric'; - throw new t.QueryParseError(i, n.start, n.end); - } - e.currentClause.editDistance = r; - var s = e.peekLexeme(); - if (s == null) { - e.nextClause(); - return; - } - switch (s.type) { - case t.QueryLexer.TERM: - return e.nextClause(), t.QueryParser.parseTerm; - case t.QueryLexer.FIELD: - return e.nextClause(), t.QueryParser.parseField; - case t.QueryLexer.EDIT_DISTANCE: - return t.QueryParser.parseEditDistance; - case t.QueryLexer.BOOST: - return t.QueryParser.parseBoost; - case t.QueryLexer.PRESENCE: - return e.nextClause(), t.QueryParser.parsePresence; - default: - var i = "Unexpected lexeme type '" + s.type + "'"; - throw new t.QueryParseError(i, s.start, s.end); - } - } - }), - (t.QueryParser.parseBoost = function (e) { - var n = e.consumeLexeme(); - if (n != null) { - var r = parseInt(n.str, 10); - if (isNaN(r)) { - var i = 'boost must be numeric'; - throw new t.QueryParseError(i, n.start, n.end); - } - e.currentClause.boost = r; - var s = e.peekLexeme(); - if (s == null) { - e.nextClause(); - return; - } - switch (s.type) { - case t.QueryLexer.TERM: - return e.nextClause(), t.QueryParser.parseTerm; - case t.QueryLexer.FIELD: - return e.nextClause(), t.QueryParser.parseField; - case t.QueryLexer.EDIT_DISTANCE: - return t.QueryParser.parseEditDistance; - case t.QueryLexer.BOOST: - return t.QueryParser.parseBoost; - case t.QueryLexer.PRESENCE: - return e.nextClause(), t.QueryParser.parsePresence; - default: - var i = "Unexpected lexeme type '" + s.type + "'"; - throw new t.QueryParseError(i, s.start, s.end); - } - } - }), - (function (e, n) { - typeof define == 'function' && define.amd - ? define(n) - : typeof me == 'object' - ? (ge.exports = n()) - : (e.lunr = n()); - })(this, function () { - return t; - }); - })(); - }); - var M, - G = { - getItem() { - return null; - }, - setItem() {}, - }, - K; - try { - (K = localStorage), (M = K); - } catch { - (K = G), (M = G); - } - var S = { - getItem: (t) => M.getItem(t), - setItem: (t, e) => M.setItem(t, e), - disableWritingLocalStorage() { - M = G; - }, - disable() { - localStorage.clear(), (M = G); - }, - enable() { - M = K; - }, - }; - window.TypeDoc ||= { - disableWritingLocalStorage() { - S.disableWritingLocalStorage(); - }, - disableLocalStorage: () => { - S.disable(); - }, - enableLocalStorage: () => { - S.enable(); - }, - }; - window.translations ||= { - copy: 'Copy', - copied: 'Copied!', - normally_hidden: - 'This member is normally hidden due to your filter settings.', - hierarchy_expand: 'Expand', - hierarchy_collapse: 'Collapse', - search_index_not_available: 'The search index is not available', - search_no_results_found_for_0: 'No results found for {0}', - folder: 'Folder', - kind_1: 'Project', - kind_2: 'Module', - kind_4: 'Namespace', - kind_8: 'Enumeration', - kind_16: 'Enumeration Member', - kind_32: 'Variable', - kind_64: 'Function', - kind_128: 'Class', - kind_256: 'Interface', - kind_512: 'Constructor', - kind_1024: 'Property', - kind_2048: 'Method', - kind_4096: 'Call Signature', - kind_8192: 'Index Signature', - kind_16384: 'Constructor Signature', - kind_32768: 'Parameter', - kind_65536: 'Type Literal', - kind_131072: 'Type Parameter', - kind_262144: 'Accessor', - kind_524288: 'Get Signature', - kind_1048576: 'Set Signature', - kind_2097152: 'Type Alias', - kind_4194304: 'Reference', - kind_8388608: 'Document', - }; - var pe = []; - function X(t, e) { - pe.push({ selector: e, constructor: t }); - } - var Z = class { - alwaysVisibleMember = null; - constructor() { - this.createComponents(document.body), - this.ensureFocusedElementVisible(), - this.listenForCodeCopies(), - window.addEventListener('hashchange', () => - this.ensureFocusedElementVisible() - ), - document.body.style.display || - (this.ensureFocusedElementVisible(), - this.updateIndexVisibility(), - this.scrollToHash()); - } - createComponents(e) { - pe.forEach((n) => { - e.querySelectorAll(n.selector).forEach((r) => { - r.dataset.hasInstance || - (new n.constructor({ el: r, app: this }), - (r.dataset.hasInstance = String(!0))); - }); - }); - } - filterChanged() { - this.ensureFocusedElementVisible(); - } - showPage() { - document.body.style.display && - (document.body.style.removeProperty('display'), - this.ensureFocusedElementVisible(), - this.updateIndexVisibility(), - this.scrollToHash()); - } - scrollToHash() { - if (location.hash) { - let e = document.getElementById(location.hash.substring(1)); - if (!e) return; - e.scrollIntoView({ behavior: 'instant', block: 'start' }); - } - } - ensureActivePageVisible() { - let e = document.querySelector('.tsd-navigation .current'), - n = e?.parentElement; - for (; n && !n.classList.contains('.tsd-navigation'); ) - n instanceof HTMLDetailsElement && (n.open = !0), (n = n.parentElement); - if (e && !rt(e)) { - let r = - e.getBoundingClientRect().top - - document.documentElement.clientHeight / 4; - (document.querySelector('.site-menu').scrollTop = r), - (document.querySelector('.col-sidebar').scrollTop = r); - } - } - updateIndexVisibility() { - let e = document.querySelector('.tsd-index-content'), - n = e?.open; - e && (e.open = !0), - document.querySelectorAll('.tsd-index-section').forEach((r) => { - r.style.display = 'block'; - let i = Array.from(r.querySelectorAll('.tsd-index-link')).every( - (s) => s.offsetParent == null - ); - r.style.display = i ? 'none' : 'block'; - }), - e && (e.open = n); - } - ensureFocusedElementVisible() { - if ( - (this.alwaysVisibleMember && - (this.alwaysVisibleMember.classList.remove('always-visible'), - this.alwaysVisibleMember.firstElementChild.remove(), - (this.alwaysVisibleMember = null)), - !location.hash) - ) - return; - let e = document.getElementById(location.hash.substring(1)); - if (!e) return; - let n = e.parentElement; - for (; n && n.tagName !== 'SECTION'; ) n = n.parentElement; - if (!n) return; - let r = n.offsetParent == null, - i = n; - for (; i !== document.body; ) - i instanceof HTMLDetailsElement && (i.open = !0), (i = i.parentElement); - if (n.offsetParent == null) { - (this.alwaysVisibleMember = n), n.classList.add('always-visible'); - let s = document.createElement('p'); - s.classList.add('warning'), - (s.textContent = window.translations.normally_hidden), - n.prepend(s); - } - r && e.scrollIntoView(); - } - listenForCodeCopies() { - document.querySelectorAll('pre > button').forEach((e) => { - let n; - e.addEventListener('click', () => { - e.previousElementSibling instanceof HTMLElement && - navigator.clipboard.writeText( - e.previousElementSibling.innerText.trim() - ), - (e.textContent = window.translations.copied), - e.classList.add('visible'), - clearTimeout(n), - (n = setTimeout(() => { - e.classList.remove('visible'), - (n = setTimeout(() => { - e.textContent = window.translations.copy; - }, 100)); - }, 1e3)); - }); - }); - } - }; - function rt(t) { - let e = t.getBoundingClientRect(), - n = Math.max(document.documentElement.clientHeight, window.innerHeight); - return !(e.bottom < 0 || e.top - n >= 0); - } - var fe = (t, e = 100) => { - let n; - return () => { - clearTimeout(n), (n = setTimeout(() => t(), e)); - }; - }; - var Ie = nt(ye(), 1); - async function R(t) { - let e = Uint8Array.from(atob(t), (s) => s.charCodeAt(0)), - r = new Blob([e]) - .stream() - .pipeThrough(new DecompressionStream('deflate')), - i = await new Response(r).text(); - return JSON.parse(i); - } - var Y = 'closing', - ae = 'tsd-overlay'; - function it() { - let t = Math.abs(window.innerWidth - document.documentElement.clientWidth); - (document.body.style.overflow = 'hidden'), - (document.body.style.paddingRight = `${t}px`); - } - function st() { - document.body.style.removeProperty('overflow'), - document.body.style.removeProperty('padding-right'); - } - function xe(t, e) { - t.addEventListener('animationend', () => { - t.classList.contains(Y) && - (t.classList.remove(Y), - document.getElementById(ae)?.remove(), - t.close(), - st()); - }), - t.addEventListener('cancel', (n) => { - n.preventDefault(), ve(t); - }), - e?.closeOnClick && - document.addEventListener( - 'click', - (n) => { - t.open && !t.contains(n.target) && ve(t); - }, - !0 - ); - } - function Ee(t) { - if (t.open) return; - let e = document.createElement('div'); - (e.id = ae), document.body.appendChild(e), t.showModal(), it(); - } - function ve(t) { - if (!t.open) return; - document.getElementById(ae)?.classList.add(Y), t.classList.add(Y); - } - var I = class { - el; - app; - constructor(e) { - (this.el = e.el), (this.app = e.app); - } - }; - var be = document.head.appendChild(document.createElement('style')); - be.dataset.for = 'filters'; - var le = {}; - function we(t) { - for (let e of t.split(/\s+/)) if (le.hasOwnProperty(e) && !le[e]) return !0; - return !1; - } - var ee = class extends I { - key; - value; - constructor(e) { - super(e), - (this.key = `filter-${this.el.name}`), - (this.value = this.el.checked), - this.el.addEventListener('change', () => { - this.setLocalStorage(this.el.checked); - }), - this.setLocalStorage(this.fromLocalStorage()), - (be.innerHTML += `html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } -`), - this.app.updateIndexVisibility(); - } - fromLocalStorage() { - let e = S.getItem(this.key); - return e ? e === 'true' : this.el.checked; - } - setLocalStorage(e) { - S.setItem(this.key, e.toString()), - (this.value = e), - this.handleValueChange(); - } - handleValueChange() { - (this.el.checked = this.value), - document.documentElement.classList.toggle(this.key, this.value), - (le[`tsd-is-${this.el.name}`] = this.value), - this.app.filterChanged(), - this.app.updateIndexVisibility(); - } - }; - var Le = 0; - async function Se(t, e) { - if (!window.searchData) return; - let n = await R(window.searchData); - (t.data = n), (t.index = Ie.Index.load(n.index)), (e.innerHTML = ''); - } - function _e() { - let t = document.getElementById('tsd-search-trigger'), - e = document.getElementById('tsd-search'), - n = document.getElementById('tsd-search-input'), - r = document.getElementById('tsd-search-results'), - i = document.getElementById('tsd-search-script'), - s = document.getElementById('tsd-search-status'); - if (!(t && e && n && r && i && s)) - throw new Error('Search controls missing'); - let o = { base: document.documentElement.dataset.base }; - o.base.endsWith('/') || (o.base += '/'), - i.addEventListener('error', () => { - let a = window.translations.search_index_not_available; - Pe(s, a); - }), - i.addEventListener('load', () => { - Se(o, s); - }), - Se(o, s), - ot({ trigger: t, searchEl: e, results: r, field: n, status: s }, o); - } - function ot(t, e) { - let { field: n, results: r, searchEl: i, status: s, trigger: o } = t; - xe(i, { closeOnClick: !0 }); - function a() { - Ee(i), n.setSelectionRange(0, n.value.length); - } - o.addEventListener('click', a), - n.addEventListener( - 'input', - fe(() => { - at(r, n, s, e); - }, 200) - ), - n.addEventListener('keydown', (l) => { - if (r.childElementCount === 0 || l.ctrlKey || l.metaKey || l.altKey) - return; - let d = n.getAttribute('aria-activedescendant'), - f = d ? document.getElementById(d) : null; - if (f) { - let p = !1, - v = !1; - switch (l.key) { - case 'Home': - case 'End': - case 'ArrowLeft': - case 'ArrowRight': - v = !0; - break; - case 'ArrowDown': - case 'ArrowUp': - p = l.shiftKey; - break; - } - (p || v) && ke(n); - } - if (!l.shiftKey) - switch (l.key) { - case 'Enter': - f?.querySelector('a')?.click(); - break; - case 'ArrowUp': - Te(r, n, f, -1), l.preventDefault(); - break; - case 'ArrowDown': - Te(r, n, f, 1), l.preventDefault(); - break; - } - }); - function c() { - ke(n); - } - n.addEventListener('change', c), - n.addEventListener('blur', c), - n.addEventListener('click', c), - document.body.addEventListener('keydown', (l) => { - if (l.altKey || l.metaKey || l.shiftKey) return; - let d = l.ctrlKey && l.key === 'k', - f = !l.ctrlKey && !ut() && l.key === '/'; - (d || f) && (l.preventDefault(), a()); - }); - } - function at(t, e, n, r) { - if (!r.index || !r.data) return; - (t.innerHTML = ''), (n.innerHTML = ''), (Le += 1); - let i = e.value.trim(), - s; - if (i) { - let a = i - .split(' ') - .map((c) => (c.length ? `*${c}*` : '')) - .join(' '); - s = r.index.search(a).filter(({ ref: c }) => { - let l = r.data.rows[Number(c)].classes; - return !l || !we(l); - }); - } else s = []; - if (s.length === 0 && i) { - let a = window.translations.search_no_results_found_for_0.replace( - '{0}', - ` "${te(i)}" ` - ); - Pe(n, a); - return; - } - for (let a = 0; a < s.length; a++) { - let c = s[a], - l = r.data.rows[Number(c.ref)], - d = 1; - l.name.toLowerCase().startsWith(i.toLowerCase()) && - (d *= 10 / (1 + Math.abs(l.name.length - i.length))), - (c.score *= d); - } - s.sort((a, c) => c.score - a.score); - let o = Math.min(10, s.length); - for (let a = 0; a < o; a++) { - let c = r.data.rows[Number(s[a].ref)], - d = ``, - f = Ce(c.name, i); - globalThis.DEBUG_SEARCH_WEIGHTS && - (f += ` (score: ${s[a].score.toFixed(2)})`), - c.parent && - (f = ` - ${Ce(c.parent, i)}.${f}`); - let p = document.createElement('li'); - (p.id = `tsd-search:${Le}-${a}`), - (p.role = 'option'), - (p.ariaSelected = 'false'), - (p.classList.value = c.classes ?? ''); - let v = document.createElement('a'); - (v.tabIndex = -1), - (v.href = r.base + c.url), - (v.innerHTML = d + `${f}`), - p.append(v), - t.appendChild(p); - } - } - function Te(t, e, n, r) { - let i; - if ( - (r === 1 - ? (i = n?.nextElementSibling || t.firstElementChild) - : (i = n?.previousElementSibling || t.lastElementChild), - i !== n) - ) { - if (!i || i.role !== 'option') { - console.error('Option missing'); - return; - } - (i.ariaSelected = 'true'), - i.scrollIntoView({ behavior: 'smooth', block: 'nearest' }), - e.setAttribute('aria-activedescendant', i.id), - n?.setAttribute('aria-selected', 'false'); - } - } - function ke(t) { - let e = t.getAttribute('aria-activedescendant'); - (e ? document.getElementById(e) : null)?.setAttribute( - 'aria-selected', - 'false' - ), - t.setAttribute('aria-activedescendant', ''); - } - function Ce(t, e) { - if (e === '') return t; - let n = t.toLocaleLowerCase(), - r = e.toLocaleLowerCase(), - i = [], - s = 0, - o = n.indexOf(r); - for (; o != -1; ) - i.push( - te(t.substring(s, o)), - `${te(t.substring(o, o + r.length))}` - ), - (s = o + r.length), - (o = n.indexOf(r, s)); - return i.push(te(t.substring(s))), i.join(''); - } - var lt = { - '&': '&', - '<': '<', - '>': '>', - "'": ''', - '"': '"', - }; - function te(t) { - return t.replace(/[&<>"'"]/g, (e) => lt[e]); - } - function Pe(t, e) { - t.innerHTML = e ? `
${e}
` : ''; - } - var ct = [ - 'button', - 'checkbox', - 'file', - 'hidden', - 'image', - 'radio', - 'range', - 'reset', - 'submit', - ]; - function ut() { - let t = document.activeElement; - return t - ? t.isContentEditable || - t.tagName === 'TEXTAREA' || - t.tagName === 'SEARCH' - ? !0 - : t.tagName === 'INPUT' && !ct.includes(t.type) - : !1; - } - var D = 'mousedown', - Me = 'mousemove', - $ = 'mouseup', - ne = { x: 0, y: 0 }, - Qe = !1, - ce = !1, - dt = !1, - F = !1, - Oe = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test( - navigator.userAgent - ); - document.documentElement.classList.add(Oe ? 'is-mobile' : 'not-mobile'); - Oe && - 'ontouchstart' in document.documentElement && - ((dt = !0), (D = 'touchstart'), (Me = 'touchmove'), ($ = 'touchend')); - document.addEventListener(D, (t) => { - (ce = !0), (F = !1); - let e = D == 'touchstart' ? t.targetTouches[0] : t; - (ne.y = e.pageY || 0), (ne.x = e.pageX || 0); - }); - document.addEventListener(Me, (t) => { - if (ce && !F) { - let e = D == 'touchstart' ? t.targetTouches[0] : t, - n = ne.x - (e.pageX || 0), - r = ne.y - (e.pageY || 0); - F = Math.sqrt(n * n + r * r) > 10; - } - }); - document.addEventListener($, () => { - ce = !1; - }); - document.addEventListener('click', (t) => { - Qe && (t.preventDefault(), t.stopImmediatePropagation(), (Qe = !1)); - }); - var re = class extends I { - active; - className; - constructor(e) { - super(e), - (this.className = this.el.dataset.toggle || ''), - this.el.addEventListener($, (n) => this.onPointerUp(n)), - this.el.addEventListener('click', (n) => n.preventDefault()), - document.addEventListener(D, (n) => this.onDocumentPointerDown(n)), - document.addEventListener($, (n) => this.onDocumentPointerUp(n)); - } - setActive(e) { - if (this.active == e) return; - (this.active = e), - document.documentElement.classList.toggle('has-' + this.className, e), - this.el.classList.toggle('active', e); - let n = (this.active ? 'to-has-' : 'from-has-') + this.className; - document.documentElement.classList.add(n), - setTimeout(() => document.documentElement.classList.remove(n), 500); - } - onPointerUp(e) { - F || (this.setActive(!0), e.preventDefault()); - } - onDocumentPointerDown(e) { - if (this.active) { - if (e.target.closest('.col-sidebar, .tsd-filter-group')) return; - this.setActive(!1); - } - } - onDocumentPointerUp(e) { - if (!F && this.active && e.target.closest('.col-sidebar')) { - let n = e.target.closest('a'); - if (n) { - let r = window.location.href; - r.indexOf('#') != -1 && (r = r.substring(0, r.indexOf('#'))), - n.href.substring(0, r.length) == r && - setTimeout(() => this.setActive(!1), 250); - } - } - } - }; - var ue = new Map(), - de = class { - open; - accordions = []; - key; - constructor(e, n) { - (this.key = e), (this.open = n); - } - add(e) { - this.accordions.push(e), - (e.open = this.open), - e.addEventListener('toggle', () => { - this.toggle(e.open); - }); - } - toggle(e) { - for (let n of this.accordions) n.open = e; - S.setItem(this.key, e.toString()); - } - }, - ie = class extends I { - constructor(e) { - super(e); - let n = this.el.querySelector('summary'), - r = n.querySelector('a'); - r && - r.addEventListener('click', () => { - location.assign(r.href); - }); - let i = `tsd-accordion-${ - n.dataset.key ?? - n.textContent.trim().replace(/\s+/g, '-').toLowerCase() - }`, - s; - if (ue.has(i)) s = ue.get(i); - else { - let o = S.getItem(i), - a = o ? o === 'true' : this.el.open; - (s = new de(i, a)), ue.set(i, s); - } - s.add(this.el); - } - }; - function He(t) { - let e = S.getItem('tsd-theme') || 'os'; - (t.value = e), - Ae(e), - t.addEventListener('change', () => { - S.setItem('tsd-theme', t.value), Ae(t.value); - }); - } - function Ae(t) { - document.documentElement.dataset.theme = t; - } - var se; - function Ne() { - let t = document.getElementById('tsd-nav-script'); - t && (t.addEventListener('load', Re), Re()); - } - async function Re() { - let t = document.getElementById('tsd-nav-container'); - if (!t || !window.navigationData) return; - let e = await R(window.navigationData); - (se = document.documentElement.dataset.base), - se.endsWith('/') || (se += '/'), - (t.innerHTML = ''); - for (let n of e) Be(n, t, []); - window.app.createComponents(t), - window.app.showPage(), - window.app.ensureActivePageVisible(); - } - function Be(t, e, n) { - let r = e.appendChild(document.createElement('li')); - if (t.children) { - let i = [...n, t.text], - s = r.appendChild(document.createElement('details')); - s.className = t.class ? `${t.class} tsd-accordion` : 'tsd-accordion'; - let o = s.appendChild(document.createElement('summary')); - (o.className = 'tsd-accordion-summary'), - (o.dataset.key = i.join('$')), - (o.innerHTML = - ''), - De(t, o); - let a = s.appendChild(document.createElement('div')); - a.className = 'tsd-accordion-details'; - let c = a.appendChild(document.createElement('ul')); - c.className = 'tsd-nested-navigation'; - for (let l of t.children) Be(l, c, i); - } else De(t, r, t.class); - } - function De(t, e, n) { - if (t.path) { - let r = e.appendChild(document.createElement('a')); - if ( - ((r.href = se + t.path), - n && (r.className = n), - location.pathname === r.pathname && - !r.href.includes('#') && - (r.classList.add('current'), (r.ariaCurrent = 'page')), - t.kind) - ) { - let i = window.translations[`kind_${t.kind}`].replaceAll('"', '"'); - r.innerHTML = ``; - } - r.appendChild(Fe(t.text, document.createElement('span'))); - } else { - let r = e.appendChild(document.createElement('span')), - i = window.translations.folder.replaceAll('"', '"'); - (r.innerHTML = ``), - r.appendChild(Fe(t.text, document.createElement('span'))); - } - } - function Fe(t, e) { - let n = t.split( - /(?<=[^A-Z])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])|(?<=[_-])(?=[^_-])/ - ); - for (let r = 0; r < n.length; ++r) - r !== 0 && e.appendChild(document.createElement('wbr')), - e.appendChild(document.createTextNode(n[r])); - return e; - } - var oe = document.documentElement.dataset.base; - oe.endsWith('/') || (oe += '/'); - function $e() { - document.querySelector('.tsd-full-hierarchy') - ? ht() - : document.querySelector('.tsd-hierarchy') && pt(); - } - function ht() { - document.addEventListener('click', (r) => { - let i = r.target; - for (; i.parentElement && i.parentElement.tagName != 'LI'; ) - i = i.parentElement; - i.dataset.dropdown && - (i.dataset.dropdown = String(i.dataset.dropdown !== 'true')); - }); - let t = new Map(), - e = new Set(); - for (let r of document.querySelectorAll( - '.tsd-full-hierarchy [data-refl]' - )) { - let i = r.querySelector('ul'); - t.has(r.dataset.refl) - ? e.add(r.dataset.refl) - : i && t.set(r.dataset.refl, i); - } - for (let r of e) n(r); - function n(r) { - let i = t.get(r).cloneNode(!0); - i.querySelectorAll('[id]').forEach((s) => { - s.removeAttribute('id'); - }), - i.querySelectorAll('[data-dropdown]').forEach((s) => { - s.dataset.dropdown = 'false'; - }); - for (let s of document.querySelectorAll(`[data-refl="${r}"]`)) { - let o = gt(), - a = s.querySelector('ul'); - s.insertBefore(o, a), - (o.dataset.dropdown = String(!!a)), - a || s.appendChild(i.cloneNode(!0)); - } - } - } - function pt() { - let t = document.getElementById('tsd-hierarchy-script'); - t && (t.addEventListener('load', Ve), Ve()); - } - async function Ve() { - let t = document.querySelector('.tsd-panel.tsd-hierarchy:has(h4 a)'); - if (!t || !window.hierarchyData) return; - let e = +t.dataset.refl, - n = await R(window.hierarchyData), - r = t.querySelector('ul'), - i = document.createElement('ul'); - if ( - (i.classList.add('tsd-hierarchy'), - ft(i, n, e), - r.querySelectorAll('li').length == i.querySelectorAll('li').length) - ) - return; - let s = document.createElement('span'); - s.classList.add('tsd-hierarchy-toggle'), - (s.textContent = window.translations.hierarchy_expand), - t.querySelector('h4 a')?.insertAdjacentElement('afterend', s), - s.insertAdjacentText('beforebegin', ', '), - s.addEventListener('click', () => { - s.textContent === window.translations.hierarchy_expand - ? (r.insertAdjacentElement('afterend', i), - r.remove(), - (s.textContent = window.translations.hierarchy_collapse)) - : (i.insertAdjacentElement('afterend', r), - i.remove(), - (s.textContent = window.translations.hierarchy_expand)); - }); - } - function ft(t, e, n) { - let r = e.roots.filter((i) => mt(e, i, n)); - for (let i of r) t.appendChild(je(e, i, n)); - } - function je(t, e, n, r = new Set()) { - if (r.has(e)) return; - r.add(e); - let i = t.reflections[e], - s = document.createElement('li'); - if ((s.classList.add('tsd-hierarchy-item'), e === n)) { - let o = s.appendChild(document.createElement('span')); - (o.textContent = i.name), o.classList.add('tsd-hierarchy-target'); - } else { - for (let a of i.uniqueNameParents || []) { - let c = t.reflections[a], - l = s.appendChild(document.createElement('a')); - (l.textContent = c.name), - (l.href = oe + c.url), - (l.className = c.class + ' tsd-signature-type'), - s.append(document.createTextNode('.')); - } - let o = s.appendChild(document.createElement('a')); - (o.textContent = t.reflections[e].name), - (o.href = oe + i.url), - (o.className = i.class + ' tsd-signature-type'); - } - if (i.children) { - let o = s.appendChild(document.createElement('ul')); - o.classList.add('tsd-hierarchy'); - for (let a of i.children) { - let c = je(t, a, n, r); - c && o.appendChild(c); - } - } - return r.delete(e), s; - } - function mt(t, e, n) { - if (e === n) return !0; - let r = new Set(), - i = [t.reflections[e]]; - for (; i.length; ) { - let s = i.pop(); - if (!r.has(s)) { - r.add(s); - for (let o of s.children || []) { - if (o === n) return !0; - i.push(t.reflections[o]); - } - } - } - return !1; - } - function gt() { - let t = document.createElementNS('http://www.w3.org/2000/svg', 'svg'); - return ( - t.setAttribute('width', '20'), - t.setAttribute('height', '20'), - t.setAttribute('viewBox', '0 0 24 24'), - t.setAttribute('fill', 'none'), - (t.innerHTML = ''), - t - ); - } - X(re, 'a[data-toggle]'); - X(ie, '.tsd-accordion'); - X(ee, '.tsd-filter-item input[type=checkbox]'); - var qe = document.getElementById('tsd-theme'); - qe && He(qe); - var yt = new Z(); - Object.defineProperty(window, 'app', { value: yt }); - _e(); - Ne(); - $e(); - 'virtualKeyboard' in navigator && - (navigator.virtualKeyboard.overlaysContent = !0); -})(); -/*! Bundled license information: - -lunr/lunr.js: - (** - * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 - * Copyright (C) 2020 Oliver Nightingale - * @license MIT - *) - (*! - * lunr.utils - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.Set - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.tokenizer - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.Pipeline - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.Vector - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.stemmer - * Copyright (C) 2020 Oliver Nightingale - * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt - *) - (*! - * lunr.stopWordFilter - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.trimmer - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.TokenSet - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.Index - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.Builder - * Copyright (C) 2020 Oliver Nightingale - *) -*/ diff --git a/docs/dev/assets/navigation.js b/docs/dev/assets/navigation.js deleted file mode 100644 index 2e5db180..00000000 --- a/docs/dev/assets/navigation.js +++ /dev/null @@ -1,2 +0,0 @@ -window.navigationData = - 'eJydmF1v2jAUhv9Ldos22rVdy92G0FapXRH046LqhUkOxMKxkX2gZVP/+5SUDydx7OPdkvO8j31snI/nvwnCGyaDZCiYMWCSXrJimCeDpFDZWoD5srvwOcdCJL1kyWWWDM56SZpzkWmQyeD5EPJ9jflIa6WPMekHfog5lNQDT04v33uHnHtegFpjIMqu8qWVyr5/RP02/2IljOS6cLSm+pnUmCmbM80fObwOlUSthAA91mBAIkOu5BS3AnyCT6ZK2HB4TQ8JKyvB7BJ2wzi5OvvaP7OmcKNSJsqpgkSeVsgNbEB4paKEWA0SOyjCM0XNEBbbWJU5cnWbvTS/lFo6lqb6mbxn+2OtNjwDa7PN1zKtBrGLqpXVgy/s+a8NNPZbM2lf0Qqxp3UtEfScpY5NcbhEmt515RoKDhKPWXyfYcfZpfXs0/MLe2z15W33rju9TXlFQw1ZiTBhbplki7CkTXgFDwa0oTXHKvVGPsGsnCm1K41yX/RvhnwDt9U2aByNuF3VYluljdz+1beT89PmGVmeTfCGjr3nHLuT8U2gBKbIkBJc1YW7Ya33BMxKSQOhrjiQUHcspDvdKgrllXupO6i8Slqvu1V1rlCWaVfqa+jtnA1zJgTIBdzhKtzODiA09BqmZpGeIxDpeeKY/+Ay43IRrXSwMfY4H9VQrqvS/A88aDFmmhWAoCmboQ35tsWNWqg1xjgchE+wOwGrUZEdbsinGQpgegrGlDcfqsYN+TSjtzRnckGfSRugxH8cZVOVckZfGD/s046ZMa9KZxNgoiD7OiifaAJzDSa/V0ugr5Ib8ms2agm087NWS2mSAGNGBeP0hfGQVOG0MP+lq3GBc4DLuGm5kKAiZiJtIBh/h6u4+BoQjlezyHgbCMZPIFUb0NuhyugnjIekPg+QXW7Ipymfdq7lXJEVbcD/TzeA+w0fcaI4Ke/9RQNDKAdHv7s4EP//HdM8yuAgfIKfgFHxrXpfeOQ3ECi/DVguEl73X9b+PqHvH01hFxHlaH/7IGj2UJSJdjPrBsPvWhHvHG2AFl89z8UqbIjwxmg90sWYHBzhqZbYr0Y19XE5KpzapieYxffIDbU1L+8v/wDm3u+R'; diff --git a/docs/dev/assets/search.js b/docs/dev/assets/search.js deleted file mode 100644 index 43d73a1a..00000000 --- a/docs/dev/assets/search.js +++ /dev/null @@ -1,2 +0,0 @@ -window.searchData = - 'eJzlvVuT5LhxL/5deh78Uq4hQAIk981nw/7/HSFZCq1kP2woJjhV7G5qq4vtuszsSEff/UQmLgSSSBaqq6ZtnxOxsc0pkokkLom8/DLxt4fD+PX48MPPf3v4ZdhvH36oVg/77qV/+OHhx113PPbHh9XD+bB7+OHhZdyed/3xo/19/Xx62T2sHjb2sR8eHv6+clSEbDydfzqfnv/5cBgPnpJ9xVPyTyRorh5eu0O/PwUMBc0UcuL3eOpO52NmIx/804ttTW9xrW7GbZ/bpn32xhb/chz3uS3aZ69vUQkZfOL+eDqcN6fsIfwQv3J987Kopgn0eBhf/tAfX8f9Mbur4Z3D9M4bujyYwX8cXvrxfFqexOFD33Mez9pJTeXTcfuPw/Efh/1zfxhO/Tb11dFXvWV2zzmZTfB78bE45+d8zKb9DXxcPxXn/LCz8Qa+rl2hqdHKX6TcIBE5Xyyuz+LadfEWKVS8TQIV4ZBrKapp8n3tP8MTOa1+7T935tGbWtwc+m2/Pw3d7vjbbt899XmfPL314t+6iY8u87Pf9s3hwjof+8Py3m2bcg9e19b0Sf+8P7/MdRr8dVGjqURblcVE56fusTsM/z70X38c96fDuNv1h98f+mO/P3WnYdz/dPq26xfa+XBEAl+G/uvGE3gNCBwtgfSHms/g2fvNuOl20AswITZI8Df9l363xNEO3umid3b2nbsx8dPp0J36p29X8nGcXstkxTPx/4/jL/MBx18XB1xXsWT7/WH8MmyDlfh43m+QN0ssempZ0hmekm2dj30sSGkz7oHrWpga+Nf9qT88dpv55PR3FvtFKj3RQk5+3A3QqCM3ODIhxfDJZc4n/hhdgIrjvPYuiub0u6xixEvoTH6ukNbXsda9oXNu65kFSZ7Z/rJUv8wAnZOT5JgtW56j+UvXz9SoK1674/HreNj+oe92L29n4IOjc7B0snop0QUMm4f+8dAfn/84/tLvb+DSkjlZMndmEmbIv+4fxxsYBBKDIXH3Hvwy/tLf1HeWwJ0Z63/dPHf7p1tYC0jcmTk3rXf98fgfw+n5n1+6YXeHZQL0vg6n597S+85s//Tbn+7I9PElWw7ms7wbn4b9PboYCX3HvvWM3tapns3v25u/++Pv78HkeHr9nkz+7n/dhcnx83dk8g/9ZvzSH779GPqbbuD2YOktelzfzPbLeXcaHjvwLfz43O12/W0SNiC3CcjdfY869qffW2lz01Z17E+vE507s7k59N2p/9PxFo3tgyFyPubr1Ndvqf/WnYYv/U/jZuhukaiO3B7JHR25OzAd6sQ/XmuuzF+4URc+dl/6gOjbmv8AVDYRlYsdlfh0hsWn/nQ7h0/96bsx+Nwd/73bDdvbuXzujl+A0ndjdbPru8PtfCKZuzIZrgqQMscs70Xw5I3r4Kk/ZQg32h5Mq1xxFn4Vq8KeNs9vYQNfvJGRcAT+w/hyMo108vSNIwE+j/Ew/PXS1p1q9UP48sWOoF/JLu/9dtf/od8Oh35z+rHb7T53m1/ewp2hdLCUNhOle7GK6/Kn/ngcxksugySD+P7Rv383trr9pt/9R5aDMM0XErjCVbjEWFsLNcWvjL7wW/S1xpHk07fXiLXZkzc6TKMgbl5jy1CFhbc5Hl7647F7upqN6bVbOAlFjnEgjvtT/+tp7gpPTpXkK+8jfPimr5JA6Y++eW0vcHflAr+KwatUyQUer1cmr2LzGnVygcurFcpLTMay4So97dKAf8fevFr3XeD1bdrvdYsofyda6tQrt6OrWPTOl9/nhykWePW+l2ujFdf1a6Z7YKlTr3EOXMXcFS6WBf6udbBcxaLfNdAbnBUdyNmD0CWcHyi4neV878u17F/piLlu5+r3W3TBX/ZzLu1b/X6L/vdMJe2G3r4cLsju3syAwdX9+dNvf7q5N48vx+/elxcjGrk9mRfTuLoff3u1U/tCp77Rrf32Hr4Y6cjt4bxYxw2MXoobZTOaFTl6O6P5YZlcjq8MzFy5/UIQ/Q/ZaIbFPRhIXYlouErxPt+iwsyUlyUc8RsZ7CMfxbUcure/K4vD8Tdjtx32T29mczjuPIV7s0q9Dj+dulPGKsLHbvT45E2uqaX5hOI/2XzGbZMmaHk+Ud7Y9BWTIWg+PQHyWUh7+QIjdZYtkPZ8Jd64cQ4M20+nSAZe1/CH4P0831vqozmI4mbTH4+38Udo3J1HJPwJmHorhxGFu/PX//o6HPrjp+HNPRhRuDt/dvO8bZApkbtzedyMbx9g9/I9uKKCJOXnouwFz9wsLP64OEy0pQ/DNndIwg9ZFAdXcmBeuiMXSOqPS+t9xgO+krnAMziwC/KfTvkc2Fe60304SEKBLzJxpZ6cwcfyspwxkLsQ0y3TpRd5F2nbcPPGxXY8f75M/oN56tIXIa9MO/jnckP2sVtaehq+9Pt/y2sOn71Dm4/dy7D7ltmoefgOrb4M2+2uz2zVPHyHVvfD5pfc0ZwevaXF10P/2B8O/RYeymzav3Oe3rmNh/Fx2OW17J68qb1hczofstrzT97S3tf+83E45bQ3PXlLe33kzeVby3XVXmzr3/vD8Dj029w2v0zP3ySNwD+eIcE/+Advae3zcDg9b7uscQyfvaXNv477fgiTYfgmg0dvaRFzMnM+0T9400p8Hvf9v51fPmcNIz69d0/fqd0r5m7Q/p1mcLfdHvojr/hPbU9P3tLe+RUm5XZB8ZxatM9maZykzRkO53evmNma4b6zT96oeW3Hl27I8QqHzX3wb2U5gN03MSwkcqLf1gupNOnRU7oHqxuEbv5rTiQ7Ysy8N2THri+wcTKlJ67lYnrtHkw89932Yl7rnInptTcyQW2T3z52Pjr3u9PrRe8i8/ytiEJHctFcXmr7gyeRaT5zH57ZVePn67pqev79u4q0fVtXBR/OcDiOn39cQogu8jaOnzNDeZe5ujCAEJD8X8MenPXXjmXi1bfgN3n2rmLoBhbIBoph1T8ddr/vDt1Lf8oSUPN3bpzh2aKRaTkpJPNDcIk+YJ1bpt+jlXg1t45K5mK8lkUD2f/TYbiFQ0PkjETuy+AxL4jJseZev5mpcCX8Znwaz6crlkHihfdYA1yzNyyA1Kdz/rJ+20MRnQvqHMtk+P6l4buCrTwlk+XqCl3zCqYO/el82P/xQrEJlinz+inH5l5mKpzlFkuMqyJ3oqffudV9fVkELLSbLQKY7+U8pOP+UhrHElPu9fsy1Z23Q38TXwGF+7IWB1iuH8TMgMt1TG3G/b7HYldv5yyicV/2Xrpf/+kSJnKJtZfu17xcpuvYGg9P3X74a3dbvxEq92Vx2H8ZTFW7Px0u4ImXeJzInA85DurrmJx0rxtYnHSv+zPYbbcDfHyXregsihZP7TWkdjPL4Z71Y5BKlstz+p0b96xM5Weh7av0H+a7L2gbFyfeEntO58ibeBcZDEfR5VzkjuD8+ffQrplWb1CuE9+dk2F7FXeZzpN8VmwE4gIIk2MnePt+LGUbtRxX1xm0i4yl5nWYS3TtHE+/+57zfYGDO8x9pm94ZMtf+s0pA3ufw72llgsrup3ly46ha9nOdBK9jXWAWfyeYCTezDUQy4dRvI3hPHsoh9sr7KI3TovL9lHWXMi0k7KZDOVXlLebK7iYl95DYi01fYOo4rphYdVEgKbreb0C33Qlc69ZycOLzF2ROXwlc4fL+eGLnOUmhF/JVp5UWeTsCnFyJXMZcmSRs1wBcpmtUHKEOXK5giP9znvIjYWWbxAbTB9cA4y+mtsrgdLXsZgx1ZZ4y51pF5mKJxrkUWYBXKJH32da0QZvmk3hh95hEs14u3rupBlKKRBQexhT/a9VIhIvvqciwTV/B2Ui1SVZsNq3MZwLuX0De5CKfyN3lsR3YA7ga/jUrSMOhF4dofswyq2Un16Ob1kn0WvvvUrmjd9pjcSdcQWc9y0sXwf0vZrN61ZKgr83rJMsxt6yShLsvXmNcEwSEMawv2oTSb3xTjCMdLu34TDmX//2/YJnMXejuIahy95rnp9M//U17OTZczxLVxhz17CVoV7zPOUq1xcYmi24K/ai+fPvttjuuvskvvvWbYdj8rr9Jp+xzAWX4Oia5Za5tWQvtuSOct1Sy9uGMxdaagO+Zpll72q/O71etcii599tkc1bvXWRxd/NgWIeuwx7luPw5bHLNWjzWTJVsd7ATV45rXxGrlhcCW6uXVwcS/P5PH6+bj6Hz7/ffJ61evN8jr77DvN5zuHV8zmHJZqgcRVH+Qka+Qx9NqkUb2fKErgHY7PZHdasu2qap198t/m+0PytE5/pkttXwBLP1y6F65g8ZFcmvMjolSUJ85gNp2WY+5M7I9PvvMdkXGj5hnnI9MFNU3CJ0ytm33WspfP5rubvlpy+PIeRzQoeD5dyK5bYjAhlZVlcZDRcGX+yh3rmror58++xIphWb1gNie/mkp8vLwOOvdz5v8hMHMwLypvnh42TL71PgI9v+qZQX7ob3u7uW2Q01+N3JVu5uRaLvF2VbHElg/lpDYssXpnXcJnJCN/uTyPIXQ6pN95jLbDt3rAQkl//9lXAs5i7BK5hKA9pxfN0BczqGrZylyXP2FVr8hrW8oBzPGNXoOauYQvryX26hbGIwj1ZM1XnbuItJnFP5m7h6nuwQ0vcXctSft27q8QEqQl3rZTILhR3DVMv/anbdqfurVwF79/IVoyRsIdK5qMjZi/cuBUOF+P36RY/ZJk2qQ+8aYRYdq4YoGWmwvH5/8zJo7mjM3v8O49Nur28kZl/2sTEdD7ET91jdxj+fei/QtX+w7jbQf5Ef+z3Jqn0p9O3IJMCAn8hf1lvv6GPdGi1jy/dadjcgYcPIbFL3ZfXMUme9+P+Hl32wdL5jpw+nne7nzaHPjCnb+AXqB0dte/I9Wv31P/03PenezANxI6W2Pfs6fHwcjeegdg78Lw5H4CcPc7jHoxbihtP8btyfzyNL/fh2lL6jtyC5/xf7roageJ7rUho68e7zxag+p4z5nV8hSbvIlU8qXvzO23diaqZv+m/9DuWf+6Fmzbo4+kwBufLXNXmB//y5QAT861Jnr723S9v5Mi+el9+tv2XYROcdfFG3gyZTUjmDnwuTqifTlDe4enbNRy7d26aVuZbf/d13x9MocLxpT8dhs3xzZzY7huBJJy69jkk+YZ+9F1zif+7cHw3HmNswNvq7vLv3WgPnYbTpbztC21/cCTe0FsXMpWO58934C+gcn8Wt/1xcxheL7tKL3EZE7o/o+YQ5z/e3p2G0Pfr0f5Ltzvjg78fd8Pm223cTtReHbX7s9wtqARv4jomuLME78/4Y7fbfe42v9xhWjhS33OpxXv6v9gWb1138Rb/OFG9yyeE0t/UVcivOT9//kZpn1N5nmk0VX8+L0CX+GqGvbfujhzLmbXp7/0ZecVEOaaTtUTvzWJWNXuOw1RN+3szmBVO5hh8ezA5n8Hdu83VfxQZsmiR8bQMwuJ5V/IcvnOjLNr1/dfuwu6+0PAH/35+10RfzKkfr8/9S3/odrYu3dsZ9JSOntJ9WTVesp820Mzb2TRUjo7KfVk8H/vf9E/d5tuPdlu9WF1widXzsd8htY2lds4qM3g1yz/9S8pHdBPfx8cjkvwy9F83IcmbmZ8v7rCs4hXrO/HajUv82gnKcfC2OZrqhjtPU5bhm2bqMuOJatx52iR5+B1UyVSLb9cj6cfeWYlMMntXDTLzA/LUxyS7N+iOmcxlKY5J3t6uNWaylqUyJll7u76YO6Td5rmHiXnZT5QeV3h/N71/SY5ksnU+9mEdpbd0HcDpgpJAV9RuvsTcVWXrY6aur1d/iZn8QvUxJ1dWqL+gu4dVr6+Rabdp7YSDq7WL9DvZfPx59TDst/2vDz/8DcoKoyb9w4Ncl+v2YfXwOPS77fHhh58dknAzvrwAjdXDdtyc8fLP9rF/7zen8QAPm6c/Fg+rn4uVKtdV2f75z6uf3ct4A39wNKZf8EXxsPpZrCq5rlQZvQg35EquC92sypVYS1GtqpVci3al4J9NtdIrsa6LalXbv81KrnXZrNqVWGshVqJYiXVZ6BVc4xtCGgoCKGqlVgJIlqpaCeUugKosm5Wo7bONuwN0CylXsrC/SKCLF3Il1k3TrmS5KteNUitZrcS6apuVVJYbqc1bcW+IqDckfLRclc26rnXUHXCnWZXrQkJj5VpVAkibH6ADikatZLOq1hV8U7uS66pqVyWwKvSqFNCVVbUq4WXRqpgLGXFRAhftSup1I+JBKScuRGGbkPWqWNe6Dhqlja3KclWtRaFXZbUq17qtViX0t25XpTYsx/yUET/Vw+rnsk5NkiroFdoZ7KevyhoGqa5XZeO4aVNcVBEX6mH1c1Wsqmrd6nhsFM5htS5KjVO1KfSqEiu9LoGuBNLlCv5bV2Xcgopa0NBCtaqadVmKqAWNLZTrSrkWWjPLlTSTu4Rpq2EgamWnnJLQtlg3WkHj9gK6HWZIpd1FjfNzVTXuByAs2malCvuLghbaUq+gtXXZNCtVulswzYuqWcFaWpe6XClHWMH6KeRKNfZvuyrWjZQrDXRlpeOu0FFX1A+rn7VICZT6/w25UEfd0bByofmucqGJuGhZudC+k1xo472jYAUD3vp+kkGQTUywK1eI//uXrog3MSFZSSnkTB0Q8d4jQPTDHJpPMrxVrop1W5a4xmWlsCtFXZtp17Q19Ck80Zg1XSvbuQq+G7+4VWZqKqFML5eyNb0MF0rB67VcabjVFnKlocOKRq505X7BDmtWWrsfUNJIsdKN+wVlQtGsauwxIVe1cL84wnXpLmDyi3pVK/eDtvRqR7huLH91a59pQIhV1aoR5gfSq/EOKip+SCrb4esGRAf0TGPlg4J9DARXq2qYW3KtKuyPcq1XDexrtaYLI94zBWxwTZlcGHALprSSJcjdci1VaaRs1WgQoXKttWWoUNB/cl0LsWoqXE1qBSvZXICs0LImrMSbq4ANpqmTrOD2CixUojEsKC0MC7WbLk1lW9TlqmmQb7WCnoIf2mJVrRstCAfxniZAprciOQi17YyqqE1niMJ1Buw3wIkCmWSlIzIiW71qpRWgbWlFWFu5X1RScsUbiwAJ3+qkCIVbtaW6wJOX8445BVNUwb7bOi7NlilWbZPkKd5mBEj5tk1t/qKdy494T5AFTuciNc5ybozIWJBLlNaFSL4t5m8T7V3i2zL59lzyyVjySSP5ytR3y3L+drzCpVnGyT1IVvO343UqUYUtVGpu4j0Qu5UqUcVqlFg1ICWbEsRusa7b2mhOhTDCttICtKJirSUqQ7B5aCN+UePBGSOE3Vd0CRKwWteVMpKvKmsj+eCiwSZh7sAvUoGoR/lbwhVuAyCqC/e8KBp/1borZFPDv3HLVQ1cgRyWoLEIkPAS2LNqn1oJofy7KOVhHzGaH6h7wreByp9qWtK9seyRKGBkUv5KPR+cWG7IGt9OasN4DwZHa6vXCl0avUJUlRkNXZemy6EDUEUoKmE0A91I0AOKdQujAZ8smsoMSy0qEPViXdWV2c4kbD/CXjT43VqvWtx/gBoORgNbKnZtjd2IGgQMnSxQxLcrAZryuoSOk6V7A+eGuVL+rvZXtacy0Wvd3bKwXyJQoTO/ScueKEv/W2WuSGfHAlE27I6FtzKEtJd/uGWpRpstCwShl9uiBOncNCuBiq4oiEolY5EoW3bzwls4g7H7cEGAeYFdAcsPFxuIFWCrrGvDRCEas40JI50L/CYQ97AES5DTBdArWzSexEpUBd4kfMbStyzYLQ5v4diClAB+W1CbNFpKyvBbSW12EVVLw29VNoZfoQRsduW6lXazK1QFm535RVQCdABN7JcyFu+lYHc7vIXKpZJmIWkQQa21EIwKIBrQh+S6hNHDUTZcFqXREmHyNjC7GyFhhUiUVyi4FAqmEu1EUUl/VdqnYbW63+B7S+j8SvvfjC1LVJwy3n9K2FBg25/PErxVWqGN+3QpVzUy2BoDFgcB9eKqNLYB/GI+DyQ0LPNGNjCXoQMEDIu5aOGLW1gKVmus7Hfhb2ic1BVMIFAHQI4JVaDmBlfCPaekeY58IfFM4R6pkntkOd8jy3iPLHGPVFVy/Od7ZBnvkSXukSrdvWr+drwFlLgFKJ3kfL4FlPEWUOIWAFp4YmHV87djmVY2+HaTbLuZvx3LnhIFjErqY+VcHytjiVChPqaTvuFqro9V8YKtUB9LO4KquT5WxeuhQn1My+Tbc32siudahXNNJ+daNZ9rFfFZ4lzTVfLt+Vyr4rlW4VzTKvn2fK5V8VyrcK5pnZqp1XyuVfFcq3Cu6eRmU83nWhXPtQrnmk7OtWo+16p4rlWo+ieVd7yFaoIqrVmoG/QXgYoi7PZWwaYGamJlxC44Q4yCAE4Q2ODQf4E7nPF1wA5XriWK28LdRXELLhEjvkA+a9wIQRFCkx5+qoX/Sfqr0rhMRF35n1CDxd+0/80zgpY9MlfbFkgPxetJ4Xpqkl2E91Bla0qj+rW1mLYu7Iaqbq10hy0KO6FStmNwH8IPUBL8m8LtPrinVeCbakr/Gw4FfAFq6OYKVWVwgjS1p9JYZ61Ac7CQxFOh4hWvcMWnp4AS9vsK2Rgdt1DS6riiNRZHU9bG/QraP6g/6wL6urZenRKNEdAf0PODugA6ZI0zTTbWUwY+QFSMgR5OKd26edGAs6hGpzK6gVF/bkxH2CtUiusWfMPSX5X+Cg0hvII9FJXVVvur2nIGc9f91torWaDBpWknxoJPYRwpbcYqaTsRVg56z7QyU6MEnRa1+cZ6B+EWjp8EFcuYF2D04BzB2YszAzZkMx9K8GnhfMCrFn2NoF8WuEBAdyjA5Qv9LIvK/6b8lUZdFK5q/1tj25AF6vyKaEEqltsKw1ciPYNKN4OUXKF+1jjdzn0zOKobEzEwFopct6VbFzUMIq6BEjyM+M01aM74zeYKBxL7ofZvNK4pIdCvDM4l9DlTvV/Fu4jCXSTtWcZ7LgKSCGmgk7m2nwfuGRw+cC2j1SWsLQiCzTiHlfMJS+fxdd7PWhgLsKxbo9Y2dWvka4sStLBRDlBsbUwEFUDgwYhSkASVkwQS1X9dlCspbOhGYpxFFzQ+RkJwCoc2qUQpFQg/NNSbGocYZU9rJZ6JARRqEobo6W/LUCpSxT0l6mAIUWDCioR9BgYXzCcpiQqr4s1ZafyG5AaJ91BMlFYrBwljBhAc9ZX9BfcWpQyDjeOw9RMRrgxfFUxb9FugjQXBDNDAJfgi7BXMyJo6T1WsEyjY5JukQqGcB6KVxj2kYMtFAwo2DNyFnGO5bm03y9pOsbZtwJ0Ok0YYG6MWtbExRNNYiwLugZ0s1zWaeuh9hT5ATwIIGbtMV+DEgc18JTHogxfaXdSWqEQnQkunWqzHKNRjIEhUr8tKxZ/cOCkixApFgDLBxxoYxX2pFNa0hcVmoiduJwYtHvcaUGslhqTcXiOtE6bQtVlw4Naqhb3AQa7Mtg37jITxt7EOdHA1aFlL+5RA4uACMTuUrt0OpWu3j1T1Cpw54GBbSVwSCiQ67gL4E0Za4QJXFjjF0YuCPyl3od1F7V7DDZOKtljVU6jPlUmzAu+VKJwaE9VF55y9MN0IEdUC4zmN2czB14gdCxsOfrtsrXOrrky/StevpVCmX+HCdB66sJREJ5VbUTDVzIoyV9p2Ak5No4dKsxVWK4n+EfAdywq7byVNdAkEXjU9VfkrnDHQnSag11C5ESt+GhU/Ua+qYl1VsQmoi2ANGl2nUdNKMzs3smPmUNvazzJXJozVOF0N3Kto08Nqs+INIoHC/4Z+NlhuGJOUGr6hdjcrEKgQLZFVa5cehiPheSXwl/hDdawBakT+qKQXXXsvDYhDHDVtI34+0AdaOwZGndezweBVsW7stKhLMy1qLWy4r2ltwE5qG6eT2iyuprbezAp9iRh8U06nL4vGLq6mdeqfudI4ZQQKHfMcBrfWNXg5VOWvUFiDxqq0v6oddkA1/rnWfo8u3IVwz5s4JV75FjBSCRxL7VvQ2gofidFK81vjr1p3VRtjiewHOlYwNSqYddIu13PLWscamuYBRnpuWOtYJdIVNp006vXcsNaxBqFRg6iTRj3eM/EBUKRMLL01KgPo+9Z/bKW2auyGDM+YvQzWPaqyCroTFViYYwJxIfhbaaLBCsU0qCbGyWefwxArXuEEqkH/x60eTC9Zo9sW1OBa+yvbBvlmAivS/FamdbR7l+uiFebToYu9KCkNoKWeZMp8rzYyUaaFTCBG0HEPwgA7o4L5itYn/uS3djSL64aChGK1RNcLMtHpJbAiTXihsLpUq7X9IlAl8YtKJ/Ir+LdhG6+0DXgZkd+CWDOfgpEttGpQ1KEhB5YOCkLzGwjCGt2q+DEQiUAbHwxI2RTuuUagdSBWsrH0yEfHmolueA+AnjQTbXXdqjbfWrXOwCmEDWDDGKKRj+Ydfj7Ii0a5CzRlrCGjW2fMS9QzW/ue6Q6YneYzoXMlmkhKUyESawC65U193brRqxHqAXpiuCLRBrYAnnJah8hfU/o5CKLbDCZcoc6O6xC3N7gy3MOkl9qEIoQdGryLkxtWpGz86mv86mtqf9WYK/K98Q5eF7xhWrsdvLaejdJCxVRt3fK6tR4ctByNV0FaCJCyMqmSVtEpQa3G+IlTq+HCuMYaZ8oXYP+hA75Egxu1oNrpLQr9J2jAg9sK9RZzVbs3jEGHcqJ1d7Hv8K4BpsAcavzdtnBv4FjUZRP3WB2rArXg/Ri1cwap1uqGRe10bdg9cVmDPoefpa1rA+NzEv0YwirdyvoMa+lUwaas0N4Xaw3922B31K2dVIU3s/AK3ToNzMRCWu8X+DjKdQkaf1H535S/QjWyRheH+6mxTUiMWddgoeAcRZfh1ERb+d+Uv3JON2lgFvhb469Qr2mJv6iOt/Na8ioX3vN2nbAXJlLk4skAwvEbgkCpWCG8TRm5bnY7Y9Ch9G9d6AcNulo5ywxnXg1zRjmLDsYSL7T7RVeWflkURsGEkKK9kO6iTGiadayH1OgNKpI++roMvCsOWJpwrng4p7HthJlmhfUnqjrlW1EOyyWcTwUXpixXxkdYOOc1qgwYZyydhw1nFM4+OS3a0sreCqRGiwpcjRPDOGPKwjpXVughgpslaidz1Gmsa9UVHwqonfupFoxohl2hWWGss2zqQEg74evnq3Ut1kmxHYho1OsRToufq2GbQe8gUCvROwjKVYlwNhDbJfrbZoK5jpXCWvHxklrl7agYklZNubiPut0z2DMNqhPWut89S3QNKnDZCXCWUlBuHat3NapwIj2LnXqHrklnQKOQbOvAkkadrFBWLSpK5xsEqjNLGtEhxjMMc1RHBjRiCZombUDjrEZMEM7bBhQL4zyEbQfRprjRqNZSkQg4xSuDgATQN0oVeA6Rs2sN6jC6uCpQZhBxYq5a9xwq4DMDuyaQc1QY0zCbug7RAYEz0URWZGvxAkarbFuPDnA+RQcTMHBQZWMKYOspH3lJuhmdJzNwM2JPANgDesJEY6AnDN1SylSUpY51yBr1RJk0g2qnQ0IIC3sYuTCKM3xqiXYLfurkIUBHIwZFwDoo0Q9XwWihI66WwBkoToDTKeFfcJfwGKuHNaqAMukorZ2DSBn4glwLhzhvtEgrvGammCkIjrLZOk1qsqixgO5rurgqWvwQiZ70EteNbknIro71vgZ1uzIZAm+KICCBnV04uwsiEkgfXPVGeam0QcphIKQwMZvWdntRKtvtiKfHbocghels/K0EjEyliTBsYp2rQb2qTNrXjfgv7fbW/YZ6f1PSD4mVmgYDXWVyjjcuCFYJFykV5ZJxiPxXQuRbiZNF6K0/hGOhzVdKZyWWmPmA6B+EhOFqhjwi+I18X6y9NKihlHXy+5z2UlX15JRHH4/DM4Mv3gRBgIOZfe+tefPl3iXKmvXOYLf2bImqkLaKnRk71NnQxAe5UaIqqGr6lbEK0qCaUaUXj1dBGpX6uoWPMmgtcf3XJb+psv7QEuNf4L8o0XKqJfFfNLHi0aByUSW37sYpHo1qLA7NQ9Gh59BOKN2iq9SE2TKLzn2cqpzholq/tbTebi+d7gg5BebjYHnZxQaaCMLRBI1qNbES0qCiUSUjc80cctLEW2+DyHhQBmAE45fniJOG5EbZFKhybeFx/tU53KSJt5gGPRCQODOHVTVzaFMTy/UWZXeVXIBtEWBFpUEuN1Pikct2QsC2gaEgoBRTj6rGQENLQCWsG7JLtrG4bgXbde0cINXGIrKVTNe1cx9uG0uftuS7rp07cdt4Vbe4clVyVbdzJ24bL5sWl4ZKamrtHB3VxlO1xamqkhtcO5+qbTxVW9QE0wjEdj5X23iutqhbqeSCb+fTtSX5d6j1qCQqrJ1P15Zmy+F8RSV/Xel4wM3N+P3gN0sAZg/o4grikeR9l68N3orSposp65MSJlfJ+g/gF5MLoF1cGLRKdDXBhXEoqxU6CEDoITS0srHRypkgjbWb4YsE4kbQUYLRSKBjYi8gM3HLkRivciRLo3aDBw/NDnPVOhbQ7GgamlFUkES3AtWINDzR3sTtpTGmrmxra+q26O6vnYgFiOIaPfS6NKlMq1KDZADLvYTcP/ubNr9RtkgKXYG7v04KJnMT/e0mPA8GtRsGxOsip2CjK1QcIc6qMW0HszJbd1UX/kr4K+neqEvzG+WUpKUVJrU7uR7MTSM7CzllpBkOG/QHVCYHDYfOXtVqpdaaAqQMsbBllCF1csOyN60JhMh0xLNYE8hYrLIywAXQGHBM0UOIvEEQqES/B4RvAHJvsBZl3ThbqHZIjLIp3G/oip9ZRYaZkHPNo5jNTVSs3WrDC48FRKPNJG1ZHIyzWG1otHHzErQONCww+GTSUSszKwwAvlTO8Vg20iLWS4ONwiuHZy8RKA4Wbomu87KajQ3JkyvqJUFVO/warHGXNWDmL+yr6DDQakofMN+DPEIkGJIEVpAI665ad9UWNpmgbJPJBKbpkM+G3XvNPZSHpVy1DtKDMVjhshpbC8oCHwU6DCCYa3OitMm1hcVvEp+0ywIAJ5/BoCI8w6QswVRE7xg0Y/xfkKsJEsPcLVuTl7AqUffFm+hNxp8QigAiEH2G+FPtLhp3YWzRVVWgcKS5jgVJ4itaTDllZGNrlrbFBiFFTDqBZGOEtlQQ1gGhX4F/1v6kzBVtmexzmJxdgcE7T5c3N83shwdA7gIOrTAJ0yt4rQKAKGljlvCNGd9FWsTiTZjqdeGH2jYBlXCgDYXGfFU0RlitwMBNiS2aWm1yq0VScTI3s9qFILZpV+DWQ7V7QbOyMZ8YjOVku2XQp/OuXIF+q9c1LX4haJKyyVIWySxEc9PE4i0O1lha8LxeF4puNTQTGdOBqzR20NycfUGJHQbzA/K7kl9AZLMw4L46oVLbe27Olyb8WweT3+AHa6zk0NjJD7BtsFhpu0RiYlZvBfC+VM/V2Q379lZADCqazL6YyEDM3a1kMqhpbpqWjayTWBvFtAwBV9Me+EaAhIIr2h4RK8J4BcHDtZYl7eI2bE/g8EFRlqlB44SEzbuStmQLbZBIE8wQrmTSXDA3p73HpEJW1tPfeLetRsSdtmlsEhPBcFsEt5ZZrWhlS22di40wDJqblUTMNM1cFCR5WWA6MmjXqbHAm6n1A4rMWgk6xUhus8BsZdAFksQ9qDyo+wG7jqlHgp1Qg4+rdpVIkJK90sberWTtLhp3ka6+QTKnBeZCV2kPq7k5TX+TgdkE07/EEj01IqOF22tKmdxrSNa1wDzqqkxXOJDVhZbhRbPOS7/JlelNjiRsC8wwriB5NFVlIynOIF9ZI14S1CK8oo0QcYaJyFUao2lu3nXu+3mOrLqrJj33iQTENF5YMimtWNbJ/kAJAHpmVRVJ8U5ygwVm5VZVWqeRjV9g0kC4IMvWxS8hddLIWYiYAera2nQA5LFXlb2CTTlV0IIkBQtMvq1g9qbmQGvqeoADkYYWVGNw/eC8ClIcZOWTHQp7Bf5BoxSbsDukM0Ds2MQWqqq0sYUK01fNb8qmOFSYvmquan9lCutQfYPkEQtM3AVzaQ5ZM/d8xZLSuidXaFxBpRIwQ9UanLIVetAgE6hSRbJcCUkQFphRC1iZBKJMlHOHmiApuAITVmFMU++b+hDAbyNWaOoDUBz4xRJhJZbsgJ8M43RrIsmwAtNbwQGdGv9EOqwg+bACM1wrzKwBXzIhMPfDCZISKzDJtUr7s8xNjENBSrCvH4OGGdR6kMaigDHEQcStTimnmSq7U1MWiIzCTNkqnRorEpm1gqTWCkyWrdLZseYmliTQyqfS2LicMOgigLw3xn4Dl4rJQwTDFO15KDhRIlS+gWVj6kqBEMTCUi2ktOvK/lZhAaamnY07EUOYoMt+8tyNKEhGr8Ac3Qp8JoldK5HTK0hSr8A03Sqd1Wtuegtdud0Ac7dgUbpYBgYsAKznTXUzDyCxvyxbPyPc3gHIeyOLKi2TBjrJHhaYD1ylU3jNTUT4SJMLBiPshxG9WGuwYSSOGV61ftinEVUtHb1Vhb47AAVW6LszV9pf1eaKMk8kCaYjV+lMWnPTORd9jSR0YCLKAnyJiB00GjbsQxVmsFagY9Ruz6nQdzf3KJJUaFGVC4LCJkq7wk2OmcnTKdELgRsI9iBAWyrEwwO2uMLkWSgHgxiCNW5oCHuuBd0mSJK1wLTpqk56xEUizVqQPGuBmdMATUythESmtSCp1sLkWgNOJ6F3JJKtBcm2Fpg/XdVpT0JVLw5z5uCuqroxDmbKCxEsVbM0zM37DTORV5gDDcl6yVFKyCuSNC0wyZjZlVUi8kGSkgXm11ZNWt6phFpAEnIF5qgCKilJQDpN2o4uOJO1KbQGQMh56TNATUG00IRszW/BFGhkcrhJoqxQ5cLcVX5V11hisbWWSuNMFkiYNRfK2S6QPb2mJTwEyWkVmNRZNekZbzJeXVUYE/mRetorTFQCPb6V3SFwU0FjwTjdcddovCmBarW50v6qSe4fJN1UYOpmBVB3sJZoBykbSNGu3I4NEgi88MmaymRTWBBsDaF4HyUwoHN0RyBgFeIAVetyMyv0Q5srjKzMrCCSWypMAinjOVfaW0GAZqfV2kCgmGJvxk4pjOve1uc0TEHPIisQvK7aMmmdk9xRYTJEwdxL+GNVnZQqfhHAdrouIKHJyxmAfNrQmLEhQf5h2Tt4rgLNIjX5iazDdMSqTfsD1eS40omRTMR7BJYiwnQdP6Y+ooOavURMhh/JFaQputFt/JWNC1HmiUDE3EAFVe5SK7cNxUkQcET/CuwMwvdWYJx66V22Lgg59Sq2BVeUMSJoMZdPMV5/7RRDYctmYdGf2taJM70rsXYm9KmEsTeanzCZFoVLpUdxZ+rvQmlThIHDcwrh35DfqnA5mavKXyl/pc0V+RqSiSgw600xXn6fi1gLW3ENcmNNqK1xSRuVhSFBndXKlJG0kFrArGOsB5xOmKYHCGMHpW1tQSTdmmAPYHGlTTv09UNw3mF2Ar7aWAeHqS+BMPzCpF9rFJs2u0MXNp/NpARqiaLUvlCbWJNG9GxpAEboKgD4PVbHRNcqbOFQcw4qzSLwfKVMsb2VMrH+lTKh/pXC7EloTmGJQPilsn+V/avt39r+tRSFpSgtRVPWAyhhWWX4xVI0KHw6mGQLxiREKNqZHEzpxZCoJxemWTxgvaD/AN2VOO8a8JziRMU4u3NhKufCVOjCRA+0TKF4BEmJFJjlqBgXpvYuzKYN7Gcf2ZEIGZI210YZUYLc1QhPEsnYEkmsFLpa0LLwpqlCEtQJ8+Cz0peuRT9QIQPwGe57iNkstL9qbKUwKaX13xi5CT1oEIR41+BAESPh/DwKqzVXCP8p/VXlr5JwNUHyQAXmSEIGd7K/FZkNZsvEFQkZRL6eKQBKrI+7cZVYgwmCewKWkinr5CSgJWoxel+mTT6tQ1vAKdiTyYfbN2DGJuVwUgkVuhtApivAUib2R5JaKXS9YAvo9K79PWwBkv0oMIkwnTwsdML3QZIOBSblKcaHqxO2BMniE5ijxpmMdcKYIEltApOv0BOW4MCntWHJlML6TExChMJy0nZL9KgGM/DoNIG4nVFwceAlej5a+5vCEwjmSi/JBROYJMUNfC3fbeBJspbA3CSVBsuKOuHtJMlMArN+VJXeAOqEs4CkCQlMvFFpkKuoE84CkqkjMOOEsyfqhLOApKiIegkZU8/hh4LkfQjMsVBpzKrwmR+u+kwL0g9BIkVQ1tSXmi4L7UyBaSt06FVl0asrhVvnTPaRbA9Rt0vTrn2/aUeWu8nQALme8B00ieVO8ikEpiUgOHzdNuS7moTrgKQxCIT9t0mgrWjmOF1B0gQEAuq5Sdck1g1B4AsDs2cmXZNYNwTlLhArrtJ4XXPTl1pH5zDiTMwZCQ7uB/qOEXSgFkq06SHlxEw8cL8qhVGfmoo3AlQXjV6YZ41+t3lGIPCiqRdgfU0YwBQYTatsFToLsWmlgarQVmi592ZpLJv3cRAQFL5AXL1KY6rNTZcWi7xg/b3KbHrK9kHpZBDooEpVyRg6we8LhNJzU6Et3m0qEEi/QJQ+NxUSqH5BYP0CsfoqDRQ3N03ylhCJBScxYQycj7Z0loxWmbYrTykMY1ATmqQJiHYpctC+X+SAJCAIk4HA4IgSKQiC5CAIzCpAMy8hlxNZCIKkIQhMLFCqSeqRiUQEQTIRBOYWqHRhXnPTZMA63wrajDi46Jwy2YDgeposRaWt9WhGt5ohREg+g2iXIgbt+0UMSKaEwNwHDh6TyJUQJFlCYu4DM7wykSwhSbKExFwBZnhlMV/EkiQXSET1q3SM1dw0WWGmCIPJLvBuUzPO4Cczq7gA3/dkDeLool9POyCK0knQiSTJBbJYWNDm5ruMuCSpBLJYWNCymC9oSTICJOLs04alLObrWRJcviwWlHtZzNezJLB3uQR7l8VcuZcEjy4Rgq3S4W5zM2/GoGRAX/rbZgw5u6BY0OzNzXeaMWSJG5x4WkZIkVjiBAQuEZzNzBiRWOEEzC0NmJuZMYmjsiRBZUtzIhYzY8RctZcEcS0RJK3SVcrNTbQDsYiVqaYgzdRpnUEI2S1msMANbvxhUDbIICQASVEiSKx2SA44eMLMKyzuiG692akSBLwtDXibmUJCvdsUInhviThsOGYkoalJkVjzBLgtEU4NPZScg4k1T/DX0uCvuTk094dJAqiWiHdW6WQxc9MccaNsmQuXNg4nq1WmYnkQu7GhMWlT7aBOsPHmwpWZE6p1OCj8PwJ9EN6D+BldG+8VoHAqOz1KWiZK0kOf5IImb26+z/ygx0khiJqbH6kDpWYnSkkeqSWTZ0oREYGAZZVGEcnUsVL0XClpRERSyzQ3EUNlam+lRAVUycoWFcqeO3OFrKBHWcklWSHfT1bQM6DkkqxInQJFj4FCNLKq0wqhTMgKerSROcAoXbXT3DQLGmAcztA2kLxWGPENgxMa2oi0pYAPSQ8vkksKgHw/BYCAjKU5kogZkTKhABC0sLRo4SQQUybQwpKghSUielW6HKksE8ubQIAlInpVOoHW3PT5B5PvBDG2lQgGEg/QgGyflapVakgJclguIYfNzfcZUgJIluaQHnAZ1mtJuyOhxBM0sURwsEqnBZubWBbQ+UvApEZ3OOKQ4FeT1Is2FySbBbZ1ncy0kwSOLMuFuJu5+U49S4RH2SzYVwnQsSSgY4kYYgYGJBOgY0lAx7IqeNCLTJwlJAkcWCLCVqWhltLDgVutTNE6t2bA94mYXQj/+9CvhwYYOBL6QBGOpPzKKinARBKMr6wWYm2yerdYmyR4X4k4W26wE4cfSQLMlYizTQc9ZAKXKwkuVyLMlpssCVyuJLhciTBbJmwjE7hcSXC5sjK7bVpxSpyDJAmYVlZmt00rTomjkCRBvUqDek3nMcsE6lUS1KtEFCuTTysTsFdJYK/SwF7TaaUyAXuVBPYqEXGqmvSSVYn9jUBUJWJHVRo3K6PTXLAAoLB1u/H8ccxIc+dnKJuioZXVRuEgG1OYti3hXFp7pIs54adRQX21UrkjXUwGAgY50ESBwW1cqpRqpE1yUlgFYZbkJAkQVpoTXPAY9LX1tE7fViUhKL6CkA3O1KbKwiSWkBzmLKvG1RZSjUpEYCVBu0oEk7KDpWxuOSBM5kJp8icJi8gU2B21kEEpEyRuvEgu2Y3yRJYxYknhCM3k+Lv9GOBvrixF6ypUt7YGHc6Dxp9uCEPY2EJyZkYUVs4XrT3dBpLx7USQIqxPh1UmJWZ9mJKeZkIUhXATArq9ttU7oUJ8ogq2JPhYafCxzDTwGz6WCp8VQ8FxN8UcMO1upZpkIQFJ4K/SnG/CnJM8wV+1qSgt8USEOUITkelwgYWywXY3BX7L0pT1rdD6M0evwF1ZSVvPUplqG4hgEv7KwzfbMgXQlAQHKw0Otk2rvyohIgleVRq8apuMlEmdEJEEIioNRDQNI5Y6ISIJLFEaWGKbVkoSZylIghyUBjnYpjeqxHkKkuD+JELjVPrAbZk4UkESLJ3UJokGijWvFSl7IHVisya4N4nYM12kLVud2KwJWE0iSEynYcdSJzZrgiqTiBLTRRKTJROwMklgZdIUs2dODjeYM0yQrgPkMxaj8seUYNVq61jzS86vNCx11egqWmC1TSGclhVW37J5uBVWJG5WukgvJgJsk4hT0+ly2DIBbJME2CYRSaaL9GKqE2uBQM8kQr50kV5MdWItEIyYrMuFE9hrH5zyBW3xVC1lodRQoA+R+abTG1sX3hwcaUqD1VaqCTzmQtvfTPfjmSS1q3arC4fu10WTwvRLAk+TiDaDI7qTH59YhgSeJhFtptO1YWQCniYJPE0aeFo6+dncdHNYOz+ucuJ8YY8o3NaAJyRhAVAs9lbX6ZmrsWg3uIQR+Isbghalv6qSs5lA5SQi37RgJmNCJBConESAmk4XjJF1QiQQRJtEJJkWacleJzYnAj2TiCTT6aPiZAJ6Jgn0TCKUDDNXUgQSC5JgzyRiybRMT6kE+EwS8JlELJlmzq5PgM8kAZ9JxJLpdPkVmQCfSQI+k4j/0ulS1+amKebfBOndRiSgIIApucKUSqjSJUxdayxagah2UG3RWYCrHCNdcGWmMDyHYh3qm1M2ydpDOFi64IG5d5+CB5LAzmRTL6z5RPFVSRBl0pRfTaZWmntvL3ggCVBMNi1f8EAmCrZKgviSS4gv2SZWFIFmyXahPoRMQLMkgWbJ1qyotFhqZXKHqkxxez1tVTgxId2oLtxuhKV7/QkbuC2hlLXHapj9CdO7zB6HM1TS6suS4LdkaxZwEu0uHX4rOOIR8oB8WenpcJDKHSwXHEXnjp0zReqwJHSDmZxg1GLCHGoC9gwRjYWR8KI2Z3xo2bgLe9CcLgt3IdyFdBelu6gSJ4NIgg+TCPfSJTNOPjKOjgYsWIonFEp34qv0DgUcDjxNxugGrTvRVtujduDMrXqlS1csRZe1v2r8VeuucBM1V8JfyaS/gUDWJCLQdJUsVmRu4twDE9njA42FjwXNje3e2KxzOBvYOBYhgqIrh8gFOzWBw5UE/iYN/A0SlRJrudXuKDaQb6iYQfafVy4mnQKTi4xpWdinDH/g1tGVdlpD5WrWaKxAY35r3ZUqnK6shP9Nmt/odxABiog4rZhOdedGgMzRNoUZzyvEPGBYOZUrgqtac1YRVGHFY6qhKCUeXAjhUlMMt8SDnqC4rl4p5wwwWYStKUcKjxgnLx7Xg2tMaZs5iCckYcKgOU5Z299gGsJRW9oePyiETQ4EXkx2INSfrFp3pc2pvlBQCg/qgZwsjXmy4H/QWKjXXGl/Vfurxl9hjqGSK62NyKhXWBMYy7drLd1zeLKhufJtaN+G9m3o2r/bmCs6eGTzQtigZoLbE3zxDdK4tnL2VnFMdkCEKbJLuA2j8RrPbWmm0r7JIDyq5FG1X5OHh6mixoXnUtpAqJoVL8rSrviCFnOVBEhZWiBlcp2bm86D6/y0/qwL76fFCY3nLhWtl6vS+m5NViFeVYWVv4ZhkLpm4YPL1ixyFAG4tPGq9tK09tK0lv4q6cctCdSzROSmTgdhzU1T+FXL6cR1/NhK2/OhlCsYALfM6hHKmFCQSItuNrwwZRC0rdWFVayxNK9GGJu0x61XlTt4XUt3yLrGU7agXC+cx+Guan8FRioUj0VZan4zrm28EuaKdoQgHSFZJdbcu48SWxJMamkxqUmtrCzmVkZJwKMlYkHTSqy593YltiQ407JQvBJbJoCmJQGalsVCBkuZAJqWBGhaIm5UN0mbytw0+0a1srPHKnBYxgm3T0gplii9oRwTSG+TY6gbm2O40sbBj1fKX+lUBmJJcKwlAkh1ukCIuYk4MnfWcVPYuIjEwILNffXAVmGqbgsZpMjqxhbEWWmTME3TYUsCYi0NiDWNszM3HTBglqdtZCZIYHwf0fcKS/xBwXLdFilcQEnQqqVYqN5vb3IM4FtrOGlmYuUyAwTtWpqqxm3SlDc33Tmy80Pfq9pWh1QGAVitsIw4rAKTWtLaWAJcGFNGWl+nsRHM5mlOmvZnBOJGBXaGbu1B8Lot3UXlLlTisPeSQHFLUzo57cY3N+/2ce7ed/w4Ix7/vHoY9l/6w6nf/ut+2//68MPPPz88rP728Gkw/6yrFX7+ww9/+/vKfe7DD397EKX5SSrzV2nztynMX8imtw+4i9a90tbmAnZJeyHcBd76+8qziv8E3gGXPPEFlk2aMTBpGBIQmAlIlNy3WU5TJLqQQsn1je0S88d2jP1mYW/S/pOuT1xPSEvEdpFyRN3v9n3Xu4qMg7L0VGP/tpYbS09beto+r+3z2j6v7fO1fb62z9e23dq2W9t2a/eZlk5t6dRtPC8aS6ex39FYeo2l11h6wk0JOLrCXvhbri+lu1W5WVe5typ/yz2s/cx0z7hvF+7jhOMa8gDNsEg3e0v7sHRNSOWH0N1yExs0XDrD3S/C/eJmAqxFbrZ9Hr/08bSX10/7brPpj8eQjOQWjxtk2wuuw30/ud4hc9f92391PGeDkXOU/BC6eSvcwCe61cxF/tM+ncZf+n20MtXUTw+ttq9PH8rTGvZPISGI1jAdXjo+a15aIMk5d7qeuIMDTzLZG19exm13imeEbN4gxTaHMZ4RUHSXmRJyofdPwxh/WcHJxJqf5JvTMZ7ji1tOksS2ez31h4iM0gwZNwUFT207wId1u4ie5AhCoZ6LpF67Q/fSz5iUKpgJns6FmbDdHsiCroIV/SBkPaPzAEXrrdB0clCye223/dLtN/02GlrBzZBas3QeH3s6umX7Bgn2eOoPkQBjt3+3z037h3aCRThRLmLhnmzxKVplkAPLDL7ZYNM0ng79U3fqow4A3w/TAfx4PO3H42nYxCKu5lgq+Km928W8cMvVqSNOGAsn2+0OyxAfv0ajVHLCc6HTdiORwJKbMEvrbnccIyIl1+lWT00SeekPw6b7uBuPn7r9U7+LB7LiaUpeUr2M5/0pFuDcOC4J8H08O3NEHYyd27Gc5vEQ6ZBOMaqt7kR1OjjAxyqvbtcu3a25BuY1udaSk4W/cAoDtyThwisZXh/wGoLXt2KLIt1T21hw5Gk+RDuv2lijcdoypx1P0qf2upH9sAUTp9tvD+MQ8QsAnjTDjiWvzi6pSYbwx2GM1cCWk6Lmu9KkvkUkVMHNPa9u86v0dYhszbyhsR3qDSSvW7q+V4wmybDwD7F4ZjXseLUwxCJacMQdJ6L5pf36uhs2HdWsAFqwvOMtjNlE8h+I1sfKVqfDC9fPAAuwF24E3HoG/yXX9OHzcDp0h2+xSGeHemGyHPp4YXATzy8ML61kvFSS1GMlhdu3nFxQXiK62edNUb8cF2TS8Wv/uTufnvv9yY7LEUyPeMQ1u8EvkT6dus0v8SA3rOLqd/eFOX069S+v0Y4F5X2Yqcj373k79PtNrFQ1baC0+nXsdh3hXAPSWY1SuLnohUDhZF64UAteEJ5PzyELbag2e6/UnOSCanY+PX98OnT708fX7nj8Oh4i+a1Y+Wh3Bo5m5KoSRcDm3Fx0EtK5ZswfN+ndGHt/3MOiEjBNbbeF+eUzkwnecfJG4QDfScQv218lLxmAzMdZp2l26ywXFGSk9Xk3fv740h1P/eHjy/B0wCX66ek8bPv1y/bDptvtPnebX2Krlbdr+N0HWtuM+1P/a7TCJOt1MMbMJVrD/tQfHrt4uclgN5roXDA1gej4ihIq3jgC/8rkIQi/2ql/lzr79TB+GbaxeQdnXnvy3kgLqLf8Xgc0/7eQJWR7BeuwYf04C7JvEtHEFm75jd1tOmpRCDmysb5QcEwuuJiCbYQYTrxLZ1n0TLtSRO46l6HzhBIXoRMhXnvj3NTEPe1NEucutn9bJ5Imd3HsNQRBp13bmZ+967/0kZ0M8NZpPjaZbpqJ5niItXoVLkVZXkHvcBjjlRIsw/kyiSMQCx6v8+l5PAx/nQ06HB2x5PQJ/P3Ozy/iAZr59dWiHAcuYj0v4MDPEj336PqZ5j3/0tudPt50uQfIgmR9D3mfu9jS+cA4BeE0gGlUq/zZgWS/Dqfn/qUbdvGHBCTrubi+TPHXzTP4QOLJEUjpOtPJniK6707Dl/44boaOcB1M73ru1LzYwDh+juiVgd+9yXS7R/ROrxG9KhALzXybukjv0G/GL/3h22bcxj0bGHvTVLqC8PElnseBq8pO2Sx6OD9jh7UK52brZG2RT/N4IhEMOGFwitXMlW+G0PjU7/sD3ZmVYB08C8bf+TS+dMS/CkH6SUar7DVjKHW7XWTyipYTpAs205du2HWfd3Fvsd7jh9AGcGLoITIFaCz5sufgazfE3krNh5tYG+kzccIBrC5NxIlR71e0jsE01WNsTireamelMRCJeGvY+UM1GUaD8UFlF6mXvLP7c6ygazZk5bQh74T3Rp1XN/3+GiugUby7chdOW6u9Iecedoac8JqVc7JCAU272r1h7lQs3zkuuCS94uesR6jDYi/c2FZ0g57i5hnB8c99d4jNhpI1mwRvhH7u4+AsHB/DrFS3fJwTiEIqCITCQSMc1CGIvLlO1uzK+9yTYIpmnVJLK2/Yb4lZAAcjMp1U8dwYOnSfUqGmImXejvp5GF/602HYxC43wYeiWPv583A4PdOIeBXFVOVcfQp+nFMct0OsA/Jh34fJ8GFIRVsAG/h0q5Lv/XHc9XHIR7OjuDQbDuPXIwmklmwg1ckznq3zsItkJ+R1cEzxEhio0DnKOncpridJMe52TqA7C9J+pl2sxKBM0d90m+cYg8FuGgvBHqSyG+eGNqBu/fydCCwvqg2J7AJ2c1EPmkOSOLLU0yUrbnCcQLSjvXKurzkgimsr1lo1G53gwyeb7qXfbYhqULZ8rJzdnDfximO98STISq3NxT1sAzCL+KvhNMdlLYCH0hhyp+EU64xahGK6yVOxDS0bqIgZDObnjKeLRPdj7OpkoxN8OHPz3O12PbVGWbCB338zotaXI9KLDJ2+vRKdNER6OQghHLZsVaE8u2nz3JM12HISp+bFFhCJp1rBCQmnuy5Q23XDS/SprPNS8PEYpEIWPbvfTkBQH1PnxcCuOxLYzRWBf5ZirBoE1n/mmtr13WFz6LfgF+zIug+DPE7FrK+gG9sxkv1gRztWW1myZGuWDesS8wH/hT7su9jXJStWrBKtmjdSDdV5ABVw9JOgol+bcB1KZ+EsSeygMQbTV4bROp2nFG92Q09wQWyIgQb0mEBeELdzC8ebpFOUjrWLDEex37qJ4pCeasFSzUJvbnYjiaWVnIaxtOKJbRK4bqmq5zpQe4PWQwQTTvTYsRJ7VDjUu0e78zuO9kHtK2CJ8JEfiRdS8aYAAVxxFOMVeSGrgZcW43N/HGK8umAd6HxEHWHOMb6NFRIL4OTN+PK6608kBMqilfiNztChwTXN5p9kdfrL67gnCx5S6bkQJU9o/zg8nQ8zIwLSOxe7bJUVoY3ok2nCOjQXPttQi3cqwVqN5UW+yKhodtNbcCIArfEQayGCzw1amLf7fZ9AxEcgF+foKt0gVHPvvs+tmR7nQbebcX8cjqd+v4msXs1O9IfIWlmyfxzlWF9nLfOL4mF/jCix8IwYfMnSOpw3M+c/jytb7ECkFQdWw9COx3iFG+/lLd0RjoN7rL9licHzS+y2qVjkpnUEM4RO3bAna6bk8y28wu09tsvEKYqFlUGXAw9A7tBtYgHJqwVOBbIMe7guwTTx6JnNOP5CHX+K62PeJbYZCUqRxRs7lq8Tx4eeOjs5Z/XFmL+hRWwGFtjHayRIJuq4hncwP0Saan2B6pk4K0WYN+Xy+urM1egpMlp7II4CeZtBlO5BF8XagjBHehSCwYK0l7rPmpjxZOS27IVNLW2sNmEUOBH89SmDbnb7FXkpnZVE0bLTUd8KR3G4oQAuxJsYU2e8dPvuKZ6dTejqiT7/8jw6Hh7jVc36UhTP3flwmKmUrPrNS0JDJiHPof7rtER05roz5OJoOOSrcypfhtP0fDyNse8pwlMlsI2piOkUFv3vFg317gjvNM/w1GOnHDfP/QvJGA67hpC+OHrb7hRlvGt2Yi5EOoAIDdbDiQhLUi1P+d1G21fFpsIuBPy2PVjABN3Ja0SstrztH7vzLl4vbEhzQR21dOLYKKvNB6UU+O7vH4c9yUFk1YZlDSpNfgdJjnQXZIeClV/b/rg5DK+zcFjoxZOZ2LVtf+qGHcnp4COmHiDKLq8tQELHV6I0yJoNXrDyddt/GWJgtmADanT3XLBiDVkCpm9YBTyCMvD00ooElF8OhiQv9EMJPqZA9EFu7IPMRNQZwuPXfbwd69CfLus8EF1AC2B0DFQhNOllpv65HQ59bM6we2CciLJayHzYDkeKD9OsX2Yhv3o7HF8GGt2QrItrQXqNhAabKsRHlrbjSzdEIqAOtc3Se5v9qk1BPDyQjH880fLXWPSwy3vBRtvOvFIln4BVsOu5X8c02H3X/OIUFpokWcQCxGYmw0VFOkgoD0pyt5w/fyrh49TsnN7sN+Px2/HUkygh6z/i99YEnDkQQFNlA5diKwuvXLkvqBJZU7RETaJEwjx1ueRHDLj80h+Gx6EnekmULJMX0oOku1hnVm9AXsbQtor1ago+5NDvQcTEApCFyC2kWPT7zeHb66nfHp8hVvl66B/7A6QExlsWu+Qq1tPf77ev4xBbPnBaXR6CaOUquSyRJtoTt63Oijct9OrxHLuKFOt8WdAW+/05dlyHJprI05X6V7AZDt0ulYMayJ1gA7lAkCapBOLbiZQ2JbPtcNg+tJLLrlHzJ41n5o1ZZIXoRG/0X/enCB4uWEJxgmWS1Jdud57jvgo235d3SUykXsfdQGIAItRTMmH//a8dxLuI/cFXSuM/MpExIkI4TJmIxMdunCWyXM6ICCGpVZP5zXOajJcwynusc7vUkOfgAqF2k8hsWiIZQ2dYCZLdrTTKyWJWae20NM3hSGJH3Ay/jDdCYgS9xHqrM6i9DvOgacmHpApexAApEtFk00Op2/MCh/3x00DqmgVJKW3u7EZK3Sn+1FCDKvKso/7XU78nzhLNOktyXHmGYixs+JBJRoTksdt0MQ6Ex5OxQvWxg2ggCQcJFinNC3pDKBLK1ZvLkj1Sj4as2eAPU9TxfYo3ppk31v4cmxrm+MnMpLxHUFZiWcAmbUQrLZ2E4QuUsuraY/cyxC7sig3LCH66GzKf8LUo9hRu1JmblqFFSVVRqQiR55p57LfzTLoqZEpM1YbydMDH/rSJUMN8naCL8344xNtIVbC70gKVWW0yFsVOQlC+HombStMmnWyFSA3WHeMy3uN6G0mqI1RWo3szr8ny9sJjrJir3MJhtOCns5yYwp/UDlqOx6cKjXl4ylWlx2Y1X/2QTelxfjT9Mz4gNC8Q65GCC5VifQFTWjvWew+Ez297WwU0X2k0pwat+5zJVzMlYSyUp40L6iyGmgAtRbQJHqzqMSSLk/Ll+Nz3JNgY5ixkomgfD3FckJUTdvrZWUcmuwtFu78+VOwG2Je4m2pc8xLhML4c+uMrlHiKAXoBNpmIwAsfeY5Tfdhk2iivLPiOyWzmuT7vdsfNgaRGqjb0++tcdvcbUwJ1OFGVSrL5YqxK9QQaaIyFChTGByFTYATJzj2XRB67fdkaRHyACAnFGeR5pQZ5uORTf2LgF6IN0WlRcvDF8XjqT1iQ+DjsEnF5/ssvy4Wn/kQROzKq3pFnZVgyjLXchFNQ5VnLT8MX4ghl1cUFDQKpJHS3UE5Vc58GS2qmuhUhgCRTGDyN41OsUCveycuXOsUCZjQKziq4fKwZ6RBnKUem5CcSFNqKVyTrceVX5HO338Zdw8NDoxXJ71SG5KE3wbxkcmTgMXnILBphqMamHYvC9+UGWHc4kiPKomDjR3xS23NcE1GyMG0uD/5S/jvT6JduN2y5JKkisBZnTpRL3UxyExrWG0US/TWjISZb6bstrecTZHQ+CAf8SSGS/rsBkbx2mKi39N+d/+TgjGMk4/j6rKxv6HkcowUveK+9q77FOkWAViwsi6guWN60JmUiWMzHAkTo+RSnFPFnCtgVvUTo+MNHU4xxvRlfPm7HzfEjKfSr+LKzfGU6nvTHuHrbh2QdsYpHJfMVyfLb3I1P4zk2YFh/4UKCJNOgUdg+HvrHQ3+M3Sosqknwzri4lafh9Hz+vB7GRAnNhtcHeQloqXvI1BrqD/fua/Bh7LSP5+GX4fTxPMCpFrvXQ390d46nb0SpYT3qC9V1HCP2A6F9U97z0JPMAs3i4RaKdw6m4uYscVNEHs08hXCIp1OqJmaApHlIVAy00I8k8WXccmhLVHONxWKZk4SJwhjGij1kRCXCfIE3xztoZlgTj//0MBS3ZSxkrQ7b1GEwwYC0eUbIgB32OBBTkz3eRLg9ayH/xtCMUR0lX2p68pwsfG3ibJmwJGQCGpWkE6HP+UCH7X7zJ6/EmH3n4jFTFM//3Y+XcgpJIh4wc++QA8uSXQhRcy/a4l2drWPCY1qGl9fxEKfLLdckTxIh6fAszNSdHeZgK8yZYbPkCzdI/lSn2VFdiUJlM79rolCZn/p31yi9u9WnfHu/q9cxvQM2R9l0nthJa/aHUvCju9/szlsab2Ht9v+Bmrb5Qlo7gj+ohF9Xe+NunmVFcZPZ5w/wULRhP8BmSDVE1sBdyDI3pE7Ueue+c1bAliNIgz3saVY0yJCmeTx1tPg+62CwHFqqxClOU/h4hBs02ncxVoD9igUcEdQyp6CDivVTLm2/UBSdppSyM9IpJrz15uhRVwvrW3Qrik9rdyRJYRh2qBY6P1EAXkRVrFMllC+myQ770xiT5DFrkXRPE0NXzyd0GsY6TAbYmaE4nOaVy9kyRwv1FydS50NcWS10QU0ELihYQI0kq/P1kha4GglalqPhIq70SKfpeJIpTuj3q1jdYdr/mDilSPOlKybEuE898xslL6DJIXl5UWoVyaSFmvJOp7yQSzqvKS98bZ1JVVFRpy2Ck4bjbuzopijCKtoudNzOfT8LKNfheDxTAcl7O+aRcB+49tkD/MiQ/FI2p4ogBeg8XMDaDBD9OSbs6jBkquYwlCW5asvYpezqMKCUtFXZbv9L96UzKWsfoe6buYwtYr6AIdvDfxkHIr34cydZOfGXGFJXs7scP1n/cvzod5Hjx8DXYY8DWT+fXuKssIaP9Cy0QiGYgTPCrb75oFwsmfqXr2RHYdcDn8DyS/9t80xSkQSrpfO23K4j+CW+Fp0vMcKHZXYdOQtTszlWOQjMXd9/7eIgcJhcI5OSiK/CBbmgBIXOZmIsWNPzEzhYz8vCsXc7gj8u2dp1CyFNKNEasSJZX6Q/DYkcPcKSvXDsiAhVDRkTv6hyJBpIHeQT+saE0+qDXdtDhnzV2LywRKL54wmQFk9xXfwizPh0m0N9RRvEqglDbamTgxYynXZjbK2ypfZ5l/NufHoial7JJ4EvcTKD4vPlv68pILcbn2KQimD3hgWBNj7FUlGyZoAi+/+kU+WA4xY7ethjxh2DE9GhrZPpBkWi4/iZIxkmomcmVxmSp1eOZHjGRGZdKSQZnhzC0Q5BxYmlwNI+vhw5kmF40qswGSSTh9KIcIyqPEPKUyNHu4iQtUSy5zKtOPopAmXhIfP4HU/LHQJ46LtdhEUswzPNsgWcpcodFCPCCVRdMcaJQ2JEGDnILIA0D3tKNs7qfZaTybQkYcbziT8hKSzWJDJBV7vxiaRPsN7IiyVndwQFULE6mOArZ9A0d15HZdWtl+6XuKwKX3eDL5luYoIRGbbKH6/QGCpxRJD1rvHn9xkyL8T24xU3f1ioUx2cxvsQ+wKuOBMYWZgBqPgIsfmJ3y5fuv2Zngck+QKNzlKOw1Fpwq+vFLTHlxpg99KX7tfZcfdhdpjKE/Qv3a/DyznO9ufr7vNb+0tHeoo9C5PvmP6FpF1ptgbDAizmpT8eSc/IOix+nydwX/pTRwspqbCUspyOCkqUrqIHoDNNPI8knHSl04w4y7xzzKdA+PMNYv9d3kEHhsG4hhwvMl2T9i9zluQs64Rv/THq/IqPpny3IwJeHjt/SsA4fk6mBERnqyXSozPomqo1eFhPsolQ5RKZOlfUxOk1zXqIwS/zMBYhXa4oY2gAy0w5FJBN90FoI2YqOi+P3QxqoXToKPEl/7yh7gAFMnGidLKNYUsAyxV/mt2CToBkZuhyEX514hDpNKmneZa0ZlP5cgppvcQbBH8SPF+yDeFi8RbB6pz8FkEqtWq22usCBOxlJA4mdldfyO57Oe9Og8kUjmixOP6G75mJVPKMFBHspQ+JytMpmrOJVES1dxxcIIkcc3eFDyN7Byc/f00Vhgj6wvaqi9h4OMTcgTUPO/l0OFZYGxa4w6+1DM3gzOM5J5IITU2SjWqt5Nmdhmx4KEWKcuQKyCwbYClP0MGULC0DWfCQWR7GEH4Zt+ddPysVI0OJrzP7oN+AohYrfJJVL3h/8b6n9cR5CC+7nPf96et4IKf1sMUuF8h8jQXlm+AaTrtzoJiFWpr7YfPLfNMIj9Lzeo9KRGSEYH2O+zEW1qxmyvMW70Cy4ETj5boa+5ECYaK6vYm4IkOF4JPDtZsJCtgDsInYhYrPbV/qntgFwxqBcaQ7Ser88plgXlnLV/gjt/l8nvHzX0jZQ76qejyFPYDEV2hWcag92VwMZGUVFfNLjGD1m5VzGTgoa1TMa3IlzCwlUmp6OknQRys9+HSW1e5tHV/Bz3k06FG4SYi0DzhN4EMPR2B3ufHxcTfs+0/dBuRnHCjjcc78UO9IZF2ztU4WVCpyhBNbgIiWRqUAA49q8TgXUuA7Ugk88uUKk5aIgJJNdHTYY8HjtUZaoJdFDvDHRY/7p5ECLhUnKC+fJTjuiceK34LoQvAo4FlNgvkYLClqFH49DU8hrhgnegg817Wzw6e97b9wCvU4fqZO+UqFlVP8SS+Jk2iTBONMLNahy28H42u/HwgciF3PHgXEY34gh2dmBUoW1L7EmCkEEPup+NMi/ufBnhPKt2QDwB53JWO4wFt9bLEmnXNs8aQo+pPFZ5batO1O3PH77+Gp2w9/TUAwQ7+TPyc24YAK0wFYJ8J4eiZ1BtgCJBmCDoh9HWhBKVYAXygolW7iNd4qQgNSJEBnjXcx8lsGjbuxelUUzVolxJyOHZrJ1r70B/5kCB0BVRJHLHIk03VGdBEBlfOKPLxSTz2bxOozUPjMNiCWKEkTAgAyjVPv2IxlAmvAsFKYiYTyZyQvVEOa8muuKnD0X1fXKN0hxyOpRcjCoRcQiC5gHxJqQ1+pSymTifj6rFa7xxC72gcV6c6FAtKOkx3RxhV79PTlkbjUzhKERoXGf6Y/KqTN40giBanNExch5TScJAyflHlOLkqUQiJCRss8xA8LABFhGYgyzwEfEeNK0ob+izr3u0+bZ2IssE6qqfob6zZAevPiP8GAZJbq8YS48j/hRqMyO7E/QA5Z7CLhlhTvObJkZvB9Fpfn0gxYzeP1mdiQVcmHQy77WpBcyoETOuw9ndbrwHneqoB6ssh9WPhGJLKLkjSHzYmUQa/CotViCv2mynrxKe+vBFnDxtEWELqvv8SOQsUe07JQEPJ1123657lrhDXIchT91113ojNase5up+w4rc/2aFR+bJ4kM4v/T264txnzbzHd3YeSc0nynBqhYZWRc5Son85n8vEO1NfxFRTbmE6IcdaZEno8HgdytkvF1zLm/fqv4/FETG5+IvN1917HU+IgIP54Zz5FwJz8QEpmV3xtLj4Bx1OCDWMeu4jilHlROluEJPaF8qkj/LIPipnEJgSfg8/PzKXKKJqt4bpgpr8e+i/kM6uGhRo4XXzBf/l6GF66AymRLFmYDe8iMoRIigDrRiZJZhO4nDdkXw/jzNvNnkmzsHUbMuT8VNbhzSfBvh7G7Znk6bIeo4XliWROnz6foZbcp6l8yd/XGMb+4ePHv+HFJ3O80t8/Qirn3/jXPqaq2yn+9OelIeXauBdTfMHDJaYeh3glSRHVX0zkR/vIjytGEpcaSIZxnLFLHa3Lpu1hfCEOKcGuz4tHqhKuueoePj323qVa6FGsVxePfz2ACzoOIvJJkUtjfurpmeElDy7hEdM2j5QcY88iTKO84wV6sfUk2XhL7LdbIvgPxFRkwwALZo8hRaqa5zmXGSDnrJx4EtCZYuY/zwOpt8kmOvNfdOj2W3J+LB/vzNj8ZuXE2DOsLp9sf+i77Q/W0fqJGtSKPXdrQZbM/BBtCNVs5m4d4tNK0zTpKLFTm7NAvDHAp6Vx+S2qDj3BmcXUXH3W2PnCnjjMFD1aECSuAZrpx6qw/Mp3pGjglq2MzaeTOFLnQ1RssYpOeqnckqzzrP6JKCmCER12nYeh9Se+xdi0N9SESRRCFOxhKP7wgVk1h6negRc8rBJum0xVlwvcpJnHKltiRHtkVzePWLOE6OxhdQUf5uM3W0ty9p0ihHj7IrbzvmyzJ4NvhvMSh6nJmTDLQ/8yfiHVmFgUH+/PPPSvuzgNpWJHZ3FnsLYb1Tn4LC3v5mNND0+UjHrFlxLkvQOeWNxledv7VB9lYdn857knp4Cx2BYfe/JZGP6khf+BWAD76WTo+ayXqcjMZUiGpU1zxFksRRBzW1AU/vNMTzKrKv7EUNcnS9IJKZKAJX8wpz+X4nLwDyZt7KZhdVJnlyx++rE/pQKBIkzxqJxhkyuKAqJcfkuYQVLmOc2RLjn4j1WCF8T8cdzFMPuSrZPF+0EsGXLEJqu8/F9vqkJ/nA/kUNuSP4yWtzFTcHtWK3S+efPHchkfb0NRrjNZS1BvSzyRFc3qvUv7jqEEhZNibTUMOmdmtFti1F0u2G7nc3UP/RFyaMjOytdx4r22Bzg4vo9XmGLzmOWSXm8IEWWRRdEvfJshRJCmrHbkFqlLMbhEmO5GLIuLcv10PhD9mleWFqYXkCFbLxtyM7/4CsYXqMYVEKsmQrblKr+GELWqokitzt1mvoxxEQAR+N0fsjcVoJKAL6ro8Iom174BapwlUQaesofmCv5mRVFZ5aRh5+qxe+wOw5eh/wo4tsO42/WHxQCLiMBoXkXJi+JltbZmUHCsprRgGR/JISeS9WxpVnIBDe7gqXC2u908M6IJZGPlipWGM8pJYoQzVo5dJrbp992B1NaUrNyJKzSkCcKR6tFgsoq0bC+XQzluxleSdxcd3+szTbzj1XtcvYvDWew+/OAels4rWaYq7QUgfnrU4MJRYMhwrAPxJXvnXPOGT+pQOr4GJU9mSw5x4fdl+618RvOx34zkDOOSnYyTge9hFHyk/NhvCDpGsBYer9IYKnFoVrC+SppXoxa+m8xwniQ9gHKxN/exV1WGRRH8WilSU1WzZgpQRcAgdTCXYS5vJngOiJGtqGTz2B3u0x9QsMjjpQTuMqxvl/Ddc3Tj2ckGTK9j9vhynHVnkHJnqeTwF1vybPnnJXbAwJ75WnjNkd9ATRZ1HNZndwJ64pk/H8yfVLLQUBygYGEmNA/Re8mmUs6XEyOpy0CzCRNLRB5T+kyMRmHRkAtknzuyu7EdzteNOj6P512sXrAn0/tIAHcERbKB4SlWzxZEKOsQNoduRmRYJWghGHEc9uTUR8Ef2eWT53iufomTzTV/AszCZhWj9EqWBj2qJcCu8x88bgj0rGTD46QYRJLca1QPSLP++IW8geMrKa9fsvbukrh57TfDY1ySk0/poNjNC4XOJ3EUmy3vgt00X0aS299wZPnxOMZzky/Exk/wU7ffdgdSKo3H9fHz8ETOChZRWZ3Ku/DZ+u2rJRkGRmF8hHAWqpejdSankgR2rF2CCSXKjrmdQfFziVbGA8m7EuyhirFKOff+LqzXE6nWI9hkBT4/GomQHYLdc52D2W3wvHZ9OlBvIQuKFa7AseAjj8fTYYzp6bBwqMyM2x9PhzNi6wlGKSOwlyZHYaesIbKk2wOV2LvEeh+XjLdzlNBdRQdyFHkequN5VpiiYquKTEQ5OvPaYOFhBSKz3GtIjDrGVRU6xus8x/jx/Pk0nMjIhbhomWvynLFGxOM5rrvFyuL4nKMwVMyHBI7nzXMsr1j9jZ+n51c4N43YAewRrT65gT/g6dTvu/1pfT6u/ZmcsYDma1O5TdeFo0v+qIHTcxenmrIAjlDuB+VOnSi9FGCjNUxcoI3LBqEBNxcL+C8NvIVVGf2JLIo6VhZ0t9MzKerJCSFLyfxZPPCQHpA1wz5SzKNXy20bTqNyMTy6WboRfe+RJEU93uuAxql6jgeZ+EykeT0dL2ZmhXX8uZwXa9GtpgpXwo/eQl0el9gcFADwJQF8ApIXMI4yyeNbuZybECru5kQQkvW53H6a+VvehvXKxfyEn4UzF+MjzdPJ4f7UIz+pM8A35DSh7wLH8Qnk/CHmk9vaV03ytaC9a9unGfL2UcIs8nWE6BlQ3mKSLsuydD76yYYqvJzyIsA9k2FenZ77IcaLsw52mspHhe0CjhzSrONwElu22smPSG4wNGNVibXkF6zC03NPqrqy8Pulzf05PmmMr/dnP85+m5MAbpm6uWL+3nwOGRW1/HlkU1Hmy7VZTs9j3GWKP82YL71yGl6Ir44bvWYmpr005BGTQJ5UNqkC6PaD8Et+wuzmxckt5VnFyfDUgzx8OVA6nrqXuKYLuzKC72dNmoSWHhYUrDMZi89mvFABaHkyZ+duOJHHFOWe6S9EP/G+qmToIdr2/TKY7ZOJU4bjqRbugUs73jX727uBS9N716z0X6Ks3VUblN+X/BEKGbvQDCUeVqOQiULgXtGlsHw/UMV85K9R+GZ2wFTSZqpkQ4H/OZBT/NY4oUrzmZq8oxzpfKL2fRnibDJLoiAlguZiD2KKQAtByWSvJM5LAE395VUVXoKlnBZlHXpBijynxenQ7Y9wri6JwvEVDngt4XAmVb3YBN0LVb3eeix8HHVTJX/mqyfKT5zZlOGPs/Oagls6vN8lfXalZlGdSyrGt9dhMzvqhPU6Tkv+8pnd5z3Jj+TrBrIdeN6TOVWxpSQW+uu8H/4znlYVf8Aw7zk874cv/eFIKtlLdoKynX7eD7/Gi46fFixu+fy6JZENxSYR0d2IpxdlMn5Kn4PCSlDeR26Ix3hYycK/vJ3Nzy1DL3bBVVXoVs48e8JQIulHLMqN3WrOr0T2sbHmywfKE4xpJdgY3IKvY15LLkOLCtQOb53E5nCS3xhczktMPpv0TOwcFr7hPvOBalDeY8vPmaM5HyCGkYVKe/IoHzta/LqhJSXY2m/TiYozBXl2SnWg9/Hy6NgT937J1mThkY/nY2+OgHWVGijEWYYFvObnheRZ/zQxOizM6HS71vdPKspJrRjihfXKKedlpdYL9Ype68+elF6f30adbkFxxLj+N9dDsa4q2SonFOg/+0jnOs51Fd/LRcx21v9An+7kcPWWxmWTg902JVuIZZlYgMiPDZnwEIQy82RPIDjsH2OnQ5gNnTL/ZMlv65YelysXhsEz6yemCkOV0QE2btLJKlHwxccH/dyplzaEQ6KqjAqTHURm6iDQij4+Oo/Pl4ROyDXi5WCIx2PPBhsXNH0gkoEGDOscJ4za5RZoVnvNboXebcPvGKdhN5xiNBKbGeEGnSP2RX6cH3xa8UndFfuRX7pdXKldsj7Zy0ebILGOJq9p9hjrBVPzS7cjljN77r3vfE7rSNLHCpKbWX20ks1wjP2DPE2SvyxZF3dG2W5LMa7BEpkFmWexg6E3O5SJrcK3AGT7MhDric99YMf2a0dyFXjYy2XT6WtcJYEthnoJYPS176KMDB2p0vVc1KWJRMAgPuuW+LipD9ujKS7UyHQKERcjF9O5nm9BUH7tP4OJEX5SE6INo+pJOZ3DHmgWbq0TbCKLHnuaWYDscl97FU2m3nlYANj2bw7ZSyekhRvsNCQXyR6H2GlSyTAbVKQsD8GvJRIYFeyZtT6o4sAgl0AeRGP31cm9TuvsockE5uXHcx+DMSXrh6RnGS+kQ3x9HmL4V8XC9wM4g1eqL2dAfH2OFFXFo/141enrsItLjvN7Kw1zRcWgwzDF5Pi9fHgmlCiP3f0Z4naycinGaIYSu2TtUszQJbTXJZQXZ+D5swduPGlglrIYoDh8t/sMP1axgm6PC0qXfLF03mUEZIjSKNjT0NwYxXtLkux4+IXUM+WILhE577b7fyAntb2h2ue38Rz7kNhiP3FchaEVH4nK+/y9E8zFnYXrQA+/lFMUy+H6ClbRgqY/da+vn167zS/dU/8JmmVrqXb77WEcth//ln4tXbaUX7zLPTKnfyeGeF35EkPY9mY3gKs/tmf4RFh2fwlIms+JdLrl3JgkvW/f4kpebIxloejWX2eV+tkPkywnQIQ6TKowY3J6d0Hz+PPq4XV47eHovocffv7z3//+fwC78MzK'; diff --git a/docs/dev/assets/style.css b/docs/dev/assets/style.css deleted file mode 100644 index cf510a63..00000000 --- a/docs/dev/assets/style.css +++ /dev/null @@ -1,1622 +0,0 @@ -@layer typedoc { - :root { - --dim-toolbar-contents-height: 2.5rem; - --dim-toolbar-border-bottom-width: 1px; - --dim-header-height: calc( - var(--dim-toolbar-border-bottom-width) + - var(--dim-toolbar-contents-height) - ); - - /* 0rem For mobile; unit is required for calculation in `calc` */ - --dim-container-main-margin-y: 0rem; - - --dim-footer-height: 3.5rem; - - --modal-animation-duration: 0.2s; - } - - :root { - /* Light */ - --light-color-background: #f2f4f8; - --light-color-background-secondary: #eff0f1; - /* Not to be confused with [:active](https://developer.mozilla.org/en-US/docs/Web/CSS/:active) */ - --light-color-background-active: #d6d8da; - --light-color-background-warning: #e6e600; - --light-color-warning-text: #222; - --light-color-accent: #c5c7c9; - --light-color-active-menu-item: var(--light-color-background-active); - --light-color-text: #222; - --light-color-contrast-text: #000; - --light-color-text-aside: #5e5e5e; - - --light-color-icon-background: var(--light-color-background); - --light-color-icon-text: var(--light-color-text); - - --light-color-comment-tag-text: var(--light-color-text); - --light-color-comment-tag: var(--light-color-background); - - --light-color-link: #1f70c2; - --light-color-focus-outline: #3584e4; - - --light-color-ts-keyword: #056bd6; - --light-color-ts-project: #b111c9; - --light-color-ts-module: var(--light-color-ts-project); - --light-color-ts-namespace: var(--light-color-ts-project); - --light-color-ts-enum: #7e6f15; - --light-color-ts-enum-member: var(--light-color-ts-enum); - --light-color-ts-variable: #4760ec; - --light-color-ts-function: #572be7; - --light-color-ts-class: #1f70c2; - --light-color-ts-interface: #108024; - --light-color-ts-constructor: var(--light-color-ts-class); - --light-color-ts-property: #9f5f30; - --light-color-ts-method: #be3989; - --light-color-ts-reference: #ff4d82; - --light-color-ts-call-signature: var(--light-color-ts-method); - --light-color-ts-index-signature: var(--light-color-ts-property); - --light-color-ts-constructor-signature: var(--light-color-ts-constructor); - --light-color-ts-parameter: var(--light-color-ts-variable); - /* type literal not included as links will never be generated to it */ - --light-color-ts-type-parameter: #a55c0e; - --light-color-ts-accessor: #c73c3c; - --light-color-ts-get-signature: var(--light-color-ts-accessor); - --light-color-ts-set-signature: var(--light-color-ts-accessor); - --light-color-ts-type-alias: #d51270; - /* reference not included as links will be colored with the kind that it points to */ - --light-color-document: #000000; - - --light-color-alert-note: #0969d9; - --light-color-alert-tip: #1a7f37; - --light-color-alert-important: #8250df; - --light-color-alert-warning: #9a6700; - --light-color-alert-caution: #cf222e; - - --light-external-icon: url("data:image/svg+xml;utf8,"); - --light-color-scheme: light; - } - - :root { - /* Dark */ - --dark-color-background: #2b2e33; - --dark-color-background-secondary: #1e2024; - /* Not to be confused with [:active](https://developer.mozilla.org/en-US/docs/Web/CSS/:active) */ - --dark-color-background-active: #5d5d6a; - --dark-color-background-warning: #bebe00; - --dark-color-warning-text: #222; - --dark-color-accent: #9096a2; - --dark-color-active-menu-item: var(--dark-color-background-active); - --dark-color-text: #f5f5f5; - --dark-color-contrast-text: #ffffff; - --dark-color-text-aside: #dddddd; - - --dark-color-icon-background: var(--dark-color-background-secondary); - --dark-color-icon-text: var(--dark-color-text); - - --dark-color-comment-tag-text: var(--dark-color-text); - --dark-color-comment-tag: var(--dark-color-background); - - --dark-color-link: #00aff4; - --dark-color-focus-outline: #4c97f2; - - --dark-color-ts-keyword: #3399ff; - --dark-color-ts-project: #e358ff; - --dark-color-ts-module: var(--dark-color-ts-project); - --dark-color-ts-namespace: var(--dark-color-ts-project); - --dark-color-ts-enum: #f4d93e; - --dark-color-ts-enum-member: var(--dark-color-ts-enum); - --dark-color-ts-variable: #798dff; - --dark-color-ts-function: #a280ff; - --dark-color-ts-class: #8ac4ff; - --dark-color-ts-interface: #6cff87; - --dark-color-ts-constructor: var(--dark-color-ts-class); - --dark-color-ts-property: #ff984d; - --dark-color-ts-method: #ff4db8; - --dark-color-ts-reference: #ff4d82; - --dark-color-ts-call-signature: var(--dark-color-ts-method); - --dark-color-ts-index-signature: var(--dark-color-ts-property); - --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor); - --dark-color-ts-parameter: var(--dark-color-ts-variable); - /* type literal not included as links will never be generated to it */ - --dark-color-ts-type-parameter: #e07d13; - --dark-color-ts-accessor: #ff6060; - --dark-color-ts-get-signature: var(--dark-color-ts-accessor); - --dark-color-ts-set-signature: var(--dark-color-ts-accessor); - --dark-color-ts-type-alias: #ff6492; - /* reference not included as links will be colored with the kind that it points to */ - --dark-color-document: #ffffff; - - --dark-color-alert-note: #0969d9; - --dark-color-alert-tip: #1a7f37; - --dark-color-alert-important: #8250df; - --dark-color-alert-warning: #9a6700; - --dark-color-alert-caution: #cf222e; - - --dark-external-icon: url("data:image/svg+xml;utf8,"); - --dark-color-scheme: dark; - } - - @media (prefers-color-scheme: light) { - :root { - --color-background: var(--light-color-background); - --color-background-secondary: var(--light-color-background-secondary); - --color-background-active: var(--light-color-background-active); - --color-background-warning: var(--light-color-background-warning); - --color-warning-text: var(--light-color-warning-text); - --color-accent: var(--light-color-accent); - --color-active-menu-item: var(--light-color-active-menu-item); - --color-text: var(--light-color-text); - --color-contrast-text: var(--light-color-contrast-text); - --color-text-aside: var(--light-color-text-aside); - - --color-icon-background: var(--light-color-icon-background); - --color-icon-text: var(--light-color-icon-text); - - --color-comment-tag-text: var(--light-color-text); - --color-comment-tag: var(--light-color-background); - - --color-link: var(--light-color-link); - --color-focus-outline: var(--light-color-focus-outline); - - --color-ts-keyword: var(--light-color-ts-keyword); - --color-ts-project: var(--light-color-ts-project); - --color-ts-module: var(--light-color-ts-module); - --color-ts-namespace: var(--light-color-ts-namespace); - --color-ts-enum: var(--light-color-ts-enum); - --color-ts-enum-member: var(--light-color-ts-enum-member); - --color-ts-variable: var(--light-color-ts-variable); - --color-ts-function: var(--light-color-ts-function); - --color-ts-class: var(--light-color-ts-class); - --color-ts-interface: var(--light-color-ts-interface); - --color-ts-constructor: var(--light-color-ts-constructor); - --color-ts-property: var(--light-color-ts-property); - --color-ts-method: var(--light-color-ts-method); - --color-ts-reference: var(--light-color-ts-reference); - --color-ts-call-signature: var(--light-color-ts-call-signature); - --color-ts-index-signature: var(--light-color-ts-index-signature); - --color-ts-constructor-signature: var( - --light-color-ts-constructor-signature - ); - --color-ts-parameter: var(--light-color-ts-parameter); - --color-ts-type-parameter: var(--light-color-ts-type-parameter); - --color-ts-accessor: var(--light-color-ts-accessor); - --color-ts-get-signature: var(--light-color-ts-get-signature); - --color-ts-set-signature: var(--light-color-ts-set-signature); - --color-ts-type-alias: var(--light-color-ts-type-alias); - --color-document: var(--light-color-document); - - --color-alert-note: var(--light-color-alert-note); - --color-alert-tip: var(--light-color-alert-tip); - --color-alert-important: var(--light-color-alert-important); - --color-alert-warning: var(--light-color-alert-warning); - --color-alert-caution: var(--light-color-alert-caution); - - --external-icon: var(--light-external-icon); - --color-scheme: var(--light-color-scheme); - } - } - - @media (prefers-color-scheme: dark) { - :root { - --color-background: var(--dark-color-background); - --color-background-secondary: var(--dark-color-background-secondary); - --color-background-active: var(--dark-color-background-active); - --color-background-warning: var(--dark-color-background-warning); - --color-warning-text: var(--dark-color-warning-text); - --color-accent: var(--dark-color-accent); - --color-active-menu-item: var(--dark-color-active-menu-item); - --color-text: var(--dark-color-text); - --color-contrast-text: var(--dark-color-contrast-text); - --color-text-aside: var(--dark-color-text-aside); - - --color-icon-background: var(--dark-color-icon-background); - --color-icon-text: var(--dark-color-icon-text); - - --color-comment-tag-text: var(--dark-color-text); - --color-comment-tag: var(--dark-color-background); - - --color-link: var(--dark-color-link); - --color-focus-outline: var(--dark-color-focus-outline); - - --color-ts-keyword: var(--dark-color-ts-keyword); - --color-ts-project: var(--dark-color-ts-project); - --color-ts-module: var(--dark-color-ts-module); - --color-ts-namespace: var(--dark-color-ts-namespace); - --color-ts-enum: var(--dark-color-ts-enum); - --color-ts-enum-member: var(--dark-color-ts-enum-member); - --color-ts-variable: var(--dark-color-ts-variable); - --color-ts-function: var(--dark-color-ts-function); - --color-ts-class: var(--dark-color-ts-class); - --color-ts-interface: var(--dark-color-ts-interface); - --color-ts-constructor: var(--dark-color-ts-constructor); - --color-ts-property: var(--dark-color-ts-property); - --color-ts-method: var(--dark-color-ts-method); - --color-ts-reference: var(--dark-color-ts-reference); - --color-ts-call-signature: var(--dark-color-ts-call-signature); - --color-ts-index-signature: var(--dark-color-ts-index-signature); - --color-ts-constructor-signature: var( - --dark-color-ts-constructor-signature - ); - --color-ts-parameter: var(--dark-color-ts-parameter); - --color-ts-type-parameter: var(--dark-color-ts-type-parameter); - --color-ts-accessor: var(--dark-color-ts-accessor); - --color-ts-get-signature: var(--dark-color-ts-get-signature); - --color-ts-set-signature: var(--dark-color-ts-set-signature); - --color-ts-type-alias: var(--dark-color-ts-type-alias); - --color-document: var(--dark-color-document); - - --color-alert-note: var(--dark-color-alert-note); - --color-alert-tip: var(--dark-color-alert-tip); - --color-alert-important: var(--dark-color-alert-important); - --color-alert-warning: var(--dark-color-alert-warning); - --color-alert-caution: var(--dark-color-alert-caution); - - --external-icon: var(--dark-external-icon); - --color-scheme: var(--dark-color-scheme); - } - } - - :root[data-theme='light'] { - --color-background: var(--light-color-background); - --color-background-secondary: var(--light-color-background-secondary); - --color-background-active: var(--light-color-background-active); - --color-background-warning: var(--light-color-background-warning); - --color-warning-text: var(--light-color-warning-text); - --color-icon-background: var(--light-color-icon-background); - --color-accent: var(--light-color-accent); - --color-active-menu-item: var(--light-color-active-menu-item); - --color-text: var(--light-color-text); - --color-contrast-text: var(--light-color-contrast-text); - --color-text-aside: var(--light-color-text-aside); - --color-icon-text: var(--light-color-icon-text); - - --color-comment-tag-text: var(--light-color-text); - --color-comment-tag: var(--light-color-background); - - --color-link: var(--light-color-link); - --color-focus-outline: var(--light-color-focus-outline); - - --color-ts-keyword: var(--light-color-ts-keyword); - --color-ts-project: var(--light-color-ts-project); - --color-ts-module: var(--light-color-ts-module); - --color-ts-namespace: var(--light-color-ts-namespace); - --color-ts-enum: var(--light-color-ts-enum); - --color-ts-enum-member: var(--light-color-ts-enum-member); - --color-ts-variable: var(--light-color-ts-variable); - --color-ts-function: var(--light-color-ts-function); - --color-ts-class: var(--light-color-ts-class); - --color-ts-interface: var(--light-color-ts-interface); - --color-ts-constructor: var(--light-color-ts-constructor); - --color-ts-property: var(--light-color-ts-property); - --color-ts-method: var(--light-color-ts-method); - --color-ts-reference: var(--light-color-ts-reference); - --color-ts-call-signature: var(--light-color-ts-call-signature); - --color-ts-index-signature: var(--light-color-ts-index-signature); - --color-ts-constructor-signature: var( - --light-color-ts-constructor-signature - ); - --color-ts-parameter: var(--light-color-ts-parameter); - --color-ts-type-parameter: var(--light-color-ts-type-parameter); - --color-ts-accessor: var(--light-color-ts-accessor); - --color-ts-get-signature: var(--light-color-ts-get-signature); - --color-ts-set-signature: var(--light-color-ts-set-signature); - --color-ts-type-alias: var(--light-color-ts-type-alias); - --color-document: var(--light-color-document); - - --color-note: var(--light-color-note); - --color-tip: var(--light-color-tip); - --color-important: var(--light-color-important); - --color-warning: var(--light-color-warning); - --color-caution: var(--light-color-caution); - - --external-icon: var(--light-external-icon); - --color-scheme: var(--light-color-scheme); - } - - :root[data-theme='dark'] { - --color-background: var(--dark-color-background); - --color-background-secondary: var(--dark-color-background-secondary); - --color-background-active: var(--dark-color-background-active); - --color-background-warning: var(--dark-color-background-warning); - --color-warning-text: var(--dark-color-warning-text); - --color-icon-background: var(--dark-color-icon-background); - --color-accent: var(--dark-color-accent); - --color-active-menu-item: var(--dark-color-active-menu-item); - --color-text: var(--dark-color-text); - --color-contrast-text: var(--dark-color-contrast-text); - --color-text-aside: var(--dark-color-text-aside); - --color-icon-text: var(--dark-color-icon-text); - - --color-comment-tag-text: var(--dark-color-text); - --color-comment-tag: var(--dark-color-background); - - --color-link: var(--dark-color-link); - --color-focus-outline: var(--dark-color-focus-outline); - - --color-ts-keyword: var(--dark-color-ts-keyword); - --color-ts-project: var(--dark-color-ts-project); - --color-ts-module: var(--dark-color-ts-module); - --color-ts-namespace: var(--dark-color-ts-namespace); - --color-ts-enum: var(--dark-color-ts-enum); - --color-ts-enum-member: var(--dark-color-ts-enum-member); - --color-ts-variable: var(--dark-color-ts-variable); - --color-ts-function: var(--dark-color-ts-function); - --color-ts-class: var(--dark-color-ts-class); - --color-ts-interface: var(--dark-color-ts-interface); - --color-ts-constructor: var(--dark-color-ts-constructor); - --color-ts-property: var(--dark-color-ts-property); - --color-ts-method: var(--dark-color-ts-method); - --color-ts-reference: var(--dark-color-ts-reference); - --color-ts-call-signature: var(--dark-color-ts-call-signature); - --color-ts-index-signature: var(--dark-color-ts-index-signature); - --color-ts-constructor-signature: var( - --dark-color-ts-constructor-signature - ); - --color-ts-parameter: var(--dark-color-ts-parameter); - --color-ts-type-parameter: var(--dark-color-ts-type-parameter); - --color-ts-accessor: var(--dark-color-ts-accessor); - --color-ts-get-signature: var(--dark-color-ts-get-signature); - --color-ts-set-signature: var(--dark-color-ts-set-signature); - --color-ts-type-alias: var(--dark-color-ts-type-alias); - --color-document: var(--dark-color-document); - - --color-note: var(--dark-color-note); - --color-tip: var(--dark-color-tip); - --color-important: var(--dark-color-important); - --color-warning: var(--dark-color-warning); - --color-caution: var(--dark-color-caution); - - --external-icon: var(--dark-external-icon); - --color-scheme: var(--dark-color-scheme); - } - - html { - color-scheme: var(--color-scheme); - @media (prefers-reduced-motion: no-preference) { - scroll-behavior: smooth; - } - } - - *:focus-visible, - .tsd-accordion-summary:focus-visible svg { - outline: 2px solid var(--color-focus-outline); - } - - .always-visible, - .always-visible .tsd-signatures { - display: inherit !important; - } - - h1, - h2, - h3, - h4, - h5, - h6 { - line-height: 1.2; - } - - h1 { - font-size: 1.875rem; - margin: 0.67rem 0; - } - - h2 { - font-size: 1.5rem; - margin: 0.83rem 0; - } - - h3 { - font-size: 1.25rem; - margin: 1rem 0; - } - - h4 { - font-size: 1.05rem; - margin: 1.33rem 0; - } - - h5 { - font-size: 1rem; - margin: 1.5rem 0; - } - - h6 { - font-size: 0.875rem; - margin: 2.33rem 0; - } - - dl, - menu, - ol, - ul { - margin: 1em 0; - } - - dd { - margin: 0 0 0 34px; - } - - .container { - max-width: 1700px; - padding: 0 2rem; - } - - /* Footer */ - footer { - border-top: 1px solid var(--color-accent); - padding-top: 1rem; - padding-bottom: 1rem; - max-height: var(--dim-footer-height); - } - footer > p { - margin: 0 1em; - } - - .container-main { - margin: var(--dim-container-main-margin-y) auto; - /* toolbar, footer, margin */ - min-height: calc( - 100svh - var(--dim-header-height) - var(--dim-footer-height) - 2 * - var(--dim-container-main-margin-y) - ); - } - - @keyframes fade-in { - from { - opacity: 0; - } - to { - opacity: 1; - } - } - @keyframes fade-out { - from { - opacity: 1; - visibility: visible; - } - to { - opacity: 0; - } - } - @keyframes pop-in-from-right { - from { - transform: translate(100%, 0); - } - to { - transform: translate(0, 0); - } - } - @keyframes pop-out-to-right { - from { - transform: translate(0, 0); - visibility: visible; - } - to { - transform: translate(100%, 0); - } - } - body { - background: var(--color-background); - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', - Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; - font-size: 16px; - color: var(--color-text); - margin: 0; - } - - a { - color: var(--color-link); - text-decoration: none; - } - a:hover { - text-decoration: underline; - } - a.external[target='_blank'] { - background-image: var(--external-icon); - background-position: top 3px right; - background-repeat: no-repeat; - padding-right: 13px; - } - a.tsd-anchor-link { - color: var(--color-text); - } - :target { - scroll-margin-block: calc(var(--dim-header-height) + 0.5rem); - } - - code, - pre { - font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; - padding: 0.2em; - margin: 0; - font-size: 0.875rem; - border-radius: 0.8em; - } - - pre { - position: relative; - white-space: pre-wrap; - word-wrap: break-word; - padding: 10px; - border: 1px solid var(--color-accent); - margin-bottom: 8px; - } - pre code { - padding: 0; - font-size: 100%; - } - pre > button { - position: absolute; - top: 10px; - right: 10px; - opacity: 0; - transition: opacity 0.1s; - box-sizing: border-box; - } - pre:hover > button, - pre > button.visible, - pre > button:focus-visible { - opacity: 1; - } - - blockquote { - margin: 1em 0; - padding-left: 1em; - border-left: 4px solid gray; - } - - img { - max-width: 100%; - } - - * { - scrollbar-width: thin; - scrollbar-color: var(--color-accent) var(--color-icon-background); - } - - *::-webkit-scrollbar { - width: 0.75rem; - } - - *::-webkit-scrollbar-track { - background: var(--color-icon-background); - } - - *::-webkit-scrollbar-thumb { - background-color: var(--color-accent); - border-radius: 999rem; - border: 0.25rem solid var(--color-icon-background); - } - - dialog { - border: none; - outline: none; - padding: 0; - background-color: var(--color-background); - } - dialog::backdrop { - display: none; - } - #tsd-overlay { - background-color: rgba(0, 0, 0, 0.5); - position: fixed; - z-index: 9999; - top: 0; - left: 0; - right: 0; - bottom: 0; - animation: fade-in var(--modal-animation-duration) forwards; - } - #tsd-overlay.closing { - animation-name: fade-out; - } - - .tsd-typography { - line-height: 1.333em; - } - .tsd-typography ul { - list-style: square; - padding: 0 0 0 20px; - margin: 0; - } - .tsd-typography .tsd-index-panel h3, - .tsd-index-panel .tsd-typography h3, - .tsd-typography h4, - .tsd-typography h5, - .tsd-typography h6 { - font-size: 1em; - } - .tsd-typography h5, - .tsd-typography h6 { - font-weight: normal; - } - .tsd-typography p, - .tsd-typography ul, - .tsd-typography ol { - margin: 1em 0; - } - .tsd-typography table { - border-collapse: collapse; - border: none; - } - .tsd-typography td, - .tsd-typography th { - padding: 6px 13px; - border: 1px solid var(--color-accent); - } - .tsd-typography thead, - .tsd-typography tr:nth-child(even) { - background-color: var(--color-background-secondary); - } - - .tsd-alert { - padding: 8px 16px; - margin-bottom: 16px; - border-left: 0.25em solid var(--alert-color); - } - .tsd-alert blockquote > :last-child, - .tsd-alert > :last-child { - margin-bottom: 0; - } - .tsd-alert-title { - color: var(--alert-color); - display: inline-flex; - align-items: center; - } - .tsd-alert-title span { - margin-left: 4px; - } - - .tsd-alert-note { - --alert-color: var(--color-alert-note); - } - .tsd-alert-tip { - --alert-color: var(--color-alert-tip); - } - .tsd-alert-important { - --alert-color: var(--color-alert-important); - } - .tsd-alert-warning { - --alert-color: var(--color-alert-warning); - } - .tsd-alert-caution { - --alert-color: var(--color-alert-caution); - } - - .tsd-breadcrumb { - margin: 0; - margin-top: 1rem; - padding: 0; - color: var(--color-text-aside); - } - .tsd-breadcrumb a { - color: var(--color-text-aside); - text-decoration: none; - } - .tsd-breadcrumb a:hover { - text-decoration: underline; - } - .tsd-breadcrumb li { - display: inline; - } - .tsd-breadcrumb li:after { - content: ' / '; - } - - .tsd-comment-tags { - display: flex; - flex-direction: column; - } - dl.tsd-comment-tag-group { - display: flex; - align-items: center; - overflow: hidden; - margin: 0.5em 0; - } - dl.tsd-comment-tag-group dt { - display: flex; - margin-right: 0.5em; - font-size: 0.875em; - font-weight: normal; - } - dl.tsd-comment-tag-group dd { - margin: 0; - } - code.tsd-tag { - padding: 0.25em 0.4em; - border: 0.1em solid var(--color-accent); - margin-right: 0.25em; - font-size: 70%; - } - h1 code.tsd-tag:first-of-type { - margin-left: 0.25em; - } - - dl.tsd-comment-tag-group dd:before, - dl.tsd-comment-tag-group dd:after { - content: ' '; - } - dl.tsd-comment-tag-group dd pre, - dl.tsd-comment-tag-group dd:after { - clear: both; - } - dl.tsd-comment-tag-group p { - margin: 0; - } - - .tsd-panel.tsd-comment .lead { - font-size: 1.1em; - line-height: 1.333em; - margin-bottom: 2em; - } - .tsd-panel.tsd-comment .lead:last-child { - margin-bottom: 0; - } - - .tsd-filter-visibility h4 { - font-size: 1rem; - padding-top: 0.75rem; - padding-bottom: 0.5rem; - margin: 0; - } - .tsd-filter-item:not(:last-child) { - margin-bottom: 0.5rem; - } - .tsd-filter-input { - display: flex; - width: -moz-fit-content; - width: fit-content; - align-items: center; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - cursor: pointer; - } - .tsd-filter-input input[type='checkbox'] { - cursor: pointer; - position: absolute; - width: 1.5em; - height: 1.5em; - opacity: 0; - } - .tsd-filter-input input[type='checkbox']:disabled { - pointer-events: none; - } - .tsd-filter-input svg { - cursor: pointer; - width: 1.5em; - height: 1.5em; - margin-right: 0.5em; - border-radius: 0.33em; - /* Leaving this at full opacity breaks event listeners on Firefox. - Don't remove unless you know what you're doing. */ - opacity: 0.99; - } - .tsd-filter-input input[type='checkbox']:focus-visible + svg { - outline: 2px solid var(--color-focus-outline); - } - .tsd-checkbox-background { - fill: var(--color-accent); - } - input[type='checkbox']:checked ~ svg .tsd-checkbox-checkmark { - stroke: var(--color-text); - } - .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { - fill: var(--color-background); - stroke: var(--color-accent); - stroke-width: 0.25rem; - } - .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { - stroke: var(--color-accent); - } - - .settings-label { - font-weight: bold; - text-transform: uppercase; - display: inline-block; - } - - .tsd-filter-visibility .settings-label { - margin: 0.75rem 0 0.5rem 0; - } - - .tsd-theme-toggle .settings-label { - margin: 0.75rem 0.75rem 0 0; - } - - .tsd-hierarchy h4 label:hover span { - text-decoration: underline; - } - - .tsd-hierarchy { - list-style: square; - margin: 0; - } - .tsd-hierarchy-target { - font-weight: bold; - } - .tsd-hierarchy-toggle { - color: var(--color-link); - cursor: pointer; - } - - .tsd-full-hierarchy:not(:last-child) { - margin-bottom: 1em; - padding-bottom: 1em; - border-bottom: 1px solid var(--color-accent); - } - .tsd-full-hierarchy, - .tsd-full-hierarchy ul { - list-style: none; - margin: 0; - padding: 0; - } - .tsd-full-hierarchy ul { - padding-left: 1.5rem; - } - .tsd-full-hierarchy a { - padding: 0.25rem 0 !important; - font-size: 1rem; - display: inline-flex; - align-items: center; - color: var(--color-text); - } - .tsd-full-hierarchy svg[data-dropdown] { - cursor: pointer; - } - .tsd-full-hierarchy svg[data-dropdown='false'] { - transform: rotate(-90deg); - } - .tsd-full-hierarchy svg[data-dropdown='false'] ~ ul { - display: none; - } - - .tsd-panel-group.tsd-index-group { - margin-bottom: 0; - } - .tsd-index-panel .tsd-index-list { - list-style: none; - line-height: 1.333em; - margin: 0; - padding: 0.25rem 0 0 0; - overflow: hidden; - display: grid; - grid-template-columns: repeat(3, 1fr); - column-gap: 1rem; - grid-template-rows: auto; - } - @media (max-width: 1024px) { - .tsd-index-panel .tsd-index-list { - grid-template-columns: repeat(2, 1fr); - } - } - @media (max-width: 768px) { - .tsd-index-panel .tsd-index-list { - grid-template-columns: repeat(1, 1fr); - } - } - .tsd-index-panel .tsd-index-list li { - -webkit-page-break-inside: avoid; - -moz-page-break-inside: avoid; - -ms-page-break-inside: avoid; - -o-page-break-inside: avoid; - page-break-inside: avoid; - } - - .tsd-flag { - display: inline-block; - padding: 0.25em 0.4em; - border-radius: 4px; - color: var(--color-comment-tag-text); - background-color: var(--color-comment-tag); - text-indent: 0; - font-size: 75%; - line-height: 1; - font-weight: normal; - } - - .tsd-anchor { - position: relative; - top: -100px; - } - - .tsd-member { - position: relative; - } - .tsd-member .tsd-anchor + h3 { - display: flex; - align-items: center; - margin-top: 0; - margin-bottom: 0; - border-bottom: none; - } - - .tsd-navigation.settings { - margin: 0; - margin-bottom: 1rem; - } - .tsd-navigation > a, - .tsd-navigation .tsd-accordion-summary { - width: calc(100% - 0.25rem); - display: flex; - align-items: center; - } - .tsd-navigation a, - .tsd-navigation summary > span, - .tsd-page-navigation a { - display: flex; - width: calc(100% - 0.25rem); - align-items: center; - padding: 0.25rem; - color: var(--color-text); - text-decoration: none; - box-sizing: border-box; - } - .tsd-navigation a.current, - .tsd-page-navigation a.current { - background: var(--color-active-menu-item); - color: var(--color-contrast-text); - } - .tsd-navigation a:hover, - .tsd-page-navigation a:hover { - text-decoration: underline; - } - .tsd-navigation ul, - .tsd-page-navigation ul { - margin-top: 0; - margin-bottom: 0; - padding: 0; - list-style: none; - } - .tsd-navigation li, - .tsd-page-navigation li { - padding: 0; - max-width: 100%; - } - .tsd-navigation .tsd-nav-link { - display: none; - } - .tsd-nested-navigation { - margin-left: 3rem; - } - .tsd-nested-navigation > li > details { - margin-left: -1.5rem; - } - .tsd-small-nested-navigation { - margin-left: 1.5rem; - } - .tsd-small-nested-navigation > li > details { - margin-left: -1.5rem; - } - - .tsd-page-navigation-section > summary { - padding: 0.25rem; - } - .tsd-page-navigation-section > summary > svg { - margin-right: 0.25rem; - } - .tsd-page-navigation-section > div { - margin-left: 30px; - } - .tsd-page-navigation ul { - padding-left: 1.75rem; - } - - #tsd-sidebar-links a { - margin-top: 0; - margin-bottom: 0.5rem; - line-height: 1.25rem; - } - #tsd-sidebar-links a:last-of-type { - margin-bottom: 0; - } - - a.tsd-index-link { - padding: 0.25rem 0 !important; - font-size: 1rem; - line-height: 1.25rem; - display: inline-flex; - align-items: center; - color: var(--color-text); - } - .tsd-accordion-summary { - list-style-type: none; /* hide marker on non-safari */ - outline: none; /* broken on safari, so just hide it */ - display: flex; - align-items: center; - gap: 0.25rem; - box-sizing: border-box; - } - .tsd-accordion-summary::-webkit-details-marker { - display: none; /* hide marker on safari */ - } - .tsd-accordion-summary, - .tsd-accordion-summary a { - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - user-select: none; - - cursor: pointer; - } - .tsd-accordion-summary a { - width: calc(100% - 1.5rem); - } - .tsd-accordion-summary > * { - margin-top: 0; - margin-bottom: 0; - padding-top: 0; - padding-bottom: 0; - } - /* - * We need to be careful to target the arrow indicating whether the accordion - * is open, but not any other SVGs included in the details element. - */ - .tsd-accordion:not([open]) > .tsd-accordion-summary > svg:first-child { - transform: rotate(-90deg); - } - .tsd-index-content > :not(:first-child) { - margin-top: 0.75rem; - } - .tsd-index-summary { - margin-top: 1.5rem; - margin-bottom: 0.75rem; - display: flex; - align-content: center; - } - - .tsd-no-select { - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - } - .tsd-kind-icon { - margin-right: 0.5rem; - width: 1.25rem; - height: 1.25rem; - min-width: 1.25rem; - min-height: 1.25rem; - } - .tsd-signature > .tsd-kind-icon { - margin-right: 0.8rem; - } - - .tsd-panel { - margin-bottom: 2.5rem; - } - .tsd-panel.tsd-member { - margin-bottom: 4rem; - } - .tsd-panel:empty { - display: none; - } - .tsd-panel > h1, - .tsd-panel > h2, - .tsd-panel > h3 { - margin: 1.5rem -1.5rem 0.75rem -1.5rem; - padding: 0 1.5rem 0.75rem 1.5rem; - } - .tsd-panel > h1.tsd-before-signature, - .tsd-panel > h2.tsd-before-signature, - .tsd-panel > h3.tsd-before-signature { - margin-bottom: 0; - border-bottom: none; - } - - .tsd-panel-group { - margin: 2rem 0; - } - .tsd-panel-group.tsd-index-group { - margin: 2rem 0; - } - .tsd-panel-group.tsd-index-group details { - margin: 2rem 0; - } - .tsd-panel-group > .tsd-accordion-summary { - margin-bottom: 1rem; - } - - #tsd-search[open] { - animation: fade-in var(--modal-animation-duration) ease-out forwards; - } - #tsd-search[open].closing { - animation-name: fade-out; - } - - /* Avoid setting `display` on closed dialog */ - #tsd-search[open] { - display: flex; - flex-direction: column; - padding: 1rem; - width: 32rem; - max-width: 90vw; - max-height: calc(100vh - env(keyboard-inset-height, 0px) - 25vh); - /* Anchor dialog to top */ - margin-top: 10vh; - border-radius: 6px; - will-change: max-height; - } - #tsd-search-input { - box-sizing: border-box; - width: 100%; - padding: 0 0.625rem; /* 10px */ - outline: 0; - border: 2px solid var(--color-accent); - background-color: transparent; - color: var(--color-text); - border-radius: 4px; - height: 2.5rem; - flex: 0 0 auto; - font-size: 0.875rem; - transition: - border-color 0.2s, - background-color 0.2s; - } - #tsd-search-input:focus-visible { - background-color: var(--color-background-active); - border-color: transparent; - color: var(--color-contrast-text); - } - #tsd-search-input::placeholder { - color: inherit; - opacity: 0.8; - } - #tsd-search-results { - margin: 0; - padding: 0; - list-style: none; - flex: 1 1 auto; - display: flex; - flex-direction: column; - overflow-y: auto; - } - #tsd-search-results:not(:empty) { - margin-top: 0.5rem; - } - #tsd-search-results > li { - background-color: var(--color-background); - line-height: 1.5; - box-sizing: border-box; - border-radius: 4px; - } - #tsd-search-results > li:nth-child(even) { - background-color: var(--color-background-secondary); - } - #tsd-search-results > li:is(:hover, [aria-selected='true']) { - background-color: var(--color-background-active); - color: var(--color-contrast-text); - } - /* It's important that this takes full size of parent `li`, to capture a click on `li` */ - #tsd-search-results > li > a { - display: flex; - align-items: center; - padding: 0.5rem 0.25rem; - box-sizing: border-box; - width: 100%; - } - #tsd-search-results > li > a > .text { - flex: 1 1 auto; - min-width: 0; - overflow-wrap: anywhere; - } - #tsd-search-results > li > a .parent { - color: var(--color-text-aside); - } - #tsd-search-results > li > a mark { - color: inherit; - background-color: inherit; - font-weight: bold; - } - #tsd-search-status { - flex: 1; - display: grid; - place-content: center; - text-align: center; - overflow-wrap: anywhere; - } - #tsd-search-status:not(:empty) { - min-height: 6rem; - } - - .tsd-signature { - margin: 0 0 1rem 0; - padding: 1rem 0.5rem; - border: 1px solid var(--color-accent); - font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; - font-size: 14px; - overflow-x: auto; - } - - .tsd-signature-keyword { - color: var(--color-ts-keyword); - font-weight: normal; - } - - .tsd-signature-symbol { - color: var(--color-text-aside); - font-weight: normal; - } - - .tsd-signature-type { - font-style: italic; - font-weight: normal; - } - - .tsd-signatures { - padding: 0; - margin: 0 0 1em 0; - list-style-type: none; - } - .tsd-signatures .tsd-signature { - margin: 0; - border-color: var(--color-accent); - border-width: 1px 0; - transition: background-color 0.1s; - } - .tsd-signatures .tsd-index-signature:not(:last-child) { - margin-bottom: 1em; - } - .tsd-signatures .tsd-index-signature .tsd-signature { - border-width: 1px; - } - .tsd-description .tsd-signatures .tsd-signature { - border-width: 1px; - } - - ul.tsd-parameter-list, - ul.tsd-type-parameter-list { - list-style: square; - margin: 0; - padding-left: 20px; - } - ul.tsd-parameter-list > li.tsd-parameter-signature, - ul.tsd-type-parameter-list > li.tsd-parameter-signature { - list-style: none; - margin-left: -20px; - } - ul.tsd-parameter-list h5, - ul.tsd-type-parameter-list h5 { - font-size: 16px; - margin: 1em 0 0.5em 0; - } - .tsd-sources { - margin-top: 1rem; - font-size: 0.875em; - } - .tsd-sources a { - color: var(--color-text-aside); - text-decoration: underline; - } - .tsd-sources ul { - list-style: none; - padding: 0; - } - - .tsd-page-toolbar { - position: sticky; - z-index: 1; - top: 0; - left: 0; - width: 100%; - color: var(--color-text); - background: var(--color-background-secondary); - border-bottom: var(--dim-toolbar-border-bottom-width) var(--color-accent) - solid; - transition: transform 0.3s ease-in-out; - } - .tsd-page-toolbar a { - color: var(--color-text); - } - .tsd-toolbar-contents { - display: flex; - align-items: center; - height: var(--dim-toolbar-contents-height); - margin: 0 auto; - } - .tsd-toolbar-contents > .title { - font-weight: bold; - margin-right: auto; - } - #tsd-toolbar-links { - display: flex; - align-items: center; - gap: 1.5rem; - margin-right: 1rem; - } - - .tsd-widget { - box-sizing: border-box; - display: inline-block; - opacity: 0.8; - height: 2.5rem; - width: 2.5rem; - transition: - opacity 0.1s, - background-color 0.1s; - text-align: center; - cursor: pointer; - border: none; - background-color: transparent; - } - .tsd-widget:hover { - opacity: 0.9; - } - .tsd-widget:active { - opacity: 1; - background-color: var(--color-accent); - } - #tsd-toolbar-menu-trigger { - display: none; - } - - .tsd-member-summary-name { - display: inline-flex; - align-items: center; - padding: 0.25rem; - text-decoration: none; - } - - .tsd-anchor-icon { - display: inline-flex; - align-items: center; - margin-left: 0.5rem; - color: var(--color-text); - vertical-align: middle; - } - - .tsd-anchor-icon svg { - width: 1em; - height: 1em; - visibility: hidden; - } - - .tsd-member-summary-name:hover > .tsd-anchor-icon svg, - .tsd-anchor-link:hover > .tsd-anchor-icon svg, - .tsd-anchor-icon:focus-visible svg { - visibility: visible; - } - - .deprecated { - text-decoration: line-through !important; - } - - .warning { - padding: 1rem; - color: var(--color-warning-text); - background: var(--color-background-warning); - } - - .tsd-kind-project { - color: var(--color-ts-project); - } - .tsd-kind-module { - color: var(--color-ts-module); - } - .tsd-kind-namespace { - color: var(--color-ts-namespace); - } - .tsd-kind-enum { - color: var(--color-ts-enum); - } - .tsd-kind-enum-member { - color: var(--color-ts-enum-member); - } - .tsd-kind-variable { - color: var(--color-ts-variable); - } - .tsd-kind-function { - color: var(--color-ts-function); - } - .tsd-kind-class { - color: var(--color-ts-class); - } - .tsd-kind-interface { - color: var(--color-ts-interface); - } - .tsd-kind-constructor { - color: var(--color-ts-constructor); - } - .tsd-kind-property { - color: var(--color-ts-property); - } - .tsd-kind-method { - color: var(--color-ts-method); - } - .tsd-kind-reference { - color: var(--color-ts-reference); - } - .tsd-kind-call-signature { - color: var(--color-ts-call-signature); - } - .tsd-kind-index-signature { - color: var(--color-ts-index-signature); - } - .tsd-kind-constructor-signature { - color: var(--color-ts-constructor-signature); - } - .tsd-kind-parameter { - color: var(--color-ts-parameter); - } - .tsd-kind-type-parameter { - color: var(--color-ts-type-parameter); - } - .tsd-kind-accessor { - color: var(--color-ts-accessor); - } - .tsd-kind-get-signature { - color: var(--color-ts-get-signature); - } - .tsd-kind-set-signature { - color: var(--color-ts-set-signature); - } - .tsd-kind-type-alias { - color: var(--color-ts-type-alias); - } - - /* if we have a kind icon, don't color the text by kind */ - .tsd-kind-icon ~ span { - color: var(--color-text); - } - - /* mobile */ - @media (max-width: 769px) { - #tsd-toolbar-menu-trigger { - display: inline-block; - /* temporary fix to vertically align, for compatibility */ - line-height: 2.5; - } - #tsd-toolbar-links { - display: none; - } - - .container-main { - display: flex; - } - .col-content { - float: none; - max-width: 100%; - width: 100%; - } - .col-sidebar { - position: fixed !important; - overflow-y: auto; - -webkit-overflow-scrolling: touch; - z-index: 1024; - top: 0 !important; - bottom: 0 !important; - left: auto !important; - right: 0 !important; - padding: 1.5rem 1.5rem 0 0; - width: 75vw; - visibility: hidden; - background-color: var(--color-background); - transform: translate(100%, 0); - } - .col-sidebar > *:last-child { - padding-bottom: 20px; - } - .overlay { - content: ''; - display: block; - position: fixed; - z-index: 1023; - top: 0; - left: 0; - right: 0; - bottom: 0; - background-color: rgba(0, 0, 0, 0.75); - visibility: hidden; - } - - .to-has-menu .overlay { - animation: fade-in 0.4s; - } - - .to-has-menu .col-sidebar { - animation: pop-in-from-right 0.4s; - } - - .from-has-menu .overlay { - animation: fade-out 0.4s; - } - - .from-has-menu .col-sidebar { - animation: pop-out-to-right 0.4s; - } - - .has-menu body { - overflow: hidden; - } - .has-menu .overlay { - visibility: visible; - } - .has-menu .col-sidebar { - visibility: visible; - transform: translate(0, 0); - display: flex; - flex-direction: column; - gap: 1.5rem; - max-height: 100vh; - padding: 1rem 2rem; - } - .has-menu .tsd-navigation { - max-height: 100%; - } - .tsd-navigation .tsd-nav-link { - display: flex; - } - } - - /* one sidebar */ - @media (min-width: 770px) { - .container-main { - display: grid; - grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); - grid-template-areas: 'sidebar content'; - --dim-container-main-margin-y: 2rem; - } - - .tsd-breadcrumb { - margin-top: 0; - } - - .col-sidebar { - grid-area: sidebar; - } - .col-content { - grid-area: content; - padding: 0 1rem; - } - } - @media (min-width: 770px) and (max-width: 1399px) { - .col-sidebar { - max-height: calc( - 100vh - var(--dim-header-height) - var(--dim-footer-height) - 2 * - var(--dim-container-main-margin-y) - ); - overflow: auto; - position: sticky; - top: calc(var(--dim-header-height) + var(--dim-container-main-margin-y)); - } - .site-menu { - margin-top: 1rem; - } - } - - /* two sidebars */ - @media (min-width: 1200px) { - .container-main { - grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem); - grid-template-areas: 'sidebar content toc'; - } - - .col-sidebar { - display: contents; - } - - .page-menu { - grid-area: toc; - padding-left: 1rem; - } - .site-menu { - grid-area: sidebar; - } - - .site-menu { - margin-top: 0rem; - } - - .page-menu, - .site-menu { - max-height: calc( - 100vh - var(--dim-header-height) - var(--dim-footer-height) - 2 * - var(--dim-container-main-margin-y) - ); - overflow: auto; - position: sticky; - top: calc(var(--dim-header-height) + var(--dim-container-main-margin-y)); - } - } -} diff --git a/docs/dev/assets/versionsMenu.js b/docs/dev/assets/versionsMenu.js deleted file mode 100644 index bc70601c..00000000 --- a/docs/dev/assets/versionsMenu.js +++ /dev/null @@ -1,26 +0,0 @@ -import { DOC_VERSIONS } from '../../versions.js'; - -const select = document.getElementById('plugin-versions-select'); - -DOC_VERSIONS.forEach((version) => { - const option = document.createElement('option'); - option.value = version; - option.innerHTML = version; - select.appendChild(option); -}); - -const locationSplit = location.pathname.split('/'); -const thisVersion = locationSplit.find((path) => - ['stable', 'dev', ...DOC_VERSIONS].includes(path) -); -select.value = DOC_VERSIONS.includes(thisVersion) - ? thisVersion - : DOC_VERSIONS[0]; -select.onchange = () => { - const newPaths = window.location.pathname.replace( - `/${thisVersion}/`, - `/${select.value}/` - ); - const newUrl = new URL(newPaths, window.location.origin); - window.location.assign(newUrl); -}; diff --git a/docs/dev/classes/Classes.Auth0.html b/docs/dev/classes/Classes.Auth0.html deleted file mode 100644 index 2e4cd522..00000000 --- a/docs/dev/classes/Classes.Auth0.html +++ /dev/null @@ -1,846 +0,0 @@ - - - - - - Auth0 | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
-
- React Native Auth0 - v5.0.0-beta.5 - - - - -
    -
    -
    Preparing search index...
    -
    -
    - -
    -
    -
    -
    -
    - -

    Class Auth0

    -
    -
    -
    -

    The main Auth0 client class.

    -

    - This class acts as a facade, creating and delegating to a - platform-specific client instance (Native or Web) under the hood. -

    -
    -
    -
    - -
    import Auth0 from 'react-native-auth0';

    const auth0 = new Auth0({
    domain: 'YOUR_AUTH0_DOMAIN',
    clientId: 'YOUR_AUTH0_CLIENT_ID'
    }); -
    -
    -
    -
    - -
    -
    -
    - - -
    Index
    -
    -
    -
    -

    Accessors

    - -
    -
    -

    Constructors

    - -
    -
    -

    Methods

    - -
    -
    -
    -
    -
    -
    - - -

    Accessors

    -
    -
    -
    - -
      -
    • -
      - get - webAuth(): - IWebAuthProvider -
      -
      -
      -

      - Provides access to the web-based authentication methods. -

      -
      -

      - Returns - IWebAuthProvider -

      -
      -
      - -

      IWebAuthProvider

      -
      -
      - -
      -
    • -
    -
    -
    - - -
    -
    - - -
    -
    -
    -
    - - -

    Constructors

    -
    -
    -
    - -
      -
    • - -
      -
      -

      Creates an instance of the Auth0 client.

      -
      -
      -

      Parameters

      -
        -
      • - options: - Auth0Options -
        -

        Configuration options for the client.

        -
        -
        -
      • -
      -
      -

      - Returns - Auth0 -

      -
      - -
      -
    • -
    -
    -
    -
    -
    - - -

    Methods

    -
    -
    -
    - -
      -
    • - -
      -
      -

      - Provides access to the Management API (e.g., for user - patching). -

      -
      -
      -

      Parameters

      -
        -
      • - token: - string -
      • -
      -
      -

      - Returns - IUsersClient -

      -
      - -
      -
    • -
    -
    -
    -
    -
    -
    - - -
    -
    - -
    - - - diff --git a/docs/dev/classes/Classes.AuthError.html b/docs/dev/classes/Classes.AuthError.html deleted file mode 100644 index 2032ca62..00000000 --- a/docs/dev/classes/Classes.AuthError.html +++ /dev/null @@ -1,831 +0,0 @@ - - - - - - AuthError | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
    -
    - React Native Auth0 - v5.0.0-beta.5 - - - - -
      -
      -
      Preparing search index...
      -
      -
      - -
      -
      -
      -
      -
      - -

      Class AuthError

      -
      -
      -
      -

      Represents a generic authentication or API error from Auth0.

      -

      - This class provides a structured way to handle errors, with - consistent access to status codes, error codes, and response - bodies. -

      -
      -
      -
      -
      -

      - Hierarchy (View Summary) -

      - -
      - -
      -
      -
      - - -
      Index
      -
      -
      -
      -

      Constructors

      - -
      -
      -

      Methods

      - -
      -
      -

      Properties

      - -
      -
      -
      -
      -
      -
      - - -

      Constructors

      -
      -
      -
      - -
        -
      • - -
        -
        -

        Constructs a new AuthError instance.

        -
        -
        -

        Parameters

        -
          -
        • - name: - string -
          -

          - The primary error identifier (e.g., the 'error' - field from an OAuth2 response). -

          -
          -
          -
        • -
        • - message: - string -
          -

          - A human-readable description of the error (e.g., - the 'error_description' field). -

          -
          -
          -
        • -
        • - Optionaldetails: - { - status?: - number; - code?: - string; - json?: - unknown - } -
          -

          - An object containing additional error context. -

          -
          -
          -
        • -
        -
        -

        - Returns - AuthError -

        -
        - -
        -
      • -
      -
      -
      -
      -
      - - -

      Methods

      -
      -
      -
      - -
        -
      • - -
        -
        -

        - A static factory method to create an AuthError from a - fetch Response object. This is a utility that platform - adapters can use for consistency. -

        -
        -
        -

        Parameters

        -
          -
        • - response: - Response -
          -

          The fetch Response object.

          -
          -
          -
        • -
        • - body: - any -
          -

          - The parsed body of the response (can be JSON or - text). -

          -
          -
          -
        • -
        -
        -

        - Returns - AuthError -

        -

        A new AuthError instance.

        -
        - -
        -
      • -
      -
      -
      -
      -
      - - -

      Properties

      -
      -
      -
      - -
      - status: - number -
      -
      -

      The HTTP status code of the error response, if available.

      -
      -
      - -
      -
      - -
      - code: - string -
      -
      -

      - The error code returned by Auth0 (e.g., 'invalid_grant'), if - available. -

      -
      -
      - -
      -
      - -
      - json: - unknown -
      -
      -

      The full JSON response body of the error, if available.

      -
      -
      - -
      -
      -
      -
      -
      - - -
      -
      - -
      - - - diff --git a/docs/dev/classes/Classes.TimeoutError.html b/docs/dev/classes/Classes.TimeoutError.html deleted file mode 100644 index 70ca18d5..00000000 --- a/docs/dev/classes/Classes.TimeoutError.html +++ /dev/null @@ -1,793 +0,0 @@ - - - - - - TimeoutError | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
      -
      - React Native Auth0 - v5.0.0-beta.5 - - - - -
        -
        -
        Preparing search index...
        -
        -
        - -
        -
        -
        -
        -
        - -

        Class TimeoutError

        -
        -
        -
        -

        Represents a generic authentication or API error from Auth0.

        -

        - This class provides a structured way to handle errors, with - consistent access to status codes, error codes, and response - bodies. -

        -
        -
        -
        -
        -

        - Hierarchy (View Summary) -

        - -
        - -
        -
        -
        - - -
        Index
        -
        -
        -
        -

        Constructors

        - -
        -
        -

        Methods

        - -
        -
        -

        Properties

        - -
        -
        -
        -
        -
        -
        - - -

        Constructors

        -
        -
        -
        - - -
        -
        -
        -
        - - -

        Methods

        -
        -
        -
        - -
          -
        • - -
          -
          -

          - A static factory method to create an AuthError from a - fetch Response object. This is a utility that platform - adapters can use for consistency. -

          -
          -
          -

          Parameters

          -
            -
          • - response: - Response -
            -

            The fetch Response object.

            -
            -
            -
          • -
          • - body: - any -
            -

            - The parsed body of the response (can be JSON or - text). -

            -
            -
            -
          • -
          -
          -

          - Returns - AuthError -

          -

          A new AuthError instance.

          -
          - -
          -
        • -
        -
        -
        -
        -
        - - -

        Properties

        -
        -
        -
        - -
        - status: - number -
        -
        -

        The HTTP status code of the error response, if available.

        -
        -
        - -
        -
        - -
        - code: - string -
        -
        -

        - The error code returned by Auth0 (e.g., 'invalid_grant'), if - available. -

        -
        -
        - -
        -
        - -
        - json: - unknown -
        -
        -

        The full JSON response body of the error, if available.

        -
        -
        - -
        -
        -
        -
        -
        - - -
        -
        - -
        - - - diff --git a/docs/dev/enums/Interface.LocalAuthenticationLevel.html b/docs/dev/enums/Interface.LocalAuthenticationLevel.html deleted file mode 100644 index 71a5a44d..00000000 --- a/docs/dev/enums/Interface.LocalAuthenticationLevel.html +++ /dev/null @@ -1,444 +0,0 @@ - - - - - - LocalAuthenticationLevel | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
        -
        - React Native Auth0 - v5.0.0-beta.5 - - - - -
          -
          -
          Preparing search index...
          -
          -
          - -
          -
          -
          -
          -
          - -

          Enumeration LocalAuthenticationLevel

          -
          -
          -
          -
          - -

          - Platform specific: Android only. The level of - local authentication required to access credentials on Android. -

          -
          -
          -
          - -
          -
          -
          - - -
          Index
          -
          -
          -
          -

          Enumeration Members

          - -
          -
          -
          -
          -
          -
          - - -

          Enumeration Members

          -
          -
          -
          - -
          - strong: - 0 -
          - -
          -
          - -
          - weak: - 1 -
          - -
          -
          - -
          - deviceCredential: - 2 -
          - -
          -
          -
          -
          -
          - - -
          -
          - -
          - - - diff --git a/docs/dev/enums/Interface.LocalAuthenticationStrategy.html b/docs/dev/enums/Interface.LocalAuthenticationStrategy.html deleted file mode 100644 index 9eb8f112..00000000 --- a/docs/dev/enums/Interface.LocalAuthenticationStrategy.html +++ /dev/null @@ -1,411 +0,0 @@ - - - - - - - LocalAuthenticationStrategy | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - - -
          -
          - React Native Auth0 - v5.0.0-beta.5 - - - - -
            -
            -
            Preparing search index...
            -
            -
            - -
            -
            -
            -
            -
            - -

            Enumeration LocalAuthenticationStrategy

            -
            -
            -
            -
            - -

            - Platform specific: iOS only. The evaluation - policy to use when accessing credentials on iOS. -

            -
            -
            -
            - -
            -
            -
            - - -
            Index
            -
            -
            -
            -

            Enumeration Members

            - -
            -
            -
            -
            -
            -
            - - -

            Enumeration Members

            -
            -
            -
            - -
            - deviceOwnerWithBiometrics: - 1 -
            - -
            -
            - -
            - deviceOwner: - 2 -
            - -
            -
            -
            -
            -
            - - -
            -
            - -
            - - - diff --git a/docs/dev/enums/Interface.SafariViewControllerPresentationStyle.html b/docs/dev/enums/Interface.SafariViewControllerPresentationStyle.html deleted file mode 100644 index aabe1403..00000000 --- a/docs/dev/enums/Interface.SafariViewControllerPresentationStyle.html +++ /dev/null @@ -1,779 +0,0 @@ - - - - - - - SafariViewControllerPresentationStyle | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - - -
            -
            - React Native Auth0 - v5.0.0-beta.5 - - - - -
              -
              -
              Preparing search index...
              -
              -
              - -
              -
              -
              -
              -
              - -

              Enumeration SafariViewControllerPresentationStyle

              -
              -
              -
              -
              - -

              - Platform specific: iOS only. Presentation - styles for the web-based login screen on iOS. -

              -
              - -
              -
              - -
              -
              -
              - - -
              Index
              -
              - -
              -
              -
              -
              - - -

              Enumeration Members

              -
              -
              -
              - -
              - automatic: - -2 -
              - -
              -
              - -
              - none: - -1 -
              - -
              -
              - -
              - fullScreen: - 0 -
              - -
              -
              - -
              - pageSheet: - 1 -
              - -
              -
              - -
              - formSheet: - 2 -
              - -
              -
              - -
              - currentContext: - 3 -
              - -
              -
              - -
              - custom: - 4 -
              - -
              -
              - -
              - overFullScreen: - 5 -
              - -
              -
              - -
              - overCurrentContext: - 6 -
              - -
              -
              - -
              - popover: - 7 -
              - -
              -
              -
              -
              -
              - - -
              -
              - -
              - - - diff --git a/docs/dev/functions/Hooks.Auth0Provider.html b/docs/dev/functions/Hooks.Auth0Provider.html deleted file mode 100644 index 46b06d42..00000000 --- a/docs/dev/functions/Hooks.Auth0Provider.html +++ /dev/null @@ -1,267 +0,0 @@ - - - - - - Auth0Provider | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
              -
              - React Native Auth0 - v5.0.0-beta.5 - - - - -
                -
                -
                Preparing search index...
                -
                -
                - -
                -
                -
                -
                -
                - -

                Function Auth0Provider

                -
                -
                - -
                -
                -
                - - -
                -
                - -
                - - - diff --git a/docs/dev/functions/Hooks.useAuth0.html b/docs/dev/functions/Hooks.useAuth0.html deleted file mode 100644 index 016cfe29..00000000 --- a/docs/dev/functions/Hooks.useAuth0.html +++ /dev/null @@ -1,277 +0,0 @@ - - - - - - useAuth0 | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                -
                - React Native Auth0 - v5.0.0-beta.5 - - - - -
                  -
                  -
                  Preparing search index...
                  -
                  -
                  - -
                  -
                  -
                  -
                  -
                  - -

                  Function useAuth0

                  -
                  -
                  -
                    -
                  • - -
                    -
                    -

                    - The primary hook for interacting with the Auth0 SDK in a - React component. -

                    -

                    - It provides access to the authentication state - (user, error, - isLoading) and methods for performing - authentication (authorize, - clearSession, etc.). -

                    -
                    -

                    - Returns - Auth0ContextInterface -

                    -

                    The current authentication state and methods.

                    -
                    -
                    - -
                    const { user, authorize, clearSession, isLoading } = useAuth0();
                    -
                    -
                    -
                    - -
                    -
                  • -
                  -
                  -
                  -
                  - - -
                  -
                  - -
                  - - - diff --git a/docs/dev/hierarchy.html b/docs/dev/hierarchy.html deleted file mode 100644 index 970dff6a..00000000 --- a/docs/dev/hierarchy.html +++ /dev/null @@ -1,285 +0,0 @@ - - - - - - React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                  -
                  - React Native Auth0 - v5.0.0-beta.5 - - - - -
                    -
                    -
                    Preparing search index...
                    -
                    -
                    - -
                    -
                    -
                    -
                    -
                    -

                    React Native Auth0 - v5.0.0-beta.5

                    -
                    -

                    Hierarchy Summary

                    - - - -
                    -
                    - - -
                    -
                    - -
                    - - - diff --git a/docs/dev/index.html b/docs/dev/index.html deleted file mode 100644 index d015a037..00000000 --- a/docs/dev/index.html +++ /dev/null @@ -1,2504 +0,0 @@ - - - - - - React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                    -
                    - React Native Auth0 - v5.0.0-beta.5 - - - - -
                      -
                      -
                      Preparing search index...
                      -
                      -
                      - -
                      -
                      -
                      -
                      -
                      -

                      React Native Auth0 - v5.0.0-beta.5

                      -
                      -
                      -

                      - react-native-auth0 -

                      -

                      - Build Status - NPM version - Coverage - License - Downloads - FOSSA Status -

                      -

                      - 📚 Documentation • 🚀 - Getting Started • ⏭️ - Next Steps • ❓ - FAQs - • ❓ Feedback -

                      - -

                      - We're excited to announce the release of react-native-auth0 - v4.0.0 and the beta release of v5.0.0! -

                      -

                      - For v4.0.0 users: Please note that this update - includes breaking changes that require your attention. To ensure a - smooth transition, please review our 👉 - Migration Guide - 👈 for detailed instructions on updating your integration. -

                      -

                      - For v5.0.0beta users: This beta version requires - React 19 and React Native 0.78.0 or higher. If you're using Expo, - this version requires Expo 53 or higher. See the 👉 - Migration Guide - 👈 for compatibility requirements and upgrade instructions. -

                      - - - - -

                      - This SDK targets apps that are using React Native SDK version - 0.78.0 and up. If you're using an older React Native - version, see the compatibility matrix below. -

                      -

                      - This SDK fully supports React Native New Architecture and Expo 53+. -

                      -
                      -

                      - ⚠️ Warning: If you are using Expo version less - than 53, you need to use react-native-auth0 version 4.x or - earlier. Version 5.x supports Expo 53 and above. -

                      -
                      - -

                      - The following shows platform minimums for running projects with this - SDK: -

                      - - - - - - - - - - - - - - - - - -
                      PlatformMinimum version
                      iOS14.0
                      Android35
                      -

                      - Our SDK requires a minimum iOS deployment target of 14.0. In your - project's ios/Podfile, ensure your platform target is set to 14.0. -

                      -
                      platform :ios, '14.0'
                      -
                      - - -

                      First install the native library module:

                      - -

                      $ npm install react-native-auth0 --save

                      - -

                      $ yarn add react-native-auth0

                      -

                      - Then, you need to run the following command to install the ios app - pods with Cocoapods. That will auto-link the iOS library: -

                      -

                      $ cd ios && pod install

                      - -

                      - You need to make your Android, iOS or Expo applications aware that - an authentication result will be received from the browser. This SDK - makes use of the Android's Package Name and its analogous iOS's - Product Bundle Identifier to generate the redirect URL. Each - platform has its own set of instructions. -

                      - -
                      -

                      - Before version 2.9.0, this SDK required you to add an intent - filter to the Activity on which you're going to receive the - authentication result, and to use the singleTask - launchMode in that activity. To migrate your app - to version 2.9.0+, remove both and continue with - the instructions below. You can also check out a sample migration - diff - here. -

                      -
                      -

                      - Open your app's build.gradle file (typically at - android/app/build.gradle) and add the following - manifest placeholders: -

                      -
                      android {
                      -    defaultConfig {
                      -        // Add the next line
                      -        manifestPlaceholders = [auth0Domain: "YOUR_AUTH0_DOMAIN", auth0Scheme: "${applicationId}.auth0"]
                      -    }
                      -    ...
                      -}
                      -
                      - -

                      - The auth0Domain value must be replaced with your Auth0 - domain value. So if you have samples.us.auth0.com as - your Auth0 domain you would have a configuration like the following: -

                      -
                      android {
                      -    defaultConfig {
                      -        manifestPlaceholders = [auth0Domain: "samples.us.auth0.com", auth0Scheme: "${applicationId}.auth0"]
                      -    }
                      -    ...
                      -}
                      -
                      - -

                      - The applicationId value will be auto-replaced at - runtime with the package name or ID of your application (e.g. - com.example.app). You can change this value from the - build.gradle file. You can also check it at the top of - your AndroidManifest.xml file. -

                      -
                      -

                      - Note that if your Android application is using - product flavors, you might need to specify different manifest placeholders for - each flavor. -

                      -
                      -

                      - If you use a value other than applicationId in - auth0Scheme you will also need to pass it as the - customScheme option parameter of the - authorize and clearSession methods. -

                      -

                      - Take note of this value as you'll be requiring it to define the - callback URLs below. -

                      -
                      -

                      - For more info please read the - React Native docs. -

                      -
                      - -

                      - If you don't plan to use Web Authentication, you will notice that - the compiler will still prompt you to provide the - manifestPlaceholders values, since the - RedirectActivity included in this library will require - them, and the Gradle tasks won't be able to run without them. -

                      -

                      - Re-declare the activity manually with - tools:node="remove" in your app's Android - Manifest in order to make the manifest merger remove it from the - final manifest file. Additionally, one more unused activity can be - removed from the final APK by using the same process. A complete - snippet to achieve this is: -

                      -
                      <activity
                      -    android:name="com.auth0.android.provider.AuthenticationActivity"
                      -    tools:node="remove"/>
                      -<!-- Optional: Remove RedirectActivity -->
                      -<activity
                      -    android:name="com.auth0.android.provider.RedirectActivity"
                      -    tools:node="remove"/>
                      -
                      - - -

                      - Inside the ios folder find the file - AppDelegate.[swift|m] add the following to it: -

                      -

                      For Objective-C:

                      -
                      #import <React/RCTLinkingManager.h>
                      -
                      -- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url
                      -            options:(NSDictionary<UIApplicationOpenURLOptionsKey, id> *)options
                      -{
                      -  return [RCTLinkingManager application:app openURL:url options:options];
                      -}
                      -
                      - -

                      For Swift:

                      -
                      func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
                      -  return RCTLinkingManager.application(app, open: url, options: options)
                      -}
                      -
                      - -

                      - Inside the ios folder open the - Info.plist and locate the value for - CFBundleIdentifier, e.g. -

                      -
                      <key>CFBundleIdentifier</key>
                      -<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
                      -
                      - -

                      - and then below it register a URL type entry using the value of - CFBundleIdentifier as the value for - CFBundleURLSchemes: -

                      -
                      <key>CFBundleURLTypes</key>
                      -<array>
                      -    <dict>
                      -        <key>CFBundleTypeRole</key>
                      -        <string>None</string>
                      -        <key>CFBundleURLName</key>
                      -        <string>auth0</string>
                      -        <key>CFBundleURLSchemes</key>
                      -        <array>
                      -            <string>$(PRODUCT_BUNDLE_IDENTIFIER).auth0</string>
                      -        </array>
                      -    </dict>
                      -</array>
                      -
                      - -

                      - If your application is generated using the React Native CLI, the - default value of $(PRODUCT_BUNDLE_IDENTIFIER) matches - org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier). Take note of this value as you'll be requiring it to define the - callback URLs below. If desired, you can change its value using - XCode in the following way: -

                      -
                        -
                      • - Open the ios/TestApp.xcodeproj file replacing - 'TestApp' with the name of your app or run - xed ios from a Terminal. -
                      • -
                      • - Open your project's or desired target's - Build Settings tab and on the search bar at the - right type "Product Bundle Identifier". -
                      • -
                      • - Replace the Product Bundle Identifier value with - your desired application's bundle identifier name (e.g. - com.example.app). -
                      • -
                      • - If you've changed the project wide settings, make sure the same - were applied to each of the targets your app has. -
                      • -
                      -

                      - If you use a value other than - $(PRODUCT_BUNDLE_IDENTIFIER) in the - CFBundleURLSchemes field of the - Info.plist you will also need to pass it as the - customScheme option parameter of the - authorize and clearSession methods. -

                      -
                      -

                      - For more info please read the - React Native docs. -

                      -
                      - -
                      -

                      - :warning: This SDK is not compatible with "Expo Go" app - because of custom native code. It is compatible with Custom Dev - Client and EAS builds -

                      -
                      -

                      - To use the SDK with Expo, configure the app at build time by - providing the domain and the - customScheme values through the - Config Plugin. To do this, add the following snippet to app.json or - app.config.js: -

                      -
                      {
                      "expo": {
                      ...
                      "plugins": [
                      [
                      "react-native-auth0",
                      {
                      "domain": "YOUR_AUTH0_DOMAIN",
                      "customScheme": "YOUR_CUSTOM_SCHEME"
                      }
                      ]
                      ]
                      }
                      } -
                      - -
                      -

                      - :info: If you want to switch between multiple domains in your app, - refer - here -

                      -
                      - - - - - - - - - - - - - - - - - -
                      APIDescription
                      domain - Mandatory: Provide the Auth0 domain that can be found at the - Application Settings -
                      customScheme - Optional: Custom scheme to build the callback URL with. The - value provided here should be passed to the - customScheme option parameter of the - authorize and clearSession methods. - The custom scheme should be a unique, all lowercase value with - no special characters. -
                      -

                      - Now you can run the application using - expo run:android or expo run:ios. -

                      - -

                      - Callback URLs are the URLs that Auth0 invokes after the - authentication process. Auth0 routes your application back to this - URL and appends additional parameters to it, including a token. - Since callback URLs can be manipulated, you will need to add this - URL to your Application's Allowed Callback URLs for - security. This will enable Auth0 to recognize these URLs as valid. - If omitted, authentication will not be successful. -

                      -

                      - On the Android platform this URL is case-sensitive. Because of that, - this SDK will auto convert the Bundle Identifier (iOS) and - Application ID (Android) values to lowercase in order to build the - Callback URL with them. If any of these values contains uppercase - characters a warning message will be printed in the console. Make - sure to check that the right Callback URL is whitelisted in the - Auth0 dashboard or the browser will not route successfully back to - your application. -

                      -

                      - Go to the - Auth0 Dashboard, select your application and make sure that - Allowed Callback URLs contains the URLs defined - below. -

                      -

                      - If in addition you plan to use the log out method, you must also add - these URLs to the Allowed Logout URLs. -

                      -
                      -
                      - Note -
                      -

                      - Whenever possible, Auth0 recommends using - Android App Links - and - Apple Universal Links - for your callback and logout URLs. Custom URL schemes can be - subject to - client impersonation attacks. -

                      -

                      - 💡 If your Android app is using - product flavors, you might need to specify different manifest placeholders for - each flavor. -

                      -
                      - - -
                      {YOUR_APP_PACKAGE_NAME}.auth0://{YOUR_AUTH0_DOMAIN}/android/{YOUR_APP_PACKAGE_NAME}/callback
                      -
                      - - -
                      https://{YOUR_AUTH0_DOMAIN}/android/{YOUR_APP_PACKAGE_NAME}/callback
                      -
                      - -
                      -

                      - Replace {YOUR_APP_PACKAGE_NAME} and {YOUR_AUTH0_DOMAIN} with your - actual application package name and Auth0 domain. Ensure that - {YOUR_APP_PACKAGE_NAME} is all lowercase. -

                      -
                      -

                      - To enable App Links, set the auth0Scheme to - https in your build.gradle file. -

                      -
                      android {
                      -    defaultConfig {
                      -        manifestPlaceholders = [auth0Domain: "@string/com_auth0_domain", auth0Scheme: "https"]
                      -    }
                      -}
                      -
                      - -

                      - This configuration ensures that your app uses https for the callback - URL scheme, which is required for Android App Links. -

                      - -

                      - Android App Links - allow an application to designate itself as the default handler of a - given type of link. For example, clicking a URL in an email would - open the link in the designated application. This guide will show - you how to enable Android App links support for your - Auth0-registered application using Auth0's Dashboard. -

                      -
                        -
                      1. -

                        - Go to - Auth0 Dashboard > Applications > Applications, and select the name of the application to view. -

                        -
                      2. -
                      3. -

                        - Scroll to the bottom of the Settings page, and select - Show Advanced Settings. -

                        -
                      4. -
                      5. -

                        - Select Device Settings, provide the - App Package Name and - the SHA256 fingerprints of your app’s signing certificate for - your Android application, and select Save Changes. - android-app-link -

                        -
                      6. -
                      -
                      -

                      - You can use the following command to generate the fingerprint - using the Java keytool in your terminal: - keytool -list -v -keystore my-release-key.keystore -

                      -
                      -

                      - To learn more about signing certificates, see Android's - Sign Your App - developer documentation. -

                      - - -
                      {PRODUCT_BUNDLE_IDENTIFIER}.auth0://{YOUR_AUTH0_DOMAIN}/ios/{PRODUCT_BUNDLE_IDENTIFIER}/callback
                      -
                      - - -
                      https://{YOUR_AUTH0_DOMAIN}/ios/{PRODUCT_BUNDLE_IDENTIFIER}/callback
                      -
                      - -
                      -

                      - Replace {PRODUCT_BUNDLE_IDENTIFIER} and - {YOUR_AUTH0_DOMAIN} with your actual product bundle - identifier and Auth0 domain. Ensure that - {PRODUCT_BUNDLE_IDENTIFIER} is all lowercase. -

                      -
                      - -
                      -
                      - Important -
                      -

                      - This step requires a paid Apple Developer account. It is needed to - use Universal Links as callback and logout URLs. Skip this step to - use a custom URL scheme instead. -

                      -
                      - -

                      - Scroll to the end of the settings page of your Auth0 application and - open Advanced Settings > Device Settings. In the - iOS section, set Team ID to your - Apple Team ID, and App ID to your app's bundle identifier. -

                      -

                      - Screenshot of the iOS section inside the Auth0 application settings page -

                      -

                      - This will add your app to your Auth0 tenant's - apple-app-site-association file. -

                      - -

                      - In Xcode, go to the Signing and Capabilities - tab - of your app's target settings, and press the - + Capability button. Then select - Associated Domains. -

                      -

                      - Screenshot of the capabilities library inside Xcode -

                      -

                      - Next, add the following - entry - under Associated Domains: -

                      -
                      webcredentials:YOUR_AUTH0_DOMAIN
                      -
                      - -
                      - Example -

                      - If your Auth0 Domain were example.us.auth0.com, then - this value would be: -

                      -
                      webcredentials:example.us.auth0.com
                      -
                      -
                      -

                      - If you have a custom domain, replace YOUR_AUTH0_DOMAIN with your custom domain. -

                      -
                      -
                      - Note -
                      -

                      - For the associated domain to work, your app must be signed with - your team certificate - even when building for the iOS simulator. Make - sure you are using the Apple Team whose Team ID is configured in - the settings page of your Auth0 application. -

                      -
                      -

                      - Refer to the example of - Using custom scheme for web authentication redirection -

                      - -
                      -

                      - This SDK is OIDC compliant. To ensure OIDC compliant responses - from the Auth0 servers enable the - OIDC Conformant switch in your Auth0 dashboard - under Application / Settings / Advanced OAuth. For - more information please check - this documentation. -

                      -
                      - -

                      - The SDK exports a React hook as the primary interface for performing - web authentication through the - browser using Auth0 - Universal Login. -

                      -

                      - Use the methods from the useAuth0 hook to implement - login, logout, and to retrieve details about the authenticated user. -

                      -

                      - See the - API Documentation - for full details on the useAuth0 hook. -

                      -

                      - First, import the Auth0Provider component and wrap it - around your application. Provide the domain and - clientId values as given to you when setting up your - Auth0 app in the dashboard: -

                      -
                      import { Auth0Provider } from 'react-native-auth0';

                      const App = () => {
                      return (
                      <Auth0Provider domain="YOUR_AUTH0_DOMAIN" clientId="YOUR_AUTH0_CLIENT_ID">
                      {/* YOUR APP */}
                      </Auth0Provider>
                      );
                      };

                      export default App; -
                      - -

                      - You can also pass custom headers that will be included in all API - requests: -

                      -
                      import { Auth0Provider } from 'react-native-auth0';

                      const App = () => {
                      return (
                      <Auth0Provider
                      domain="YOUR_AUTH0_DOMAIN"
                      clientId="YOUR_AUTH0_CLIENT_ID"
                      headers={{ 'X-Custom-Header': 'custom-value' }}
                      >
                      {/* YOUR APP */}
                      </Auth0Provider>
                      );
                      };

                      export default App; -
                      - -
                      - Using the `Auth0` class -

                      - If you're not using React Hooks, you can simply instantiate the - Auth0 class: -

                      -
                      import Auth0 from 'react-native-auth0';

                      const auth0 = new Auth0({
                      domain: 'YOUR_AUTH0_DOMAIN',
                      clientId: 'YOUR_AUTH0_CLIENT_ID',
                      }); -
                      - -

                      - You can also pass custom headers that will be included in all API - requests: -

                      -
                      import Auth0 from 'react-native-auth0';

                      const auth0 = new Auth0({
                      domain: 'YOUR_AUTH0_DOMAIN',
                      clientId: 'YOUR_AUTH0_CLIENT_ID',
                      headers: {
                      'X-Custom-Header': 'custom-value',
                      },
                      }); -
                      -
                      -

                      - Then import the hook into a component where you want to get access - to the properties and methods for integrating with Auth0: -

                      -
                      import { useAuth0 } from 'react-native-auth0';
                      -
                      - - -

                      - Use the authorize method to redirect the user to the - Auth0 - Universal Login - page for authentication. If scope is not specified, - openid profile email is used by default. -

                      -
                        -
                      • - The isLoading property is set to true once the - authentication state of the user is known to the SDK. -
                      • -
                      • - The user property is populated with details about the - authenticated user. If user is null, no - user is currently authenticated. -
                      • -
                      • - The error property is populated if any error occurs. -
                      • -
                      -
                      const Component = () => {
                      const { authorize, user, isLoading, error } = useAuth0();

                      const login = async () => {
                      await authorize();
                      };

                      if (isLoading) {
                      return (
                      <View>
                      <Text>SDK is Loading</Text>
                      </View>
                      );
                      }

                      return (
                      <View>
                      {!user && <Button onPress={login} title="Log in" />}
                      {user && <Text>Logged in as {user.name}</Text>}
                      {error && <Text>{error.message}</Text>}
                      </View>
                      );
                      }; -
                      - -
                      - Using the `Auth0` class -
                      auth0.webAuth
                      .authorize()
                      .then(credentials => console.log(credentials))
                      .catch(error => console.log(error)); -
                      -
                      -
                      -

                      - Web Authentication flows require a Browser application installed - on the device. When no Browser is available, an error of type - a0.browser_not_available will be raised via the - provided callback. -

                      -
                      - -

                      ios-sso-alert

                      -

                      - Check the FAQ for more information about - the alert box that pops up by default when using - Web Auth on iOS. -

                      -
                      -

                      - See also - this blog post - for a detailed overview of Single Sign-On (SSO) on iOS. -

                      -
                      - -

                      - Log the user out by using the clearSession method from - the useAuth0 hook. -

                      -
                      const Component = () => {
                      const { clearSession, user } = useAuth0();

                      const logout = async () => {
                      await clearSession();
                      };

                      return <View>{user && <Button onPress={logout} title="Log out" />}</View>;
                      }; -
                      - -
                      - Using the `Auth0` class -
                      auth0.webAuth.clearSession().catch((error) => console.log(error));
                      -
                      -
                      - - -

                      - The Credentials Manager allows you to securely store and retrieve - the user's credentials. The credentials will be stored encrypted in - Shared Preferences on Android, and in the Keychain on iOS. -

                      -

                      - The Auth0 class exposes the - credentialsManager property for you to interact with - using the API below. -

                      -
                      -

                      - 💡 If you're using Web Auth (authorize) through - Hooks, you do not need to manually store the credentials after - login and delete them after logout; the SDK does this - automatically. -

                      -
                      - -

                      - When the users open your app, check for valid credentials. If they - exist, you can retrieve them and redirect the users to the app's - main flow without any additional login steps. -

                      -
                      const isLoggedIn = await auth0.credentialsManager.hasValidCredentials();

                      if (isLoggedIn) {
                      // Retrieve credentials and redirect to the main flow
                      } else {
                      // Redirect to the login page
                      } -
                      - - -

                      - The credentials will be automatically renewed using the - refresh token, if the access token has expired. - This method is thread safe. -

                      -
                      const credentials = await auth0.credentialsManager.getCredentials();
                      -
                      - -
                      -

                      - 💡 You do not need to call credentialsManager.saveCredentials() - afterward. The Credentials Manager automatically persists the - renewed credentials. -

                      -
                      - -
                      -

                      - :warning: The requireLocalAuthentication method is no - longer available as part of the - CredentialsManager class or the - useAuth0 Hook from v4 of the SDK. -

                      -
                      -
                      -

                      - ℹ️ You need to use at least version 0.59.0 of React - Native, as it uses FragmentActivity as the base - activity, which is required for biometric authentication to work. -

                      -
                      -

                      - You can enable an additional level of user authentication before - retrieving credentials using the local authentication supported by - the device, for example PIN or fingerprint on Android, and Face ID - or Touch ID on iOS. -

                      -

                      - Refer to the instructions below to understand how to enable - authentication before retrieving credentials based on your setup: -

                      -

                      Using Auth0 Class:

                      -

                      - The Auth0 class constructor now accepts a new - parameter, which is an instance of the - LocalAuthenticationOptions object. This needs to be - passed while creating an instance of Auth0 to enable - authentication before obtaining credentials, as shown in the code - snippet below: -

                      -
                      import Auth0 from 'react-native-auth0';
                      const localAuthOptions: LocalAuthenticationOptions = {
                      title: 'Authenticate to retrieve your credentials',
                      subtitle: 'Please authenticate to continue',
                      description: 'We need to authenticate you to retrieve your credentials',
                      cancelTitle: 'Cancel',
                      evaluationPolicy: LocalAuthenticationStrategy.deviceOwnerWithBiometrics,
                      fallbackTitle: 'Use Passcode',
                      authenticationLevel: LocalAuthenticationLevel.strong,
                      deviceCredentialFallback: true,
                      };
                      const auth0 = new Auth0({
                      domain: config.domain,
                      clientId: config.clientId,
                      localAuthenticationOptions: localAuthOptions,
                      }); -
                      - -

                      Using Hooks (Auth0Provider):

                      -

                      - Auth0Provider now accepts a new parameter, which is an - instance of the LocalAuthenticationOptions object. This - needs to be passed to enable authentication before obtaining - credentials, as shown in the code snippet below: -

                      -
                      import { Auth0Provider } from 'react-native-auth0';

                      const localAuthOptions: LocalAuthenticationOptions = {
                      title: 'Authenticate to retrieve your credentials',
                      subtitle: 'Please authenticate to continue',
                      description: 'We need to authenticate you to retrieve your credentials',
                      cancelTitle: 'Cancel',
                      evaluationPolicy: LocalAuthenticationStrategy.deviceOwnerWithBiometrics,
                      fallbackTitle: 'Use Passcode',
                      authenticationLevel: LocalAuthenticationLevel.strong,
                      deviceCredentialFallback: true,
                      };

                      const App = () => {
                      return (
                      <Auth0Provider
                      domain={config.domain}
                      clientId={config.clientId}
                      localAuthenticationOptions={localAuthOptions}
                      >
                      {/* YOUR APP */}
                      </Auth0Provider>
                      );
                      };

                      export default App; -
                      - -

                      - Detailed information on LocalAuthenticationOptions is - available here -

                      -

                      LocalAuthenticationOptions:

                      -

                      - The options for configuring the display of local authentication - prompt, authentication level (Android only), and evaluation policy - (iOS only). -

                      -

                      Properties:

                      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                      PropertyTypeDescriptionApplicable Platforms
                      titleStringThe title of the authentication prompt.Android, iOS
                      subtitleString (optional)The subtitle of the authentication prompt.Android
                      descriptionString (optional)The description of the authentication prompt.Android
                      cancelTitleString (optional)The cancel button title of the authentication prompt.Android, iOS
                      evaluationPolicyLocalAuthenticationStrategy (optional) - The evaluation policy to use when prompting the user for - authentication. Defaults to - deviceOwnerWithBiometrics. - iOS
                      fallbackTitleString (optional)The fallback button title of the authentication prompt.iOS
                      authenticationLevelLocalAuthenticationLevel (optional) - The authentication level to use when prompting the user for - authentication. Defaults to strong. - Android
                      deviceCredentialFallbackBoolean (optional) - Should the user be given the option to authenticate with their - device PIN, pattern, or password instead of a biometric. - Defaults to false - Android
                      -
                      -

                      - :warning: You need a real device to test Local Authentication for - iOS. Local Authentication is not available in simulators. -

                      -
                      - -

                      - The Credentials Manager will only throw - CredentialsManagerError exceptions. You can find more - information in the details property of the exception. -

                      -
                      try {
                      const credentials = await auth0.credentialsManager.getCredentials();
                      } catch (error) {
                      console.log(error);
                      } -
                      - -

                      Platform agnostic errors:

                      -

                      - You can access the platform agnostic generic error codes as below : -

                      -
                      try {
                      const credentials = await auth0.credentialsManager.getCredentials();
                      } catch (error) {
                      console.log(e.type);
                      } -
                      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                      Generic Error CodeAndroid Native ErroriOS Native ErrorWeb Error Code
                      INVALID_CREDENTIALSINVALID_CREDENTIALS
                      NO_CREDENTIALSNO_CREDENTIALSnoCredentialslogin_required
                      NO_REFRESH_TOKENNO_REFRESH_TOKENnoRefreshToken
                      RENEW_FAILEDRENEW_FAILEDrenewFailed - missing_refresh_token, - invalid_grant,consent_required -
                      STORE_FAILEDSTORE_FAILEDstoreFailed
                      REVOKE_FAILEDREVOKE_FAILEDrevokeFailed
                      LARGE_MIN_TTLLARGE_MIN_TTLlargeMinTTL
                      INCOMPATIBLE_DEVICEINCOMPATIBLE_DEVICE
                      CRYPTO_EXCEPTIONCRYPTO_EXCEPTION
                      BIOMETRICS_FAILED - OneOf
                      BIOMETRIC_NO_ACTIVITY,BIOMETRIC_ERROR_STATUS_UNKNOWN,BIOMETRIC_ERROR_UNSUPPORTED,
                      BIOMETRIC_ERROR_HW_UNAVAILABLE,BIOMETRIC_ERROR_NONE_ENROLLED,BIOMETRIC_ERROR_NO_HARDWARE,
                      BIOMETRIC_ERROR_SECURITY_UPDATE_REQUIRED,BIOMETRIC_AUTHENTICATION_CHECK_FAILED,
                      BIOMETRIC_ERROR_DEVICE_CREDENTIAL_NOT_AVAILABLE -
                      biometricsFailed
                      NO_NETWORKNO_NETWORK
                      API_ERRORAPI_ERROR
                      - -

                      Before (Platform-Specific Codes)

                      -
                      // Old way: required checking Platform.OS and different error codes
                      -import { Platform } from 'react-native';
                      -
                      -try {
                      -  await auth0.webAuth.authorize();
                      -} catch (e) {
                      -  const isCancelled =
                      -    Platform.OS === 'ios'
                      -      ? e.code === 'USER_CANCELLED'
                      -      : e.code === 'a0.session.user_cancelled';
                      -
                      -  if (isCancelled) {
                      -    console.log('User cancelled the login.');
                      -  } else {
                      -    console.error(e);
                      -  }
                      -}
                      -
                      - -

                      After (Platform-Agnostic and Typed)

                      -
                      // New way: use 'instanceof' and the 'type' property
                      -import { WebAuthError } from 'react-native-auth0';
                      -
                      -try {
                      -  await auth0.webAuth.authorize();
                      -} catch (e) {
                      -  if (e instanceof WebAuthError && e.type === 'USER_CANCELLED') {
                      -    console.log('User cancelled the login.');
                      -  } else {
                      -    // Handle other errors
                      -    console.error(e);
                      -  }
                      -}
                      -
                      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                      Platform-AgnosticDescriptionAndroid Native ErroriOS Native ErrorWeb Error Code
                      USER_CANCELLED - The user actively cancelled the web authentication flow. - a0.session.user_cancelledUSER_CANCELLEDcancelled
                      BROWSER_NOT_AVAILABLE - No compatible browser application is installed on the device. - a0.browser_not_available-
                      NO_BUNDLE_IDENTIFIER - The native bundle identifier could not be retrieved, which is - required to construct the callback URL. - -NO_BUNDLE_IDENTIFIER
                      FAILED_TO_LOAD_URL - The authorization URL could not be loaded in the browser. - a0.session.failed_load-
                      BROWSER_TERMINATED - The browser was closed unexpectedly, likely because the - application was relaunched from the home screen while the - login was in progress. - a0.session.browser_terminated-
                      INVALID_STATE - The state parameter returned from the server did - not match the one sent, indicating a potential Cross-Site - Request Forgery (CSRF) attack. - access_deniedOTHERstate_mismatch
                      ACCESS_DENIED - The user or Auth0 denied the authentication request. This can - be caused by a user denying consent, a failing Action or Rule, - or other authorization policies. - access_deniedOTHERaccess_denied
                      CONSENT_REQUIRED - The user needs to explicitly grant consent for the application - to access requested scopes or resources. - -consent_required
                      NO_AUTHORIZATION_CODE - The callback URL from the server is missing the required - code parameter needed for the token exchange. - -NO_AUTHORIZATION_CODE
                      INVALID_CONFIGURATION - The Auth0 Application is misconfigured. Common causes include - an invalid social connection configuration. - a0.invalid_configurationOTHER
                      PKCE_NOT_ALLOWED - PKCE is required but not enabled for the Auth0 Application. - Ensure the "Application Type" is set to - "Native" in your Auth0 dashboard. - a0.pkce_not_availablePKCE_NOT_ALLOWED
                      ID_TOKEN_VALIDATION_FAILED - The ID token received is invalid and failed one or more - validation checks, such as signature, issuer, audience, or - nonce verification. - a0.session.invalid_idtokenID_TOKEN_VALIDATION_FAILED(various validation Errors).
                      INVALID_INVITATION_URL - The organization invitation URL is malformed or missing the - required organization and - invitation parameters. - -INVALID_INVITATION_URL
                      NETWORK_ERROR - A network error occurred, preventing the request from - completing. The device may be offline or unable to reach the - Auth0 servers. - a0.network_errorOTHER (with URLError cause)(Network-related fetch exception)
                      TIMEOUT_ERRORThe web authentication flow timed out.-- - timeout (from PopupTimeoutError) -
                      UNKNOWN_ERROR - An unexpected or uncategorized error occurred. Check the - message and cause properties for - more specific details. - (various)UNKNOWN or OTHER
                      - -

                      - This library provides a unified API across Native (iOS/Android) and - Web platforms. However, due to security models and underlying - technology, not all features are available on every platform. -

                      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                      Feature / Method CategoryNative (iOS/Android)Web (Browser)Notes & Rationale
                      Web Authentication---
                      webAuth.authorize() - Primary login method. Uses - ASWebAuthenticationSession/Custom Tabs - on Native and loginWithRedirect on Web. -
                      webAuth.clearSession() - Primary logout method. Clears the session - cookie on the server via a browser redirect. -
                      webAuth.handleRedirectCallback() - Web-only. Manually processes the callback - from Auth0. Handled automatically when using the - Auth0Provider hook. -
                      Credential Management---
                      credentialsManager.getCredentials() - Retrieves stored tokens. On Native, it uses the secure - Keychain/Keystore. On Web, it uses the - @auth0/auth0-spa-js cache and - getTokenSilently. -
                      credentialsManager.hasValidCredentials()Checks for a valid local session.
                      credentialsManager.saveCredentials() - Native-only. Manually saving credentials is - required on Native. On Web, this is handled automatically by - the underlying SPA SDK and is a no-op. -
                      credentialsManager.clearCredentials() - Clears locally stored tokens. On Web, this performs a - "local-only" logout. -
                      Direct Authentication Grants---
                      auth.passwordRealm() - Not supported on Web for security reasons. - The Resource Owner Password Grant exposes credentials to the - browser and is not recommended for Single Page Applications. -
                      auth.passwordless...() - Not supported on Web. Passwordless flows on - the web should be configured via Universal Login and initiated - with webAuth.authorize(). -
                      auth.loginWith...() (OTP/SMS etc) - Not supported on Web. These direct grant - flows are not secure for public clients like browsers. -
                      Token & User Management---
                      auth.refreshToken() - Not supported on Web. Token refresh is - handled automatically by getCredentials() via - getTokenSilently() on the web. -
                      auth.userInfo() - Fetches the user's profile from the - /userinfo endpoint using an access token. -
                      auth.createUser() - Calls the /dbconnections/signup endpoint. Works - on both platforms. -
                      auth.resetPassword() - Calls the - /dbconnections/change_password endpoint. Works on - both platforms. -
                      users(token).patchUser() - Calls the Management API. Works on any platform with a valid - token, but use with caution in the browser. -
                      - - -

                      - If your main application project is configured to use Swift 6, and - you encounter build errors related to Swift version - incompatibilities with react-native-auth0 or its - dependencies (like Auth0.swift, JWTDecode, - SimpleKeychain), you can ensure these specific pods are - compiled with Swift 5. -

                      -

                      - While react-native-auth0 (from v5.0.0-beta.1 onwards) - and its direct Swift dependencies are configured to use Swift 5, - your project's build settings might try to override this. To enforce - Swift 5 for these pods: -

                      -

                      - Recommended: Podfile post_install Hook -

                      -

                      - Add the following post_install hook to your - application's ios/Podfile. This is generally the most - robust way to manage build settings for dependencies: -

                      -
                      # In your application's ios/Podfile
                      -post_install do |installer|
                      -  installer.pods_project.targets.each do |target|
                      -    # Target the react-native-auth0 pod and its Swift dependencies
                      -    if ['Auth0', 'A0Auth0', 'JWTDecode', 'SimpleKeychain'].include?(target.name)
                      -      target.build_configurations.each do |config|
                      -        config.build_settings['SWIFT_VERSION'] = '5.0'
                      -      end
                      -    end
                      -  end
                      -end
                      -
                      - - - -

                      - We appreciate feedback and contribution to this repo! Before you get - started, please see the following: -

                      - - -

                      - To provide feedback or report a bug, - please raise an issue on our issue tracker. -

                      - -

                      - Please do not report security vulnerabilities on the public Github - issue tracker. The - Responsible Disclosure Program - details the procedure for disclosing security issues. -

                      -
                      -

                      - - - - Auth0 Logo - -

                      -

                      - Auth0 is an easy to implement, adaptable authentication and - authorization platform. To learn more checkout - Why Auth0? -

                      -

                      - This project is licensed under the MIT license. See the - - LICENSE - file for more info. -

                      - -
                      -
                      -
                      - - -
                      -
                      - -
                      - - - diff --git a/docs/dev/interfaces/Interface.Auth0ContextInterface.html b/docs/dev/interfaces/Interface.Auth0ContextInterface.html deleted file mode 100644 index 22cb629e..00000000 --- a/docs/dev/interfaces/Interface.Auth0ContextInterface.html +++ /dev/null @@ -1,3588 +0,0 @@ - - - - - - Auth0ContextInterface | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                      -
                      - React Native Auth0 - v5.0.0-beta.5 - - - - -
                        -
                        -
                        Preparing search index...
                        -
                        -
                        - -
                        -
                        -
                        -
                        -
                        - -

                        Interface Auth0ContextInterface

                        -
                        -
                        -
                        -

                        - The contract for the value provided by the Auth0Context. This is - the interface that developers will interact with when using the - useAuth0 hook. -

                        -
                        -
                        -
                        -
                        - interface - Auth0ContextInterface - {
                            authorize(
                                parameters?: - WebAuthorizeParameters,
                                options?: - NativeAuthorizeOptions,
                            ): - Promise<Credentials>;
                            clearSession(
                                parameters?: - ClearSessionParameters,
                                options?: - NativeClearSessionOptions,
                            ): - Promise<void>;
                            saveCredentials(credentials: - Credentials): - Promise<void>;
                            getCredentials(scope?: - string, - minTtl?: - number): - Promise<Credentials>;
                            clearCredentials: - () - => - Promise<void>;
                            hasValidCredentials(minTtl?: - number): - Promise<boolean>;
                            cancelWebAuth(): - Promise<void>;
                            loginWithPasswordRealm(
                                parameters: - PasswordRealmParameters,
                            ): - Promise<Credentials>;
                            createUser(parameters: - CreateUserParameters): - Promise<Partial<User>>;
                            resetPassword(parameters: - ResetPasswordParameters): - Promise<void>;
                            authorizeWithExchange(parameters: - ExchangeParameters): - Promise<Credentials>;
                            authorizeWithExchangeNativeSocial(
                                parameters: - ExchangeNativeSocialParameters,
                            ): - Promise<Credentials>;
                            sendEmailCode(parameters: - PasswordlessEmailParameters): - Promise<void>;
                            authorizeWithEmail(parameters: - LoginEmailParameters): - Promise<Credentials>;
                            sendSMSCode(parameters: - PasswordlessSmsParameters): - Promise<void>;
                            authorizeWithSMS(parameters: - LoginSmsParameters): - Promise<Credentials>;
                            sendMultifactorChallenge(
                                parameters: - MfaChallengeParameters,
                            ): - Promise<MfaChallengeResponse>;
                            authorizeWithOOB(parameters: - LoginOobParameters): - Promise<Credentials>;
                            authorizeWithOTP(parameters: - LoginOtpParameters): - Promise<Credentials>;
                            authorizeWithRecoveryCode(
                                parameters: - LoginRecoveryCodeParameters,
                            ): - Promise<Credentials>;
                            revokeRefreshToken(parameters: - RevokeOptions): - Promise<void>;
                            user: - null - | - User;
                            error: - null - | - AuthError;
                            isLoading: - boolean;
                        } -
                        -
                        -

                        - Hierarchy (View Summary) -

                        -
                          -
                        • - AuthState -
                            -
                          • - Auth0ContextInterface -
                          • -
                          -
                        • -
                        -
                        - -
                        -
                        -
                        - - -
                        Index
                        -
                        - -
                        -
                        -
                        -
                        - - -

                        Methods

                        -
                        -
                        -
                        - - -
                        -
                        - -
                          -
                        • - -
                          -
                          -

                          Clears the user's session and logs them out.

                          -
                          -
                          -

                          Parameters

                          -
                            -
                          • - Optionalparameters: - ClearSessionParameters -
                            -

                            - The parameters to send to the - /v2/logout endpoint. -

                            -
                            -
                            -
                          • -
                          • - Optionaloptions: - NativeClearSessionOptions -
                            -

                            - Platform-specific options to customize the logout - experience. -

                            -
                            -
                            -
                          • -
                          -
                          -

                          - Returns Promise<void> -

                          -

                          - A promise that resolves when the session has been cleared. -

                          -
                          -
                          - -

                          If the logout fails.

                          -
                          -
                          - -
                          -
                        • -
                        -
                        -
                        - -
                          -
                        • - -
                          -
                          -

                          Saves the user's credentials.

                          -
                          -
                          -

                          Parameters

                          -
                            -
                          • - credentials: - Credentials -
                            -

                            The credentials to save.

                            -
                            -
                            -
                          • -
                          -
                          -

                          - Returns Promise<void> -

                          -

                          - A promise that resolves when the credentials have been - saved. -

                          -
                          -
                          - -

                          If the save fails.

                          -
                          -
                          - -
                          -
                        • -
                        -
                        -
                        - -
                          -
                        • - -
                          -
                          -

                          - Retrieves the stored credentials, refreshing them if - necessary. -

                          -
                          -
                          -

                          Parameters

                          -
                            -
                          • - Optionalscope: - string -
                            -

                            - The scopes to request for the new access token - (used during refresh). -

                            -
                            -
                            -
                          • -
                          • - OptionalminTtl: - number -
                            -

                            - The minimum time-to-live (in seconds) required for - the access token. -

                            -
                            -
                            -
                          • -
                          -
                          -

                          - Returns Promise<Credentials> -

                          -

                          A promise that resolves with the user's credentials.

                          -
                          -
                          - -

                          If credentials cannot be retrieved or refreshed.

                          -
                          -
                          - -
                          -
                        • -
                        -
                        -
                        - -
                          -
                        • - -
                          -
                          -

                          - Checks if a valid, non-expired set of credentials exists - in storage. This is a quick, local check and does not - perform a network request. -

                          -
                          -
                          -

                          Parameters

                          -
                            -
                          • - OptionalminTtl: - number -
                            -

                            - The minimum time-to-live (in seconds) required for - the access token to be considered valid. Defaults - to 0. -

                            -
                            -
                            -
                          • -
                          -
                          -

                          - Returns Promise<boolean> -

                          -

                          - A promise that resolves with true if valid - credentials exist, false otherwise. -

                          -
                          - -
                          -
                        • -
                        -
                        -
                        - -
                          -
                        • - -
                          -
                          -

                          - Cancels the ongoing web authentication process. This - works only on iOS. On other platforms, it will resolve - without performing an action. -

                          -
                          -

                          - Returns Promise<void> -

                          -
                          - -
                          -
                        • -
                        -
                        -
                        - -
                          -
                        • - -
                          -
                          -

                          - Authenticates a user with their username and password. -

                          -
                          -
                          -

                          Parameters

                          - -
                          -

                          - Returns Promise<Credentials> -

                          -

                          A promise that resolves with the user's credentials.

                          -
                          -
                          - -

                          This method is not supported on the web platform.

                          -
                          -
                          - -

                          If the authentication fails.

                          -
                          -
                          - -
                          -
                        • -
                        -
                        -
                        - -
                          -
                        • - -
                          -
                          -

                          Creates a new user in a database connection.

                          -
                          -
                          -

                          Parameters

                          - -
                          -

                          - Returns Promise<Partial<User>> -

                          -

                          - A promise that resolves with the new user's profile - information. -

                          -
                          -
                          - -

                          If the user creation fails.

                          -
                          -
                          - -
                          -
                        • -
                        -
                        -
                        - -
                          -
                        • - -
                          -
                          -

                          Resets the user's password.

                          -
                          -
                          -

                          Parameters

                          - -
                          -

                          - Returns Promise<void> -

                          -

                          - A promise that resolves when the password has been reset. -

                          -
                          -
                          - -

                          If the reset fails.

                          -
                          -
                          - -
                          -
                        • -
                        -
                        -
                        - -
                          -
                        • - -
                          -
                          -

                          - Exchanges an authorization code for tokens. This is - useful in advanced scenarios where you manage the code - flow manually. -

                          -
                          -
                          -

                          Parameters

                          -
                            -
                          • - parameters: - ExchangeParameters -
                            -

                            - The parameters containing the authorization code - and verifier. -

                            -
                            -
                            -
                          • -
                          -
                          -

                          - Returns Promise<Credentials> -

                          -

                          A promise that resolves with the user's credentials.

                          -
                          -
                          - -

                          If the exchange fails.

                          -
                          -
                          - -
                          -
                        • -
                        -
                        -
                        - - -
                        -
                        - - -
                        -
                        - - -
                        -
                        - -
                          -
                        • - -
                          -
                          -

                          /**

                          -
                            -
                          • Sends a verification code to the user's SMS.
                          • -
                          • -
                          -
                          -
                          -

                          Parameters

                          - -
                          -

                          - Returns Promise<void> -

                          -
                          -
                          - -

                          If sending the SMS code fails.

                          -
                          -
                          - -
                          -
                        • -
                        -
                        -
                        - - -
                        -
                        - - -
                        -
                        - -
                          -
                        • - -
                          -
                          -

                          - Authorizes a user with out-of-band (OOB) authentication. -

                          -
                          -
                          -

                          Parameters

                          - -
                          -

                          - Returns Promise<Credentials> -

                          -

                          A promise that resolves with the user's credentials.

                          -
                          -
                          - -

                          If the authorization fails.

                          -
                          -
                          - -
                          -
                        • -
                        -
                        -
                        - -
                          -
                        • - -
                          -
                          -

                          Authorizes a user with a one-time password (OTP).

                          -
                          -
                          -

                          Parameters

                          - -
                          -

                          - Returns Promise<Credentials> -

                          -

                          A promise that resolves with the user's credentials.

                          -
                          -
                          - -

                          If the authorization fails.

                          -
                          -
                          - -
                          -
                        • -
                        -
                        -
                        - - -
                        -
                        - - -
                        -
                        -
                        -
                        - - -

                        Properties

                        -
                        -
                        -
                        - -
                        - clearCredentials: - () - => - Promise<void> -
                        -
                        -

                        - Clears the user's credentials without clearing their web - session and logs them out. -

                        -
                        -
                        -

                        Type Declaration

                        -
                          -
                        • -
                            -
                          • - (): - Promise<void> -
                          • -
                          • -

                            - Returns Promise<void> -

                            -

                            - A promise that resolves when the credentials have been - cleared. -

                            -
                            -
                          • -
                          -
                        • -
                        -
                        -
                        -
                        - -

                        - Platform specific: This method is only - available in the context of a Android/iOS application. -

                        -
                        -
                        - -
                        -
                        - -
                        - user: - null - | - User -
                        - -
                        -
                        - -
                        - error: - null - | - AuthError -
                        - -
                        -
                        - -
                        - isLoading: - boolean -
                        - -
                        -
                        -
                        -
                        -
                        - - -
                        -
                        - -
                        - - - diff --git a/docs/dev/interfaces/Interface.Auth0Options.html b/docs/dev/interfaces/Interface.Auth0Options.html deleted file mode 100644 index f0578be8..00000000 --- a/docs/dev/interfaces/Interface.Auth0Options.html +++ /dev/null @@ -1,621 +0,0 @@ - - - - - - Auth0Options | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                        -
                        - React Native Auth0 - v5.0.0-beta.5 - - - - -
                          -
                          -
                          Preparing search index...
                          -
                          -
                          - -
                          -
                          -
                          -
                          -
                          - -

                          Interface Auth0Options

                          -
                          -
                          -
                          -

                          - Core configuration options required to initialize the Auth0 - client. These options are common across all supported platforms. -

                          -
                          -
                          -
                          -
                          - interface - Auth0Options - {
                              domain: - string;
                              LocalAuthenticationOptions?: - LocalAuthenticationOptions;
                              clientId: - string;
                              timeout?: - number;
                              headers?: - Record<string, - string>;
                          } -
                          -
                          -

                          - Hierarchy (View Summary) -

                          - -
                          - -
                          -
                          -
                          - - -
                          Index
                          -
                          - -
                          -
                          -
                          -
                          - - -

                          Properties

                          -
                          -
                          -
                          - -
                          - domain: - string -
                          -
                          -

                          - Your Auth0 application's domain. e.g., 'your-tenant.us.auth0.com' -

                          -
                          -
                          - -
                          -
                          - -
                          - LocalAuthenticationOptions?: - LocalAuthenticationOptions -
                          - -
                          -
                          - -
                          - clientId: - string -
                          -
                          -

                          Your Auth0 application's client ID.

                          -
                          -
                          - -
                          -
                          - -
                          - timeout?: - number -
                          - -
                          -
                          - -
                          - headers?: - Record<string, - string> -
                          - -
                          -
                          -
                          -
                          -
                          - - -
                          -
                          - -
                          - - - diff --git a/docs/dev/interfaces/Interface.AuthState.html b/docs/dev/interfaces/Interface.AuthState.html deleted file mode 100644 index ef919ea3..00000000 --- a/docs/dev/interfaces/Interface.AuthState.html +++ /dev/null @@ -1,497 +0,0 @@ - - - - - - AuthState | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                          -
                          - React Native Auth0 - v5.0.0-beta.5 - - - - -
                            -
                            -
                            Preparing search index...
                            -
                            -
                            - -
                            -
                            -
                            -
                            -
                            - -

                            Interface AuthState

                            -
                            -
                            -
                            -

                            - The shape of the authentication state managed by the - Auth0Provider. -

                            -
                            -
                            -
                            -
                            - interface - AuthState - {
                                user: - null - | - User;
                                error: - null - | - AuthError;
                                isLoading: - boolean;
                            } -
                            -
                            -

                            - Hierarchy (View Summary) -

                            - -
                            - -
                            -
                            -
                            - - -
                            Index
                            -
                            -
                            -
                            -

                            Properties

                            - -
                            -
                            -
                            -
                            -
                            -
                            - - -

                            Properties

                            -
                            -
                            -
                            - -
                            - user: - null - | - User -
                            - -
                            -
                            - -
                            - error: - null - | - AuthError -
                            - -
                            -
                            - -
                            - isLoading: - boolean -
                            - -
                            -
                            -
                            -
                            -
                            - - -
                            -
                            - -
                            - - - diff --git a/docs/dev/interfaces/Interface.AuthorizeUrlParameters.html b/docs/dev/interfaces/Interface.AuthorizeUrlParameters.html deleted file mode 100644 index b068a485..00000000 --- a/docs/dev/interfaces/Interface.AuthorizeUrlParameters.html +++ /dev/null @@ -1,545 +0,0 @@ - - - - - - AuthorizeUrlParameters | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                            -
                            - React Native Auth0 - v5.0.0-beta.5 - - - - -
                              -
                              -
                              Preparing search index...
                              -
                              -
                              - -
                              -
                              -
                              -
                              -
                              - -

                              Interface AuthorizeUrlParameters

                              -
                              -
                              -
                              -

                              - Parameters for building a URL for the - /authorize endpoint. -

                              -
                              -
                              -
                              -
                              - interface - AuthorizeUrlParameters - {
                                  headers?: - Record<string, - string>;
                                  responseType: - string;
                                  redirectUri: - string;
                                  state: - string;
                                  [key: - string]: - any;
                              } -
                              -
                              -

                              Indexable

                              -
                                -
                              • -
                                - [key: - string]: - any -
                                -
                              • -
                              -
                              - -
                              -
                              -
                              - - -
                              Index
                              -
                              -
                              -
                              -

                              Properties

                              - -
                              -
                              -
                              -
                              -
                              -
                              - - -

                              Properties

                              -
                              -
                              -
                              - -
                              - headers?: - Record<string, - string> -
                              -
                              -

                              Optional custom headers to be included in the request.

                              -
                              -
                              - -
                              -
                              - -
                              - responseType: - string -
                              - -
                              -
                              - -
                              - redirectUri: - string -
                              - -
                              -
                              - -
                              - state: - string -
                              - -
                              -
                              -
                              -
                              -
                              - - -
                              -
                              - -
                              - - - diff --git a/docs/dev/interfaces/Interface.ClearSessionParameters.html b/docs/dev/interfaces/Interface.ClearSessionParameters.html deleted file mode 100644 index 07c453eb..00000000 --- a/docs/dev/interfaces/Interface.ClearSessionParameters.html +++ /dev/null @@ -1,446 +0,0 @@ - - - - - - ClearSessionParameters | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                              -
                              - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                -
                                -
                                Preparing search index...
                                -
                                -
                                - -
                                -
                                -
                                -
                                -
                                - -

                                Interface ClearSessionParameters

                                -
                                -
                                -
                                -

                                Parameters for clearing the user's session.

                                -
                                - -
                                -
                                - interface - ClearSessionParameters - {
                                    federated?: - boolean;
                                    returnToUrl?: - string;
                                } -
                                - -
                                -
                                -
                                - - -
                                Index
                                -
                                -
                                -
                                -

                                Properties

                                - -
                                -
                                -
                                -
                                -
                                -
                                - - -

                                Properties

                                -
                                -
                                -
                                - -
                                - federated?: - boolean -
                                -
                                -

                                - If true, the user will also be logged out from - their identity provider (e.g., Google). -

                                -
                                -
                                -
                                - -
                                false
                                -
                                -
                                -
                                - -
                                -
                                - -
                                - returnToUrl?: - string -
                                -
                                -

                                The URL to which the user is redirected after logout.

                                -
                                -
                                - -
                                -
                                -
                                -
                                -
                                - - -
                                -
                                - -
                                - - - diff --git a/docs/dev/interfaces/Interface.CreateUserParameters.html b/docs/dev/interfaces/Interface.CreateUserParameters.html deleted file mode 100644 index f56228c5..00000000 --- a/docs/dev/interfaces/Interface.CreateUserParameters.html +++ /dev/null @@ -1,898 +0,0 @@ - - - - - - CreateUserParameters | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                -
                                - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                  -
                                  -
                                  Preparing search index...
                                  -
                                  -
                                  - -
                                  -
                                  -
                                  -
                                  -
                                  - -

                                  Interface CreateUserParameters

                                  -
                                  -
                                  -
                                  -

                                  Parameters for creating a new user in a database connection.

                                  -
                                  -
                                  -
                                  -
                                  - interface - CreateUserParameters - {
                                      headers?: - Record<string, - string>;
                                      email: - string;
                                      password: - string;
                                      connection: - string;
                                      username?: - string;
                                      given_name?: - string;
                                      family_name?: - string;
                                      name?: - string;
                                      nickname?: - string;
                                      picture?: - string;
                                      metadata?: - object;
                                      [key: - string]: - any;
                                  } -
                                  -
                                  -

                                  Indexable

                                  -
                                    -
                                  • -
                                    - [key: - string]: - any -
                                    -
                                  • -
                                  -
                                  - -
                                  -
                                  -
                                  - - -
                                  Index
                                  -
                                  - -
                                  -
                                  -
                                  -
                                  - - -

                                  Properties

                                  -
                                  -
                                  -
                                  - -
                                  - headers?: - Record<string, - string> -
                                  -
                                  -

                                  Optional custom headers to be included in the request.

                                  -
                                  -
                                  - -
                                  -
                                  - -
                                  - email: - string -
                                  - -
                                  -
                                  - -
                                  - password: - string -
                                  - -
                                  -
                                  - -
                                  - connection: - string -
                                  - -
                                  -
                                  - -
                                  - username?: - string -
                                  - -
                                  -
                                  - -
                                  - given_name?: - string -
                                  - -
                                  -
                                  - -
                                  - family_name?: - string -
                                  - -
                                  -
                                  - -
                                  - name?: - string -
                                  - -
                                  -
                                  - -
                                  - nickname?: - string -
                                  - -
                                  -
                                  - -
                                  - picture?: - string -
                                  - -
                                  -
                                  - -
                                  - metadata?: - object -
                                  - -
                                  -
                                  -
                                  -
                                  -
                                  - - -
                                  -
                                  - -
                                  - - - diff --git a/docs/dev/interfaces/Interface.ExchangeNativeSocialParameters.html b/docs/dev/interfaces/Interface.ExchangeNativeSocialParameters.html deleted file mode 100644 index 87a83e1c..00000000 --- a/docs/dev/interfaces/Interface.ExchangeNativeSocialParameters.html +++ /dev/null @@ -1,652 +0,0 @@ - - - - - - - ExchangeNativeSocialParameters | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - - -
                                  -
                                  - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                    -
                                    -
                                    Preparing search index...
                                    -
                                    -
                                    - -
                                    -
                                    -
                                    -
                                    -
                                    - -

                                    Interface ExchangeNativeSocialParameters

                                    -
                                    -
                                    -
                                    -

                                    - Parameters for exchanging a native social provider's token for - Auth0 tokens. -

                                    -
                                    -
                                    -
                                    -
                                    - interface - ExchangeNativeSocialParameters - {
                                        headers?: - Record<string, - string>;
                                        subjectToken: - string;
                                        subjectTokenType: - string;
                                        userProfile?: - string;
                                        audience?: - string;
                                        scope?: - string;
                                        [key: - string]: - any;
                                    } -
                                    -
                                    -

                                    Indexable

                                    -
                                      -
                                    • -
                                      - [key: - string]: - any -
                                      -
                                    • -
                                    -
                                    - -
                                    -
                                    -
                                    - - -
                                    Index
                                    -
                                    - -
                                    -
                                    -
                                    -
                                    - - -

                                    Properties

                                    -
                                    -
                                    -
                                    - -
                                    - headers?: - Record<string, - string> -
                                    -
                                    -

                                    Optional custom headers to be included in the request.

                                    -
                                    -
                                    - -
                                    -
                                    - -
                                    - subjectToken: - string -
                                    - -
                                    -
                                    - -
                                    - subjectTokenType: - string -
                                    - -
                                    -
                                    - -
                                    - userProfile?: - string -
                                    - -
                                    -
                                    - -
                                    - audience?: - string -
                                    - -
                                    -
                                    - -
                                    - scope?: - string -
                                    - -
                                    -
                                    -
                                    -
                                    -
                                    - - -
                                    -
                                    - -
                                    - - - diff --git a/docs/dev/interfaces/Interface.ExchangeParameters.html b/docs/dev/interfaces/Interface.ExchangeParameters.html deleted file mode 100644 index 77e9c6d2..00000000 --- a/docs/dev/interfaces/Interface.ExchangeParameters.html +++ /dev/null @@ -1,542 +0,0 @@ - - - - - - ExchangeParameters | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                    -
                                    - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                      -
                                      -
                                      Preparing search index...
                                      -
                                      -
                                      - -
                                      -
                                      -
                                      -
                                      -
                                      - -

                                      Interface ExchangeParameters

                                      -
                                      -
                                      -
                                      -

                                      Parameters for exchanging a code for tokens (PKCE Flow).

                                      -
                                      -
                                      -
                                      -
                                      - interface - ExchangeParameters - {
                                          headers?: - Record<string, - string>;
                                          code: - string;
                                          verifier: - string;
                                          redirectUri: - string;
                                          [key: - string]: - any;
                                      } -
                                      -
                                      -

                                      Indexable

                                      -
                                        -
                                      • -
                                        - [key: - string]: - any -
                                        -
                                      • -
                                      -
                                      - -
                                      -
                                      -
                                      - - -
                                      Index
                                      -
                                      -
                                      -
                                      -

                                      Properties

                                      - -
                                      -
                                      -
                                      -
                                      -
                                      -
                                      - - -

                                      Properties

                                      -
                                      -
                                      -
                                      - -
                                      - headers?: - Record<string, - string> -
                                      -
                                      -

                                      Optional custom headers to be included in the request.

                                      -
                                      -
                                      - -
                                      -
                                      - -
                                      - code: - string -
                                      - -
                                      -
                                      - -
                                      - verifier: - string -
                                      - -
                                      -
                                      - -
                                      - redirectUri: - string -
                                      - -
                                      -
                                      -
                                      -
                                      -
                                      - - -
                                      -
                                      - -
                                      - - - diff --git a/docs/dev/interfaces/Interface.GetUserParameters.html b/docs/dev/interfaces/Interface.GetUserParameters.html deleted file mode 100644 index b9ac72d4..00000000 --- a/docs/dev/interfaces/Interface.GetUserParameters.html +++ /dev/null @@ -1,360 +0,0 @@ - - - - - - GetUserParameters | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                      -
                                      - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                        -
                                        -
                                        Preparing search index...
                                        -
                                        -
                                        - -
                                        -
                                        -
                                        -
                                        -
                                        - -

                                        Interface GetUserParameters

                                        -
                                        -
                                        -
                                        -

                                        - Parameters for retrieving a user's full profile from the - Management API. Requires an access token with - read:current_user scope. -

                                        -
                                        -
                                        -
                                        -
                                        - interface - GetUserParameters - {
                                            id: - string;
                                        } -
                                        - -
                                        -
                                        -
                                        - - -
                                        Index
                                        -
                                        -
                                        -
                                        -

                                        Properties

                                        -
                                        - - id -
                                        -
                                        -
                                        -
                                        -
                                        -
                                        -
                                        - - -

                                        Properties

                                        -
                                        -
                                        -
                                        - -
                                        - id: - string -
                                        -
                                        -

                                        The ID of the user to retrieve.

                                        -
                                        -
                                        - -
                                        -
                                        -
                                        -
                                        -
                                        - - -
                                        -
                                        - -
                                        - - - diff --git a/docs/dev/interfaces/Interface.IAuth0Client.html b/docs/dev/interfaces/Interface.IAuth0Client.html deleted file mode 100644 index e32b2ce4..00000000 --- a/docs/dev/interfaces/Interface.IAuth0Client.html +++ /dev/null @@ -1,657 +0,0 @@ - - - - - - IAuth0Client | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                        -
                                        - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                          -
                                          -
                                          Preparing search index...
                                          -
                                          -
                                          - -
                                          -
                                          -
                                          -
                                          -
                                          - -

                                          Interface IAuth0Client

                                          -
                                          -
                                          -
                                          -

                                          The primary interface for the Auth0 client.

                                          -

                                          - It aggregates all core functionalities (web auth, credential - management, etc.) into a single, cohesive contract. - Platform-specific factories will produce an object that conforms - to this interface. -

                                          -
                                          -
                                          -
                                          -
                                          - interface - IAuth0Client - {
                                              webAuth: - IWebAuthProvider;
                                              credentialsManager: - ICredentialsManager;
                                              auth: - IAuthenticationProvider;
                                              users(token: - string): - IUsersClient;
                                          } -
                                          - -
                                          -
                                          -
                                          - - -
                                          Index
                                          -
                                          -
                                          -
                                          -

                                          Methods

                                          - -
                                          -
                                          -

                                          Properties

                                          - -
                                          -
                                          -
                                          -
                                          -
                                          -
                                          - - -

                                          Methods

                                          -
                                          -
                                          -
                                          - -
                                            -
                                          • - -
                                            -
                                            -

                                            - Creates a client for interacting with the Auth0 - Management API's user endpoints. -

                                            -
                                            -
                                            -

                                            Parameters

                                            -
                                              -
                                            • - token: - string -
                                              -

                                              - An access token with the required permissions for - the management operations. -

                                              -
                                              -
                                              -
                                            • -
                                            -
                                            -

                                            - Returns - IUsersClient -

                                            -

                                            - An IUsersClient instance configured with the - provided token. -

                                            -
                                            - -
                                            -
                                          • -
                                          -
                                          -
                                          -
                                          -
                                          - - -

                                          Properties

                                          -
                                          -
                                          -
                                          - -
                                          - webAuth: - IWebAuthProvider -
                                          -
                                          -

                                          - Provides access to methods for handling web-based - authentication flows. -

                                          -
                                          -
                                          - -
                                          -
                                          - -
                                          - credentialsManager: - ICredentialsManager -
                                          -
                                          -

                                          - Provides access to methods for securely managing user - credentials on the device. -

                                          -
                                          -
                                          - -
                                          -
                                          - - -
                                          -

                                          - Provides access to methods for direct authentication grants - (e.g., password-realm). -

                                          -
                                          -
                                          - -
                                          -
                                          -
                                          -
                                          -
                                          - - -
                                          -
                                          - -
                                          - - - diff --git a/docs/dev/interfaces/Interface.IAuthenticationProvider.html b/docs/dev/interfaces/Interface.IAuthenticationProvider.html deleted file mode 100644 index d9bee747..00000000 --- a/docs/dev/interfaces/Interface.IAuthenticationProvider.html +++ /dev/null @@ -1,2201 +0,0 @@ - - - - - - IAuthenticationProvider | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                          -
                                          - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                            -
                                            -
                                            Preparing search index...
                                            -
                                            -
                                            - -
                                            -
                                            -
                                            -
                                            -
                                            - -

                                            Interface IAuthenticationProvider

                                            -
                                            -
                                            -
                                            -

                                            - Defines the contract for direct authentication methods that - interact with Auth0's Authentication API endpoints without a - web-based redirect. -

                                            -
                                            -
                                            -
                                            -
                                            - interface - IAuthenticationProvider - {
                                                passwordRealm(parameters: - PasswordRealmParameters): - Promise<Credentials>;
                                                refreshToken(parameters: - RefreshTokenParameters): - Promise<Credentials>;
                                                userInfo(parameters: - UserInfoParameters): - Promise<User>;
                                                revoke(parameters: - RevokeOptions): - Promise<void>;
                                                exchange(parameters: - ExchangeParameters): - Promise<Credentials>;
                                                passwordlessWithEmail(
                                                    parameters: - PasswordlessEmailParameters,
                                                ): - Promise<void>;
                                                passwordlessWithSMS(parameters: - PasswordlessSmsParameters): - Promise<void>;
                                                loginWithEmail(parameters: - LoginEmailParameters): - Promise<Credentials>;
                                                loginWithSMS(parameters: - LoginSmsParameters): - Promise<Credentials>;
                                                loginWithOTP(parameters: - LoginOtpParameters): - Promise<Credentials>;
                                                loginWithOOB(parameters: - LoginOobParameters): - Promise<Credentials>;
                                                loginWithRecoveryCode(
                                                    parameters: - LoginRecoveryCodeParameters,
                                                ): - Promise<Credentials>;
                                                multifactorChallenge(
                                                    parameters: - MfaChallengeParameters,
                                                ): - Promise<MfaChallengeResponse>;
                                                resetPassword(parameters: - ResetPasswordParameters): - Promise<void>;
                                                createUser(parameters: - CreateUserParameters): - Promise<Partial<User>>;
                                                exchangeNativeSocial(
                                                    parameters: - ExchangeNativeSocialParameters,
                                                ): - Promise<Credentials>;
                                            } -
                                            - -
                                            -
                                            -
                                            - - -
                                            Index
                                            -
                                            - -
                                            -
                                            -
                                            -
                                            - - -

                                            Methods

                                            -
                                            -
                                            -
                                            - - -
                                            -
                                            - - -
                                            -
                                            - - -
                                            -
                                            - - -
                                            -
                                            - - -
                                            -
                                            - - -
                                            -
                                            - - -
                                            -
                                            - - -
                                            -
                                            - - -
                                            -
                                            - - -
                                            -
                                            - - -
                                            -
                                            - - -
                                            -
                                            - - -
                                            -
                                            - - -
                                            -
                                            - - -
                                            -
                                            - - -
                                            -
                                            -
                                            -
                                            -
                                            - - -
                                            -
                                            - -
                                            - - - diff --git a/docs/dev/interfaces/Interface.ICredentialsManager.html b/docs/dev/interfaces/Interface.ICredentialsManager.html deleted file mode 100644 index fd9caa45..00000000 --- a/docs/dev/interfaces/Interface.ICredentialsManager.html +++ /dev/null @@ -1,884 +0,0 @@ - - - - - - ICredentialsManager | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                            -
                                            - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                              -
                                              -
                                              Preparing search index...
                                              -
                                              -
                                              - -
                                              -
                                              -
                                              -
                                              -
                                              - -

                                              Interface ICredentialsManager

                                              -
                                              -
                                              -
                                              -

                                              - Defines the contract for securely managing user credentials on the - device. Implementations are responsible for secure storage (e.g., - Keychain on iOS, EncryptedSharedPreferences on Android) and token - refresh logic. -

                                              -
                                              -
                                              -
                                              -
                                              - interface - ICredentialsManager - {
                                                  saveCredentials(credentials: - Credentials): - Promise<void>;
                                                  getCredentials(
                                                      scope?: - string,
                                                      minTtl?: - number,
                                                      parameters?: - Record<string, - any>,
                                                      forceRefresh?: - boolean,
                                                  ): - Promise<Credentials>;
                                                  hasValidCredentials(minTtl?: - number): - Promise<boolean>;
                                                  clearCredentials(): - Promise<void>;
                                              } -
                                              - -
                                              -
                                              -
                                              - - -
                                              Index
                                              -
                                              - -
                                              -
                                              -
                                              -
                                              - - -

                                              Methods

                                              -
                                              -
                                              -
                                              - -
                                                -
                                              • - -
                                                -
                                                -

                                                - Securely saves a set of credentials to the device's - storage. -

                                                -
                                                -
                                                -

                                                Parameters

                                                -
                                                  -
                                                • - credentials: - Credentials -
                                                  -

                                                  The credentials object to store.

                                                  -
                                                  -
                                                  -
                                                • -
                                                -
                                                -

                                                - Returns Promise<void> -

                                                -

                                                - A promise that resolves when the credentials have been - saved. -

                                                -
                                                - -
                                                -
                                              • -
                                              -
                                              -
                                              - -
                                                -
                                              • - -
                                                -
                                                -

                                                Retrieves the stored credentials.

                                                -
                                                -
                                                -

                                                Parameters

                                                -
                                                  -
                                                • - Optionalscope: - string -
                                                  -

                                                  - The scopes to request for the new access token - (used during refresh). -

                                                  -
                                                  -
                                                  -
                                                • -
                                                • - OptionalminTtl: - number -
                                                  -

                                                  - The minimum time-to-live (in seconds) required for - the access token. If the token expires sooner, a - refresh will be attempted. -

                                                  -
                                                  -
                                                  -
                                                • -
                                                • - Optionalparameters: - Record<string, - any> -
                                                  -

                                                  - Additional parameters to send during the token - refresh request. -

                                                  -
                                                  -
                                                  -
                                                • -
                                                • - OptionalforceRefresh: - boolean -
                                                  -

                                                  - If true, a token refresh will be attempted even if - the current access token is not expired. -

                                                  -
                                                  -
                                                  -
                                                • -
                                                -
                                                -

                                                - Returns Promise<Credentials> -

                                                -

                                                A promise that resolves with the user's credentials.

                                                -
                                                -
                                                - -

                                                - If the access token is expired and a refresh token is - available, this method should attempt to automatically - refresh the tokens and store the new ones. -

                                                -
                                                -
                                                - -
                                                -
                                              • -
                                              -
                                              -
                                              - -
                                                -
                                              • - -
                                                -
                                                -

                                                - Checks if a valid, non-expired set of credentials exists - in storage. -

                                                -
                                                -
                                                -

                                                Parameters

                                                -
                                                  -
                                                • - OptionalminTtl: - number -
                                                  -

                                                  - The minimum time-to-live (in seconds) required for - the access token to be considered valid. -

                                                  -
                                                  -
                                                  -
                                                • -
                                                -
                                                -

                                                - Returns Promise<boolean> -

                                                -

                                                - A promise that resolves with true if valid - credentials exist, false otherwise. -

                                                -
                                                - -
                                                -
                                              • -
                                              -
                                              -
                                              - -
                                                -
                                              • - -
                                                -
                                                -

                                                Removes all credentials from the device's storage.

                                                -
                                                -

                                                - Returns Promise<void> -

                                                -

                                                - A promise that resolves when the credentials have been - cleared. -

                                                -
                                                - -
                                                -
                                              • -
                                              -
                                              -
                                              -
                                              -
                                              -
                                              - - -
                                              -
                                              - -
                                              - - - diff --git a/docs/dev/interfaces/Interface.IUsersClient.html b/docs/dev/interfaces/Interface.IUsersClient.html deleted file mode 100644 index 10ce69af..00000000 --- a/docs/dev/interfaces/Interface.IUsersClient.html +++ /dev/null @@ -1,566 +0,0 @@ - - - - - - IUsersClient | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                              -
                                              - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                -
                                                -
                                                Preparing search index...
                                                -
                                                -
                                                - -
                                                -
                                                -
                                                -
                                                -
                                                - -

                                                Interface IUsersClient

                                                -
                                                -
                                                -
                                                -

                                                - Defines the contract for a client that interacts with the Auth0 - Management API's user endpoints. An instance of this client is - typically created with a user-specific management token. -

                                                -
                                                -
                                                -
                                                -
                                                - interface - IUsersClient - {
                                                    getUser(parameters: - GetUserParameters): - Promise<User>;
                                                    patchUser(parameters: - PatchUserParameters): - Promise<User>;
                                                } -
                                                - -
                                                -
                                                -
                                                - - -
                                                Index
                                                -
                                                -
                                                -
                                                -

                                                Methods

                                                - -
                                                -
                                                -
                                                -
                                                -
                                                -
                                                - - -

                                                Methods

                                                -
                                                -
                                                -
                                                - -
                                                  -
                                                • - -
                                                  -
                                                  -

                                                  - Retrieves the full profile of a user from the Management - API. -

                                                  -
                                                  -
                                                  -

                                                  Parameters

                                                  -
                                                    -
                                                  • - parameters: - GetUserParameters -
                                                    -

                                                    The parameters containing the user's ID.

                                                    -
                                                    -
                                                    -
                                                  • -
                                                  -
                                                  -

                                                  - Returns Promise<User> -

                                                  -

                                                  A promise that resolves with the user's full profile.

                                                  -
                                                  - -
                                                  -
                                                • -
                                                -
                                                -
                                                - -
                                                  -
                                                • - -
                                                  -
                                                  -

                                                  Updates a user's user_metadata.

                                                  -
                                                  -
                                                  -

                                                  Parameters

                                                  -
                                                    -
                                                  • - parameters: - PatchUserParameters -
                                                    -

                                                    - The parameters containing the user's ID and the - metadata to update. -

                                                    -
                                                    -
                                                    -
                                                  • -
                                                  -
                                                  -

                                                  - Returns Promise<User> -

                                                  -

                                                  - A promise that resolves with the updated user profile. -

                                                  -
                                                  - -
                                                  -
                                                • -
                                                -
                                                -
                                                -
                                                -
                                                -
                                                - - -
                                                -
                                                - -
                                                - - - diff --git a/docs/dev/interfaces/Interface.IWebAuthProvider.html b/docs/dev/interfaces/Interface.IWebAuthProvider.html deleted file mode 100644 index 96f35bb3..00000000 --- a/docs/dev/interfaces/Interface.IWebAuthProvider.html +++ /dev/null @@ -1,918 +0,0 @@ - - - - - - IWebAuthProvider | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                -
                                                - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                  -
                                                  -
                                                  Preparing search index...
                                                  -
                                                  -
                                                  - -
                                                  -
                                                  -
                                                  -
                                                  -
                                                  - -

                                                  Interface IWebAuthProvider

                                                  -
                                                  -
                                                  -
                                                  -

                                                  - Defines the contract for a provider that handles web-based - authentication flows, such as redirecting to the Auth0 Universal - Login page. -

                                                  -
                                                  -
                                                  -
                                                  -
                                                  - interface - IWebAuthProvider - {
                                                      authorize(
                                                          parameters: - WebAuthorizeParameters,
                                                          options?: - NativeAuthorizeOptions - | - WebAuthorizeOptions,
                                                      ): - Promise<Credentials>;
                                                      handleRedirectCallback(): - Promise<void>;
                                                      clearSession(
                                                          parameters?: - ClearSessionParameters,
                                                          options?: - NativeClearSessionOptions - | - WebClearSessionOptions,
                                                      ): - Promise<void>;
                                                      cancelWebAuth(): - Promise<void>;
                                                  } -
                                                  - -
                                                  -
                                                  -
                                                  - - -
                                                  Index
                                                  -
                                                  - -
                                                  -
                                                  -
                                                  -
                                                  - - -

                                                  Methods

                                                  -
                                                  -
                                                  -
                                                  - - -
                                                  -
                                                  - -
                                                    -
                                                  • - -
                                                    -
                                                    -

                                                    Handles the redirect callback after authentication.

                                                    -
                                                    -

                                                    - Returns Promise<void> -

                                                    -

                                                    - A promise that resolves when the redirect callback has - been processed. -

                                                    -
                                                    -
                                                    - -

                                                    - Platform specific: This method is - only available in the context of a web application. -

                                                    -
                                                    -
                                                    - -
                                                    -
                                                  • -
                                                  -
                                                  -
                                                  - - -
                                                  -
                                                  - -
                                                    -
                                                  • - -
                                                    -
                                                    -

                                                    Cancels an ongoing web authentication transaction.

                                                    -
                                                    -

                                                    - Returns Promise<void> -

                                                    -

                                                    - A promise that resolves when the operation is complete. -

                                                    -
                                                    -
                                                    - -

                                                    - Platform specific: This is primarily - used on iOS to handle scenarios where the user - manually dismisses the login modal. On other - platforms, it may be a no-op. -

                                                    -
                                                    -
                                                    - -
                                                    -
                                                  • -
                                                  -
                                                  -
                                                  -
                                                  -
                                                  -
                                                  - - -
                                                  -
                                                  - -
                                                  - - - diff --git a/docs/dev/interfaces/Interface.LocalAuthenticationOptions.html b/docs/dev/interfaces/Interface.LocalAuthenticationOptions.html deleted file mode 100644 index 48c04c9c..00000000 --- a/docs/dev/interfaces/Interface.LocalAuthenticationOptions.html +++ /dev/null @@ -1,766 +0,0 @@ - - - - - - - LocalAuthenticationOptions | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - - -
                                                  -
                                                  - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                    -
                                                    -
                                                    Preparing search index...
                                                    -
                                                    -
                                                    - -
                                                    -
                                                    -
                                                    -
                                                    -
                                                    - -

                                                    Interface LocalAuthenticationOptions

                                                    -
                                                    -
                                                    -
                                                    -
                                                    - -

                                                    - Platform specific: Native only (iOS/Android). - Options for configuring local authentication (e.g., biometrics - or device PIN). -

                                                    -
                                                    -
                                                    -
                                                    -
                                                    - interface - LocalAuthenticationOptions - {
                                                        title: - string;
                                                        subtitle?: - string;
                                                        description?: - string;
                                                        cancelTitle?: - string;
                                                        evaluationPolicy?: - Interface.LocalAuthenticationStrategy;
                                                        authenticationLevel?: - Interface.LocalAuthenticationLevel;
                                                        fallbackTitle?: - string;
                                                        deviceCredentialFallback?: - boolean;
                                                    } -
                                                    - -
                                                    -
                                                    -
                                                    - - -
                                                    Index
                                                    -
                                                    - -
                                                    -
                                                    -
                                                    -
                                                    - - -

                                                    Properties

                                                    -
                                                    -
                                                    -
                                                    - -
                                                    - title: - string -
                                                    - -
                                                    -
                                                    - -
                                                    - subtitle?: - string -
                                                    - -
                                                    -
                                                    - -
                                                    - description?: - string -
                                                    - -
                                                    -
                                                    - -
                                                    - cancelTitle?: - string -
                                                    - -
                                                    -
                                                    - -
                                                    - evaluationPolicy?: - Interface.LocalAuthenticationStrategy -
                                                    - -
                                                    -
                                                    - -
                                                    - authenticationLevel?: - Interface.LocalAuthenticationLevel -
                                                    - -
                                                    -
                                                    - -
                                                    - fallbackTitle?: - string -
                                                    - -
                                                    -
                                                    - -
                                                    - deviceCredentialFallback?: - boolean -
                                                    - -
                                                    -
                                                    -
                                                    -
                                                    -
                                                    - - -
                                                    -
                                                    - -
                                                    - - - diff --git a/docs/dev/interfaces/Interface.LoginEmailParameters.html b/docs/dev/interfaces/Interface.LoginEmailParameters.html deleted file mode 100644 index ea134eb4..00000000 --- a/docs/dev/interfaces/Interface.LoginEmailParameters.html +++ /dev/null @@ -1,590 +0,0 @@ - - - - - - LoginEmailParameters | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                    -
                                                    - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                      -
                                                      -
                                                      Preparing search index...
                                                      -
                                                      -
                                                      - -
                                                      -
                                                      -
                                                      -
                                                      -
                                                      - -

                                                      Interface LoginEmailParameters

                                                      -
                                                      -
                                                      -
                                                      -

                                                      - Parameters for completing passwordless login with an email - code/OTP. -

                                                      -
                                                      -
                                                      -
                                                      -
                                                      - interface - LoginEmailParameters - {
                                                          headers?: - Record<string, - string>;
                                                          email: - string;
                                                          code: - string;
                                                          audience?: - string;
                                                          scope?: - string;
                                                          [key: - string]: - any;
                                                      } -
                                                      -
                                                      -

                                                      Indexable

                                                      -
                                                        -
                                                      • -
                                                        - [key: - string]: - any -
                                                        -
                                                      • -
                                                      -
                                                      - -
                                                      -
                                                      -
                                                      - - -
                                                      Index
                                                      -
                                                      -
                                                      -
                                                      -

                                                      Properties

                                                      - -
                                                      -
                                                      -
                                                      -
                                                      -
                                                      -
                                                      - - -

                                                      Properties

                                                      -
                                                      -
                                                      -
                                                      - -
                                                      - headers?: - Record<string, - string> -
                                                      -
                                                      -

                                                      Optional custom headers to be included in the request.

                                                      -
                                                      -
                                                      - -
                                                      -
                                                      - -
                                                      - email: - string -
                                                      - -
                                                      -
                                                      - -
                                                      - code: - string -
                                                      - -
                                                      -
                                                      - -
                                                      - audience?: - string -
                                                      - -
                                                      -
                                                      - -
                                                      - scope?: - string -
                                                      - -
                                                      -
                                                      -
                                                      -
                                                      -
                                                      - - -
                                                      -
                                                      - -
                                                      - - - diff --git a/docs/dev/interfaces/Interface.LoginOobParameters.html b/docs/dev/interfaces/Interface.LoginOobParameters.html deleted file mode 100644 index db87c63c..00000000 --- a/docs/dev/interfaces/Interface.LoginOobParameters.html +++ /dev/null @@ -1,549 +0,0 @@ - - - - - - LoginOobParameters | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                      -
                                                      - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                        -
                                                        -
                                                        Preparing search index...
                                                        -
                                                        -
                                                        - -
                                                        -
                                                        -
                                                        -
                                                        -
                                                        - -

                                                        Interface LoginOobParameters

                                                        -
                                                        -
                                                        -
                                                        -

                                                        - Parameters for logging in with an Out-of-Band (OOB) code after an - MFA challenge. -

                                                        -
                                                        -
                                                        -
                                                        -
                                                        - interface - LoginOobParameters - {
                                                            headers?: - Record<string, - string>;
                                                            mfaToken: - string;
                                                            oobCode: - string;
                                                            bindingCode?: - string;
                                                            [key: - string]: - any;
                                                        } -
                                                        -
                                                        -

                                                        Indexable

                                                        -
                                                          -
                                                        • -
                                                          - [key: - string]: - any -
                                                          -
                                                        • -
                                                        -
                                                        - -
                                                        -
                                                        -
                                                        - - -
                                                        Index
                                                        -
                                                        -
                                                        -
                                                        -

                                                        Properties

                                                        - -
                                                        -
                                                        -
                                                        -
                                                        -
                                                        -
                                                        - - -

                                                        Properties

                                                        -
                                                        -
                                                        -
                                                        - -
                                                        - headers?: - Record<string, - string> -
                                                        -
                                                        -

                                                        Optional custom headers to be included in the request.

                                                        -
                                                        -
                                                        - -
                                                        -
                                                        - -
                                                        - mfaToken: - string -
                                                        - -
                                                        -
                                                        - -
                                                        - oobCode: - string -
                                                        - -
                                                        -
                                                        - -
                                                        - bindingCode?: - string -
                                                        - -
                                                        -
                                                        -
                                                        -
                                                        -
                                                        - - -
                                                        -
                                                        - -
                                                        - - - diff --git a/docs/dev/interfaces/Interface.LoginOtpParameters.html b/docs/dev/interfaces/Interface.LoginOtpParameters.html deleted file mode 100644 index 9ff8e23d..00000000 --- a/docs/dev/interfaces/Interface.LoginOtpParameters.html +++ /dev/null @@ -1,544 +0,0 @@ - - - - - - LoginOtpParameters | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                        -
                                                        - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                          -
                                                          -
                                                          Preparing search index...
                                                          -
                                                          -
                                                          - -
                                                          -
                                                          -
                                                          -
                                                          -
                                                          - -

                                                          Interface LoginOtpParameters

                                                          -
                                                          -
                                                          -
                                                          -

                                                          - Parameters for logging in with an OTP code after an MFA challenge. -

                                                          -
                                                          -
                                                          -
                                                          -
                                                          - interface - LoginOtpParameters - {
                                                              headers?: - Record<string, - string>;
                                                              mfaToken: - string;
                                                              otp: - string;
                                                              audience?: - string;
                                                              [key: - string]: - any;
                                                          } -
                                                          -
                                                          -

                                                          Indexable

                                                          -
                                                            -
                                                          • -
                                                            - [key: - string]: - any -
                                                            -
                                                          • -
                                                          -
                                                          - -
                                                          -
                                                          -
                                                          - - -
                                                          Index
                                                          -
                                                          -
                                                          -
                                                          -

                                                          Properties

                                                          - -
                                                          -
                                                          -
                                                          -
                                                          -
                                                          -
                                                          - - -

                                                          Properties

                                                          -
                                                          -
                                                          -
                                                          - -
                                                          - headers?: - Record<string, - string> -
                                                          -
                                                          -

                                                          Optional custom headers to be included in the request.

                                                          -
                                                          -
                                                          - -
                                                          -
                                                          - -
                                                          - mfaToken: - string -
                                                          - -
                                                          -
                                                          - -
                                                          - otp: - string -
                                                          - -
                                                          -
                                                          - -
                                                          - audience?: - string -
                                                          - -
                                                          -
                                                          -
                                                          -
                                                          -
                                                          - - -
                                                          -
                                                          - -
                                                          - - - diff --git a/docs/dev/interfaces/Interface.LoginRecoveryCodeParameters.html b/docs/dev/interfaces/Interface.LoginRecoveryCodeParameters.html deleted file mode 100644 index a907b231..00000000 --- a/docs/dev/interfaces/Interface.LoginRecoveryCodeParameters.html +++ /dev/null @@ -1,501 +0,0 @@ - - - - - - - LoginRecoveryCodeParameters | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - - -
                                                          -
                                                          - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                            -
                                                            -
                                                            Preparing search index...
                                                            -
                                                            -
                                                            - -
                                                            -
                                                            -
                                                            -
                                                            -
                                                            - -

                                                            Interface LoginRecoveryCodeParameters

                                                            -
                                                            -
                                                            -
                                                            -

                                                            - Parameters for logging in with a recovery code after an MFA - challenge. -

                                                            -
                                                            -
                                                            -
                                                            -
                                                            - interface - LoginRecoveryCodeParameters - {
                                                                headers?: - Record<string, - string>;
                                                                mfaToken: - string;
                                                                recoveryCode: - string;
                                                                [key: - string]: - any;
                                                            } -
                                                            -
                                                            -

                                                            Indexable

                                                            -
                                                              -
                                                            • -
                                                              - [key: - string]: - any -
                                                              -
                                                            • -
                                                            -
                                                            - -
                                                            -
                                                            -
                                                            - - -
                                                            Index
                                                            -
                                                            -
                                                            -
                                                            -

                                                            Properties

                                                            - -
                                                            -
                                                            -
                                                            -
                                                            -
                                                            -
                                                            - - -

                                                            Properties

                                                            -
                                                            -
                                                            -
                                                            - -
                                                            - headers?: - Record<string, - string> -
                                                            -
                                                            -

                                                            Optional custom headers to be included in the request.

                                                            -
                                                            -
                                                            - -
                                                            -
                                                            - -
                                                            - mfaToken: - string -
                                                            - -
                                                            -
                                                            - -
                                                            - recoveryCode: - string -
                                                            - -
                                                            -
                                                            -
                                                            -
                                                            -
                                                            - - -
                                                            -
                                                            - -
                                                            - - - diff --git a/docs/dev/interfaces/Interface.LoginSmsParameters.html b/docs/dev/interfaces/Interface.LoginSmsParameters.html deleted file mode 100644 index 2e39a950..00000000 --- a/docs/dev/interfaces/Interface.LoginSmsParameters.html +++ /dev/null @@ -1,592 +0,0 @@ - - - - - - LoginSmsParameters | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                            -
                                                            - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                              -
                                                              -
                                                              Preparing search index...
                                                              -
                                                              -
                                                              - -
                                                              -
                                                              -
                                                              -
                                                              -
                                                              - -

                                                              Interface LoginSmsParameters

                                                              -
                                                              -
                                                              -
                                                              -

                                                              - Parameters for completing passwordless login with an SMS code/OTP. -

                                                              -
                                                              -
                                                              -
                                                              -
                                                              - interface - LoginSmsParameters - {
                                                                  headers?: - Record<string, - string>;
                                                                  phoneNumber: - string;
                                                                  code: - string;
                                                                  audience?: - string;
                                                                  scope?: - string;
                                                                  [key: - string]: - any;
                                                              } -
                                                              -
                                                              -

                                                              Indexable

                                                              -
                                                                -
                                                              • -
                                                                - [key: - string]: - any -
                                                                -
                                                              • -
                                                              -
                                                              - -
                                                              -
                                                              -
                                                              - - -
                                                              Index
                                                              -
                                                              - -
                                                              -
                                                              -
                                                              -
                                                              - - -

                                                              Properties

                                                              -
                                                              -
                                                              -
                                                              - -
                                                              - headers?: - Record<string, - string> -
                                                              -
                                                              -

                                                              Optional custom headers to be included in the request.

                                                              -
                                                              -
                                                              - -
                                                              -
                                                              - -
                                                              - phoneNumber: - string -
                                                              - -
                                                              -
                                                              - -
                                                              - code: - string -
                                                              - -
                                                              -
                                                              - -
                                                              - audience?: - string -
                                                              - -
                                                              -
                                                              - -
                                                              - scope?: - string -
                                                              - -
                                                              -
                                                              -
                                                              -
                                                              -
                                                              - - -
                                                              -
                                                              - -
                                                              - - - diff --git a/docs/dev/interfaces/Interface.LogoutUrlParameters.html b/docs/dev/interfaces/Interface.LogoutUrlParameters.html deleted file mode 100644 index d0a6634d..00000000 --- a/docs/dev/interfaces/Interface.LogoutUrlParameters.html +++ /dev/null @@ -1,548 +0,0 @@ - - - - - - LogoutUrlParameters | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                              -
                                                              - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                -
                                                                -
                                                                Preparing search index...
                                                                -
                                                                -
                                                                - -
                                                                -
                                                                -
                                                                -
                                                                -
                                                                - -

                                                                Interface LogoutUrlParameters

                                                                -
                                                                -
                                                                -
                                                                -

                                                                - Parameters for building a URL for the - /v2/logout endpoint. -

                                                                -
                                                                -
                                                                -
                                                                -
                                                                - interface - LogoutUrlParameters - {
                                                                    headers?: - Record<string, - string>;
                                                                    federated?: - boolean;
                                                                    clientId?: - string;
                                                                    returnTo?: - string;
                                                                    [key: - string]: - any;
                                                                } -
                                                                -
                                                                -

                                                                Indexable

                                                                -
                                                                  -
                                                                • -
                                                                  - [key: - string]: - any -
                                                                  -
                                                                • -
                                                                -
                                                                - -
                                                                -
                                                                -
                                                                - - -
                                                                Index
                                                                -
                                                                -
                                                                -
                                                                -

                                                                Properties

                                                                - -
                                                                -
                                                                -
                                                                -
                                                                -
                                                                -
                                                                - - -

                                                                Properties

                                                                -
                                                                -
                                                                -
                                                                - -
                                                                - headers?: - Record<string, - string> -
                                                                -
                                                                -

                                                                Optional custom headers to be included in the request.

                                                                -
                                                                -
                                                                - -
                                                                -
                                                                - -
                                                                - federated?: - boolean -
                                                                - -
                                                                -
                                                                - -
                                                                - clientId?: - string -
                                                                - -
                                                                -
                                                                - -
                                                                - returnTo?: - string -
                                                                - -
                                                                -
                                                                -
                                                                -
                                                                -
                                                                - - -
                                                                -
                                                                - -
                                                                - - - diff --git a/docs/dev/interfaces/Interface.MfaChallengeParameters.html b/docs/dev/interfaces/Interface.MfaChallengeParameters.html deleted file mode 100644 index 035beea5..00000000 --- a/docs/dev/interfaces/Interface.MfaChallengeParameters.html +++ /dev/null @@ -1,551 +0,0 @@ - - - - - - MfaChallengeParameters | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                -
                                                                - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                  -
                                                                  -
                                                                  Preparing search index...
                                                                  -
                                                                  -
                                                                  - -
                                                                  -
                                                                  -
                                                                  -
                                                                  -
                                                                  - -

                                                                  Interface MfaChallengeParameters

                                                                  -
                                                                  -
                                                                  -
                                                                  -

                                                                  Parameters for requesting an MFA challenge.

                                                                  -
                                                                  -
                                                                  -
                                                                  -
                                                                  - interface - MfaChallengeParameters - {
                                                                      headers?: - Record<string, - string>;
                                                                      mfaToken: - string;
                                                                      challengeType?: - "otp" - | - "oob";
                                                                      authenticatorId?: - string;
                                                                      [key: - string]: - any;
                                                                  } -
                                                                  -
                                                                  -

                                                                  Indexable

                                                                  -
                                                                    -
                                                                  • -
                                                                    - [key: - string]: - any -
                                                                    -
                                                                  • -
                                                                  -
                                                                  - -
                                                                  -
                                                                  -
                                                                  - - -
                                                                  Index
                                                                  -
                                                                  - -
                                                                  -
                                                                  -
                                                                  -
                                                                  - - -

                                                                  Properties

                                                                  -
                                                                  -
                                                                  -
                                                                  - -
                                                                  - headers?: - Record<string, - string> -
                                                                  -
                                                                  -

                                                                  Optional custom headers to be included in the request.

                                                                  -
                                                                  -
                                                                  - -
                                                                  -
                                                                  - -
                                                                  - mfaToken: - string -
                                                                  - -
                                                                  -
                                                                  - -
                                                                  - challengeType?: - "otp" - | - "oob" -
                                                                  - -
                                                                  -
                                                                  - -
                                                                  - authenticatorId?: - string -
                                                                  - -
                                                                  -
                                                                  -
                                                                  -
                                                                  -
                                                                  - - -
                                                                  -
                                                                  - -
                                                                  - - - diff --git a/docs/dev/interfaces/Interface.NativeAuth0Options.html b/docs/dev/interfaces/Interface.NativeAuth0Options.html deleted file mode 100644 index 77966013..00000000 --- a/docs/dev/interfaces/Interface.NativeAuth0Options.html +++ /dev/null @@ -1,728 +0,0 @@ - - - - - - NativeAuth0Options | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                  -
                                                                  - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                    -
                                                                    -
                                                                    Preparing search index...
                                                                    -
                                                                    -
                                                                    - -
                                                                    -
                                                                    -
                                                                    -
                                                                    -
                                                                    - -

                                                                    Interface NativeAuth0Options

                                                                    -
                                                                    -
                                                                    -
                                                                    -

                                                                    - Extends the core Auth0Options with native-specific configuration. -

                                                                    -
                                                                    -
                                                                    -
                                                                    - -

                                                                    - Platform specific: Native only (iOS/Android). -

                                                                    -
                                                                    -
                                                                    -
                                                                    -
                                                                    - interface - NativeAuth0Options - {
                                                                        domain: - string;
                                                                        LocalAuthenticationOptions?: - LocalAuthenticationOptions;
                                                                        clientId: - string;
                                                                        timeout?: - number;
                                                                        headers?: - Record<string, - string>;
                                                                        localAuthenticationOptions?: - LocalAuthenticationOptions;
                                                                    } -
                                                                    -
                                                                    -

                                                                    - Hierarchy (View Summary) -

                                                                    - -
                                                                    - -
                                                                    -
                                                                    -
                                                                    - - -
                                                                    Index
                                                                    -
                                                                    - -
                                                                    -
                                                                    -
                                                                    -
                                                                    - - -

                                                                    Properties

                                                                    -
                                                                    -
                                                                    -
                                                                    - -
                                                                    - domain: - string -
                                                                    -
                                                                    -

                                                                    - Your Auth0 application's domain. e.g., 'your-tenant.us.auth0.com' -

                                                                    -
                                                                    -
                                                                    - -
                                                                    -
                                                                    - -
                                                                    - LocalAuthenticationOptions?: - LocalAuthenticationOptions -
                                                                    - -
                                                                    -
                                                                    - -
                                                                    - clientId: - string -
                                                                    -
                                                                    -

                                                                    Your Auth0 application's client ID.

                                                                    -
                                                                    -
                                                                    - -
                                                                    -
                                                                    - -
                                                                    - timeout?: - number -
                                                                    - -
                                                                    -
                                                                    - -
                                                                    - headers?: - Record<string, - string> -
                                                                    - -
                                                                    -
                                                                    - -
                                                                    - localAuthenticationOptions?: - LocalAuthenticationOptions -
                                                                    - -
                                                                    -
                                                                    -
                                                                    -
                                                                    -
                                                                    - - -
                                                                    -
                                                                    - -
                                                                    - - - diff --git a/docs/dev/interfaces/Interface.NativeAuthorizeOptions.html b/docs/dev/interfaces/Interface.NativeAuthorizeOptions.html deleted file mode 100644 index 0855ac55..00000000 --- a/docs/dev/interfaces/Interface.NativeAuthorizeOptions.html +++ /dev/null @@ -1,732 +0,0 @@ - - - - - - NativeAuthorizeOptions | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                    -
                                                                    - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                      -
                                                                      -
                                                                      Preparing search index...
                                                                      -
                                                                      -
                                                                      - -
                                                                      -
                                                                      -
                                                                      -
                                                                      -
                                                                      - -

                                                                      Interface NativeAuthorizeOptions

                                                                      -
                                                                      -
                                                                      -
                                                                      -

                                                                      - Options specific to the authorize method on Native - platforms. -

                                                                      -
                                                                      -
                                                                      -
                                                                      - -

                                                                      - Platform specific: Native only (iOS/Android). -

                                                                      -
                                                                      -
                                                                      -
                                                                      -
                                                                      - interface - NativeAuthorizeOptions - {
                                                                          leeway?: - number;
                                                                          ephemeralSession?: - boolean;
                                                                          customScheme?: - string;
                                                                          useLegacyCallbackUrl?: - boolean;
                                                                          useSFSafariViewController?:
                                                                              | - boolean
                                                                              | - { - presentationStyle?: - Interface.SafariViewControllerPresentationStyle - };
                                                                      } -
                                                                      - -
                                                                      -
                                                                      -
                                                                      - - -
                                                                      Index
                                                                      -
                                                                      - -
                                                                      -
                                                                      -
                                                                      -
                                                                      - - -

                                                                      Properties

                                                                      -
                                                                      -
                                                                      -
                                                                      - -
                                                                      - leeway?: - number -
                                                                      -
                                                                      -

                                                                      - The amount of leeway, in seconds, to accommodate potential - clock skew when validating an ID token's claims. -

                                                                      -
                                                                      -
                                                                      -
                                                                      - -
                                                                      60 seconds.
                                                                      -
                                                                      -
                                                                      -
                                                                      - -
                                                                      -
                                                                      - -
                                                                      - ephemeralSession?: - boolean -
                                                                      -
                                                                      -

                                                                      - iOS only: Disable Single-Sign-On (SSO). It - only affects iOS with versions 13 and above. -

                                                                      -
                                                                      -
                                                                      -
                                                                      - -

                                                                      false

                                                                      -
                                                                      -
                                                                      - -
                                                                      -
                                                                      - -
                                                                      - customScheme?: - string -
                                                                      -
                                                                      -

                                                                      Custom scheme to build the callback URL with.

                                                                      -
                                                                      -
                                                                      - -
                                                                      -
                                                                      - -
                                                                      - useLegacyCallbackUrl?: - boolean -
                                                                      -
                                                                      -

                                                                      - This will use older callback URL. See - https://github.com/auth0/react-native-auth0/blob/master/MIGRATION_GUIDE.md#callback-url-migration - for more details. -

                                                                      -
                                                                      -
                                                                      - -
                                                                      -
                                                                      - -
                                                                      - useSFSafariViewController?:
                                                                          | - boolean
                                                                          | - { - presentationStyle?: - Interface.SafariViewControllerPresentationStyle - } -
                                                                      -
                                                                      -

                                                                      - iOS only: Uses - SFSafariViewController instead of - ASWebAuthenticationSession. If empty object is - set, the presentationStyle defaults to - SafariViewControllerPresentationStyle.fullScreen -

                                                                      -

                                                                      - This can be used as a boolean value or as an object which sets - the presentationStyle. See the examples below for - reference -

                                                                      -
                                                                      -
                                                                      -
                                                                      - -
                                                                      await authorize({}, {useSFSafariViewController: true});
                                                                      -
                                                                      - -

                                                                      or

                                                                      -
                                                                      -
                                                                      - -
                                                                      await authorize({}, {useSFSafariViewController: {presentationStyle: SafariViewControllerPresentationStyle.fullScreen}});
                                                                      -
                                                                      -
                                                                      -
                                                                      - -
                                                                      -
                                                                      -
                                                                      -
                                                                      -
                                                                      - - -
                                                                      -
                                                                      - -
                                                                      - - - diff --git a/docs/dev/interfaces/Interface.NativeClearSessionOptions.html b/docs/dev/interfaces/Interface.NativeClearSessionOptions.html deleted file mode 100644 index cdb077bd..00000000 --- a/docs/dev/interfaces/Interface.NativeClearSessionOptions.html +++ /dev/null @@ -1,445 +0,0 @@ - - - - - - - NativeClearSessionOptions | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - - -
                                                                      -
                                                                      - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                        -
                                                                        -
                                                                        Preparing search index...
                                                                        -
                                                                        -
                                                                        - -
                                                                        -
                                                                        -
                                                                        -
                                                                        -
                                                                        - -

                                                                        Interface NativeClearSessionOptions

                                                                        -
                                                                        -
                                                                        -
                                                                        -

                                                                        - Options specific to the clearSession method on Native - platforms. -

                                                                        -
                                                                        -
                                                                        -
                                                                        - -

                                                                        - Platform specific: Native only (iOS/Android). -

                                                                        -
                                                                        -
                                                                        -
                                                                        -
                                                                        - interface - NativeClearSessionOptions - {
                                                                            customScheme?: - string;
                                                                            useLegacyCallbackUrl?: - boolean;
                                                                        } -
                                                                        - -
                                                                        -
                                                                        -
                                                                        - - -
                                                                        Index
                                                                        -
                                                                        -
                                                                        -
                                                                        -

                                                                        Properties

                                                                        - -
                                                                        -
                                                                        -
                                                                        -
                                                                        -
                                                                        -
                                                                        - - -

                                                                        Properties

                                                                        -
                                                                        -
                                                                        -
                                                                        - -
                                                                        - customScheme?: - string -
                                                                        -
                                                                        -

                                                                        - A custom scheme to be used in the callback URL for logout. -

                                                                        -
                                                                        -
                                                                        - -
                                                                        -
                                                                        - -
                                                                        - useLegacyCallbackUrl?: - boolean -
                                                                        -
                                                                        -

                                                                        - If true, the SDK will generate a legacy-style - callback URL. See migration guide for details. -

                                                                        -
                                                                        -
                                                                        - -
                                                                        -
                                                                        -
                                                                        -
                                                                        -
                                                                        - - -
                                                                        -
                                                                        - -
                                                                        - - - diff --git a/docs/dev/interfaces/Interface.PasswordRealmParameters.html b/docs/dev/interfaces/Interface.PasswordRealmParameters.html deleted file mode 100644 index 7ec5345b..00000000 --- a/docs/dev/interfaces/Interface.PasswordRealmParameters.html +++ /dev/null @@ -1,655 +0,0 @@ - - - - - - PasswordRealmParameters | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                        -
                                                                        - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                          -
                                                                          -
                                                                          Preparing search index...
                                                                          -
                                                                          -
                                                                          - -
                                                                          -
                                                                          -
                                                                          -
                                                                          -
                                                                          - -

                                                                          Interface PasswordRealmParameters

                                                                          -
                                                                          -
                                                                          -
                                                                          -

                                                                          Parameters for authenticating with a username and password.

                                                                          -
                                                                          - -
                                                                          -
                                                                          - interface - PasswordRealmParameters - {
                                                                              headers?: - Record<string, - string>;
                                                                              username: - string;
                                                                              password: - string;
                                                                              realm: - string;
                                                                              audience?: - string;
                                                                              scope?: - string;
                                                                              [key: - string]: - any;
                                                                          } -
                                                                          -
                                                                          -

                                                                          Indexable

                                                                          -
                                                                            -
                                                                          • -
                                                                            - [key: - string]: - any -
                                                                            -
                                                                          • -
                                                                          -
                                                                          - -
                                                                          -
                                                                          -
                                                                          - - -
                                                                          Index
                                                                          -
                                                                          - -
                                                                          -
                                                                          -
                                                                          -
                                                                          - - -

                                                                          Properties

                                                                          -
                                                                          -
                                                                          -
                                                                          - -
                                                                          - headers?: - Record<string, - string> -
                                                                          -
                                                                          -

                                                                          Optional custom headers to be included in the request.

                                                                          -
                                                                          -
                                                                          - -
                                                                          -
                                                                          - -
                                                                          - username: - string -
                                                                          - -
                                                                          -
                                                                          - -
                                                                          - password: - string -
                                                                          - -
                                                                          -
                                                                          - -
                                                                          - realm: - string -
                                                                          - -
                                                                          -
                                                                          - -
                                                                          - audience?: - string -
                                                                          - -
                                                                          -
                                                                          - -
                                                                          - scope?: - string -
                                                                          - -
                                                                          -
                                                                          -
                                                                          -
                                                                          -
                                                                          - - -
                                                                          -
                                                                          - -
                                                                          - - - diff --git a/docs/dev/interfaces/Interface.PasswordlessEmailParameters.html b/docs/dev/interfaces/Interface.PasswordlessEmailParameters.html deleted file mode 100644 index 64aa8532..00000000 --- a/docs/dev/interfaces/Interface.PasswordlessEmailParameters.html +++ /dev/null @@ -1,548 +0,0 @@ - - - - - - - PasswordlessEmailParameters | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - - -
                                                                          -
                                                                          - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                            -
                                                                            -
                                                                            Preparing search index...
                                                                            -
                                                                            -
                                                                            - -
                                                                            -
                                                                            -
                                                                            -
                                                                            -
                                                                            - -

                                                                            Interface PasswordlessEmailParameters

                                                                            -
                                                                            -
                                                                            -
                                                                            -

                                                                            Parameters for initiating passwordless login with an email.

                                                                            -
                                                                            -
                                                                            -
                                                                            -
                                                                            - interface - PasswordlessEmailParameters - {
                                                                                headers?: - Record<string, - string>;
                                                                                email: - string;
                                                                                send?: - "code" - | - "link";
                                                                                authParams?: - object;
                                                                                [key: - string]: - any;
                                                                            } -
                                                                            -
                                                                            -

                                                                            Indexable

                                                                            -
                                                                              -
                                                                            • -
                                                                              - [key: - string]: - any -
                                                                              -
                                                                            • -
                                                                            -
                                                                            - -
                                                                            -
                                                                            -
                                                                            - - -
                                                                            Index
                                                                            -
                                                                            -
                                                                            -
                                                                            -

                                                                            Properties

                                                                            - -
                                                                            -
                                                                            -
                                                                            -
                                                                            -
                                                                            -
                                                                            - - -

                                                                            Properties

                                                                            -
                                                                            -
                                                                            -
                                                                            - -
                                                                            - headers?: - Record<string, - string> -
                                                                            -
                                                                            -

                                                                            Optional custom headers to be included in the request.

                                                                            -
                                                                            -
                                                                            - -
                                                                            -
                                                                            - -
                                                                            - email: - string -
                                                                            - -
                                                                            -
                                                                            - -
                                                                            - send?: - "code" - | - "link" -
                                                                            - -
                                                                            -
                                                                            - -
                                                                            - authParams?: - object -
                                                                            - -
                                                                            -
                                                                            -
                                                                            -
                                                                            -
                                                                            - - -
                                                                            -
                                                                            - -
                                                                            - - - diff --git a/docs/dev/interfaces/Interface.PasswordlessSmsParameters.html b/docs/dev/interfaces/Interface.PasswordlessSmsParameters.html deleted file mode 100644 index 9237ba0f..00000000 --- a/docs/dev/interfaces/Interface.PasswordlessSmsParameters.html +++ /dev/null @@ -1,551 +0,0 @@ - - - - - - - PasswordlessSmsParameters | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - - -
                                                                            -
                                                                            - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                              -
                                                                              -
                                                                              Preparing search index...
                                                                              -
                                                                              -
                                                                              - -
                                                                              -
                                                                              -
                                                                              -
                                                                              -
                                                                              - -

                                                                              Interface PasswordlessSmsParameters

                                                                              -
                                                                              -
                                                                              -
                                                                              -

                                                                              Parameters for initiating passwordless login with SMS.

                                                                              -
                                                                              -
                                                                              -
                                                                              -
                                                                              - interface - PasswordlessSmsParameters - {
                                                                                  headers?: - Record<string, - string>;
                                                                                  phoneNumber: - string;
                                                                                  send?: - "code" - | - "link";
                                                                                  authParams?: - object;
                                                                                  [key: - string]: - any;
                                                                              } -
                                                                              -
                                                                              -

                                                                              Indexable

                                                                              -
                                                                                -
                                                                              • -
                                                                                - [key: - string]: - any -
                                                                                -
                                                                              • -
                                                                              -
                                                                              - -
                                                                              -
                                                                              -
                                                                              - - -
                                                                              Index
                                                                              -
                                                                              -
                                                                              -
                                                                              -

                                                                              Properties

                                                                              - -
                                                                              -
                                                                              -
                                                                              -
                                                                              -
                                                                              -
                                                                              - - -

                                                                              Properties

                                                                              -
                                                                              -
                                                                              -
                                                                              - -
                                                                              - headers?: - Record<string, - string> -
                                                                              -
                                                                              -

                                                                              Optional custom headers to be included in the request.

                                                                              -
                                                                              -
                                                                              - -
                                                                              -
                                                                              - -
                                                                              - phoneNumber: - string -
                                                                              - -
                                                                              -
                                                                              - -
                                                                              - send?: - "code" - | - "link" -
                                                                              - -
                                                                              -
                                                                              - -
                                                                              - authParams?: - object -
                                                                              - -
                                                                              -
                                                                              -
                                                                              -
                                                                              -
                                                                              - - -
                                                                              -
                                                                              - -
                                                                              - - - diff --git a/docs/dev/interfaces/Interface.PatchUserParameters.html b/docs/dev/interfaces/Interface.PatchUserParameters.html deleted file mode 100644 index 694957ea..00000000 --- a/docs/dev/interfaces/Interface.PatchUserParameters.html +++ /dev/null @@ -1,427 +0,0 @@ - - - - - - PatchUserParameters | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                              -
                                                                              - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                                -
                                                                                -
                                                                                Preparing search index...
                                                                                -
                                                                                -
                                                                                - -
                                                                                -
                                                                                -
                                                                                -
                                                                                -
                                                                                - -

                                                                                Interface PatchUserParameters

                                                                                -
                                                                                -
                                                                                -
                                                                                -

                                                                                - Parameters for patching a user's metadata via the Management API. - Requires an access token with - update:current_user_metadata scope. -

                                                                                -
                                                                                -
                                                                                -
                                                                                -
                                                                                - interface - PatchUserParameters - {
                                                                                    id: - string;
                                                                                    metadata: - Record<string, - any>;
                                                                                } -
                                                                                - -
                                                                                -
                                                                                -
                                                                                - - -
                                                                                Index
                                                                                -
                                                                                -
                                                                                -
                                                                                -

                                                                                Properties

                                                                                - -
                                                                                -
                                                                                -
                                                                                -
                                                                                -
                                                                                -
                                                                                - - -

                                                                                Properties

                                                                                -
                                                                                -
                                                                                -
                                                                                - -
                                                                                - id: - string -
                                                                                -
                                                                                -

                                                                                - The ID of the user to update (e.g., auth0|12345). -

                                                                                -
                                                                                -
                                                                                - -
                                                                                -
                                                                                - -
                                                                                - metadata: - Record<string, - any> -
                                                                                -
                                                                                -

                                                                                An object containing the metadata to set or update.

                                                                                -
                                                                                -
                                                                                - -
                                                                                -
                                                                                -
                                                                                -
                                                                                -
                                                                                - - -
                                                                                -
                                                                                - -
                                                                                - - - diff --git a/docs/dev/interfaces/Interface.RefreshTokenParameters.html b/docs/dev/interfaces/Interface.RefreshTokenParameters.html deleted file mode 100644 index 71218d11..00000000 --- a/docs/dev/interfaces/Interface.RefreshTokenParameters.html +++ /dev/null @@ -1,516 +0,0 @@ - - - - - - RefreshTokenParameters | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                                -
                                                                                - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                                  -
                                                                                  -
                                                                                  Preparing search index...
                                                                                  -
                                                                                  -
                                                                                  - -
                                                                                  -
                                                                                  -
                                                                                  -
                                                                                  -
                                                                                  - -

                                                                                  Interface RefreshTokenParameters

                                                                                  -
                                                                                  -
                                                                                  -
                                                                                  -

                                                                                  Parameters for refreshing an access token.

                                                                                  -
                                                                                  - -
                                                                                  -
                                                                                  - interface - RefreshTokenParameters - {
                                                                                      headers?: - Record<string, - string>;
                                                                                      refreshToken: - string;
                                                                                      scope?: - string;
                                                                                      [key: - string]: - any;
                                                                                  } -
                                                                                  -
                                                                                  -

                                                                                  Indexable

                                                                                  -
                                                                                    -
                                                                                  • -
                                                                                    - [key: - string]: - any -
                                                                                    -
                                                                                  • -
                                                                                  -
                                                                                  - -
                                                                                  -
                                                                                  -
                                                                                  - - -
                                                                                  Index
                                                                                  -
                                                                                  -
                                                                                  -
                                                                                  -

                                                                                  Properties

                                                                                  - -
                                                                                  -
                                                                                  -
                                                                                  -
                                                                                  -
                                                                                  -
                                                                                  - - -

                                                                                  Properties

                                                                                  -
                                                                                  -
                                                                                  -
                                                                                  - -
                                                                                  - headers?: - Record<string, - string> -
                                                                                  -
                                                                                  -

                                                                                  Optional custom headers to be included in the request.

                                                                                  -
                                                                                  -
                                                                                  - -
                                                                                  -
                                                                                  - -
                                                                                  - refreshToken: - string -
                                                                                  -
                                                                                  -

                                                                                  The issued refresh token

                                                                                  -
                                                                                  -
                                                                                  - -
                                                                                  -
                                                                                  - -
                                                                                  - scope?: - string -
                                                                                  -
                                                                                  -

                                                                                  - The scopes requested for the issued tokens. e.g. - openid profile -

                                                                                  -
                                                                                  -
                                                                                  - -
                                                                                  -
                                                                                  -
                                                                                  -
                                                                                  -
                                                                                  - - -
                                                                                  -
                                                                                  - -
                                                                                  - - - diff --git a/docs/dev/interfaces/Interface.ResetPasswordParameters.html b/docs/dev/interfaces/Interface.ResetPasswordParameters.html deleted file mode 100644 index fe7458bd..00000000 --- a/docs/dev/interfaces/Interface.ResetPasswordParameters.html +++ /dev/null @@ -1,542 +0,0 @@ - - - - - - ResetPasswordParameters | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                                  -
                                                                                  - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                                    -
                                                                                    -
                                                                                    Preparing search index...
                                                                                    -
                                                                                    -
                                                                                    - -
                                                                                    -
                                                                                    -
                                                                                    -
                                                                                    -
                                                                                    - -

                                                                                    Interface ResetPasswordParameters

                                                                                    -
                                                                                    -
                                                                                    -
                                                                                    -

                                                                                    Parameters for requesting a password reset email.

                                                                                    -
                                                                                    -
                                                                                    -
                                                                                    -
                                                                                    - interface - ResetPasswordParameters - {
                                                                                        headers?: - Record<string, - string>;
                                                                                        email: - string;
                                                                                        connection: - string;
                                                                                        organization?: - string;
                                                                                        [key: - string]: - any;
                                                                                    } -
                                                                                    -
                                                                                    -

                                                                                    Indexable

                                                                                    -
                                                                                      -
                                                                                    • -
                                                                                      - [key: - string]: - any -
                                                                                      -
                                                                                    • -
                                                                                    -
                                                                                    - -
                                                                                    -
                                                                                    -
                                                                                    - - -
                                                                                    Index
                                                                                    -
                                                                                    -
                                                                                    -
                                                                                    -

                                                                                    Properties

                                                                                    - -
                                                                                    -
                                                                                    -
                                                                                    -
                                                                                    -
                                                                                    -
                                                                                    - - -

                                                                                    Properties

                                                                                    -
                                                                                    -
                                                                                    -
                                                                                    - -
                                                                                    - headers?: - Record<string, - string> -
                                                                                    -
                                                                                    -

                                                                                    Optional custom headers to be included in the request.

                                                                                    -
                                                                                    -
                                                                                    - -
                                                                                    -
                                                                                    - -
                                                                                    - email: - string -
                                                                                    - -
                                                                                    -
                                                                                    - -
                                                                                    - connection: - string -
                                                                                    - -
                                                                                    -
                                                                                    - -
                                                                                    - organization?: - string -
                                                                                    - -
                                                                                    -
                                                                                    -
                                                                                    -
                                                                                    -
                                                                                    - - -
                                                                                    -
                                                                                    - -
                                                                                    - - - diff --git a/docs/dev/interfaces/Interface.RevokeOptions.html b/docs/dev/interfaces/Interface.RevokeOptions.html deleted file mode 100644 index cd0320db..00000000 --- a/docs/dev/interfaces/Interface.RevokeOptions.html +++ /dev/null @@ -1,443 +0,0 @@ - - - - - - RevokeOptions | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                                    -
                                                                                    - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                                      -
                                                                                      -
                                                                                      Preparing search index...
                                                                                      -
                                                                                      -
                                                                                      - -
                                                                                      -
                                                                                      -
                                                                                      -
                                                                                      -
                                                                                      - -

                                                                                      Interface RevokeOptions

                                                                                      -
                                                                                      -
                                                                                      -
                                                                                      -

                                                                                      Parameters for revoking a refresh token.

                                                                                      -
                                                                                      -
                                                                                      -
                                                                                      -
                                                                                      - interface - RevokeOptions - {
                                                                                          headers?: - Record<string, - string>;
                                                                                          refreshToken: - string;
                                                                                          [key: - string]: - any;
                                                                                      } -
                                                                                      -
                                                                                      -

                                                                                      Indexable

                                                                                      -
                                                                                        -
                                                                                      • -
                                                                                        - [key: - string]: - any -
                                                                                        -
                                                                                      • -
                                                                                      -
                                                                                      - -
                                                                                      -
                                                                                      -
                                                                                      - - -
                                                                                      Index
                                                                                      -
                                                                                      -
                                                                                      -
                                                                                      -

                                                                                      Properties

                                                                                      - -
                                                                                      -
                                                                                      -
                                                                                      -
                                                                                      -
                                                                                      -
                                                                                      - - -

                                                                                      Properties

                                                                                      -
                                                                                      -
                                                                                      -
                                                                                      - -
                                                                                      - headers?: - Record<string, - string> -
                                                                                      -
                                                                                      -

                                                                                      Optional custom headers to be included in the request.

                                                                                      -
                                                                                      -
                                                                                      - -
                                                                                      -
                                                                                      - -
                                                                                      - refreshToken: - string -
                                                                                      - -
                                                                                      -
                                                                                      -
                                                                                      -
                                                                                      -
                                                                                      - - -
                                                                                      -
                                                                                      - -
                                                                                      - - - diff --git a/docs/dev/interfaces/Interface.UserInfoParameters.html b/docs/dev/interfaces/Interface.UserInfoParameters.html deleted file mode 100644 index 31b247f8..00000000 --- a/docs/dev/interfaces/Interface.UserInfoParameters.html +++ /dev/null @@ -1,440 +0,0 @@ - - - - - - UserInfoParameters | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                                      -
                                                                                      - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                                        -
                                                                                        -
                                                                                        Preparing search index...
                                                                                        -
                                                                                        -
                                                                                        - -
                                                                                        -
                                                                                        -
                                                                                        -
                                                                                        -
                                                                                        - -

                                                                                        Interface UserInfoParameters

                                                                                        -
                                                                                        -
                                                                                        -
                                                                                        -

                                                                                        Parameters for accessing the /userinfo endpoint.

                                                                                        -
                                                                                        -
                                                                                        -
                                                                                        -
                                                                                        - interface - UserInfoParameters - {
                                                                                            headers?: - Record<string, - string>;
                                                                                            token: - string;
                                                                                            [key: - string]: - any;
                                                                                        } -
                                                                                        -
                                                                                        -

                                                                                        Indexable

                                                                                        -
                                                                                          -
                                                                                        • -
                                                                                          - [key: - string]: - any -
                                                                                          -
                                                                                        • -
                                                                                        -
                                                                                        - -
                                                                                        -
                                                                                        -
                                                                                        - - -
                                                                                        Index
                                                                                        -
                                                                                        -
                                                                                        -
                                                                                        -

                                                                                        Properties

                                                                                        - -
                                                                                        -
                                                                                        -
                                                                                        -
                                                                                        -
                                                                                        -
                                                                                        - - -

                                                                                        Properties

                                                                                        -
                                                                                        -
                                                                                        -
                                                                                        - -
                                                                                        - headers?: - Record<string, - string> -
                                                                                        -
                                                                                        -

                                                                                        Optional custom headers to be included in the request.

                                                                                        -
                                                                                        -
                                                                                        - -
                                                                                        -
                                                                                        - -
                                                                                        - token: - string -
                                                                                        - -
                                                                                        -
                                                                                        -
                                                                                        -
                                                                                        -
                                                                                        - - -
                                                                                        -
                                                                                        - -
                                                                                        - - - diff --git a/docs/dev/interfaces/Interface.WebAuth0Options.html b/docs/dev/interfaces/Interface.WebAuth0Options.html deleted file mode 100644 index 7c385f01..00000000 --- a/docs/dev/interfaces/Interface.WebAuth0Options.html +++ /dev/null @@ -1,912 +0,0 @@ - - - - - - WebAuth0Options | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                                        -
                                                                                        - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                                          -
                                                                                          -
                                                                                          Preparing search index...
                                                                                          -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -
                                                                                          -
                                                                                          -
                                                                                          - -

                                                                                          Interface WebAuth0Options

                                                                                          -
                                                                                          -
                                                                                          -
                                                                                          -

                                                                                          - Extends the core Auth0Options with web-specific configuration that - is passed down to @auth0/auth0-spa-js. -

                                                                                          -
                                                                                          -
                                                                                          -
                                                                                          - -

                                                                                          Platform specific: Web only.

                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -
                                                                                          - interface - WebAuth0Options - {
                                                                                              domain: - string;
                                                                                              LocalAuthenticationOptions?: - LocalAuthenticationOptions;
                                                                                              clientId: - string;
                                                                                              timeout?: - number;
                                                                                              headers?: - Record<string, - string>;
                                                                                              cacheLocation?: - "memory" - | - "localstorage";
                                                                                              useRefreshTokens?: - boolean;
                                                                                              audience?: - string;
                                                                                              scope?: - string;
                                                                                          } -
                                                                                          -
                                                                                          -

                                                                                          - Hierarchy (View Summary) -

                                                                                          - -
                                                                                          - -
                                                                                          -
                                                                                          -
                                                                                          - - -
                                                                                          Index
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -
                                                                                          -
                                                                                          - - -

                                                                                          Properties

                                                                                          -
                                                                                          -
                                                                                          -
                                                                                          - -
                                                                                          - domain: - string -
                                                                                          -
                                                                                          -

                                                                                          - Your Auth0 application's domain. e.g., 'your-tenant.us.auth0.com' -

                                                                                          -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          - LocalAuthenticationOptions?: - LocalAuthenticationOptions -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          - clientId: - string -
                                                                                          -
                                                                                          -

                                                                                          Your Auth0 application's client ID.

                                                                                          -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          - timeout?: - number -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          - headers?: - Record<string, - string> -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          - cacheLocation?: - "memory" - | - "localstorage" -
                                                                                          -
                                                                                          -

                                                                                          - How and where to cache session data. Defaults to - memory. -

                                                                                          -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          - useRefreshTokens?: - boolean -
                                                                                          -
                                                                                          -

                                                                                          - Enables the use of refresh tokens for silent authentication. -

                                                                                          -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          - audience?: - string -
                                                                                          -
                                                                                          -

                                                                                          - A custom audience for the getTokenSilently call. -

                                                                                          -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          - -
                                                                                          - scope?: - string -
                                                                                          -
                                                                                          -

                                                                                          - A custom scope for the getTokenSilently call. -

                                                                                          -
                                                                                          -
                                                                                          - -
                                                                                          -
                                                                                          -
                                                                                          -
                                                                                          -
                                                                                          - - -
                                                                                          -
                                                                                          - -
                                                                                          - - - diff --git a/docs/dev/interfaces/Interface.WebAuthorizeOptions.html b/docs/dev/interfaces/Interface.WebAuthorizeOptions.html deleted file mode 100644 index 6eea0985..00000000 --- a/docs/dev/interfaces/Interface.WebAuthorizeOptions.html +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - WebAuthorizeOptions | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                                          -
                                                                                          - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                                            -
                                                                                            -
                                                                                            Preparing search index...
                                                                                            -
                                                                                            -
                                                                                            - -
                                                                                            -
                                                                                            -
                                                                                            -
                                                                                            -
                                                                                            - -

                                                                                            Interface WebAuthorizeOptions

                                                                                            -
                                                                                            -
                                                                                            -
                                                                                            -

                                                                                            - Options specific to the authorize method on the Web - platform. (Currently a placeholder, can be extended later). -

                                                                                            -
                                                                                            -
                                                                                            -
                                                                                            - -

                                                                                            Platform specific: Web only.

                                                                                            -
                                                                                            -
                                                                                            -
                                                                                            - -
                                                                                            -
                                                                                            - - -
                                                                                            -
                                                                                            - -
                                                                                            - - - diff --git a/docs/dev/interfaces/Interface.WebAuthorizeParameters.html b/docs/dev/interfaces/Interface.WebAuthorizeParameters.html deleted file mode 100644 index 55a33b75..00000000 --- a/docs/dev/interfaces/Interface.WebAuthorizeParameters.html +++ /dev/null @@ -1,935 +0,0 @@ - - - - - - WebAuthorizeParameters | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                                            -
                                                                                            - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                                              -
                                                                                              -
                                                                                              Preparing search index...
                                                                                              -
                                                                                              -
                                                                                              - -
                                                                                              -
                                                                                              -
                                                                                              -
                                                                                              -
                                                                                              - -

                                                                                              Interface WebAuthorizeParameters

                                                                                              -
                                                                                              -
                                                                                              -
                                                                                              -

                                                                                              Parameters for the web-based authorization flow.

                                                                                              -
                                                                                              - -
                                                                                              -
                                                                                              - interface - WebAuthorizeParameters - {
                                                                                                  state?: - string;
                                                                                                  nonce?: - string;
                                                                                                  audience?: - string;
                                                                                                  scope?: - string;
                                                                                                  connection?: - string;
                                                                                                  maxAge?: - number;
                                                                                                  organization?: - string;
                                                                                                  invitationUrl?: - string;
                                                                                                  redirectUrl?: - string;
                                                                                                  additionalParameters?: - { - [key: - string]: - string - };
                                                                                              } -
                                                                                              - -
                                                                                              -
                                                                                              -
                                                                                              - - -
                                                                                              Index
                                                                                              -
                                                                                              - -
                                                                                              -
                                                                                              -
                                                                                              -
                                                                                              - - -

                                                                                              Properties

                                                                                              -
                                                                                              -
                                                                                              -
                                                                                              - -
                                                                                              - state?: - string -
                                                                                              -
                                                                                              -

                                                                                              Random string to prevent CSRF attacks.

                                                                                              -
                                                                                              -
                                                                                              - -
                                                                                              -
                                                                                              - -
                                                                                              - nonce?: - string -
                                                                                              -
                                                                                              -

                                                                                              - One-time random value that is used to prevent replay attacks. -

                                                                                              -
                                                                                              -
                                                                                              - -
                                                                                              -
                                                                                              - -
                                                                                              - audience?: - string -
                                                                                              -
                                                                                              -

                                                                                              - The intended API identifier that will be the consumer for the - issued access token. -

                                                                                              -
                                                                                              -
                                                                                              - -
                                                                                              -
                                                                                              - -
                                                                                              - scope?: - string -
                                                                                              -
                                                                                              -

                                                                                              - The scopes requested for the issued tokens. e.g. - openid profile -

                                                                                              -
                                                                                              -
                                                                                              - -
                                                                                              -
                                                                                              - -
                                                                                              - connection?: - string -
                                                                                              -
                                                                                              -

                                                                                              The database connection in which to look for users.

                                                                                              -
                                                                                              -
                                                                                              - -
                                                                                              -
                                                                                              - -
                                                                                              - maxAge?: - number -
                                                                                              -
                                                                                              -

                                                                                              - The maximum age in seconds that the resulting ID token should - be issued for. -

                                                                                              -
                                                                                              -
                                                                                              - -
                                                                                              -
                                                                                              - -
                                                                                              - organization?: - string -
                                                                                              -
                                                                                              -

                                                                                              - The organization in which user's should be authenticated into. -

                                                                                              -
                                                                                              -
                                                                                              - -
                                                                                              -
                                                                                              - -
                                                                                              - invitationUrl?: - string -
                                                                                              -
                                                                                              -

                                                                                              - The invitation URL for those users who have been invited to - join a specific organization. -

                                                                                              -
                                                                                              -
                                                                                              - -
                                                                                              -
                                                                                              - -
                                                                                              - redirectUrl?: - string -
                                                                                              -
                                                                                              -

                                                                                              - Specify a custom redirect URL to be used. Normally, you - wouldn't need to call this method manually as the default - value is autogenerated for you. -

                                                                                              -

                                                                                              - If you are using this, ensure a proper redirect URL is - constructed in the following format -

                                                                                              -
                                                                                                -
                                                                                              • - Android: - {YOUR_APP_PACKAGE_NAME}.auth0://{AUTH0_DOMAIN}/android/{YOUR_APP_PACKAGE_NAME}/callback -
                                                                                              • -
                                                                                              • - iOS: - {PRODUCT_BUNDLE_IDENTIFIER}.auth0://{AUTH0_DOMAIN}/ios/{PRODUCT_BUNDLE_IDENTIFIER}/callback -
                                                                                              • -
                                                                                              -

                                                                                              - If you have useLegacyCallbackUrl set to true then - the redirect URL should in the format -

                                                                                              -
                                                                                                -
                                                                                              • - Android: - {YOUR_APP_PACKAGE_NAME}://{AUTH0_DOMAIN}/android/{YOUR_APP_PACKAGE_NAME}/callback -
                                                                                              • -
                                                                                              • - iOS: - {PRODUCT_BUNDLE_IDENTIFIER}://{AUTH0_DOMAIN}/ios/{PRODUCT_BUNDLE_IDENTIFIER}/callback -
                                                                                              • -
                                                                                              -
                                                                                              -
                                                                                              - -
                                                                                              -
                                                                                              - -
                                                                                              - additionalParameters?: - { - [key: - string]: - string - } -
                                                                                              -
                                                                                              -

                                                                                              - Any additional arbitrary parameters to send along in the URL. -

                                                                                              -
                                                                                              -
                                                                                              - -
                                                                                              -
                                                                                              -
                                                                                              -
                                                                                              -
                                                                                              - - -
                                                                                              -
                                                                                              - -
                                                                                              - - - diff --git a/docs/dev/interfaces/Interface.WebClearSessionOptions.html b/docs/dev/interfaces/Interface.WebClearSessionOptions.html deleted file mode 100644 index f6f2d508..00000000 --- a/docs/dev/interfaces/Interface.WebClearSessionOptions.html +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - WebClearSessionOptions | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                                              -
                                                                                              - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                                                -
                                                                                                -
                                                                                                Preparing search index...
                                                                                                -
                                                                                                -
                                                                                                - -
                                                                                                -
                                                                                                -
                                                                                                -
                                                                                                -
                                                                                                - -

                                                                                                Interface WebClearSessionOptions

                                                                                                -
                                                                                                -
                                                                                                -
                                                                                                -

                                                                                                - Options specific to the clearSession method on the - Web platform. (Currently a placeholder, can be extended later). -

                                                                                                -
                                                                                                -
                                                                                                -
                                                                                                - -

                                                                                                Platform specific: Web only.

                                                                                                -
                                                                                                -
                                                                                                -
                                                                                                - -
                                                                                                -
                                                                                                - - -
                                                                                                -
                                                                                                - -
                                                                                                - - - diff --git a/docs/dev/media/CONTRIBUTING.md b/docs/dev/media/CONTRIBUTING.md deleted file mode 100644 index caa68de7..00000000 --- a/docs/dev/media/CONTRIBUTING.md +++ /dev/null @@ -1,97 +0,0 @@ -# Contributing - -Contributions are always welcome, no matter how large or small! - -We appreciate feedback and contribution to this repo! Before you get started, please see [Auth0's general contribution guidelines](https://github.com/auth0/open-source-template/blob/master/GENERAL-CONTRIBUTING.md) - -## Development workflow - -This project is a monorepo managed using [Yarn workspaces](https://yarnpkg.com/features/workspaces). It contains the following packages: - -- The library package in the root directory. -- An example app in the `example/` directory. - -To get started with the project, run `yarn` in the root directory to install the required dependencies for each package: - -```sh -yarn -``` - -> Since the project relies on Yarn workspaces, you cannot use [`npm`](https://github.com/npm/cli) for development. - -The [example app](/example/) demonstrates usage of the library. You need to run it to test any changes you make. - -It is configured to use the local version of the library, so any changes you make to the library's source code will be reflected in the example app. Changes to the library's JavaScript code will be reflected in the example app without a rebuild, but native code changes will require a rebuild of the example app. - -If you want to use Android Studio or XCode to edit the native code, you can open the `example/android` or `example/ios` directories respectively in those editors. To edit the Objective-C or Swift files, open `example/ios/Auth0Example.xcworkspace` in XCode and find the source files at `Pods > Development Pods > react-native-auth0`. - -To edit the Java or Kotlin files, open `example/android` in Android studio and find the source files at `react-native-auth0` under `Android`. - -You can use various commands from the root directory to work with the project. - -To start the packager: - -```sh -yarn example start -``` - -To run the example app on Android: - -```sh -yarn example android -``` - -To run the example app on iOS: - -```sh -yarn example ios -``` - -To confirm that the app is running with the new architecture, you can check the Metro logs for a message like this: - -```sh -Running "Auth0Example" with {"fabric":true,"initialProps":{"concurrentRoot":true},"rootTag":1} -``` - -Note the `"fabric":true` and `"concurrentRoot":true` properties. - -Make sure your code passes TypeScript and ESLint. Run the following to verify: - -```sh -yarn typecheck -yarn lint -``` - -To fix formatting errors, run the following: - -```sh -yarn lint --fix -``` - -Remember to add tests for your change if possible. Run the unit tests by: - -```sh -yarn test -``` - -### Scripts - -The `package.json` file contains various scripts for common tasks: - -- `yarn`: setup project by installing dependencies. -- `yarn typecheck`: type-check files with TypeScript. -- `yarn lint`: lint files with ESLint. -- `yarn test`: run unit tests with Jest. -- `yarn example start`: start the Metro server for the example app. -- `yarn example android`: run the example app on Android. -- `yarn example ios`: run the example app on iOS. - -### Sending a pull request - -When you're sending a pull request: - -- Prefer small pull requests focused on one change. -- Verify that linters and tests are passing. -- Review the documentation to make sure it looks good. -- Follow the pull request template when opening a pull request. -- For pull requests that change the API or implementation, discuss with maintainers first by opening an issue. diff --git a/docs/dev/media/FAQ.md b/docs/dev/media/FAQ.md deleted file mode 100644 index 0ca4fa24..00000000 --- a/docs/dev/media/FAQ.md +++ /dev/null @@ -1,368 +0,0 @@ -# Frequently Asked Questions - -1. [How can I have separate Auth0 domains for each environment on Android?](#1-how-can-i-have-separate-auth0-domains-for-each-environment-on-android) -2. [How can I disable the iOS _login_ alert box?](#2-how-can-i-disable-the-ios-login-alert-box) -3. [How can I disable the iOS _logout_ alert box?](#3-how-can-i-disable-the-ios-logout-alert-box) -4. [Is there a way to disable the iOS _login_ alert box without `ephemeralSession`?](#4-is-there-a-way-to-disable-the-ios-login-alert-box-without-ephemeralsession) -5. [How can I change the message in the iOS alert box?](#5-how-can-i-change-the-message-in-the-ios-alert-box) -6. [How can I programmatically close the iOS alert box?](#6-how-can-i-programmatically-close-the-ios-alert-box) -7. [Auth0 web browser gets killed when going to the background on Android](#7-auth0-web-browser-gets-killed-when-going-to-the-background-on-android) -8. [How to resolve the _Failed to start this transaction, as there is an active transaction at the moment_ error?](#8-how-to-resolve-the-failed-to-start-this-transaction-as-there-is-an-active-transaction-at-the-moment-error) -9. [How can I prevent the autogenerated redirect_uri from breaking if the applicationId has mixed cases or special characters in it on Android?](#9-how-can-i-prevent-the-autogenerated-redirect_uri-from-breaking-if-the-applicationId-has-mixed-cases-or-special-characters-in-it-on-android) -10. [Why doesn't `await authorize()` work on the web? How do I handle login?](#10-why-doesnt-await-authorize-work-on-the-web-how-do-i-handle-login) -11. [Why do my users get logged out frequently? How do I keep them logged in?](#11-why-do-my-users-get-logged-out-frequently-how-do-i-keep-them-logged-in) -12. [How can I prompt users to the login page versus signup page?](#12-how-can-i-prompt-users-to-the-login-page-versus-signup-page) - -## 1. How can I have separate Auth0 domains for each environment on Android? - -This library internally declares a `RedirectActivity` along with an **intent-filter** in its Android Manifest file to handle the Web Auth callback and logout URLs. While this approach prevents the developer from adding an activity declaration to their apps's Android Manifest file, it requires the use of [Manifest Placeholders](https://developer.android.com/studio/build/manage-manifests#inject_build_variables_into_the_manifest). - -Alternatively, you can re-declare the `RedirectActivity` in the `AndroidManifest.xml` file with your own **intent-filter** so it overrides the library's default one. If you do this then the `manifestPlaceholders` don't need to be set as long as the activity contains `tools:node="replace"` like in the snippet below. - -```xml - - - - - - - - - - - - - - - - - - - - - - - -``` - -## 2. How can I disable the iOS _login_ alert box? - -![ios-sso-alert](assets/ios-sso-alert.png) - -Under the hood, react-native-auth0 uses `ASWebAuthenticationSession` by default to perform web-based authentication, which is the [API provided by Apple](https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsession) for such purpose. - -That alert box is displayed and managed by `ASWebAuthenticationSession`, not by react-native-auth0, because by default this API will store the session cookie in the shared Safari cookie jar. This makes single sign-on (SSO) possible. According to Apple, that requires user consent. - -> **Note** -> See [this blog post](https://developer.okta.com/blog/2022/01/13/mobile-sso) for a detailed overview of SSO on iOS. - -### Use ephemeral sessions - -If you don't need SSO, you can disable this behavior by adding `ephemeralSession: true` to the login call. This will configure `ASWebAuthenticationSession` to not store the session cookie in the shared cookie jar, as if using an incognito browser window. With no shared cookie, `ASWebAuthenticationSession` will not prompt the user for consent. - -```js -auth0.webAuth - .authorize( - { scope: 'openid profile email' }, - { ephemeralSession: true } // No SSO, therefore no alert box - ) - .then((credentials) => console.log(credentials)) - .catch((error) => console.log(error)); -``` - -Note that with `ephemeralSession: true` you don't need to call `clearSession` at all. Just clearing the credentials from the app will suffice. What `clearSession` does is clear the shared session cookie, so that in the next login call the user gets asked to log in again. But with `ephemeralSession: true` there will be no shared cookie to remove. - -You still need to call `clearSession` on Android, though, as `ephemeralSession` is iOS-only. - -### Use `SFSafariViewController` - -An alternative is to use `SFSafariViewController` instead of `ASWebAuthenticationSession`. You can do so with the built-in `SFSafariViewController` Web Auth provider: - -```js -auth0.webAuth - .authorize( - { scope: 'openid profile email' }, - { useSFSafariViewController: true } // Use SFSafariViewController - ) - .then((credentials) => console.log(credentials)) - .catch((error) => console.log(error)); -``` - -> **Note** -> Since `SFSafariViewController` does not share cookies with the Safari app, SSO will not work either. But it will keep its own cookies, so you can use it to perform SSO between your app and your website as long as you open it inside your app using `SFSafariViewController`. This also means that any feature that relies on the persistence of cookies will work as expected. - -## 3. How can I disable the iOS _logout_ alert box? - -![ios-sso-alert](assets/ios-sso-alert.png) - -Since `clearSession` needs to use `ASWebAuthenticationSession` as well to clear the shared session cookie, the same alert box will be displayed. - -If you need SSO and/or are willing to tolerate the alert box on the login call, but would prefer to get rid of it when calling `clearSession`, you can simply not call `clearSession` and just clear the credentials from the app. This means that the shared session cookie will not be removed, so to get the user to log in again you need to add the `prompt: 'login'` parameter to the _login_ call. - -```js -auth0.webAuth - .authorize( - { additionalParameters: { prompt: 'login' } }, // Ignore the cookie (if present) and show the login page - { ephemeralSession: true } - ) - .then((credentials) => console.log(credentials)) - .catch((error) => console.log(error)); -``` - -Otherwise, the browser modal will close right away and the user will be automatically logged in again, as the cookie will still be there. - -> **Warning** -> Keeping the shared session cookie may not be an option if you have strong privacy and/or security requirements, for example in the case of a banking app. - -## 4. Is there a way to disable the iOS _login_ alert box without `ephemeralSession`? - -No. According to Apple, storing the session cookie in the shared Safari cookie jar requires user consent. The only way to not have a shared cookie is to configure `ASWebAuthenticationSession` with `prefersEphemeralWebBrowserSession` set to `true`, which is what `ephemeralSession: true` does. - -## 5. How can I change the message in the iOS alert box? - -This library has no control whatsoever over the alert box. Its contents cannot be changed. Unfortunately, that's a limitation of `ASWebAuthenticationSession`. - -## 6. How can I programmatically close the iOS alert box? - -This library has no control whatsoever over the alert box. It cannot be closed programmatically. Unfortunately, that's a limitation of `ASWebAuthenticationSession`. - -## 7. Auth0 web browser gets killed when going to the background on Android - -### The problem - -When opening the Auth0 web browser to perform authentication, the Android system may kill the browser when the app goes to the background and you re-launch the app by pressing the app icon. This is a common behaviour if a user has MFA enabled for example and the user switches to another app to get the MFA code. - -You may have seen other issues where the usage of `singleTop` fixes this issue. However, other different libraries may be using `singleTask` and this can cause other issues if you change it. - -See these issues for more information: - -- [Android: OTP auth browser closes when minimising app](https://github.com/auth0/react-native-auth0/issues/921) -- [Fixed authentication restart when the app is minimized ](https://github.com/auth0/react-native-auth0/pull/350) -- [possibility to run with launchMode:singleTop?](https://github.com/auth0/react-native-auth0/issues/170) -- [Android singleTask launch mode is required for react-native deep links](https://github.com/auth0/react-native-auth0/issues/556) - -### The solution - -If your Android `launchMode` is set to `singleTask` (check your `AndroidManifest.xml`), that's why this is occurring. Unfortunately, this is not addressable by the react-native-auth0 library. - -This is [the same solution for the stripe-react-native library](https://github.com/stripe/stripe-react-native/issues/355#issuecomment-1701323254), but it also help other libraries that have the same issue. - -1. Modify your `MainApplication`: - -```diff -public class MainApplication extends Application { -+ private ArrayList runningActivities = new ArrayList<>(); - -+ public void addActivityToStack (Class cls) { -+ if (!runningActivities.contains(cls)) runningActivities.add(cls); -+ } - -+ public void removeActivityFromStack (Class cls) { -+ if (runningActivities.contains(cls)) runningActivities.remove(cls); -+ } - -+ public boolean isActivityInBackStack (Class cls) { -+ return runningActivities.contains(cls); -+ } -} -``` - -2. create `LaunchActivity` - -```diff -+ public class LaunchActivity extends Activity { -+ @Override -+ protected void onCreate(Bundle savedInstanceState) { -+ super.onCreate(savedInstanceState); -+ BaseApplication application = (BaseApplication) getApplication(); -+ // check that MainActivity is not started yet -+ if (!application.isActivityInBackStack(MainActivity.class)) { -+ Intent intent = new Intent(this, MainActivity.class); -+ startActivity(intent); -+ } -+ finish(); -+ } -+ } -``` - -3. Modify `AndroidManifest.xml` and move `android.intent.action.MAIN` and `android.intent.category.LAUNCHER` from your `.MainActivity` to `.LaunchActivity` - -```diff -+ -+ -+ -+ -+ -+ - -... -- -- -- -- -... -``` - -4. Modify `MainActivity` to look _something_ like the following (you likely already have an `onCreate` method that you need to modify): - -```java - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(null); - ((BaseApplication) getApplication()).addActivityToStack(this.getClass()); - } - - @Override - protected void onDestroy() { - super.onDestroy(); - ((BaseApplication) getApplication()).removeActivityFromStack(this.getClass()); - } -``` - -## 8. How to resolve the _Failed to start this transaction, as there is an active transaction at the moment_ error? - -Users might encounter this error when the app moves to the background and then back to the foreground while the login/logout alert box is displayed, for example by locking and unlocking the device. The alert box would get dismissed but when the user tries to log in again, the Web Auth operation fails with the `transactionActiveAlready` error. - -This is a known issue with `ASWebAuthenticationSession` and it is not specific to react-native-auth0. We have already filed a bug report with Apple and are awaiting for a response from them. - -### Workarounds - -#### Clear the login transaction when handling the `transactionActiveAlready` error - -You can invoke `cancelWebAuth()` to manually clear the current login transaction upon encountering this error. Then, you can retry login. For example: - -```js -auth0.webAuth.authorize({}).catch((error) => { - if ( - error.cause == - 'Failed to start this transaction, as there is an active transaction at the moment ' - ) - auth0.webAuth.cancelWebAuth(); - // retry auth logic -}); -``` - -#### Clear the login transaction when the app moves to the background/foreground - -You can invoke `cancelWebAuth()` to manually clear the current login transaction when the app moves to the background or back to the foreground. However, you need to make sure to not cancel valid login attempts –for example, when the user switches briefly to another app while the login page is open. - -#### Avoid the login/logout alert box - -If you don't need SSO, consider using `ephemeral sessions` or `SFSafariViewController` instead of `ASWebAuthenticationSession`. See [2. How can I disable the iOS _login_ alert box?](#2-how-can-i-disable-the-ios-login-alert-box) for more information. - -## 9. How can I prevent the autogenerated redirect_uri from breaking if the applicationId has mixed cases or special characters in it on Android ? - -It is recommended to have your applicationId in lower case without special characters to prevent any mismatch with the generated redirect_uri. But in the scenario where you require your applicationId to be of mixed case, to avoid any mismatch , the user can pass a `redirectUri` which matches the one provided in the manage dashboard as part of the `AgentLoginOptions` property. - -## 10. Why doesn't `await authorize()` work on the web? How do I handle login? - -This is a key difference between native and web platforms. - -- **On Native (iOS/Android):** `authorize()` opens an in-app browser overlay. Your app continues running in the background. When the user authenticates, the browser dismisses and the `authorize()` promise resolves with the credentials. `await` works as expected. - -- **On Web:** `authorize()` triggers a **full-page browser redirect** to the Auth0 Universal Login page. Your application's current state is lost. After authentication, the user is redirected back to your app, which causes your entire React application to reload and re-initialize from scratch. Because of this, the original `authorize()` promise is never able to resolve. - -**The Solution: Use the `useAuth0` Hook** - -The recommended way to handle this is by using the `Auth0Provider` and `useAuth0` hook. They are designed to manage this flow automatically: - -1. **On initial load:** The provider checks if the user is returning from a login redirect. If so, it processes the credentials in the URL and establishes a session. -2. **State Management:** The `user` and `isLoading` properties from the `useAuth0` hook will automatically update to reflect the authenticated state after the redirect is handled. - -Your UI should be reactive to the `user` and `isLoading` state, rather than trying to `await` the result of `authorize()`. - -```jsx -import { useAuth0 } from 'react-native-auth0'; - -const MyComponent = () => { - const { authorize, user, isLoading } = useAuth0(); - - // This component will re-render after the redirect, - // and `user` will be populated. - if (isLoading) { - return Loading...; - } - - return ( - - {user ? ( - Welcome, {user.name}! - ) : ( - - - -
                                                                                                  -
                                                                                                  -
                                                                                                  Preparing search index...
                                                                                                  -
                                                                                                  -
                                                                                                  - - - -
                                                                                                  -
                                                                                                  -
                                                                                                  -
                                                                                                    -

                                                                                                    React Native Auth0 - v5.0.0-beta.5

                                                                                                    -
                                                                                                    -
                                                                                                    - - -

                                                                                                    Namespaces

                                                                                                    -
                                                                                                    -
                                                                                                    -
                                                                                                    - - Classes -
                                                                                                    -
                                                                                                    -
                                                                                                    - - Enums -
                                                                                                    -
                                                                                                    -
                                                                                                    - - Hooks -
                                                                                                    -
                                                                                                    -
                                                                                                    - - Interface -
                                                                                                    -
                                                                                                    -
                                                                                                    -
                                                                                                    -
                                                                                                    -
                                                                                                    - - -
                                                                                                    -
                                                                                                    -
                                                                                                    -
                                                                                                    - - - diff --git a/docs/dev/modules/Classes.html b/docs/dev/modules/Classes.html deleted file mode 100644 index ee898354..00000000 --- a/docs/dev/modules/Classes.html +++ /dev/null @@ -1,328 +0,0 @@ - - - - - - Classes | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                                                    -
                                                                                                    - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                                                      -
                                                                                                      -
                                                                                                      Preparing search index...
                                                                                                      -
                                                                                                      -
                                                                                                      - -
                                                                                                      -
                                                                                                      -
                                                                                                      -
                                                                                                      -
                                                                                                      - -

                                                                                                      Namespace Classes

                                                                                                      -
                                                                                                      -
                                                                                                      - - -

                                                                                                      Classes

                                                                                                      -
                                                                                                      -
                                                                                                      -
                                                                                                      - - AuthError -
                                                                                                      -
                                                                                                      -
                                                                                                      - - TimeoutError -
                                                                                                      -
                                                                                                      -
                                                                                                      - - Auth0 -
                                                                                                      -
                                                                                                      -
                                                                                                      -
                                                                                                      -
                                                                                                      -
                                                                                                      - - -
                                                                                                      -
                                                                                                      -
                                                                                                      -
                                                                                                      - - - diff --git a/docs/dev/modules/Enums.html b/docs/dev/modules/Enums.html deleted file mode 100644 index ff5ab237..00000000 --- a/docs/dev/modules/Enums.html +++ /dev/null @@ -1,345 +0,0 @@ - - - - - - Enums | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                                                      -
                                                                                                      - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                                                        -
                                                                                                        -
                                                                                                        Preparing search index...
                                                                                                        -
                                                                                                        -
                                                                                                        - -
                                                                                                        -
                                                                                                        -
                                                                                                        -
                                                                                                        -
                                                                                                        - -

                                                                                                        Namespace Enums

                                                                                                        -
                                                                                                        -
                                                                                                        - - -

                                                                                                        References

                                                                                                        -
                                                                                                        -
                                                                                                        -
                                                                                                        - - SafariViewControllerPresentationStyle → Interface.SafariViewControllerPresentationStyle -
                                                                                                        -
                                                                                                        -
                                                                                                        - - LocalAuthenticationLevel → Interface.LocalAuthenticationLevel -
                                                                                                        -
                                                                                                        -
                                                                                                        - - LocalAuthenticationStrategy → Interface.LocalAuthenticationStrategy -
                                                                                                        -
                                                                                                        -
                                                                                                        -
                                                                                                        -
                                                                                                        -
                                                                                                        - - -
                                                                                                        -
                                                                                                        -
                                                                                                        -
                                                                                                        - - - diff --git a/docs/dev/modules/Hooks.html b/docs/dev/modules/Hooks.html deleted file mode 100644 index 205c420d..00000000 --- a/docs/dev/modules/Hooks.html +++ /dev/null @@ -1,306 +0,0 @@ - - - - - - Hooks | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                                                        -
                                                                                                        - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                                                          -
                                                                                                          -
                                                                                                          Preparing search index...
                                                                                                          -
                                                                                                          -
                                                                                                          - -
                                                                                                          -
                                                                                                          -
                                                                                                          -
                                                                                                          -
                                                                                                          - -

                                                                                                          Namespace Hooks

                                                                                                          -
                                                                                                          -
                                                                                                          - - -

                                                                                                          Functions

                                                                                                          -
                                                                                                          -
                                                                                                          -
                                                                                                          - - Auth0Provider -
                                                                                                          -
                                                                                                          -
                                                                                                          - - useAuth0 -
                                                                                                          -
                                                                                                          -
                                                                                                          -
                                                                                                          -
                                                                                                          -
                                                                                                          - - -
                                                                                                          -
                                                                                                          -
                                                                                                          -
                                                                                                          - - - diff --git a/docs/dev/modules/Interface.html b/docs/dev/modules/Interface.html deleted file mode 100644 index dddce7f1..00000000 --- a/docs/dev/modules/Interface.html +++ /dev/null @@ -1,1647 +0,0 @@ - - - - - - Interface | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                                                          -
                                                                                                          - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                                                            -
                                                                                                            -
                                                                                                            Preparing search index...
                                                                                                            -
                                                                                                            -
                                                                                                            - -
                                                                                                            -
                                                                                                            -
                                                                                                            -
                                                                                                            -
                                                                                                            - -

                                                                                                            Namespace Interface

                                                                                                            -
                                                                                                            -
                                                                                                            - - -

                                                                                                            Enumerations

                                                                                                            -
                                                                                                            -
                                                                                                            -
                                                                                                            - - SafariViewControllerPresentationStyle -
                                                                                                            -
                                                                                                            -
                                                                                                            - - LocalAuthenticationLevel -
                                                                                                            -
                                                                                                            -
                                                                                                            - - LocalAuthenticationStrategy -
                                                                                                            -
                                                                                                            -
                                                                                                            -
                                                                                                            -
                                                                                                            - - -

                                                                                                            Interfaces

                                                                                                            -
                                                                                                            -
                                                                                                            -
                                                                                                            - - IAuth0Client -
                                                                                                            -
                                                                                                            -
                                                                                                            - - IAuthenticationProvider -
                                                                                                            -
                                                                                                            -
                                                                                                            - - ICredentialsManager -
                                                                                                            -
                                                                                                            -
                                                                                                            - - IUsersClient -
                                                                                                            -
                                                                                                            -
                                                                                                            - - IWebAuthProvider -
                                                                                                            -
                                                                                                            -
                                                                                                            - - Auth0ContextInterface -
                                                                                                            -
                                                                                                            -
                                                                                                            - - AuthState -
                                                                                                            -
                                                                                                            -
                                                                                                            - - Auth0Options -
                                                                                                            -
                                                                                                            -
                                                                                                            - - AuthorizeUrlParameters -
                                                                                                            -
                                                                                                            -
                                                                                                            - - LogoutUrlParameters -
                                                                                                            -
                                                                                                            -
                                                                                                            - - WebAuthorizeParameters -
                                                                                                            -
                                                                                                            -
                                                                                                            - - ClearSessionParameters -
                                                                                                            -
                                                                                                            -
                                                                                                            - - ExchangeParameters -
                                                                                                            -
                                                                                                            -
                                                                                                            - - ExchangeNativeSocialParameters -
                                                                                                            -
                                                                                                            -
                                                                                                            - - PasswordRealmParameters -
                                                                                                            -
                                                                                                            -
                                                                                                            - - RefreshTokenParameters -
                                                                                                            -
                                                                                                            -
                                                                                                            - - RevokeOptions -
                                                                                                            -
                                                                                                            -
                                                                                                            - - PasswordlessEmailParameters -
                                                                                                            -
                                                                                                            -
                                                                                                            - - PasswordlessSmsParameters -
                                                                                                            -
                                                                                                            -
                                                                                                            - - LoginEmailParameters -
                                                                                                            -
                                                                                                            -
                                                                                                            - - LoginSmsParameters -
                                                                                                            -
                                                                                                            -
                                                                                                            - - LoginOtpParameters -
                                                                                                            -
                                                                                                            -
                                                                                                            - - LoginOobParameters -
                                                                                                            -
                                                                                                            -
                                                                                                            - - LoginRecoveryCodeParameters -
                                                                                                            -
                                                                                                            -
                                                                                                            - - MfaChallengeParameters -
                                                                                                            -
                                                                                                            -
                                                                                                            - - UserInfoParameters -
                                                                                                            -
                                                                                                            -
                                                                                                            - - ResetPasswordParameters -
                                                                                                            -
                                                                                                            -
                                                                                                            - - CreateUserParameters -
                                                                                                            -
                                                                                                            -
                                                                                                            - - PatchUserParameters -
                                                                                                            -
                                                                                                            -
                                                                                                            - - GetUserParameters -
                                                                                                            -
                                                                                                            -
                                                                                                            - - LocalAuthenticationOptions -
                                                                                                            -
                                                                                                            -
                                                                                                            - - NativeAuth0Options -
                                                                                                            -
                                                                                                            -
                                                                                                            - - NativeAuthorizeOptions -
                                                                                                            -
                                                                                                            -
                                                                                                            - - NativeClearSessionOptions -
                                                                                                            -
                                                                                                            -
                                                                                                            - - WebAuth0Options -
                                                                                                            -
                                                                                                            -
                                                                                                            - - WebAuthorizeOptions -
                                                                                                            -
                                                                                                            -
                                                                                                            - - WebClearSessionOptions -
                                                                                                            -
                                                                                                            -
                                                                                                            -
                                                                                                            -
                                                                                                            - - -

                                                                                                            Type Aliases

                                                                                                            -
                                                                                                            -
                                                                                                            -
                                                                                                            - - NativeModuleError -
                                                                                                            -
                                                                                                            -
                                                                                                            - - NativeCredentialsResponse -
                                                                                                            -
                                                                                                            -
                                                                                                            - - Credentials -
                                                                                                            -
                                                                                                            -
                                                                                                            - - User -
                                                                                                            -
                                                                                                            -
                                                                                                            - - MfaChallengeOtpResponse -
                                                                                                            -
                                                                                                            -
                                                                                                            - - MfaChallengeOobResponse -
                                                                                                            -
                                                                                                            -
                                                                                                            - - MfaChallengeOobWithBindingResponse -
                                                                                                            -
                                                                                                            -
                                                                                                            - - MfaChallengeResponse -
                                                                                                            -
                                                                                                            -
                                                                                                            -
                                                                                                            -
                                                                                                            - -
                                                                                                            -
                                                                                                            -
                                                                                                            - - - diff --git a/docs/dev/types/Interface.Credentials.html b/docs/dev/types/Interface.Credentials.html deleted file mode 100644 index d4ca67c7..00000000 --- a/docs/dev/types/Interface.Credentials.html +++ /dev/null @@ -1,678 +0,0 @@ - - - - - - Credentials | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                                                            -
                                                                                                            - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                                                              -
                                                                                                              -
                                                                                                              Preparing search index...
                                                                                                              -
                                                                                                              -
                                                                                                              - -
                                                                                                              -
                                                                                                              -
                                                                                                              -
                                                                                                              -
                                                                                                              - -

                                                                                                              Type Alias Credentials

                                                                                                              -
                                                                                                              -
                                                                                                              -
                                                                                                              -

                                                                                                              - Represents the credentials returned by Auth0 after a successful - authentication. This object is platform-agnostic and is the - primary return type for most login flows. -

                                                                                                              -
                                                                                                              -
                                                                                                              -
                                                                                                              -
                                                                                                              - type - Credentials - = - {
                                                                                                                  idToken: - string;
                                                                                                                  accessToken: - string;
                                                                                                                  tokenType: - string;
                                                                                                                  expiresAt: - number;
                                                                                                                  refreshToken?: - string;
                                                                                                                  scope?: - string;
                                                                                                                  [key: - string]: - any;
                                                                                                              } -
                                                                                                              -
                                                                                                              -

                                                                                                              Indexable

                                                                                                              -
                                                                                                                -
                                                                                                              • -
                                                                                                                - [key: - string]: - any -
                                                                                                                -
                                                                                                                -

                                                                                                                - Allows for additional, non-standard properties returned from - the server. -

                                                                                                                -
                                                                                                                -
                                                                                                                -
                                                                                                              • -
                                                                                                              -
                                                                                                              - -
                                                                                                              -
                                                                                                              -
                                                                                                              - - -
                                                                                                              Index
                                                                                                              -
                                                                                                              - -
                                                                                                              -
                                                                                                              -
                                                                                                              -
                                                                                                              - - -

                                                                                                              Properties

                                                                                                              -
                                                                                                              -
                                                                                                              -
                                                                                                              - -
                                                                                                              - idToken: - string -
                                                                                                              -
                                                                                                              -

                                                                                                              A token in JWT format containing user identity claims.

                                                                                                              -
                                                                                                              -
                                                                                                              - -
                                                                                                              -
                                                                                                              - -
                                                                                                              - accessToken: - string -
                                                                                                              -
                                                                                                              -

                                                                                                              - The token used to make API calls to protected resources (your - APIs). -

                                                                                                              -
                                                                                                              -
                                                                                                              - -
                                                                                                              -
                                                                                                              - -
                                                                                                              - tokenType: - string -
                                                                                                              -
                                                                                                              -

                                                                                                              The type of the token, typically "Bearer".

                                                                                                              -
                                                                                                              -
                                                                                                              - -
                                                                                                              -
                                                                                                              - -
                                                                                                              - expiresAt: - number -
                                                                                                              -
                                                                                                              -

                                                                                                              - The expiration time of the access token, represented as a UNIX - timestamp (in seconds). -

                                                                                                              -
                                                                                                              -
                                                                                                              - -
                                                                                                              -
                                                                                                              - -
                                                                                                              - refreshToken?: - string -
                                                                                                              -
                                                                                                              -

                                                                                                              - The token used to refresh the access token. This is only - present if the offline_access scope was requested - during authentication. -

                                                                                                              -
                                                                                                              -
                                                                                                              - -
                                                                                                              -
                                                                                                              - -
                                                                                                              - scope?: - string -
                                                                                                              -
                                                                                                              -

                                                                                                              - A space-separated list of scopes granted for the access token. -

                                                                                                              -
                                                                                                              -
                                                                                                              - -
                                                                                                              -
                                                                                                              -
                                                                                                              -
                                                                                                              -
                                                                                                              - - -
                                                                                                              -
                                                                                                              -
                                                                                                              -
                                                                                                              - - - diff --git a/docs/dev/types/Interface.MfaChallengeOobResponse.html b/docs/dev/types/Interface.MfaChallengeOobResponse.html deleted file mode 100644 index 9dbbb2a1..00000000 --- a/docs/dev/types/Interface.MfaChallengeOobResponse.html +++ /dev/null @@ -1,410 +0,0 @@ - - - - - - MfaChallengeOobResponse | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                                                              -
                                                                                                              - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                                                                -
                                                                                                                -
                                                                                                                Preparing search index...
                                                                                                                -
                                                                                                                -
                                                                                                                - -
                                                                                                                -
                                                                                                                -
                                                                                                                -
                                                                                                                -
                                                                                                                - -

                                                                                                                Type Alias MfaChallengeOobResponse

                                                                                                                -
                                                                                                                -
                                                                                                                -
                                                                                                                -

                                                                                                                - Response for an Out-of-Band (OOB) MFA challenge, containing the - OOB code. -

                                                                                                                -
                                                                                                                -
                                                                                                                -
                                                                                                                -
                                                                                                                - type - MfaChallengeOobResponse - = - {
                                                                                                                    challengeType: - "oob";
                                                                                                                    oobCode: - string;
                                                                                                                } -
                                                                                                                - -
                                                                                                                -
                                                                                                                -
                                                                                                                - - -
                                                                                                                Index
                                                                                                                -
                                                                                                                -
                                                                                                                -
                                                                                                                -

                                                                                                                Properties

                                                                                                                - -
                                                                                                                -
                                                                                                                -
                                                                                                                -
                                                                                                                -
                                                                                                                -
                                                                                                                - - -

                                                                                                                Properties

                                                                                                                -
                                                                                                                -
                                                                                                                -
                                                                                                                - -
                                                                                                                - challengeType: - "oob" -
                                                                                                                - -
                                                                                                                -
                                                                                                                - -
                                                                                                                - oobCode: - string -
                                                                                                                - -
                                                                                                                -
                                                                                                                -
                                                                                                                -
                                                                                                                -
                                                                                                                - - -
                                                                                                                -
                                                                                                                -
                                                                                                                -
                                                                                                                - - - diff --git a/docs/dev/types/Interface.MfaChallengeOobWithBindingResponse.html b/docs/dev/types/Interface.MfaChallengeOobWithBindingResponse.html deleted file mode 100644 index fff6e792..00000000 --- a/docs/dev/types/Interface.MfaChallengeOobWithBindingResponse.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - - MfaChallengeOobWithBindingResponse | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - - -
                                                                                                                -
                                                                                                                - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                                                                  -
                                                                                                                  -
                                                                                                                  Preparing search index...
                                                                                                                  -
                                                                                                                  -
                                                                                                                  - -
                                                                                                                  -
                                                                                                                  -
                                                                                                                  -
                                                                                                                  -
                                                                                                                  - -

                                                                                                                  Type Alias MfaChallengeOobWithBindingResponse

                                                                                                                  -
                                                                                                                  -
                                                                                                                  - MfaChallengeOobWithBindingResponse: - MfaChallengeOobResponse - & - {
                                                                                                                      bindingMethod: - string;
                                                                                                                  } -
                                                                                                                  -
                                                                                                                  -

                                                                                                                  Response for an OOB MFA challenge that requires a binding code.

                                                                                                                  -
                                                                                                                  -
                                                                                                                  - -
                                                                                                                  -
                                                                                                                  - - -
                                                                                                                  -
                                                                                                                  -
                                                                                                                  -
                                                                                                                  - - - diff --git a/docs/dev/types/Interface.MfaChallengeOtpResponse.html b/docs/dev/types/Interface.MfaChallengeOtpResponse.html deleted file mode 100644 index ff65f6a2..00000000 --- a/docs/dev/types/Interface.MfaChallengeOtpResponse.html +++ /dev/null @@ -1,356 +0,0 @@ - - - - - - MfaChallengeOtpResponse | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                                                                  -
                                                                                                                  - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                                                                    -
                                                                                                                    -
                                                                                                                    Preparing search index...
                                                                                                                    -
                                                                                                                    -
                                                                                                                    - -
                                                                                                                    -
                                                                                                                    -
                                                                                                                    -
                                                                                                                    -
                                                                                                                    - -

                                                                                                                    Type Alias MfaChallengeOtpResponse

                                                                                                                    -
                                                                                                                    -
                                                                                                                    -
                                                                                                                    -

                                                                                                                    Base response for an MFA challenge request.

                                                                                                                    -
                                                                                                                    -
                                                                                                                    -
                                                                                                                    -
                                                                                                                    - type - MfaChallengeOtpResponse - = - {
                                                                                                                        challengeType: - "otp";
                                                                                                                    } -
                                                                                                                    - -
                                                                                                                    -
                                                                                                                    -
                                                                                                                    - - -
                                                                                                                    Index
                                                                                                                    -
                                                                                                                    -
                                                                                                                    -
                                                                                                                    -

                                                                                                                    Properties

                                                                                                                    - -
                                                                                                                    -
                                                                                                                    -
                                                                                                                    -
                                                                                                                    -
                                                                                                                    -
                                                                                                                    - - -

                                                                                                                    Properties

                                                                                                                    -
                                                                                                                    -
                                                                                                                    -
                                                                                                                    - -
                                                                                                                    - challengeType: - "otp" -
                                                                                                                    - -
                                                                                                                    -
                                                                                                                    -
                                                                                                                    -
                                                                                                                    -
                                                                                                                    - - -
                                                                                                                    -
                                                                                                                    -
                                                                                                                    -
                                                                                                                    - - - diff --git a/docs/dev/types/Interface.MfaChallengeResponse.html b/docs/dev/types/Interface.MfaChallengeResponse.html deleted file mode 100644 index a80d0dd8..00000000 --- a/docs/dev/types/Interface.MfaChallengeResponse.html +++ /dev/null @@ -1,243 +0,0 @@ - - - - - - MfaChallengeResponse | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                                                                    -
                                                                                                                    - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                                                                      -
                                                                                                                      -
                                                                                                                      Preparing search index...
                                                                                                                      -
                                                                                                                      -
                                                                                                                      - -
                                                                                                                      -
                                                                                                                      -
                                                                                                                      -
                                                                                                                      -
                                                                                                                      - -

                                                                                                                      Type Alias MfaChallengeResponse

                                                                                                                      -
                                                                                                                      -
                                                                                                                      - MfaChallengeResponse:
                                                                                                                          | - MfaChallengeOtpResponse
                                                                                                                          | - MfaChallengeOobResponse
                                                                                                                          | - MfaChallengeOobWithBindingResponse -
                                                                                                                      -
                                                                                                                      -

                                                                                                                      - A union type representing all possible successful responses from an - MFA challenge request. -

                                                                                                                      -
                                                                                                                      -
                                                                                                                      - -
                                                                                                                      -
                                                                                                                      - - -
                                                                                                                      -
                                                                                                                      -
                                                                                                                      -
                                                                                                                      - - - diff --git a/docs/dev/types/Interface.NativeCredentialsResponse.html b/docs/dev/types/Interface.NativeCredentialsResponse.html deleted file mode 100644 index 18f71957..00000000 --- a/docs/dev/types/Interface.NativeCredentialsResponse.html +++ /dev/null @@ -1,636 +0,0 @@ - - - - - - - NativeCredentialsResponse | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - - -
                                                                                                                      -
                                                                                                                      - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                                                                        -
                                                                                                                        -
                                                                                                                        Preparing search index...
                                                                                                                        -
                                                                                                                        -
                                                                                                                        - -
                                                                                                                        -
                                                                                                                        -
                                                                                                                        -
                                                                                                                        -
                                                                                                                        - -

                                                                                                                        Type Alias NativeCredentialsResponse

                                                                                                                        -
                                                                                                                        -
                                                                                                                        - type - NativeCredentialsResponse - = - {
                                                                                                                            id_token: - string;
                                                                                                                            access_token: - string;
                                                                                                                            token_type: - string;
                                                                                                                            expires_in: - number;
                                                                                                                            refresh_token: - string - | - undefined;
                                                                                                                            scope: - string - | - undefined;
                                                                                                                            [key: - string]: - any;
                                                                                                                        } -
                                                                                                                        -
                                                                                                                        -

                                                                                                                        Indexable

                                                                                                                        -
                                                                                                                          -
                                                                                                                        • -
                                                                                                                          - [key: - string]: - any -
                                                                                                                          -
                                                                                                                        • -
                                                                                                                        -
                                                                                                                        - -
                                                                                                                        -
                                                                                                                        -
                                                                                                                        - - -
                                                                                                                        Index
                                                                                                                        -
                                                                                                                        - -
                                                                                                                        -
                                                                                                                        -
                                                                                                                        -
                                                                                                                        - - -

                                                                                                                        Properties

                                                                                                                        -
                                                                                                                        -
                                                                                                                        -
                                                                                                                        - -
                                                                                                                        - id_token: - string -
                                                                                                                        - -
                                                                                                                        -
                                                                                                                        - -
                                                                                                                        - access_token: - string -
                                                                                                                        - -
                                                                                                                        -
                                                                                                                        - -
                                                                                                                        - token_type: - string -
                                                                                                                        - -
                                                                                                                        -
                                                                                                                        - -
                                                                                                                        - expires_in: - number -
                                                                                                                        - -
                                                                                                                        -
                                                                                                                        - -
                                                                                                                        - refresh_token: - string - | - undefined -
                                                                                                                        - -
                                                                                                                        -
                                                                                                                        - -
                                                                                                                        - scope: - string - | - undefined -
                                                                                                                        - -
                                                                                                                        -
                                                                                                                        -
                                                                                                                        -
                                                                                                                        -
                                                                                                                        - - -
                                                                                                                        -
                                                                                                                        -
                                                                                                                        -
                                                                                                                        - - - diff --git a/docs/dev/types/Interface.NativeModuleError.html b/docs/dev/types/Interface.NativeModuleError.html deleted file mode 100644 index fbde5ac7..00000000 --- a/docs/dev/types/Interface.NativeModuleError.html +++ /dev/null @@ -1,398 +0,0 @@ - - - - - - NativeModuleError | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                                                                        -
                                                                                                                        - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                                                                          -
                                                                                                                          -
                                                                                                                          Preparing search index...
                                                                                                                          -
                                                                                                                          -
                                                                                                                          - -
                                                                                                                          -
                                                                                                                          -
                                                                                                                          -
                                                                                                                          -
                                                                                                                          - -

                                                                                                                          Type Alias NativeModuleError

                                                                                                                          -
                                                                                                                          -
                                                                                                                          - type - NativeModuleError - = - {
                                                                                                                              code: - string;
                                                                                                                              message: - string;
                                                                                                                          } -
                                                                                                                          - -
                                                                                                                          -
                                                                                                                          -
                                                                                                                          - - -
                                                                                                                          Index
                                                                                                                          -
                                                                                                                          -
                                                                                                                          -
                                                                                                                          -

                                                                                                                          Properties

                                                                                                                          - -
                                                                                                                          -
                                                                                                                          -
                                                                                                                          -
                                                                                                                          -
                                                                                                                          -
                                                                                                                          - - -

                                                                                                                          Properties

                                                                                                                          -
                                                                                                                          -
                                                                                                                          -
                                                                                                                          - -
                                                                                                                          - code: - string -
                                                                                                                          - -
                                                                                                                          -
                                                                                                                          - -
                                                                                                                          - message: - string -
                                                                                                                          - -
                                                                                                                          -
                                                                                                                          -
                                                                                                                          -
                                                                                                                          -
                                                                                                                          - - -
                                                                                                                          -
                                                                                                                          -
                                                                                                                          -
                                                                                                                          - - - diff --git a/docs/dev/types/Interface.User.html b/docs/dev/types/Interface.User.html deleted file mode 100644 index c8e68c75..00000000 --- a/docs/dev/types/Interface.User.html +++ /dev/null @@ -1,1463 +0,0 @@ - - - - - - User | React Native Auth0 - v5.0.0-beta.5 - - - - - - - - - - - - - -
                                                                                                                          -
                                                                                                                          - React Native Auth0 - v5.0.0-beta.5 - - - - -
                                                                                                                            -
                                                                                                                            -
                                                                                                                            Preparing search index...
                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            -
                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -

                                                                                                                            Type Alias User

                                                                                                                            -
                                                                                                                            -
                                                                                                                            -
                                                                                                                            -

                                                                                                                            - Represents the standard profile information of an authenticated - user, typically decoded from the ID token. -

                                                                                                                            -
                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -

                                                                                                                            - Claims are mapped to camelCase for consistency within the - JavaScript/TypeScript ecosystem. -

                                                                                                                            -
                                                                                                                            -
                                                                                                                            -
                                                                                                                            -
                                                                                                                            - type - User - = - {
                                                                                                                                sub: - string;
                                                                                                                                name?: - string;
                                                                                                                                givenName?: - string;
                                                                                                                                familyName?: - string;
                                                                                                                                middleName?: - string;
                                                                                                                                nickname?: - string;
                                                                                                                                preferredUsername?: - string;
                                                                                                                                profile?: - string;
                                                                                                                                picture?: - string;
                                                                                                                                website?: - string;
                                                                                                                                email?: - string;
                                                                                                                                emailVerified?: - boolean;
                                                                                                                                gender?: - string;
                                                                                                                                birthdate?: - string;
                                                                                                                                zoneinfo?: - string;
                                                                                                                                locale?: - string;
                                                                                                                                phoneNumber?: - string;
                                                                                                                                phoneNumberVerified?: - boolean;
                                                                                                                                address?: - string;
                                                                                                                                updatedAt?: - string;
                                                                                                                                [key: - string]: - any;
                                                                                                                            } -
                                                                                                                            -
                                                                                                                            -

                                                                                                                            Indexable

                                                                                                                            -
                                                                                                                              -
                                                                                                                            • -
                                                                                                                              - [key: - string]: - any -
                                                                                                                              -
                                                                                                                              -

                                                                                                                              - Allows for additional, non-standard claims in the user - profile. -

                                                                                                                              -
                                                                                                                              -
                                                                                                                              -
                                                                                                                            • -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            -
                                                                                                                            - - -
                                                                                                                            Index
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            -
                                                                                                                            -
                                                                                                                            - - -

                                                                                                                            Properties

                                                                                                                            -
                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            - sub: - string -
                                                                                                                            -
                                                                                                                            -

                                                                                                                            The user's unique identifier (subject claim).

                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            - name?: - string -
                                                                                                                            -
                                                                                                                            -

                                                                                                                            The user's full name.

                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            - givenName?: - string -
                                                                                                                            -
                                                                                                                            -

                                                                                                                            The user's given name or first name.

                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            - familyName?: - string -
                                                                                                                            -
                                                                                                                            -

                                                                                                                            The user's family name or last name.

                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            - middleName?: - string -
                                                                                                                            -
                                                                                                                            -

                                                                                                                            The user's middle name.

                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            - nickname?: - string -
                                                                                                                            -
                                                                                                                            -

                                                                                                                            The user's nickname.

                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            - preferredUsername?: - string -
                                                                                                                            -
                                                                                                                            -

                                                                                                                            The user's preferred username.

                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            - profile?: - string -
                                                                                                                            -
                                                                                                                            -

                                                                                                                            URL of the user's profile page.

                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            - picture?: - string -
                                                                                                                            -
                                                                                                                            -

                                                                                                                            URL of the user's profile picture.

                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            - website?: - string -
                                                                                                                            -
                                                                                                                            -

                                                                                                                            URL of the user's website.

                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            - email?: - string -
                                                                                                                            -
                                                                                                                            -

                                                                                                                            The user's primary email address.

                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            - emailVerified?: - boolean -
                                                                                                                            -
                                                                                                                            -

                                                                                                                            - true if the user's email address has been - verified, false otherwise. -

                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            - gender?: - string -
                                                                                                                            -
                                                                                                                            -

                                                                                                                            The user's gender.

                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            - birthdate?: - string -
                                                                                                                            -
                                                                                                                            -

                                                                                                                            - The user's birthdate, represented as a - YYYY-MM-DD string. -

                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            - zoneinfo?: - string -
                                                                                                                            -
                                                                                                                            -

                                                                                                                            - The user's time zone, e.g., "America/Los_Angeles". -

                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            - locale?: - string -
                                                                                                                            -
                                                                                                                            -

                                                                                                                            The user's locale, e.g., "en-US".

                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            - phoneNumber?: - string -
                                                                                                                            -
                                                                                                                            -

                                                                                                                            The user's phone number.

                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            - phoneNumberVerified?: - boolean -
                                                                                                                            -
                                                                                                                            -

                                                                                                                            - true if the user's phone number has been - verified, false otherwise. -

                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            - address?: - string -
                                                                                                                            -
                                                                                                                            -

                                                                                                                            The user's postal address.

                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            - updatedAt?: - string -
                                                                                                                            -
                                                                                                                            -

                                                                                                                            The timestamp when the user's profile was last updated.

                                                                                                                            -
                                                                                                                            -
                                                                                                                            - -
                                                                                                                            -
                                                                                                                            -
                                                                                                                            -
                                                                                                                            -
                                                                                                                            - - -
                                                                                                                            -
                                                                                                                            -
                                                                                                                            -
                                                                                                                            - - - diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index 76123d17..00000000 --- a/docs/index.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/docs/index.json b/docs/index.json deleted file mode 100644 index ed095952..00000000 --- a/docs/index.json +++ /dev/null @@ -1,18490 +0,0 @@ -{ - "schemaVersion": "2.0", - "id": 0, - "name": "React Native Auth0", - "variant": "project", - "kind": 1, - "flags": {}, - "children": [ - { - "id": 1, - "name": "Classes", - "variant": "declaration", - "kind": 4, - "flags": {}, - "children": [ - { - "id": 398, - "name": "AuthError", - "variant": "declaration", - "kind": 128, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Represents a generic authentication or API error from Auth0.\n\nThis class provides a structured way to handle errors, with consistent\naccess to status codes, error codes, and response bodies." - } - ] - }, - "children": [ - { - "id": 412, - "name": "status", - "variant": "declaration", - "kind": 1024, - "flags": { - "isPublic": true, - "isReadonly": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The HTTP status code of the error response, if available." - } - ] - }, - "sources": [ - { - "fileName": "core/models/AuthError.ts", - "line": 9, - "character": 18, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/models/AuthError.ts#L9" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 413, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isPublic": true, - "isReadonly": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The error code returned by Auth0 (e.g., 'invalid_grant'), if available." - } - ] - }, - "sources": [ - { - "fileName": "core/models/AuthError.ts", - "line": 11, - "character": 18, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/models/AuthError.ts#L11" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 414, - "name": "json", - "variant": "declaration", - "kind": 1024, - "flags": { - "isPublic": true, - "isReadonly": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The full JSON response body of the error, if available." - } - ] - }, - "sources": [ - { - "fileName": "core/models/AuthError.ts", - "line": 13, - "character": 18, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/models/AuthError.ts#L13" - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 403, - "name": "constructor", - "variant": "declaration", - "kind": 512, - "flags": {}, - "sources": [ - { - "fileName": "core/models/AuthError.ts", - "line": 22, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/models/AuthError.ts#L22" - } - ], - "signatures": [ - { - "id": 404, - "name": "AuthError", - "variant": "signature", - "kind": 16384, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Constructs a new AuthError instance." - } - ] - }, - "sources": [ - { - "fileName": "core/models/AuthError.ts", - "line": 22, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/models/AuthError.ts#L22" - } - ], - "parameters": [ - { - "id": 405, - "name": "name", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The primary error identifier (e.g., the 'error' field from an OAuth2 response)." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 406, - "name": "message", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A human-readable description of the error (e.g., the 'error_description' field)." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 407, - "name": "details", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object containing additional error context." - } - ] - }, - "type": { - "type": "reflection", - "declaration": { - "id": 408, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 409, - "name": "status", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "core/models/AuthError.ts", - "line": 26, - "character": 6, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/models/AuthError.ts#L26" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 410, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "core/models/AuthError.ts", - "line": 27, - "character": 6, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/models/AuthError.ts#L27" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 411, - "name": "json", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "core/models/AuthError.ts", - "line": 28, - "character": 6, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/models/AuthError.ts#L28" - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [409, 410, 411] - } - ], - "sources": [ - { - "fileName": "core/models/AuthError.ts", - "line": 25, - "character": 14, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/models/AuthError.ts#L25" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "target": 398, - "name": "AuthError", - "package": "react-native-auth0" - }, - "overwrites": { - "type": "reference", - "target": -1, - "name": "Error.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "target": -1, - "name": "Error.constructor" - } - }, - { - "id": 399, - "name": "fromResponse", - "variant": "declaration", - "kind": 2048, - "flags": { - "isStatic": true - }, - "sources": [ - { - "fileName": "core/models/AuthError.ts", - "line": 51, - "character": 9, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/models/AuthError.ts#L51" - } - ], - "signatures": [ - { - "id": 400, - "name": "fromResponse", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A static factory method to create an AuthError from a fetch Response object.\nThis is a utility that platform adapters can use for consistency." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A new AuthError instance." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "core/models/AuthError.ts", - "line": 51, - "character": 9, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/models/AuthError.ts#L51" - } - ], - "parameters": [ - { - "id": 401, - "name": "response", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The fetch Response object." - } - ] - }, - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.dom.d.ts", - "qualifiedName": "Response" - }, - "name": "Response", - "package": "typescript" - } - }, - { - "id": 402, - "name": "body", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parsed body of the response (can be JSON or text)." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "reference", - "target": 398, - "name": "AuthError", - "package": "react-native-auth0" - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "children": [403] - }, - { - "title": "Methods", - "children": [399] - }, - { - "title": "Properties", - "children": [412, 413, 414] - } - ], - "sources": [ - { - "fileName": "core/models/AuthError.ts", - "line": 7, - "character": 13, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/models/AuthError.ts#L7" - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Error" - }, - "name": "Error", - "package": "typescript" - } - ], - "extendedBy": [ - { - "type": "reference", - "target": 387, - "name": "TimeoutError" - } - ] - }, - { - "id": 387, - "name": "TimeoutError", - "variant": "declaration", - "kind": 128, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Represents a generic authentication or API error from Auth0.\n\nThis class provides a structured way to handle errors, with consistent\naccess to status codes, error codes, and response bodies." - } - ] - }, - "children": [ - { - "id": 395, - "name": "status", - "variant": "declaration", - "kind": 1024, - "flags": { - "isPublic": true, - "isReadonly": true, - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The HTTP status code of the error response, if available." - } - ] - }, - "sources": [ - { - "fileName": "core/models/AuthError.ts", - "line": 9, - "character": 18, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/models/AuthError.ts#L9" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "target": 412, - "name": "AuthError.status" - } - }, - { - "id": 396, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": { - "isPublic": true, - "isReadonly": true, - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The error code returned by Auth0 (e.g., 'invalid_grant'), if available." - } - ] - }, - "sources": [ - { - "fileName": "core/models/AuthError.ts", - "line": 11, - "character": 18, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/models/AuthError.ts#L11" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 413, - "name": "AuthError.code" - } - }, - { - "id": 397, - "name": "json", - "variant": "declaration", - "kind": 1024, - "flags": { - "isPublic": true, - "isReadonly": true, - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The full JSON response body of the error, if available." - } - ] - }, - "sources": [ - { - "fileName": "core/models/AuthError.ts", - "line": 13, - "character": 18, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/models/AuthError.ts#L13" - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - }, - "inheritedFrom": { - "type": "reference", - "target": 414, - "name": "AuthError.json" - } - }, - { - "id": 388, - "name": "fromResponse", - "variant": "declaration", - "kind": 2048, - "flags": { - "isStatic": true, - "isInherited": true - }, - "sources": [ - { - "fileName": "core/models/AuthError.ts", - "line": 51, - "character": 9, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/models/AuthError.ts#L51" - } - ], - "signatures": [ - { - "id": 389, - "name": "fromResponse", - "variant": "signature", - "kind": 4096, - "flags": { - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A static factory method to create an AuthError from a fetch Response object.\nThis is a utility that platform adapters can use for consistency." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A new AuthError instance." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "core/models/AuthError.ts", - "line": 51, - "character": 9, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/models/AuthError.ts#L51" - } - ], - "parameters": [ - { - "id": 390, - "name": "response", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The fetch Response object." - } - ] - }, - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.dom.d.ts", - "qualifiedName": "Response" - }, - "name": "Response", - "package": "typescript" - } - }, - { - "id": 391, - "name": "body", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parsed body of the response (can be JSON or text)." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "reference", - "target": 398, - "name": "AuthError", - "package": "react-native-auth0" - }, - "inheritedFrom": { - "type": "reference", - "target": 400, - "name": "AuthError.fromResponse" - } - } - ], - "inheritedFrom": { - "type": "reference", - "target": 399, - "name": "AuthError.fromResponse" - } - }, - { - "id": 392, - "name": "constructor", - "variant": "declaration", - "kind": 512, - "flags": {}, - "sources": [ - { - "fileName": "core/utils/fetchWithTimeout.ts", - "line": 4, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/utils/fetchWithTimeout.ts#L4" - } - ], - "signatures": [ - { - "id": 393, - "name": "TimeoutError", - "variant": "signature", - "kind": 16384, - "flags": {}, - "sources": [ - { - "fileName": "core/utils/fetchWithTimeout.ts", - "line": 4, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/utils/fetchWithTimeout.ts#L4" - } - ], - "parameters": [ - { - "id": 394, - "name": "message", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "target": 387, - "name": "TimeoutError", - "package": "react-native-auth0" - }, - "overwrites": { - "type": "reference", - "target": 404, - "name": "AuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "target": 403, - "name": "AuthError.constructor" - } - } - ], - "groups": [ - { - "title": "Constructors", - "children": [392] - }, - { - "title": "Methods", - "children": [388] - }, - { - "title": "Properties", - "children": [395, 396, 397] - } - ], - "sources": [ - { - "fileName": "core/utils/fetchWithTimeout.ts", - "line": 3, - "character": 13, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/utils/fetchWithTimeout.ts#L3" - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 398, - "name": "AuthError", - "package": "react-native-auth0" - } - ] - }, - { - "id": 373, - "name": "Auth0", - "variant": "declaration", - "kind": 128, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The main Auth0 client class.\n\nThis class acts as a facade, creating and delegating to a platform-specific\nclient instance (Native or Web) under the hood." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```\nimport Auth0 from 'react-native-auth0';\n\nconst auth0 = new Auth0({\n domain: 'YOUR_AUTH0_DOMAIN',\n clientId: 'YOUR_AUTH0_CLIENT_ID'\n});\n```" - } - ] - } - ] - }, - "children": [ - { - "id": 374, - "name": "constructor", - "variant": "declaration", - "kind": 512, - "flags": {}, - "sources": [ - { - "fileName": "index.ts", - "line": 38, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/index.ts#L38" - } - ], - "signatures": [ - { - "id": 375, - "name": "Auth0", - "variant": "signature", - "kind": 16384, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Creates an instance of the Auth0 client." - } - ] - }, - "sources": [ - { - "fileName": "index.ts", - "line": 38, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/index.ts#L38" - } - ], - "parameters": [ - { - "id": 376, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Configuration options for the client." - } - ] - }, - "type": { - "type": "reference", - "target": 143, - "name": "Auth0Options", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": 373, - "name": "Auth0", - "package": "react-native-auth0" - } - } - ] - }, - { - "id": 378, - "name": "webAuth", - "variant": "declaration", - "kind": 262144, - "flags": {}, - "sources": [ - { - "fileName": "index.ts", - "line": 48, - "character": 6, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/index.ts#L48" - } - ], - "getSignature": { - "id": 379, - "name": "webAuth", - "variant": "signature", - "kind": 524288, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provides access to the web-based authentication methods." - } - ], - "blockTags": [ - { - "tag": "@see", - "content": [ - { - "kind": "text", - "text": "IWebAuthProvider" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "index.ts", - "line": 48, - "character": 6, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/index.ts#L48" - } - ], - "type": { - "type": "reference", - "target": 79, - "name": "IWebAuthProvider", - "package": "react-native-auth0" - } - } - }, - { - "id": 380, - "name": "credentialsManager", - "variant": "declaration", - "kind": 262144, - "flags": {}, - "sources": [ - { - "fileName": "index.ts", - "line": 56, - "character": 6, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/index.ts#L56" - } - ], - "getSignature": { - "id": 381, - "name": "credentialsManager", - "variant": "signature", - "kind": 524288, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provides access to the credentials management methods." - } - ], - "blockTags": [ - { - "tag": "@see", - "content": [ - { - "kind": "text", - "text": "ICredentialsManager" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "index.ts", - "line": 56, - "character": 6, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/index.ts#L56" - } - ], - "type": { - "type": "reference", - "target": 64, - "name": "ICredentialsManager", - "package": "react-native-auth0" - } - } - }, - { - "id": 382, - "name": "auth", - "variant": "declaration", - "kind": 262144, - "flags": {}, - "sources": [ - { - "fileName": "index.ts", - "line": 64, - "character": 6, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/index.ts#L64" - } - ], - "getSignature": { - "id": 383, - "name": "auth", - "variant": "signature", - "kind": 524288, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provides access to direct authentication methods (e.g., password-realm)." - } - ], - "blockTags": [ - { - "tag": "@see", - "content": [ - { - "kind": "text", - "text": "IAuthenticationProvider" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "index.ts", - "line": 64, - "character": 6, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/index.ts#L64" - } - ], - "type": { - "type": "reference", - "target": 15, - "name": "IAuthenticationProvider", - "package": "react-native-auth0" - } - } - }, - { - "id": 384, - "name": "users", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "index.ts", - "line": 71, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/index.ts#L71" - } - ], - "signatures": [ - { - "id": 385, - "name": "users", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provides access to the Management API (e.g., for user patching)." - } - ] - }, - "sources": [ - { - "fileName": "index.ts", - "line": 71, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/index.ts#L71" - } - ], - "parameters": [ - { - "id": 386, - "name": "token", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "target": 92, - "name": "IUsersClient", - "package": "react-native-auth0" - } - } - ] - } - ], - "groups": [ - { - "title": "Accessors", - "children": [378, 380, 382] - }, - { - "title": "Constructors", - "children": [374] - }, - { - "title": "Methods", - "children": [384] - } - ], - "sources": [ - { - "fileName": "index.ts", - "line": 31, - "character": 6, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/index.ts#L31" - } - ] - } - ], - "groups": [ - { - "title": "Classes", - "children": [398, 387, 373] - } - ], - "sources": [ - { - "fileName": "exports/classes.ts", - "line": 1, - "character": 0, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/exports/classes.ts#L1" - } - ] - }, - { - "id": 372, - "name": "Enums", - "variant": "declaration", - "kind": 4, - "flags": {}, - "children": [ - { - "id": 493, - "name": "SafariViewControllerPresentationStyle", - "variant": "reference", - "kind": 4194304, - "flags": {}, - "sources": [ - { - "fileName": "exports/enums.ts", - "line": 1, - "character": 9, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/exports/enums.ts#L1" - } - ], - "target": 315 - }, - { - "id": 494, - "name": "LocalAuthenticationLevel", - "variant": "reference", - "kind": 4194304, - "flags": {}, - "sources": [ - { - "fileName": "exports/enums.ts", - "line": 3, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/exports/enums.ts#L3" - } - ], - "target": 326 - }, - { - "id": 495, - "name": "LocalAuthenticationStrategy", - "variant": "reference", - "kind": 4194304, - "flags": {}, - "sources": [ - { - "fileName": "exports/enums.ts", - "line": 4, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/exports/enums.ts#L4" - } - ], - "target": 330 - } - ], - "groups": [ - { - "title": "References", - "children": [493, 494, 495] - } - ], - "sources": [ - { - "fileName": "exports/enums.ts", - "line": 1, - "character": 0, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/exports/enums.ts#L1" - } - ] - }, - { - "id": 2, - "name": "Hooks", - "variant": "declaration", - "kind": 4, - "flags": {}, - "children": [ - { - "id": 417, - "name": "Auth0Provider", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Provider.tsx", - "line": 34, - "character": 13, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Provider.tsx#L34" - } - ], - "signatures": [ - { - "id": 418, - "name": "Auth0Provider", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Provider.tsx", - "line": 34, - "character": 29, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Provider.tsx#L34" - } - ], - "parameters": [ - { - "id": 419, - "name": "__namedParameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": { - "packageName": "@types/react", - "packagePath": "index.d.ts", - "qualifiedName": "React.PropsWithChildren" - }, - "typeArguments": [ - { - "type": "reference", - "target": 143, - "name": "Auth0Options", - "package": "react-native-auth0" - } - ], - "name": "PropsWithChildren", - "package": "@types/react", - "qualifiedName": "React.PropsWithChildren" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "@types/react", - "packagePath": "jsx-runtime.d.ts", - "qualifiedName": "JSX.Element" - }, - "name": "Element", - "package": "@types/react", - "qualifiedName": "JSX.Element" - } - } - ] - }, - { - "id": 415, - "name": "useAuth0", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "hooks/useAuth0.ts", - "line": 17, - "character": 13, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/useAuth0.ts#L17" - } - ], - "signatures": [ - { - "id": 416, - "name": "useAuth0", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The primary hook for interacting with the Auth0 SDK in a React component.\n\nIt provides access to the authentication state (" - }, - { - "kind": "code", - "text": "`user`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`error`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`isLoading`" - }, - { - "kind": "text", - "text": ")\nand methods for performing authentication (" - }, - { - "kind": "code", - "text": "`authorize`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`clearSession`" - }, - { - "kind": "text", - "text": ", etc.)." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```\nconst { user, authorize, clearSession, isLoading } = useAuth0();\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The current authentication state and methods." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "hooks/useAuth0.ts", - "line": 17, - "character": 24, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/useAuth0.ts#L17" - } - ], - "type": { - "type": "reference", - "target": 420, - "name": "Auth0ContextInterface", - "package": "react-native-auth0" - } - } - ] - } - ], - "groups": [ - { - "title": "Functions", - "children": [417, 415] - } - ], - "sources": [ - { - "fileName": "exports/hooks.ts", - "line": 1, - "character": 0, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/exports/hooks.ts#L1" - } - ] - }, - { - "id": 3, - "name": "Interface", - "variant": "declaration", - "kind": 4, - "flags": {}, - "children": [ - { - "id": 8, - "name": "IAuth0Client", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The primary interface for the Auth0 client.\n\nIt aggregates all core functionalities (web auth, credential management, etc.)\ninto a single, cohesive contract. Platform-specific factories will produce an\nobject that conforms to this interface." - } - ] - }, - "children": [ - { - "id": 9, - "name": "webAuth", - "variant": "declaration", - "kind": 1024, - "flags": { - "isReadonly": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provides access to methods for handling web-based authentication flows." - } - ] - }, - "sources": [ - { - "fileName": "core/interfaces/IAuth0Client.ts", - "line": 17, - "character": 11, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuth0Client.ts#L17" - } - ], - "type": { - "type": "reference", - "target": 79, - "name": "IWebAuthProvider", - "package": "react-native-auth0" - } - }, - { - "id": 10, - "name": "credentialsManager", - "variant": "declaration", - "kind": 1024, - "flags": { - "isReadonly": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provides access to methods for securely managing user credentials on the device." - } - ] - }, - "sources": [ - { - "fileName": "core/interfaces/IAuth0Client.ts", - "line": 22, - "character": 11, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuth0Client.ts#L22" - } - ], - "type": { - "type": "reference", - "target": 64, - "name": "ICredentialsManager", - "package": "react-native-auth0" - } - }, - { - "id": 11, - "name": "auth", - "variant": "declaration", - "kind": 1024, - "flags": { - "isReadonly": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Provides access to methods for direct authentication grants (e.g., password-realm)." - } - ] - }, - "sources": [ - { - "fileName": "core/interfaces/IAuth0Client.ts", - "line": 27, - "character": 11, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuth0Client.ts#L27" - } - ], - "type": { - "type": "reference", - "target": 15, - "name": "IAuthenticationProvider", - "package": "react-native-auth0" - } - }, - { - "id": 12, - "name": "users", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuth0Client.ts", - "line": 35, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuth0Client.ts#L35" - } - ], - "signatures": [ - { - "id": 13, - "name": "users", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Creates a client for interacting with the Auth0 Management API's user endpoints." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "An " - }, - { - "kind": "code", - "text": "`IUsersClient`" - }, - { - "kind": "text", - "text": " instance configured with the provided token." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "core/interfaces/IAuth0Client.ts", - "line": 35, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuth0Client.ts#L35" - } - ], - "parameters": [ - { - "id": 14, - "name": "token", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An access token with the required permissions for the management operations." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "target": 92, - "name": "IUsersClient", - "package": "react-native-auth0" - } - } - ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [12] - }, - { - "title": "Properties", - "children": [9, 10, 11] - } - ], - "sources": [ - { - "fileName": "core/interfaces/IAuth0Client.ts", - "line": 13, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuth0Client.ts#L13" - } - ] - }, - { - "id": 15, - "name": "IAuthenticationProvider", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Defines the contract for direct authentication methods that interact with Auth0's\nAuthentication API endpoints without a web-based redirect." - } - ] - }, - "children": [ - { - "id": 16, - "name": "passwordRealm", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 28, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L28" - } - ], - "signatures": [ - { - "id": 17, - "name": "passwordRealm", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 28, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L28" - } - ], - "parameters": [ - { - "id": 18, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 207, - "name": "PasswordRealmParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 19, - "name": "refreshToken", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 29, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L29" - } - ], - "signatures": [ - { - "id": 20, - "name": "refreshToken", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 29, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L29" - } - ], - "parameters": [ - { - "id": 21, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 216, - "name": "RefreshTokenParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 22, - "name": "userInfo", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 30, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L30" - } - ], - "signatures": [ - { - "id": 23, - "name": "userInfo", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 30, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L30" - } - ], - "parameters": [ - { - "id": 24, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 284, - "name": "UserInfoParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 119, - "name": "User", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 25, - "name": "revoke", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 31, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L31" - } - ], - "signatures": [ - { - "id": 26, - "name": "revoke", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 31, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L31" - } - ], - "parameters": [ - { - "id": 27, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 222, - "name": "RevokeOptions", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 28, - "name": "exchange", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 32, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L32" - } - ], - "signatures": [ - { - "id": 29, - "name": "exchange", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 32, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L32" - } - ], - "parameters": [ - { - "id": 30, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 191, - "name": "ExchangeParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 31, - "name": "passwordlessWithEmail", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 33, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L33" - } - ], - "signatures": [ - { - "id": 32, - "name": "passwordlessWithEmail", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 33, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L33" - } - ], - "parameters": [ - { - "id": 33, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 227, - "name": "PasswordlessEmailParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 34, - "name": "passwordlessWithSMS", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 34, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L34" - } - ], - "signatures": [ - { - "id": 35, - "name": "passwordlessWithSMS", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 34, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L34" - } - ], - "parameters": [ - { - "id": 36, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 234, - "name": "PasswordlessSmsParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 37, - "name": "loginWithEmail", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 35, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L35" - } - ], - "signatures": [ - { - "id": 38, - "name": "loginWithEmail", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 35, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L35" - } - ], - "parameters": [ - { - "id": 39, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 241, - "name": "LoginEmailParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 40, - "name": "loginWithSMS", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 36, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L36" - } - ], - "signatures": [ - { - "id": 41, - "name": "loginWithSMS", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 36, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L36" - } - ], - "parameters": [ - { - "id": 42, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 249, - "name": "LoginSmsParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 43, - "name": "loginWithOTP", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 37, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L37" - } - ], - "signatures": [ - { - "id": 44, - "name": "loginWithOTP", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 37, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L37" - } - ], - "parameters": [ - { - "id": 45, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 257, - "name": "LoginOtpParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 46, - "name": "loginWithOOB", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 38, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L38" - } - ], - "signatures": [ - { - "id": 47, - "name": "loginWithOOB", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 38, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L38" - } - ], - "parameters": [ - { - "id": 48, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 264, - "name": "LoginOobParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 49, - "name": "loginWithRecoveryCode", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 39, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L39" - } - ], - "signatures": [ - { - "id": 50, - "name": "loginWithRecoveryCode", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 39, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L39" - } - ], - "parameters": [ - { - "id": 51, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 271, - "name": "LoginRecoveryCodeParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 52, - "name": "multifactorChallenge", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 42, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L42" - } - ], - "signatures": [ - { - "id": 53, - "name": "multifactorChallenge", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 42, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L42" - } - ], - "parameters": [ - { - "id": 54, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 277, - "name": "MfaChallengeParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 159, - "name": "MfaChallengeResponse", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 55, - "name": "resetPassword", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 45, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L45" - } - ], - "signatures": [ - { - "id": 56, - "name": "resetPassword", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 45, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L45" - } - ], - "parameters": [ - { - "id": 57, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 289, - "name": "ResetPasswordParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 58, - "name": "createUser", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 46, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L46" - } - ], - "signatures": [ - { - "id": 59, - "name": "createUser", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 46, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L46" - } - ], - "parameters": [ - { - "id": 60, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 296, - "name": "CreateUserParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ - { - "type": "reference", - "target": 119, - "name": "User", - "package": "react-native-auth0" - } - ], - "name": "Partial", - "package": "typescript" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 61, - "name": "exchangeNativeSocial", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 48, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L48" - } - ], - "signatures": [ - { - "id": 62, - "name": "exchangeNativeSocial", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 48, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L48" - } - ], - "parameters": [ - { - "id": 63, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 198, - "name": "ExchangeNativeSocialParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [ - 16, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 49, 52, 55, 58, 61 - ] - } - ], - "sources": [ - { - "fileName": "core/interfaces/IAuthenticationProvider.ts", - "line": 27, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IAuthenticationProvider.ts#L27" - } - ] - }, - { - "id": 64, - "name": "ICredentialsManager", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Defines the contract for securely managing user credentials on the device.\nImplementations are responsible for secure storage (e.g., Keychain on iOS,\nEncryptedSharedPreferences on Android) and token refresh logic." - } - ] - }, - "children": [ - { - "id": 65, - "name": "saveCredentials", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/ICredentialsManager.ts", - "line": 15, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/ICredentialsManager.ts#L15" - } - ], - "signatures": [ - { - "id": 66, - "name": "saveCredentials", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Securely saves a set of credentials to the device's storage." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves when the credentials have been saved." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "core/interfaces/ICredentialsManager.ts", - "line": 15, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/ICredentialsManager.ts#L15" - } - ], - "parameters": [ - { - "id": 67, - "name": "credentials", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The credentials object to store." - } - ] - }, - "type": { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 68, - "name": "getCredentials", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/ICredentialsManager.ts", - "line": 30, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/ICredentialsManager.ts#L30" - } - ], - "signatures": [ - { - "id": 69, - "name": "getCredentials", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Retrieves the stored credentials." - } - ], - "blockTags": [ - { - "tag": "@remarks", - "content": [ - { - "kind": "text", - "text": "If the access token is expired and a refresh token is available, this method\nshould attempt to automatically refresh the tokens and store the new ones." - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves with the user's credentials." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "core/interfaces/ICredentialsManager.ts", - "line": 30, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/ICredentialsManager.ts#L30" - } - ], - "parameters": [ - { - "id": 70, - "name": "scope", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The scopes to request for the new access token (used during refresh)." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 71, - "name": "minTtl", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The minimum time-to-live (in seconds) required for the access token. If the token expires sooner, a refresh will be attempted." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 72, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Additional parameters to send during the token refresh request." - } - ] - }, - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 73, - "name": "forceRefresh", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If true, a token refresh will be attempted even if the current access token is not expired." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 74, - "name": "hasValidCredentials", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/ICredentialsManager.ts", - "line": 43, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/ICredentialsManager.ts#L43" - } - ], - "signatures": [ - { - "id": 75, - "name": "hasValidCredentials", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Checks if a valid, non-expired set of credentials exists in storage." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves with " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": " if valid credentials exist, " - }, - { - "kind": "code", - "text": "`false`" - }, - { - "kind": "text", - "text": " otherwise." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "core/interfaces/ICredentialsManager.ts", - "line": 43, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/ICredentialsManager.ts#L43" - } - ], - "parameters": [ - { - "id": 76, - "name": "minTtl", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The minimum time-to-live (in seconds) required for the access token to be considered valid." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "boolean" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 77, - "name": "clearCredentials", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/ICredentialsManager.ts", - "line": 50, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/ICredentialsManager.ts#L50" - } - ], - "signatures": [ - { - "id": 78, - "name": "clearCredentials", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Removes all credentials from the device's storage." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves when the credentials have been cleared." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "core/interfaces/ICredentialsManager.ts", - "line": 50, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/ICredentialsManager.ts#L50" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [65, 68, 74, 77] - } - ], - "sources": [ - { - "fileName": "core/interfaces/ICredentialsManager.ts", - "line": 8, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/ICredentialsManager.ts#L8" - } - ] - }, - { - "id": 92, - "name": "IUsersClient", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Defines the contract for a client that interacts with the Auth0 Management API's\nuser endpoints. An instance of this client is typically created with a\nuser-specific management token." - } - ] - }, - "children": [ - { - "id": 93, - "name": "getUser", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IUsersClient.ts", - "line": 15, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IUsersClient.ts#L15" - } - ], - "signatures": [ - { - "id": 94, - "name": "getUser", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Retrieves the full profile of a user from the Management API." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves with the user's full profile." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "core/interfaces/IUsersClient.ts", - "line": 15, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IUsersClient.ts#L15" - } - ], - "parameters": [ - { - "id": 95, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parameters containing the user's ID." - } - ] - }, - "type": { - "type": "reference", - "target": 313, - "name": "GetUserParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 119, - "name": "User", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 96, - "name": "patchUser", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IUsersClient.ts", - "line": 23, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IUsersClient.ts#L23" - } - ], - "signatures": [ - { - "id": 97, - "name": "patchUser", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Updates a user's " - }, - { - "kind": "code", - "text": "`user_metadata`" - }, - { - "kind": "text", - "text": "." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves with the updated user profile." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "core/interfaces/IUsersClient.ts", - "line": 23, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IUsersClient.ts#L23" - } - ], - "parameters": [ - { - "id": 98, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parameters containing the user's ID and the metadata to update." - } - ] - }, - "type": { - "type": "reference", - "target": 310, - "name": "PatchUserParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 119, - "name": "User", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [93, 96] - } - ], - "sources": [ - { - "fileName": "core/interfaces/IUsersClient.ts", - "line": 8, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IUsersClient.ts#L8" - } - ] - }, - { - "id": 79, - "name": "IWebAuthProvider", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Defines the contract for a provider that handles web-based authentication flows,\nsuch as redirecting to the Auth0 Universal Login page." - } - ] - }, - "children": [ - { - "id": 80, - "name": "authorize", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IWebAuthProvider.ts", - "line": 30, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IWebAuthProvider.ts#L30" - } - ], - "signatures": [ - { - "id": 81, - "name": "authorize", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Initiates the web-based authentication flow." - } - ], - "blockTags": [ - { - "tag": "@remarks", - "content": [ - { - "kind": "text", - "text": "This method will redirect the user to a browser to log in. The " - }, - { - "kind": "code", - "text": "`options`" - }, - { - "kind": "text", - "text": " parameter\nis generic to allow platform-specific configurations." - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves with the user's credentials upon successful authentication." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "core/interfaces/IWebAuthProvider.ts", - "line": 30, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IWebAuthProvider.ts#L30" - } - ], - "parameters": [ - { - "id": 82, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parameters to send to the " - }, - { - "kind": "code", - "text": "`/authorize`" - }, - { - "kind": "text", - "text": " endpoint." - } - ] - }, - "type": { - "type": "reference", - "target": 174, - "name": "WebAuthorizeParameters", - "package": "react-native-auth0" - } - }, - { - "id": 83, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Platform-specific options to customize the authentication experience." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 349, - "name": "NativeAuthorizeOptions", - "package": "react-native-auth0" - }, - { - "type": "reference", - "target": 370, - "name": "WebAuthorizeOptions", - "package": "react-native-auth0" - } - ] - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 84, - "name": "handleRedirectCallback", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IWebAuthProvider.ts", - "line": 42, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IWebAuthProvider.ts#L42" - } - ], - "signatures": [ - { - "id": 85, - "name": "handleRedirectCallback", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Handles the redirect callback after authentication." - } - ], - "blockTags": [ - { - "tag": "@remarks", - "content": [ - { - "kind": "text", - "text": "**Platform specific:** This method is only available in the context of a web application." - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves when the redirect callback has been processed." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "core/interfaces/IWebAuthProvider.ts", - "line": 42, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IWebAuthProvider.ts#L42" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 86, - "name": "clearSession", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IWebAuthProvider.ts", - "line": 51, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IWebAuthProvider.ts#L51" - } - ], - "signatures": [ - { - "id": 87, - "name": "clearSession", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Clears the user's session, including any cookies stored in the browser." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves when the session has been cleared." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "core/interfaces/IWebAuthProvider.ts", - "line": 51, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IWebAuthProvider.ts#L51" - } - ], - "parameters": [ - { - "id": 88, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parameters to send to the " - }, - { - "kind": "code", - "text": "`/v2/logout`" - }, - { - "kind": "text", - "text": " endpoint." - } - ] - }, - "type": { - "type": "reference", - "target": 188, - "name": "ClearSessionParameters", - "package": "react-native-auth0" - } - }, - { - "id": 89, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Platform-specific options to customize the logout experience." - } - ] - }, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 357, - "name": "NativeClearSessionOptions", - "package": "react-native-auth0" - }, - { - "type": "reference", - "target": 371, - "name": "WebClearSessionOptions", - "package": "react-native-auth0" - } - ] - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 90, - "name": "cancelWebAuth", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/IWebAuthProvider.ts", - "line": 65, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IWebAuthProvider.ts#L65" - } - ], - "signatures": [ - { - "id": 91, - "name": "cancelWebAuth", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Cancels an ongoing web authentication transaction." - } - ], - "blockTags": [ - { - "tag": "@remarks", - "content": [ - { - "kind": "text", - "text": "**Platform specific:** This is primarily used on iOS to handle scenarios where the user manually\ndismisses the login modal. On other platforms, it may be a no-op." - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves when the operation is complete." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "core/interfaces/IWebAuthProvider.ts", - "line": 65, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IWebAuthProvider.ts#L65" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [80, 84, 86, 90] - } - ], - "sources": [ - { - "fileName": "core/interfaces/IWebAuthProvider.ts", - "line": 18, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/IWebAuthProvider.ts#L18" - } - ] - }, - { - "id": 4, - "name": "NativeModuleError", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "children": [ - { - "id": 6, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/common.ts", - "line": 2, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/common.ts#L2" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 7, - "name": "message", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "core/interfaces/common.ts", - "line": 3, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/common.ts#L3" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [6, 7] - } - ], - "sources": [ - { - "fileName": "core/interfaces/common.ts", - "line": 1, - "character": 12, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/core/interfaces/common.ts#L1" - } - ] - }, - { - "id": 420, - "name": "Auth0ContextInterface", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The contract for the value provided by the Auth0Context.\nThis is the interface that developers will interact with when using the " - }, - { - "kind": "code", - "text": "`useAuth0`" - }, - { - "kind": "text", - "text": " hook." - } - ] - }, - "children": [ - { - "id": 421, - "name": "authorize", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 41, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L41" - } - ], - "signatures": [ - { - "id": 422, - "name": "authorize", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Initiates the web-based authentication flow." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves with the user's credentials upon successful authentication." - } - ] - }, - { - "tag": "@throws", - "content": [ - { - "kind": "text", - "text": "If the authentication fails." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 41, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L41" - } - ], - "parameters": [ - { - "id": 423, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parameters to send to the " - }, - { - "kind": "code", - "text": "`/authorize`" - }, - { - "kind": "text", - "text": " endpoint." - } - ] - }, - "type": { - "type": "reference", - "target": 174, - "name": "WebAuthorizeParameters", - "package": "react-native-auth0" - } - }, - { - "id": 424, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Platform-specific options to customize the authentication experience." - } - ] - }, - "type": { - "type": "reference", - "target": 349, - "name": "NativeAuthorizeOptions", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 425, - "name": "clearSession", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 53, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L53" - } - ], - "signatures": [ - { - "id": 426, - "name": "clearSession", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Clears the user's session and logs them out." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves when the session has been cleared." - } - ] - }, - { - "tag": "@throws", - "content": [ - { - "kind": "text", - "text": "If the logout fails." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 53, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L53" - } - ], - "parameters": [ - { - "id": 427, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parameters to send to the " - }, - { - "kind": "code", - "text": "`/v2/logout`" - }, - { - "kind": "text", - "text": " endpoint." - } - ] - }, - "type": { - "type": "reference", - "target": 188, - "name": "ClearSessionParameters", - "package": "react-native-auth0" - } - }, - { - "id": 428, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Platform-specific options to customize the logout experience." - } - ] - }, - "type": { - "type": "reference", - "target": 357, - "name": "NativeClearSessionOptions", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 429, - "name": "saveCredentials", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 64, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L64" - } - ], - "signatures": [ - { - "id": 430, - "name": "saveCredentials", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Saves the user's credentials." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves when the credentials have been saved." - } - ] - }, - { - "tag": "@throws", - "content": [ - { - "kind": "text", - "text": "If the save fails." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 64, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L64" - } - ], - "parameters": [ - { - "id": 431, - "name": "credentials", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The credentials to save." - } - ] - }, - "type": { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 432, - "name": "getCredentials", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 73, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L73" - } - ], - "signatures": [ - { - "id": 433, - "name": "getCredentials", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Retrieves the stored credentials, refreshing them if necessary." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves with the user's credentials." - } - ] - }, - { - "tag": "@throws", - "content": [ - { - "kind": "text", - "text": "If credentials cannot be retrieved or refreshed." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 73, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L73" - } - ], - "parameters": [ - { - "id": 434, - "name": "scope", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The scopes to request for the new access token (used during refresh)." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 435, - "name": "minTtl", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The minimum time-to-live (in seconds) required for the access token." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 436, - "name": "clearCredentials", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Clears the user's credentials without clearing their web session and logs them out." - } - ], - "blockTags": [ - { - "tag": "@remarks", - "content": [ - { - "kind": "text", - "text": "**Platform specific:** This method is only available in the context of a Android/iOS application." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 82, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L82" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 437, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 82, - "character": 20, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L82" - } - ], - "signatures": [ - { - "id": 438, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves when the credentials have been cleared." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 82, - "character": 20, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L82" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 439, - "name": "hasValidCredentials", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 91, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L91" - } - ], - "signatures": [ - { - "id": 440, - "name": "hasValidCredentials", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Checks if a valid, non-expired set of credentials exists in storage.\nThis is a quick, local check and does not perform a network request." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves with " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": " if valid credentials exist, " - }, - { - "kind": "code", - "text": "`false`" - }, - { - "kind": "text", - "text": " otherwise." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 91, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L91" - } - ], - "parameters": [ - { - "id": 441, - "name": "minTtl", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The minimum time-to-live (in seconds) required for the access token to be considered valid. Defaults to 0." - } - ] - }, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "boolean" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 442, - "name": "cancelWebAuth", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 97, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L97" - } - ], - "signatures": [ - { - "id": 443, - "name": "cancelWebAuth", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Cancels the ongoing web authentication process.\nThis works only on iOS. On other platforms, it will resolve without performing an action." - } - ] - }, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 97, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L97" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 444, - "name": "loginWithPasswordRealm", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 106, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L106" - } - ], - "signatures": [ - { - "id": 445, - "name": "loginWithPasswordRealm", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Authenticates a user with their username and password." - } - ], - "blockTags": [ - { - "tag": "@remarks", - "content": [ - { - "kind": "text", - "text": "This method is not supported on the web platform." - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves with the user's credentials." - } - ] - }, - { - "tag": "@throws", - "content": [ - { - "kind": "text", - "text": "If the authentication fails." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 106, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L106" - } - ], - "parameters": [ - { - "id": 446, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parameters for the password-realm grant." - } - ] - }, - "type": { - "type": "reference", - "target": 207, - "name": "PasswordRealmParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 447, - "name": "createUser", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 116, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L116" - } - ], - "signatures": [ - { - "id": 448, - "name": "createUser", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Creates a new user in a database connection." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves with the new user's profile information." - } - ] - }, - { - "tag": "@throws", - "content": [ - { - "kind": "text", - "text": "If the user creation fails." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 116, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L116" - } - ], - "parameters": [ - { - "id": 449, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parameters for creating the new user." - } - ] - }, - "type": { - "type": "reference", - "target": 296, - "name": "CreateUserParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ - { - "type": "reference", - "target": 119, - "name": "User", - "package": "react-native-auth0" - } - ], - "name": "Partial", - "package": "typescript" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 450, - "name": "resetPassword", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 124, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L124" - } - ], - "signatures": [ - { - "id": 451, - "name": "resetPassword", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Resets the user's password." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves when the password has been reset." - } - ] - }, - { - "tag": "@throws", - "content": [ - { - "kind": "text", - "text": "If the reset fails." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 124, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L124" - } - ], - "parameters": [ - { - "id": 452, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parameters for resetting the password." - } - ] - }, - "type": { - "type": "reference", - "target": 289, - "name": "ResetPasswordParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 453, - "name": "authorizeWithExchange", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 133, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L133" - } - ], - "signatures": [ - { - "id": 454, - "name": "authorizeWithExchange", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Exchanges an authorization code for tokens.\nThis is useful in advanced scenarios where you manage the code flow manually." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves with the user's credentials." - } - ] - }, - { - "tag": "@throws", - "content": [ - { - "kind": "text", - "text": "If the exchange fails." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 133, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L133" - } - ], - "parameters": [ - { - "id": 455, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parameters containing the authorization code and verifier." - } - ] - }, - "type": { - "type": "reference", - "target": 191, - "name": "ExchangeParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 456, - "name": "authorizeWithExchangeNativeSocial", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 141, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L141" - } - ], - "signatures": [ - { - "id": 457, - "name": "authorizeWithExchangeNativeSocial", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Exchanges an authorization code for native social tokens." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves with the user's credentials." - } - ] - }, - { - "tag": "@throws", - "content": [ - { - "kind": "text", - "text": "If the exchange fails." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 141, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L141" - } - ], - "parameters": [ - { - "id": 458, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parameters containing the authorization code and verifier." - } - ] - }, - "type": { - "type": "reference", - "target": 198, - "name": "ExchangeNativeSocialParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 459, - "name": "sendEmailCode", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 150, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L150" - } - ], - "signatures": [ - { - "id": 460, - "name": "sendEmailCode", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Sends a verification code to the user's email." - } - ], - "blockTags": [ - { - "tag": "@throws", - "content": [ - { - "kind": "text", - "text": "If sending the email code fails." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 150, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L150" - } - ], - "parameters": [ - { - "id": 461, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parameters for sending the email code." - } - ] - }, - "type": { - "type": "reference", - "target": 227, - "name": "PasswordlessEmailParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 462, - "name": "authorizeWithEmail", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 158, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L158" - } - ], - "signatures": [ - { - "id": 463, - "name": "authorizeWithEmail", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Authorizes a user with their email." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves with the user's credentials." - } - ] - }, - { - "tag": "@throws", - "content": [ - { - "kind": "text", - "text": "If the authorization fails." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 158, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L158" - } - ], - "parameters": [ - { - "id": 464, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parameters for email authorization." - } - ] - }, - "type": { - "type": "reference", - "target": 241, - "name": "LoginEmailParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 465, - "name": "sendSMSCode", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 166, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L166" - } - ], - "signatures": [ - { - "id": 466, - "name": "sendSMSCode", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "/**\n* Sends a verification code to the user's SMS.\n*" - } - ], - "blockTags": [ - { - "tag": "@throws", - "content": [ - { - "kind": "text", - "text": "If sending the SMS code fails." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 166, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L166" - } - ], - "parameters": [ - { - "id": 467, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parameters for sending the SMS code.\n*" - } - ] - }, - "type": { - "type": "reference", - "target": 234, - "name": "PasswordlessSmsParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 468, - "name": "authorizeWithSMS", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 174, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L174" - } - ], - "signatures": [ - { - "id": 469, - "name": "authorizeWithSMS", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Authorizes a user with their SMS." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves with the user's credentials." - } - ] - }, - { - "tag": "@throws", - "content": [ - { - "kind": "text", - "text": "If the authorization fails." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 174, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L174" - } - ], - "parameters": [ - { - "id": 470, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parameters for SMS authorization." - } - ] - }, - "type": { - "type": "reference", - "target": 249, - "name": "LoginSmsParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 471, - "name": "sendMultifactorChallenge", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 182, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L182" - } - ], - "signatures": [ - { - "id": 472, - "name": "sendMultifactorChallenge", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Sends a multifactor challenge to the user." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves when the challenge has been sent." - } - ] - }, - { - "tag": "@throws", - "content": [ - { - "kind": "text", - "text": "If sending the challenge fails." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 182, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L182" - } - ], - "parameters": [ - { - "id": 473, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parameters for the multifactor challenge." - } - ] - }, - "type": { - "type": "reference", - "target": 277, - "name": "MfaChallengeParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 159, - "name": "MfaChallengeResponse", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 474, - "name": "authorizeWithOOB", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 192, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L192" - } - ], - "signatures": [ - { - "id": 475, - "name": "authorizeWithOOB", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Authorizes a user with out-of-band (OOB) authentication." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves with the user's credentials." - } - ] - }, - { - "tag": "@throws", - "content": [ - { - "kind": "text", - "text": "If the authorization fails." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 192, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L192" - } - ], - "parameters": [ - { - "id": 476, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parameters for OOB authorization." - } - ] - }, - "type": { - "type": "reference", - "target": 264, - "name": "LoginOobParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 477, - "name": "authorizeWithOTP", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 200, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L200" - } - ], - "signatures": [ - { - "id": 478, - "name": "authorizeWithOTP", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Authorizes a user with a one-time password (OTP)." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves with the user's credentials." - } - ] - }, - { - "tag": "@throws", - "content": [ - { - "kind": "text", - "text": "If the authorization fails." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 200, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L200" - } - ], - "parameters": [ - { - "id": 479, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parameters for OTP authorization." - } - ] - }, - "type": { - "type": "reference", - "target": 257, - "name": "LoginOtpParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 480, - "name": "authorizeWithRecoveryCode", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 208, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L208" - } - ], - "signatures": [ - { - "id": 481, - "name": "authorizeWithRecoveryCode", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Authorizes a user with a recovery code." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "A promise that resolves with the user's credentials." - } - ] - }, - { - "tag": "@throws", - "content": [ - { - "kind": "text", - "text": "If the authorization fails." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 208, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L208" - } - ], - "parameters": [ - { - "id": 482, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parameters for recovery code authorization." - } - ] - }, - "type": { - "type": "reference", - "target": 271, - "name": "LoginRecoveryCodeParameters", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": 109, - "name": "Credentials", - "package": "react-native-auth0" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 483, - "name": "revokeRefreshToken", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 213, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L213" - } - ], - "signatures": [ - { - "id": 484, - "name": "revokeRefreshToken", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 213, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L213" - } - ], - "parameters": [ - { - "id": 485, - "name": "parameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 222, - "name": "RevokeOptions", - "package": "react-native-auth0" - } - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 486, - "name": "user", - "variant": "declaration", - "kind": 1024, - "flags": { - "isInherited": true - }, - "sources": [ - { - "fileName": "hooks/reducer.ts", - "line": 8, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/reducer.ts#L8" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "target": 119, - "name": "User", - "package": "react-native-auth0" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "target": 490, - "name": "AuthState.user" - } - }, - { - "id": 487, - "name": "error", - "variant": "declaration", - "kind": 1024, - "flags": { - "isInherited": true - }, - "sources": [ - { - "fileName": "hooks/reducer.ts", - "line": 9, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/reducer.ts#L9" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "target": 398, - "name": "AuthError", - "package": "react-native-auth0" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "target": 491, - "name": "AuthState.error" - } - }, - { - "id": 488, - "name": "isLoading", - "variant": "declaration", - "kind": 1024, - "flags": { - "isInherited": true - }, - "sources": [ - { - "fileName": "hooks/reducer.ts", - "line": 10, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/reducer.ts#L10" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "target": 492, - "name": "AuthState.isLoading" - } - } - ], - "groups": [ - { - "title": "Methods", - "children": [ - 421, 425, 429, 432, 439, 442, 444, 447, 450, 453, 456, 459, 462, - 465, 468, 471, 474, 477, 480, 483 - ] - }, - { - "title": "Properties", - "children": [436, 486, 487, 488] - } - ], - "sources": [ - { - "fileName": "hooks/Auth0Context.ts", - "line": 33, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/Auth0Context.ts#L33" - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 489, - "name": "AuthState", - "package": "react-native-auth0" - } - ] - }, - { - "id": 489, - "name": "AuthState", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The shape of the authentication state managed by the Auth0Provider." - } - ] - }, - "children": [ - { - "id": 490, - "name": "user", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "hooks/reducer.ts", - "line": 8, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/reducer.ts#L8" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "target": 119, - "name": "User", - "package": "react-native-auth0" - } - ] - } - }, - { - "id": 491, - "name": "error", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "hooks/reducer.ts", - "line": 9, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/reducer.ts#L9" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "target": 398, - "name": "AuthError", - "package": "react-native-auth0" - } - ] - } - }, - { - "id": 492, - "name": "isLoading", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "hooks/reducer.ts", - "line": 10, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/reducer.ts#L10" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [490, 491, 492] - } - ], - "sources": [ - { - "fileName": "hooks/reducer.ts", - "line": 7, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/hooks/reducer.ts#L7" - } - ], - "extendedBy": [ - { - "type": "reference", - "target": 420, - "name": "Auth0ContextInterface" - } - ] - }, - { - "id": 99, - "name": "NativeCredentialsResponse", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "children": [ - { - "id": 101, - "name": "id_token", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/common.ts", - "line": 4, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L4" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 102, - "name": "access_token", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/common.ts", - "line": 5, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L5" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 103, - "name": "token_type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/common.ts", - "line": 6, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L6" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 104, - "name": "expires_in", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/common.ts", - "line": 7, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L7" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 105, - "name": "refresh_token", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/common.ts", - "line": 8, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L8" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - }, - { - "id": 106, - "name": "scope", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/common.ts", - "line": 9, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L9" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [101, 102, 103, 104, 105, 106] - } - ], - "sources": [ - { - "fileName": "types/common.ts", - "line": 3, - "character": 12, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L3" - } - ], - "indexSignatures": [ - { - "id": 107, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "sources": [ - { - "fileName": "types/common.ts", - "line": 10, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L10" - } - ], - "parameters": [ - { - "id": 108, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 109, - "name": "Credentials", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Represents the credentials returned by Auth0 after a successful authentication.\nThis object is platform-agnostic and is the primary return type for most login flows." - } - ] - }, - "children": [ - { - "id": 111, - "name": "idToken", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A token in JWT format containing user identity claims." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 19, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L19" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 112, - "name": "accessToken", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The token used to make API calls to protected resources (your APIs)." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 21, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L21" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 113, - "name": "tokenType", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The type of the token, typically \"Bearer\"." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 23, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L23" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 114, - "name": "expiresAt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The expiration time of the access token, represented as a UNIX timestamp (in seconds)." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 25, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L25" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 115, - "name": "refreshToken", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The token used to refresh the access token.\nThis is only present if the " - }, - { - "kind": "code", - "text": "`offline_access`" - }, - { - "kind": "text", - "text": " scope was requested during authentication." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 30, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L30" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 116, - "name": "scope", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A space-separated list of scopes granted for the access token." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 32, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L32" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [111, 112, 113, 114, 115, 116] - } - ], - "sources": [ - { - "fileName": "types/common.ts", - "line": 17, - "character": 12, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L17" - } - ], - "indexSignatures": [ - { - "id": 117, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Allows for additional, non-standard properties returned from the server." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 34, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L34" - } - ], - "parameters": [ - { - "id": 118, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 119, - "name": "User", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Represents the standard profile information of an authenticated user,\ntypically decoded from the ID token." - } - ], - "blockTags": [ - { - "tag": "@remarks", - "content": [ - { - "kind": "text", - "text": "Claims are mapped to camelCase for consistency within the JavaScript/TypeScript ecosystem." - } - ] - } - ] - }, - "children": [ - { - "id": 121, - "name": "sub", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's unique identifier (subject claim)." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 46, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L46" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 122, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's full name." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 48, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L48" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 123, - "name": "givenName", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's given name or first name." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 50, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L50" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 124, - "name": "familyName", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's family name or last name." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 52, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L52" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 125, - "name": "middleName", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's middle name." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 54, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L54" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 126, - "name": "nickname", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's nickname." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 56, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L56" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 127, - "name": "preferredUsername", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's preferred username." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 58, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L58" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 128, - "name": "profile", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "URL of the user's profile page." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 60, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L60" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 129, - "name": "picture", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "URL of the user's profile picture." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 62, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L62" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 130, - "name": "website", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "URL of the user's website." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 64, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L64" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 131, - "name": "email", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's primary email address." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 66, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L66" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 132, - "name": "emailVerified", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": " if the user's email address has been verified, " - }, - { - "kind": "code", - "text": "`false`" - }, - { - "kind": "text", - "text": " otherwise." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 68, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L68" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 133, - "name": "gender", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's gender." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 70, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L70" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 134, - "name": "birthdate", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's birthdate, represented as a " - }, - { - "kind": "code", - "text": "`YYYY-MM-DD`" - }, - { - "kind": "text", - "text": " string." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 72, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L72" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 135, - "name": "zoneinfo", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's time zone, e.g., \"America/Los_Angeles\"." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 74, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L74" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 136, - "name": "locale", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's locale, e.g., \"en-US\"." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 76, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L76" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 137, - "name": "phoneNumber", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's phone number." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 78, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L78" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 138, - "name": "phoneNumberVerified", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": " if the user's phone number has been verified, " - }, - { - "kind": "code", - "text": "`false`" - }, - { - "kind": "text", - "text": " otherwise." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 80, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L80" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 139, - "name": "address", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The user's postal address." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 82, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L82" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 140, - "name": "updatedAt", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The timestamp when the user's profile was last updated." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 84, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L84" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, - 134, 135, 136, 137, 138, 139, 140 - ] - } - ], - "sources": [ - { - "fileName": "types/common.ts", - "line": 44, - "character": 12, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L44" - } - ], - "indexSignatures": [ - { - "id": 141, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Allows for additional, non-standard claims in the user profile." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 86, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L86" - } - ], - "parameters": [ - { - "id": 142, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 143, - "name": "Auth0Options", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Core configuration options required to initialize the Auth0 client.\nThese options are common across all supported platforms." - } - ] - }, - "children": [ - { - "id": 144, - "name": "domain", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Your Auth0 application's domain. e.g., 'your-tenant.us.auth0.com'" - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 95, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L95" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 145, - "name": "LocalAuthenticationOptions", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 96, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L96" - } - ], - "type": { - "type": "reference", - "target": 333, - "name": "LocalAuthenticationOptions", - "package": "react-native-auth0" - } - }, - { - "id": 146, - "name": "clientId", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Your Auth0 application's client ID." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 98, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L98" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 147, - "name": "timeout", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 99, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L99" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 148, - "name": "headers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 100, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L100" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [144, 145, 146, 147, 148] - } - ], - "sources": [ - { - "fileName": "types/common.ts", - "line": 93, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L93" - } - ], - "extendedBy": [ - { - "type": "reference", - "target": 342, - "name": "NativeAuth0Options" - }, - { - "type": "reference", - "target": 360, - "name": "WebAuth0Options" - } - ] - }, - { - "id": 149, - "name": "MfaChallengeOtpResponse", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Base response for an MFA challenge request." - } - ] - }, - "children": [ - { - "id": 151, - "name": "challengeType", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/common.ts", - "line": 107, - "character": 40, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L107" - } - ], - "type": { - "type": "literal", - "value": "otp" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [151] - } - ], - "sources": [ - { - "fileName": "types/common.ts", - "line": 107, - "character": 12, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L107" - } - ] - }, - { - "id": 152, - "name": "MfaChallengeOobResponse", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Response for an Out-of-Band (OOB) MFA challenge, containing the OOB code." - } - ] - }, - "children": [ - { - "id": 154, - "name": "challengeType", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/common.ts", - "line": 111, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L111" - } - ], - "type": { - "type": "literal", - "value": "oob" - } - }, - { - "id": 155, - "name": "oobCode", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/common.ts", - "line": 112, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L112" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [154, 155] - } - ], - "sources": [ - { - "fileName": "types/common.ts", - "line": 110, - "character": 12, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L110" - } - ] - }, - { - "id": 156, - "name": "MfaChallengeOobWithBindingResponse", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Response for an OOB MFA challenge that requires a binding code." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 116, - "character": 12, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L116" - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": 152, - "name": "MfaChallengeOobResponse", - "package": "react-native-auth0" - }, - { - "type": "reflection", - "declaration": { - "id": 157, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 158, - "name": "bindingMethod", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/common.ts", - "line": 117, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L117" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [158] - } - ], - "sources": [ - { - "fileName": "types/common.ts", - "line": 116, - "character": 75, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L116" - } - ] - } - } - ] - } - }, - { - "id": 159, - "name": "MfaChallengeResponse", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A union type representing all possible successful responses from an MFA challenge request." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 121, - "character": 12, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L121" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 149, - "name": "MfaChallengeOtpResponse", - "package": "react-native-auth0" - }, - { - "type": "reference", - "target": 152, - "name": "MfaChallengeOobResponse", - "package": "react-native-auth0" - }, - { - "type": "reference", - "target": 156, - "name": "MfaChallengeOobWithBindingResponse", - "package": "react-native-auth0" - } - ] - } - }, - { - "id": 160, - "name": "AuthorizeUrlParameters", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters for building a URL for the " - }, - { - "kind": "code", - "text": "`/authorize`" - }, - { - "kind": "text", - "text": " endpoint." - } - ] - }, - "children": [ - { - "id": 164, - "name": "headers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional custom headers to be included in the request." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 6, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L6" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "RequestOptions.headers" - } - }, - { - "id": 161, - "name": "responseType", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 14, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L14" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 162, - "name": "redirectUri", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 15, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L15" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 163, - "name": "state", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 16, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L16" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [164, 161, 162, 163] - } - ], - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 13, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L13" - } - ], - "indexSignatures": [ - { - "id": 165, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 13, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L13" - } - ], - "parameters": [ - { - "id": 166, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 167, - "name": "LogoutUrlParameters", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters for building a URL for the " - }, - { - "kind": "code", - "text": "`/v2/logout`" - }, - { - "kind": "text", - "text": " endpoint." - } - ] - }, - "children": [ - { - "id": 171, - "name": "headers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional custom headers to be included in the request." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 6, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L6" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "RequestOptions.headers" - } - }, - { - "id": 168, - "name": "federated", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 21, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L21" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 169, - "name": "clientId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 22, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L22" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 170, - "name": "returnTo", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 23, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L23" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [171, 168, 169, 170] - } - ], - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 20, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L20" - } - ], - "indexSignatures": [ - { - "id": 172, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 20, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L20" - } - ], - "parameters": [ - { - "id": 173, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 174, - "name": "WebAuthorizeParameters", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters for the web-based authorization flow." - } - ], - "blockTags": [ - { - "tag": "@see", - "content": [ - { - "kind": "text", - "text": "https://auth0.com/docs/api/authentication#authorize-client" - } - ] - } - ] - }, - "children": [ - { - "id": 175, - "name": "state", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Random string to prevent CSRF attacks." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 36, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L36" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 176, - "name": "nonce", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "One-time random value that is used to prevent replay attacks." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 40, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L40" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 177, - "name": "audience", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The intended API identifier that will be the consumer for the issued access token." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 44, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L44" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 178, - "name": "scope", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The scopes requested for the issued tokens. e.g. " - }, - { - "kind": "code", - "text": "`openid profile`" - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 48, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L48" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 179, - "name": "connection", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The database connection in which to look for users." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 52, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L52" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 180, - "name": "maxAge", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The maximum age in seconds that the resulting ID token should be issued for." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 56, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L56" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 181, - "name": "organization", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The organization in which user's should be authenticated into." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 60, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L60" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 182, - "name": "invitationUrl", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The invitation URL for those users who have been invited to join a specific organization." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 64, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L64" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 183, - "name": "redirectUrl", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Specify a custom redirect URL to be used. Normally, you wouldn't need to call this method manually as the default value is autogenerated for you.\n\nIf you are using this, ensure a proper redirect URL is constructed in the following format\n- **Android:** " - }, - { - "kind": "code", - "text": "`{YOUR_APP_PACKAGE_NAME}.auth0://{AUTH0_DOMAIN}/android/{YOUR_APP_PACKAGE_NAME}/callback`" - }, - { - "kind": "text", - "text": "\n- **iOS:** " - }, - { - "kind": "code", - "text": "`{PRODUCT_BUNDLE_IDENTIFIER}.auth0://{AUTH0_DOMAIN}/ios/{PRODUCT_BUNDLE_IDENTIFIER}/callback`" - }, - { - "kind": "text", - "text": "\n\nIf you have " - }, - { - "kind": "code", - "text": "`useLegacyCallbackUrl`" - }, - { - "kind": "text", - "text": " set to true then the redirect URL should in the format\n- **Android:** " - }, - { - "kind": "code", - "text": "`{YOUR_APP_PACKAGE_NAME}://{AUTH0_DOMAIN}/android/{YOUR_APP_PACKAGE_NAME}/callback`" - }, - { - "kind": "text", - "text": "\n- **iOS:** " - }, - { - "kind": "code", - "text": "`{PRODUCT_BUNDLE_IDENTIFIER}://{AUTH0_DOMAIN}/ios/{PRODUCT_BUNDLE_IDENTIFIER}/callback`" - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 76, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L76" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 184, - "name": "additionalParameters", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Any additional arbitrary parameters to send along in the URL." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 80, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L80" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 185, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 80, - "character": 25, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L80" - } - ], - "indexSignatures": [ - { - "id": 186, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 80, - "character": 27, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L80" - } - ], - "parameters": [ - { - "id": 187, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [175, 176, 177, 178, 179, 180, 181, 182, 183, 184] - } - ], - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 32, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L32" - } - ] - }, - { - "id": 188, - "name": "ClearSessionParameters", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters for clearing the user's session." - } - ], - "blockTags": [ - { - "tag": "@see", - "content": [ - { - "kind": "text", - "text": "https://auth0.com/docs/api/authentication#logout" - } - ] - } - ] - }, - "children": [ - { - "id": 189, - "name": "federated", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": ", the user will also be logged out from their identity provider (e.g., Google)." - } - ], - "blockTags": [ - { - "tag": "@default", - "content": [ - { - "kind": "code", - "text": "```ts\nfalse\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 92, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L92" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 190, - "name": "returnToUrl", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The URL to which the user is redirected after logout." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 94, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L94" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [189, 190] - } - ], - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 87, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L87" - } - ] - }, - { - "id": 191, - "name": "ExchangeParameters", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters for exchanging a code for tokens (PKCE Flow)." - } - ] - }, - "children": [ - { - "id": 195, - "name": "headers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional custom headers to be included in the request." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 6, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L6" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "RequestOptions.headers" - } - }, - { - "id": 192, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 101, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L101" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 193, - "name": "verifier", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 102, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L102" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 194, - "name": "redirectUri", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 103, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L103" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [195, 192, 193, 194] - } - ], - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 100, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L100" - } - ], - "indexSignatures": [ - { - "id": 196, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 100, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L100" - } - ], - "parameters": [ - { - "id": 197, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 198, - "name": "ExchangeNativeSocialParameters", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters for exchanging a native social provider's token for Auth0 tokens." - } - ] - }, - "children": [ - { - "id": 204, - "name": "headers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional custom headers to be included in the request." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 6, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L6" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "RequestOptions.headers" - } - }, - { - "id": 199, - "name": "subjectToken", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 108, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L108" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 200, - "name": "subjectTokenType", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 109, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L109" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 201, - "name": "userProfile", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 110, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L110" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 202, - "name": "audience", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 111, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L111" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 203, - "name": "scope", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 112, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L112" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [204, 199, 200, 201, 202, 203] - } - ], - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 107, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L107" - } - ], - "indexSignatures": [ - { - "id": 205, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 107, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L107" - } - ], - "parameters": [ - { - "id": 206, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 207, - "name": "PasswordRealmParameters", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters for authenticating with a username and password." - } - ], - "blockTags": [ - { - "tag": "@see", - "content": [ - { - "kind": "text", - "text": "https://auth0.com/docs/api-auth/grant/password" - } - ] - } - ] - }, - "children": [ - { - "id": 213, - "name": "headers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional custom headers to be included in the request." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 6, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L6" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "RequestOptions.headers" - } - }, - { - "id": 208, - "name": "username", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 120, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L120" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 209, - "name": "password", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 121, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L121" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 210, - "name": "realm", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 122, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L122" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 211, - "name": "audience", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 123, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L123" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 212, - "name": "scope", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 124, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L124" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [213, 208, 209, 210, 211, 212] - } - ], - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 119, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L119" - } - ], - "indexSignatures": [ - { - "id": 214, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 119, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L119" - } - ], - "parameters": [ - { - "id": 215, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 216, - "name": "RefreshTokenParameters", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters for refreshing an access token." - } - ], - "blockTags": [ - { - "tag": "@see", - "content": [ - { - "kind": "text", - "text": "https://auth0.com/docs/tokens/refresh-tokens" - } - ] - } - ] - }, - "children": [ - { - "id": 219, - "name": "headers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional custom headers to be included in the request." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 6, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L6" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "RequestOptions.headers" - } - }, - { - "id": 217, - "name": "refreshToken", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The issued refresh token" - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 135, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L135" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 218, - "name": "scope", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The scopes requested for the issued tokens. e.g. " - }, - { - "kind": "code", - "text": "`openid profile`" - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 139, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L139" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [219, 217, 218] - } - ], - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 131, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L131" - } - ], - "indexSignatures": [ - { - "id": 220, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 131, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L131" - } - ], - "parameters": [ - { - "id": 221, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 222, - "name": "RevokeOptions", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters for revoking a refresh token." - } - ] - }, - "children": [ - { - "id": 224, - "name": "headers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional custom headers to be included in the request." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 6, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L6" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "RequestOptions.headers" - } - }, - { - "id": 223, - "name": "refreshToken", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 144, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L144" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [224, 223] - } - ], - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 143, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L143" - } - ], - "indexSignatures": [ - { - "id": 225, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 143, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L143" - } - ], - "parameters": [ - { - "id": 226, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 227, - "name": "PasswordlessEmailParameters", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters for initiating passwordless login with an email." - } - ] - }, - "children": [ - { - "id": 231, - "name": "headers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional custom headers to be included in the request." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 6, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L6" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "RequestOptions.headers" - } - }, - { - "id": 228, - "name": "email", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 151, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L151" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 229, - "name": "send", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 152, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L152" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "code" - }, - { - "type": "literal", - "value": "link" - } - ] - } - }, - { - "id": 230, - "name": "authParams", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 153, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L153" - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [231, 228, 229, 230] - } - ], - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 150, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L150" - } - ], - "indexSignatures": [ - { - "id": 232, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 150, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L150" - } - ], - "parameters": [ - { - "id": 233, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 234, - "name": "PasswordlessSmsParameters", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters for initiating passwordless login with SMS." - } - ] - }, - "children": [ - { - "id": 238, - "name": "headers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional custom headers to be included in the request." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 6, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L6" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "RequestOptions.headers" - } - }, - { - "id": 235, - "name": "phoneNumber", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 158, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L158" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 236, - "name": "send", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 159, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L159" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "code" - }, - { - "type": "literal", - "value": "link" - } - ] - } - }, - { - "id": 237, - "name": "authParams", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 160, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L160" - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [238, 235, 236, 237] - } - ], - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 157, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L157" - } - ], - "indexSignatures": [ - { - "id": 239, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 157, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L157" - } - ], - "parameters": [ - { - "id": 240, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 241, - "name": "LoginEmailParameters", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters for completing passwordless login with an email code/OTP." - } - ] - }, - "children": [ - { - "id": 246, - "name": "headers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional custom headers to be included in the request." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 6, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L6" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "RequestOptions.headers" - } - }, - { - "id": 242, - "name": "email", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 165, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L165" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 243, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 166, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L166" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 244, - "name": "audience", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 167, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L167" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 245, - "name": "scope", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 168, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L168" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [246, 242, 243, 244, 245] - } - ], - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 164, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L164" - } - ], - "indexSignatures": [ - { - "id": 247, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 164, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L164" - } - ], - "parameters": [ - { - "id": 248, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 249, - "name": "LoginSmsParameters", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters for completing passwordless login with an SMS code/OTP." - } - ] - }, - "children": [ - { - "id": 254, - "name": "headers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional custom headers to be included in the request." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 6, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L6" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "RequestOptions.headers" - } - }, - { - "id": 250, - "name": "phoneNumber", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 173, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L173" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 251, - "name": "code", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 174, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L174" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 252, - "name": "audience", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 175, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L175" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 253, - "name": "scope", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 176, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L176" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [254, 250, 251, 252, 253] - } - ], - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 172, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L172" - } - ], - "indexSignatures": [ - { - "id": 255, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 172, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L172" - } - ], - "parameters": [ - { - "id": 256, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 257, - "name": "LoginOtpParameters", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters for logging in with an OTP code after an MFA challenge." - } - ] - }, - "children": [ - { - "id": 261, - "name": "headers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional custom headers to be included in the request." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 6, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L6" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "RequestOptions.headers" - } - }, - { - "id": 258, - "name": "mfaToken", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 183, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L183" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 259, - "name": "otp", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 184, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L184" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 260, - "name": "audience", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 185, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L185" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [261, 258, 259, 260] - } - ], - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 182, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L182" - } - ], - "indexSignatures": [ - { - "id": 262, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 182, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L182" - } - ], - "parameters": [ - { - "id": 263, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 264, - "name": "LoginOobParameters", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters for logging in with an Out-of-Band (OOB) code after an MFA challenge." - } - ] - }, - "children": [ - { - "id": 268, - "name": "headers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional custom headers to be included in the request." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 6, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L6" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "RequestOptions.headers" - } - }, - { - "id": 265, - "name": "mfaToken", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 190, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L190" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 266, - "name": "oobCode", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 191, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L191" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 267, - "name": "bindingCode", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 192, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L192" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [268, 265, 266, 267] - } - ], - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 189, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L189" - } - ], - "indexSignatures": [ - { - "id": 269, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 189, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L189" - } - ], - "parameters": [ - { - "id": 270, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 271, - "name": "LoginRecoveryCodeParameters", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters for logging in with a recovery code after an MFA challenge." - } - ] - }, - "children": [ - { - "id": 274, - "name": "headers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional custom headers to be included in the request." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 6, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L6" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "RequestOptions.headers" - } - }, - { - "id": 272, - "name": "mfaToken", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 197, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L197" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 273, - "name": "recoveryCode", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 198, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L198" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [274, 272, 273] - } - ], - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 196, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L196" - } - ], - "indexSignatures": [ - { - "id": 275, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 196, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L196" - } - ], - "parameters": [ - { - "id": 276, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 277, - "name": "MfaChallengeParameters", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters for requesting an MFA challenge." - } - ] - }, - "children": [ - { - "id": 281, - "name": "headers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional custom headers to be included in the request." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 6, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L6" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "RequestOptions.headers" - } - }, - { - "id": 278, - "name": "mfaToken", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 203, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L203" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 279, - "name": "challengeType", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 204, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L204" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "otp" - }, - { - "type": "literal", - "value": "oob" - } - ] - } - }, - { - "id": 280, - "name": "authenticatorId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 205, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L205" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [281, 278, 279, 280] - } - ], - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 202, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L202" - } - ], - "indexSignatures": [ - { - "id": 282, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 202, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L202" - } - ], - "parameters": [ - { - "id": 283, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 284, - "name": "UserInfoParameters", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters for accessing the " - }, - { - "kind": "code", - "text": "`/userinfo`" - }, - { - "kind": "text", - "text": " endpoint." - } - ] - }, - "children": [ - { - "id": 286, - "name": "headers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional custom headers to be included in the request." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 6, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L6" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "RequestOptions.headers" - } - }, - { - "id": 285, - "name": "token", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 212, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L212" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [286, 285] - } - ], - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 211, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L211" - } - ], - "indexSignatures": [ - { - "id": 287, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 211, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L211" - } - ], - "parameters": [ - { - "id": 288, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 289, - "name": "ResetPasswordParameters", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters for requesting a password reset email." - } - ] - }, - "children": [ - { - "id": 293, - "name": "headers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional custom headers to be included in the request." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 6, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L6" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "RequestOptions.headers" - } - }, - { - "id": 290, - "name": "email", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 217, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L217" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 291, - "name": "connection", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 218, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L218" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 292, - "name": "organization", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 219, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L219" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [293, 290, 291, 292] - } - ], - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 216, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L216" - } - ], - "indexSignatures": [ - { - "id": 294, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 216, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L216" - } - ], - "parameters": [ - { - "id": 295, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 296, - "name": "CreateUserParameters", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters for creating a new user in a database connection." - } - ] - }, - "children": [ - { - "id": 307, - "name": "headers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Optional custom headers to be included in the request." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 6, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L6" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "RequestOptions.headers" - } - }, - { - "id": 297, - "name": "email", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 224, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L224" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 298, - "name": "password", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 225, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L225" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 299, - "name": "connection", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 226, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L226" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 300, - "name": "username", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 227, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L227" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 301, - "name": "given_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 228, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L228" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 302, - "name": "family_name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 229, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L229" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 303, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 230, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L230" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 304, - "name": "nickname", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 231, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L231" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 305, - "name": "picture", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 232, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L232" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 306, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 233, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L233" - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 307, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306 - ] - } - ], - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 223, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L223" - } - ], - "indexSignatures": [ - { - "id": 308, - "name": "__index", - "variant": "signature", - "kind": 8192, - "flags": {}, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 223, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L223" - } - ], - "parameters": [ - { - "id": 309, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - ] - }, - { - "id": 310, - "name": "PatchUserParameters", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters for patching a user's metadata via the Management API.\nRequires an access token with " - }, - { - "kind": "code", - "text": "`update:current_user_metadata`" - }, - { - "kind": "text", - "text": " scope." - } - ] - }, - "children": [ - { - "id": 311, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the user to update (e.g., " - }, - { - "kind": "code", - "text": "`auth0|12345`" - }, - { - "kind": "text", - "text": ")." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 242, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L242" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 312, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An object containing the metadata to set or update." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 244, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L244" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Record", - "package": "typescript" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [311, 312] - } - ], - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 240, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L240" - } - ] - }, - { - "id": 313, - "name": "GetUserParameters", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Parameters for retrieving a user's full profile from the Management API.\nRequires an access token with " - }, - { - "kind": "code", - "text": "`read:current_user`" - }, - { - "kind": "text", - "text": " scope." - } - ] - }, - "children": [ - { - "id": 314, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The ID of the user to retrieve." - } - ] - }, - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 253, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L253" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [314] - } - ], - "sources": [ - { - "fileName": "types/parameters.ts", - "line": 251, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/parameters.ts#L251" - } - ] - }, - { - "id": 315, - "name": "SafariViewControllerPresentationStyle", - "variant": "declaration", - "kind": 8, - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@remarks", - "content": [ - { - "kind": "text", - "text": "**Platform specific:** iOS only.\nPresentation styles for the web-based login screen on iOS." - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "text", - "text": "https://developer.apple.com/documentation/uikit/uimodalpresentationstyle" - } - ] - } - ] - }, - "children": [ - { - "id": 316, - "name": "automatic", - "variant": "declaration", - "kind": 16, - "flags": {}, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 12, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L12" - } - ], - "type": { - "type": "literal", - "value": -2 - } - }, - { - "id": 317, - "name": "none", - "variant": "declaration", - "kind": 16, - "flags": {}, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 13, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L13" - } - ], - "type": { - "type": "literal", - "value": -1 - } - }, - { - "id": 318, - "name": "fullScreen", - "variant": "declaration", - "kind": 16, - "flags": {}, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 14, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L14" - } - ], - "type": { - "type": "literal", - "value": 0 - } - }, - { - "id": 319, - "name": "pageSheet", - "variant": "declaration", - "kind": 16, - "flags": {}, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 15, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L15" - } - ], - "type": { - "type": "literal", - "value": 1 - } - }, - { - "id": 320, - "name": "formSheet", - "variant": "declaration", - "kind": 16, - "flags": {}, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 16, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L16" - } - ], - "type": { - "type": "literal", - "value": 2 - } - }, - { - "id": 321, - "name": "currentContext", - "variant": "declaration", - "kind": 16, - "flags": {}, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 17, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L17" - } - ], - "type": { - "type": "literal", - "value": 3 - } - }, - { - "id": 322, - "name": "custom", - "variant": "declaration", - "kind": 16, - "flags": {}, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 18, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L18" - } - ], - "type": { - "type": "literal", - "value": 4 - } - }, - { - "id": 323, - "name": "overFullScreen", - "variant": "declaration", - "kind": 16, - "flags": {}, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 19, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L19" - } - ], - "type": { - "type": "literal", - "value": 5 - } - }, - { - "id": 324, - "name": "overCurrentContext", - "variant": "declaration", - "kind": 16, - "flags": {}, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 20, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L20" - } - ], - "type": { - "type": "literal", - "value": 6 - } - }, - { - "id": 325, - "name": "popover", - "variant": "declaration", - "kind": 16, - "flags": {}, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 21, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L21" - } - ], - "type": { - "type": "literal", - "value": 7 - } - } - ], - "groups": [ - { - "title": "Enumeration Members", - "children": [316, 317, 318, 319, 320, 321, 322, 323, 324, 325] - } - ], - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 11, - "character": 12, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L11" - } - ] - }, - { - "id": 326, - "name": "LocalAuthenticationLevel", - "variant": "declaration", - "kind": 8, - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@remarks", - "content": [ - { - "kind": "text", - "text": "**Platform specific:** Android only.\nThe level of local authentication required to access credentials on Android." - } - ] - } - ] - }, - "children": [ - { - "id": 327, - "name": "strong", - "variant": "declaration", - "kind": 16, - "flags": {}, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 30, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L30" - } - ], - "type": { - "type": "literal", - "value": 0 - } - }, - { - "id": 328, - "name": "weak", - "variant": "declaration", - "kind": 16, - "flags": {}, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 31, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L31" - } - ], - "type": { - "type": "literal", - "value": 1 - } - }, - { - "id": 329, - "name": "deviceCredential", - "variant": "declaration", - "kind": 16, - "flags": {}, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 32, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L32" - } - ], - "type": { - "type": "literal", - "value": 2 - } - } - ], - "groups": [ - { - "title": "Enumeration Members", - "children": [327, 328, 329] - } - ], - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 29, - "character": 12, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L29" - } - ] - }, - { - "id": 330, - "name": "LocalAuthenticationStrategy", - "variant": "declaration", - "kind": 8, - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@remarks", - "content": [ - { - "kind": "text", - "text": "**Platform specific:** iOS only.\nThe evaluation policy to use when accessing credentials on iOS." - } - ] - } - ] - }, - "children": [ - { - "id": 331, - "name": "deviceOwnerWithBiometrics", - "variant": "declaration", - "kind": 16, - "flags": {}, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 41, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L41" - } - ], - "type": { - "type": "literal", - "value": 1 - } - }, - { - "id": 332, - "name": "deviceOwner", - "variant": "declaration", - "kind": 16, - "flags": {}, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 42, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L42" - } - ], - "type": { - "type": "literal", - "value": 2 - } - } - ], - "groups": [ - { - "title": "Enumeration Members", - "children": [331, 332] - } - ], - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 40, - "character": 12, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L40" - } - ] - }, - { - "id": 333, - "name": "LocalAuthenticationOptions", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@remarks", - "content": [ - { - "kind": "text", - "text": "**Platform specific:** Native only (iOS/Android).\nOptions for configuring local authentication (e.g., biometrics or device PIN)." - } - ] - } - ] - }, - "children": [ - { - "id": 334, - "name": "title", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 53, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L53" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 335, - "name": "subtitle", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 54, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L54" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 336, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 55, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L55" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 337, - "name": "cancelTitle", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 56, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L56" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 338, - "name": "evaluationPolicy", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 57, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L57" - } - ], - "type": { - "type": "reference", - "target": 330, - "name": "LocalAuthenticationStrategy", - "package": "react-native-auth0" - } - }, - { - "id": 339, - "name": "authenticationLevel", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 58, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L58" - } - ], - "type": { - "type": "reference", - "target": 326, - "name": "LocalAuthenticationLevel", - "package": "react-native-auth0" - } - }, - { - "id": 340, - "name": "fallbackTitle", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 59, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L59" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 341, - "name": "deviceCredentialFallback", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 60, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L60" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [334, 335, 336, 337, 338, 339, 340, 341] - } - ], - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 52, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L52" - } - ] - }, - { - "id": 342, - "name": "NativeAuth0Options", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Extends the core Auth0Options with native-specific configuration." - } - ], - "blockTags": [ - { - "tag": "@remarks", - "content": [ - { - "kind": "text", - "text": "**Platform specific:** Native only (iOS/Android)." - } - ] - } - ] - }, - "children": [ - { - "id": 344, - "name": "domain", - "variant": "declaration", - "kind": 1024, - "flags": { - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Your Auth0 application's domain. e.g., 'your-tenant.us.auth0.com'" - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 95, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L95" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 144, - "name": "Auth0Options.domain" - } - }, - { - "id": 345, - "name": "LocalAuthenticationOptions", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 96, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L96" - } - ], - "type": { - "type": "reference", - "target": 333, - "name": "LocalAuthenticationOptions", - "package": "react-native-auth0" - }, - "inheritedFrom": { - "type": "reference", - "target": 145, - "name": "Auth0Options.LocalAuthenticationOptions" - } - }, - { - "id": 346, - "name": "clientId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Your Auth0 application's client ID." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 98, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L98" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 146, - "name": "Auth0Options.clientId" - } - }, - { - "id": 347, - "name": "timeout", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 99, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L99" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "target": 147, - "name": "Auth0Options.timeout" - } - }, - { - "id": 348, - "name": "headers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 100, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L100" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": 148, - "name": "Auth0Options.headers" - } - }, - { - "id": 343, - "name": "localAuthenticationOptions", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 69, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L69" - } - ], - "type": { - "type": "reference", - "target": 333, - "name": "LocalAuthenticationOptions", - "package": "react-native-auth0" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [344, 345, 346, 347, 348, 343] - } - ], - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 68, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L68" - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 143, - "name": "Auth0Options", - "package": "react-native-auth0" - } - ] - }, - { - "id": 349, - "name": "NativeAuthorizeOptions", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Options specific to the " - }, - { - "kind": "code", - "text": "`authorize`" - }, - { - "kind": "text", - "text": " method on Native platforms." - } - ], - "blockTags": [ - { - "tag": "@remarks", - "content": [ - { - "kind": "text", - "text": "**Platform specific:** Native only (iOS/Android)." - } - ] - } - ] - }, - "children": [ - { - "id": 350, - "name": "leeway", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The amount of leeway, in seconds, to accommodate potential clock skew when validating an ID token's claims." - } - ], - "blockTags": [ - { - "tag": "@default", - "content": [ - { - "kind": "code", - "text": "```ts\n60 seconds.\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 82, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L82" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 351, - "name": "ephemeralSession", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "**iOS only**: Disable Single-Sign-On (SSO). It only affects iOS with versions 13 and above." - } - ], - "blockTags": [ - { - "tag": "@default", - "content": [ - { - "kind": "code", - "text": "`false`" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 87, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L87" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 352, - "name": "customScheme", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Custom scheme to build the callback URL with." - } - ] - }, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 91, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L91" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 353, - "name": "useLegacyCallbackUrl", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This will use older callback URL. See " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "https://github.com/auth0/react-native-auth0/blob/master/MIGRATION_GUIDE.md#callback-url-migration", - "target": "https://github.com/auth0/react-native-auth0/blob/master/MIGRATION_GUIDE.md#callback-url-migration" - }, - { - "kind": "text", - "text": " for more details." - } - ] - }, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 95, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L95" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 354, - "name": "useSFSafariViewController", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "**iOS only:** Uses " - }, - { - "kind": "code", - "text": "`SFSafariViewController`" - }, - { - "kind": "text", - "text": " instead of " - }, - { - "kind": "code", - "text": "`ASWebAuthenticationSession`" - }, - { - "kind": "text", - "text": ". If empty object is set, the presentationStyle defaults to " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "SafariViewControllerPresentationStyle.fullScreen", - "target": 318 - }, - { - "kind": "text", - "text": "\n\nThis can be used as a boolean value or as an object which sets the " - }, - { - "kind": "code", - "text": "`presentationStyle`" - }, - { - "kind": "text", - "text": ". See the examples below for reference" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```typescript\nawait authorize({}, {useSFSafariViewController: true});\n```" - }, - { - "kind": "text", - "text": "\n\nor" - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```typescript\nawait authorize({}, {useSFSafariViewController: {presentationStyle: SafariViewControllerPresentationStyle.fullScreen}});\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 113, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L113" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "boolean" - }, - { - "type": "reflection", - "declaration": { - "id": 355, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 356, - "name": "presentationStyle", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 115, - "character": 8, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L115" - } - ], - "type": { - "type": "reference", - "target": 315, - "name": "SafariViewControllerPresentationStyle", - "package": "react-native-auth0" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [356] - } - ], - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 114, - "character": 6, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L114" - } - ] - } - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [350, 351, 352, 353, 354] - } - ], - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 77, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L77" - } - ] - }, - { - "id": 357, - "name": "NativeClearSessionOptions", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Options specific to the " - }, - { - "kind": "code", - "text": "`clearSession`" - }, - { - "kind": "text", - "text": " method on Native platforms." - } - ], - "blockTags": [ - { - "tag": "@remarks", - "content": [ - { - "kind": "text", - "text": "**Platform specific:** Native only (iOS/Android)." - } - ] - } - ] - }, - "children": [ - { - "id": 358, - "name": "customScheme", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom scheme to be used in the callback URL for logout." - } - ] - }, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 129, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L129" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 359, - "name": "useLegacyCallbackUrl", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If " - }, - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": ", the SDK will generate a legacy-style callback URL.\nSee migration guide for details." - } - ] - }, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 135, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L135" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [358, 359] - } - ], - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 125, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L125" - } - ] - }, - { - "id": 360, - "name": "WebAuth0Options", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Extends the core Auth0Options with web-specific configuration\nthat is passed down to " - }, - { - "kind": "code", - "text": "`@auth0/auth0-spa-js`" - }, - { - "kind": "text", - "text": "." - } - ], - "blockTags": [ - { - "tag": "@remarks", - "content": [ - { - "kind": "text", - "text": "**Platform specific:** Web only." - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "text", - "text": "https://auth0.github.io/auth0-spa-js/interfaces/Auth0ClientOptions.html" - } - ] - } - ] - }, - "children": [ - { - "id": 365, - "name": "domain", - "variant": "declaration", - "kind": 1024, - "flags": { - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Your Auth0 application's domain. e.g., 'your-tenant.us.auth0.com'" - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 95, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L95" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 144, - "name": "Auth0Options.domain" - } - }, - { - "id": 366, - "name": "LocalAuthenticationOptions", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 96, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L96" - } - ], - "type": { - "type": "reference", - "target": 333, - "name": "LocalAuthenticationOptions", - "package": "react-native-auth0" - }, - "inheritedFrom": { - "type": "reference", - "target": 145, - "name": "Auth0Options.LocalAuthenticationOptions" - } - }, - { - "id": 367, - "name": "clientId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isInherited": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Your Auth0 application's client ID." - } - ] - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 98, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L98" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": 146, - "name": "Auth0Options.clientId" - } - }, - { - "id": 368, - "name": "timeout", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 99, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L99" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "target": 147, - "name": "Auth0Options.timeout" - } - }, - { - "id": 369, - "name": "headers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true, - "isInherited": true - }, - "sources": [ - { - "fileName": "types/common.ts", - "line": 100, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/common.ts#L100" - } - ], - "type": { - "type": "reference", - "target": { - "packageName": "typescript", - "packagePath": "lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": 148, - "name": "Auth0Options.headers" - } - }, - { - "id": 361, - "name": "cacheLocation", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "How and where to cache session data. Defaults to " - }, - { - "kind": "code", - "text": "`memory`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 149, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L149" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "memory" - }, - { - "type": "literal", - "value": "localstorage" - } - ] - } - }, - { - "id": 362, - "name": "useRefreshTokens", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Enables the use of refresh tokens for silent authentication." - } - ] - }, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 151, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L151" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 363, - "name": "audience", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom audience for the " - }, - { - "kind": "code", - "text": "`getTokenSilently`" - }, - { - "kind": "text", - "text": " call." - } - ] - }, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 153, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L153" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 364, - "name": "scope", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A custom scope for the " - }, - { - "kind": "code", - "text": "`getTokenSilently`" - }, - { - "kind": "text", - "text": " call." - } - ] - }, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 155, - "character": 2, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L155" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [365, 366, 367, 368, 369, 361, 362, 363, 364] - } - ], - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 147, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L147" - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": 143, - "name": "Auth0Options", - "package": "react-native-auth0" - } - ] - }, - { - "id": 370, - "name": "WebAuthorizeOptions", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Options specific to the " - }, - { - "kind": "code", - "text": "`authorize`" - }, - { - "kind": "text", - "text": " method on the Web platform.\n(Currently a placeholder, can be extended later)." - } - ], - "blockTags": [ - { - "tag": "@remarks", - "content": [ - { - "kind": "text", - "text": "**Platform specific:** Web only." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 164, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L164" - } - ] - }, - { - "id": 371, - "name": "WebClearSessionOptions", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Options specific to the " - }, - { - "kind": "code", - "text": "`clearSession`" - }, - { - "kind": "text", - "text": " method on the Web platform.\n(Currently a placeholder, can be extended later)." - } - ], - "blockTags": [ - { - "tag": "@remarks", - "content": [ - { - "kind": "text", - "text": "**Platform specific:** Web only." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "types/platform-specific.ts", - "line": 172, - "character": 17, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/types/platform-specific.ts#L172" - } - ] - } - ], - "groups": [ - { - "title": "Enumerations", - "children": [315, 326, 330] - }, - { - "title": "Interfaces", - "children": [ - 8, 15, 64, 92, 79, 420, 489, 143, 160, 167, 174, 188, 191, 198, 207, - 216, 222, 227, 234, 241, 249, 257, 264, 271, 277, 284, 289, 296, - 310, 313, 333, 342, 349, 357, 360, 370, 371 - ] - }, - { - "title": "Type Aliases", - "children": [4, 99, 109, 119, 149, 152, 156, 159] - } - ], - "sources": [ - { - "fileName": "exports/interface.ts", - "line": 1, - "character": 0, - "url": "https://github.com/auth0/react-native-auth0/blob/f6616b53cc1d89c65dece17823ce023486d5a7b5/src/exports/interface.ts#L1" - } - ] - } - ], - "groups": [ - { - "title": "Namespaces", - "children": [1, 372, 2, 3] - } - ], - "packageName": "react-native-auth0", - "packageVersion": "5.0.0-beta.5", - "readme": [ - { - "kind": "text", - "text": "![react-native-auth0](https://cdn.auth0.com/website/sdks/banners/react-native-auth0-banner.png)\n\n[![Build Status][circleci-image]][circleci-url]\n[![NPM version][npm-image]][npm-url]\n[![Coverage][codecov-image]][codecov-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fauth0%2Freact-native-auth0.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fauth0%2Freact-native-auth0?ref=badge_shield)\n\n📚 [Documentation](#documentation) • 🚀 [Getting Started](#getting-started) • ⏭️ [Next Steps](#next-steps) • ❓ [FAQs](https://github.com/auth0/react-native-auth0/blob/master/FAQ.md) • ❓ [Feedback](#feedback)\n\n### ⚠️ Important Migration Notice: v4.0.0 and v5.0.0beta\n\nWe're excited to announce the release of react-native-auth0 " - }, - { - "kind": "code", - "text": "`v4.0.0`" - }, - { - "kind": "text", - "text": " and the beta release of " - }, - { - "kind": "code", - "text": "`v5.0.0`" - }, - { - "kind": "text", - "text": "!\n\n**For v4.0.0 users:** Please note that this update includes breaking changes that require your attention. To ensure a smooth transition, please review our 👉 [Migration Guide](https://github.com/auth0/react-native-auth0/blob/master/MIGRATION_GUIDE.md) 👈 for detailed instructions on updating your integration.\n\n**For v5.0.0beta users:** This beta version requires React 19 and React Native 0.78.0 or higher. If you're using Expo, this version requires Expo 53 or higher. See the 👉 [Migration Guide](https://github.com/auth0/react-native-auth0/blob/beta/MIGRATION_GUIDE.md) 👈 for compatibility requirements and upgrade instructions.\n\n## Documentation\n\n- [Quickstart](https://auth0.com/docs/quickstart/native/react-native/interactive)\n- [Expo Quickstart](https://auth0.com/docs/quickstart/native/react-native-expo/interactive)\n- [Sample App](https://github.com/auth0-samples/auth0-react-native-sample/tree/master/00-Login-Hooks)\n- [Expo Sample App](https://github.com/auth0-samples/auth0-react-native-sample/tree/master/00-Login-Expo)\n- [React Native Web Setup](https://github.com/auth0/react-native-auth0/blob/master/REACT_NATIVE_WEB_SETUP.md)\n- [FAQs](https://github.com/auth0/react-native-auth0/blob/master/FAQ.md)\n- [Examples](https://github.com/auth0/react-native-auth0/blob/master/EXAMPLES.md)\n- [Examples for Web](https://github.com/auth0/react-native-auth0/blob/master/EXAMPLES-WEB.md)\n- [Docs Site](https://auth0.github.io/react-native-auth0/)\n\n## Getting Started\n\n### Requirements\n\nThis SDK targets apps that are using React Native SDK version " - }, - { - "kind": "code", - "text": "`0.78.0`" - }, - { - "kind": "text", - "text": " and up. If you're using an older React Native version, see the compatibility matrix below.\n\nThis SDK fully supports React Native New Architecture and Expo 53+.\n\n> ⚠️ **Warning**: If you are using Expo version less than 53, you need to use react-native-auth0 version 4.x or earlier. Version 5.x supports Expo 53 and above.\n\n### Platform compatibility\n\nThe following shows platform minimums for running projects with this SDK:\n\n| Platform | Minimum version |\n| -------- | :-------------: |\n| iOS | 14.0 |\n| Android | 35 |\n\nOur SDK requires a minimum iOS deployment target of 14.0. In your project's ios/Podfile, ensure your platform target is set to 14.0.\n\n" - }, - { - "kind": "code", - "text": "```\nplatform :ios, '14.0'\n```" - }, - { - "kind": "text", - "text": "\n\n### Installation\n\nFirst install the native library module:\n\n### With [npm](https://www.npmjs.com)\n\n" - }, - { - "kind": "code", - "text": "`$ npm install react-native-auth0 --save`" - }, - { - "kind": "text", - "text": "\n\n### With [Yarn](https://yarnpkg.com/en/)\n\n" - }, - { - "kind": "code", - "text": "`$ yarn add react-native-auth0`" - }, - { - "kind": "text", - "text": "\n\nThen, you need to run the following command to install the ios app pods with Cocoapods. That will auto-link the iOS library:\n\n" - }, - { - "kind": "code", - "text": "`$ cd ios && pod install`" - }, - { - "kind": "text", - "text": "\n\n### Configure the SDK\n\nYou need to make your Android, iOS or Expo applications aware that an authentication result will be received from the browser. This SDK makes use of the Android's Package Name and its analogous iOS's Product Bundle Identifier to generate the redirect URL. Each platform has its own set of instructions.\n\n#### Android\n\n> Before version 2.9.0, this SDK required you to add an intent filter to the Activity on which you're going to receive the authentication result, and to use the " - }, - { - "kind": "code", - "text": "`singleTask`" - }, - { - "kind": "text", - "text": " **launchMode** in that activity. To migrate your app to version 2.9.0+, **remove both** and continue with the instructions below.\n> You can also check out a sample migration diff [here](https://github.com/auth0-samples/auth0-react-native-sample/commit/69f79c83ceed40f44b239bbd16e79ecaa70ef70a).\n\nOpen your app's " - }, - { - "kind": "code", - "text": "`build.gradle`" - }, - { - "kind": "text", - "text": " file (typically at " - }, - { - "kind": "code", - "text": "`android/app/build.gradle`" - }, - { - "kind": "text", - "text": ") and add the following manifest placeholders:\n\n" - }, - { - "kind": "code", - "text": "```groovy\nandroid {\n defaultConfig {\n // Add the next line\n manifestPlaceholders = [auth0Domain: \"YOUR_AUTH0_DOMAIN\", auth0Scheme: \"${applicationId}.auth0\"]\n }\n ...\n}\n```" - }, - { - "kind": "text", - "text": "\n\nThe " - }, - { - "kind": "code", - "text": "`auth0Domain`" - }, - { - "kind": "text", - "text": " value must be replaced with your Auth0 domain value. So if you have " - }, - { - "kind": "code", - "text": "`samples.us.auth0.com`" - }, - { - "kind": "text", - "text": " as your Auth0 domain you would have a configuration like the following:\n\n" - }, - { - "kind": "code", - "text": "```groovy\nandroid {\n defaultConfig {\n manifestPlaceholders = [auth0Domain: \"samples.us.auth0.com\", auth0Scheme: \"${applicationId}.auth0\"]\n }\n ...\n}\n```" - }, - { - "kind": "text", - "text": "\n\nThe " - }, - { - "kind": "code", - "text": "`applicationId`" - }, - { - "kind": "text", - "text": " value will be auto-replaced at runtime with the package name or ID of your application (e.g. " - }, - { - "kind": "code", - "text": "`com.example.app`" - }, - { - "kind": "text", - "text": "). You can change this value from the " - }, - { - "kind": "code", - "text": "`build.gradle`" - }, - { - "kind": "text", - "text": " file. You can also check it at the top of your " - }, - { - "kind": "code", - "text": "`AndroidManifest.xml`" - }, - { - "kind": "text", - "text": " file.\n\n> Note that if your Android application is using [product flavors](https://developer.android.com/studio/build/build-variants#product-flavors), you might need to specify different manifest placeholders for each flavor.\n\nIf you use a value other than " - }, - { - "kind": "code", - "text": "`applicationId`" - }, - { - "kind": "text", - "text": " in " - }, - { - "kind": "code", - "text": "`auth0Scheme`" - }, - { - "kind": "text", - "text": " you will also need to pass it as the " - }, - { - "kind": "code", - "text": "`customScheme`" - }, - { - "kind": "text", - "text": " option parameter of the " - }, - { - "kind": "code", - "text": "`authorize`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`clearSession`" - }, - { - "kind": "text", - "text": " methods.\n\nTake note of this value as you'll be requiring it to define the callback URLs below.\n\n> For more info please read the [React Native docs](https://facebook.github.io/react-native/docs/linking.html).\n\n##### Skipping the Web Authentication setup\n\nIf you don't plan to use Web Authentication, you will notice that the compiler will still prompt you to provide the " - }, - { - "kind": "code", - "text": "`manifestPlaceholders`" - }, - { - "kind": "text", - "text": " values, since the " - }, - { - "kind": "code", - "text": "`RedirectActivity`" - }, - { - "kind": "text", - "text": " included in this library will require them, and the Gradle tasks won't be able to run without them.\n\nRe-declare the activity manually with " - }, - { - "kind": "code", - "text": "`tools:node=\"remove\"`" - }, - { - "kind": "text", - "text": " in your app's Android Manifest in order to make the manifest merger remove it from the final manifest file. Additionally, one more unused activity can be removed from the final APK by using the same process. A complete snippet to achieve this is:\n\n" - }, - { - "kind": "code", - "text": "```xml\n\n\n\n```" - }, - { - "kind": "text", - "text": "\n\n#### iOS\n\nInside the " - }, - { - "kind": "code", - "text": "`ios`" - }, - { - "kind": "text", - "text": " folder find the file " - }, - { - "kind": "code", - "text": "`AppDelegate.[swift|m]`" - }, - { - "kind": "text", - "text": " add the following to it:\n\nFor Objective-C:\n\n" - }, - { - "kind": "code", - "text": "```objc\n#import \n\n- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url\n options:(NSDictionary *)options\n{\n return [RCTLinkingManager application:app openURL:url options:options];\n}\n```" - }, - { - "kind": "text", - "text": "\n\nFor Swift:\n\n" - }, - { - "kind": "code", - "text": "```swift\nfunc application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {\n return RCTLinkingManager.application(app, open: url, options: options)\n}\n```" - }, - { - "kind": "text", - "text": "\n\nInside the " - }, - { - "kind": "code", - "text": "`ios`" - }, - { - "kind": "text", - "text": " folder open the " - }, - { - "kind": "code", - "text": "`Info.plist`" - }, - { - "kind": "text", - "text": " and locate the value for " - }, - { - "kind": "code", - "text": "`CFBundleIdentifier`" - }, - { - "kind": "text", - "text": ", e.g.\n\n" - }, - { - "kind": "code", - "text": "```xml\nCFBundleIdentifier\n$(PRODUCT_BUNDLE_IDENTIFIER)\n```" - }, - { - "kind": "text", - "text": "\n\nand then below it register a URL type entry using the value of " - }, - { - "kind": "code", - "text": "`CFBundleIdentifier`" - }, - { - "kind": "text", - "text": " as the value for " - }, - { - "kind": "code", - "text": "`CFBundleURLSchemes`" - }, - { - "kind": "text", - "text": ":\n\n" - }, - { - "kind": "code", - "text": "```xml\nCFBundleURLTypes\n\n \n CFBundleTypeRole\n None\n CFBundleURLName\n auth0\n CFBundleURLSchemes\n \n $(PRODUCT_BUNDLE_IDENTIFIER).auth0\n \n \n\n```" - }, - { - "kind": "text", - "text": "\n\nIf your application is generated using the React Native CLI, the default value of " - }, - { - "kind": "code", - "text": "`$(PRODUCT_BUNDLE_IDENTIFIER)`" - }, - { - "kind": "text", - "text": " matches " - }, - { - "kind": "code", - "text": "`org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)`" - }, - { - "kind": "text", - "text": ". Take note of this value as you'll be requiring it to define the callback URLs below. If desired, you can change its value using XCode in the following way:\n\n- Open the " - }, - { - "kind": "code", - "text": "`ios/TestApp.xcodeproj`" - }, - { - "kind": "text", - "text": " file replacing 'TestApp' with the name of your app or run " - }, - { - "kind": "code", - "text": "`xed ios`" - }, - { - "kind": "text", - "text": " from a Terminal.\n- Open your project's or desired target's **Build Settings** tab and on the search bar at the right type \"Product Bundle Identifier\".\n- Replace the **Product Bundle Identifier** value with your desired application's bundle identifier name (e.g. " - }, - { - "kind": "code", - "text": "`com.example.app`" - }, - { - "kind": "text", - "text": ").\n- If you've changed the project wide settings, make sure the same were applied to each of the targets your app has.\n\nIf you use a value other than " - }, - { - "kind": "code", - "text": "`$(PRODUCT_BUNDLE_IDENTIFIER)`" - }, - { - "kind": "text", - "text": " in the " - }, - { - "kind": "code", - "text": "`CFBundleURLSchemes`" - }, - { - "kind": "text", - "text": " field of the " - }, - { - "kind": "code", - "text": "`Info.plist`" - }, - { - "kind": "text", - "text": " you will also need to pass it as the " - }, - { - "kind": "code", - "text": "`customScheme`" - }, - { - "kind": "text", - "text": " option parameter of the " - }, - { - "kind": "code", - "text": "`authorize`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`clearSession`" - }, - { - "kind": "text", - "text": " methods.\n\n> For more info please read the [React Native docs](https://facebook.github.io/react-native/docs/linking.html).\n\n#### Expo\n\n> :warning: This SDK is not compatible with \"Expo Go\" app because of custom native code. It is compatible with Custom Dev Client and EAS builds\n\nTo use the SDK with Expo, configure the app at build time by providing the " - }, - { - "kind": "code", - "text": "`domain`" - }, - { - "kind": "text", - "text": " and the " - }, - { - "kind": "code", - "text": "`customScheme`" - }, - { - "kind": "text", - "text": " values through the [Config Plugin](https://docs.expo.dev/guides/config-plugins/). To do this, add the following snippet to _app.json_ or _app.config.js_:\n\n" - }, - { - "kind": "code", - "text": "```json\n{\n \"expo\": {\n ...\n \"plugins\": [\n [\n \"react-native-auth0\",\n {\n \"domain\": \"YOUR_AUTH0_DOMAIN\",\n \"customScheme\": \"YOUR_CUSTOM_SCHEME\"\n }\n ]\n ]\n }\n}\n```" - }, - { - "kind": "text", - "text": "\n\n> :info: If you want to switch between multiple domains in your app, refer [here](https://github.com/auth0/react-native-auth0/blob/master/EXAMPLES.md#domain-switching)\n\n| API | Description |\n| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| domain | Mandatory: Provide the Auth0 domain that can be found at the [Application Settings](https://manage.auth0.com/#/applications) |\n| customScheme | Optional: Custom scheme to build the callback URL with. The value provided here should be passed to the " - }, - { - "kind": "code", - "text": "`customScheme`" - }, - { - "kind": "text", - "text": " option parameter of the " - }, - { - "kind": "code", - "text": "`authorize`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`clearSession`" - }, - { - "kind": "text", - "text": " methods. The custom scheme should be a unique, all lowercase value with no special characters. |\n\nNow you can run the application using " - }, - { - "kind": "code", - "text": "`expo run:android`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`expo run:ios`" - }, - { - "kind": "text", - "text": ".\n\n### Callback URL(s)\n\nCallback URLs are the URLs that Auth0 invokes after the authentication process. Auth0 routes your application back to this URL and appends additional parameters to it, including a token. Since callback URLs can be manipulated, you will need to add this URL to your Application's **Allowed Callback URLs** for security. This will enable Auth0 to recognize these URLs as valid. If omitted, authentication will not be successful.\n\nOn the Android platform this URL is case-sensitive. Because of that, this SDK will auto convert the Bundle Identifier (iOS) and Application ID (Android) values to lowercase in order to build the Callback URL with them. If any of these values contains uppercase characters a warning message will be printed in the console. Make sure to check that the right Callback URL is whitelisted in the Auth0 dashboard or the browser will not route successfully back to your application.\n\nGo to the [Auth0 Dashboard](https://manage.auth0.com/#/applications), select your application and make sure that **Allowed Callback URLs** contains the URLs defined below.\n\nIf in addition you plan to use the log out method, you must also add these URLs to the **Allowed Logout URLs**.\n\n> [!NOTE]\n> Whenever possible, Auth0 recommends using [Android App Links](https://developer.android.com/training/app-links) and [Apple Universal Links](https://developer.apple.com/documentation/xcode/allowing-apps-and-websites-to-link-to-your-content) for your callback and logout URLs. Custom URL schemes can be subject to [client impersonation attacks](https://datatracker.ietf.org/doc/html/rfc8252#section-8.6).\n>\n> 💡 If your Android app is using [product flavors](https://developer.android.com/studio/build/build-variants#product-flavors), you might need to specify different manifest placeholders for each flavor.\n\n#### Android\n\n##### Custom Scheme\n\n" - }, - { - "kind": "code", - "text": "```text\n{YOUR_APP_PACKAGE_NAME}.auth0://{YOUR_AUTH0_DOMAIN}/android/{YOUR_APP_PACKAGE_NAME}/callback\n```" - }, - { - "kind": "text", - "text": "\n\n##### App Link (Recommended):\n\n" - }, - { - "kind": "code", - "text": "```text\nhttps://{YOUR_AUTH0_DOMAIN}/android/{YOUR_APP_PACKAGE_NAME}/callback\n```" - }, - { - "kind": "text", - "text": "\n\n> Replace " - }, - { - "kind": "text", - "text": "{YOUR_APP_PACKAGE_NAME" - }, - { - "kind": "text", - "text": "}" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "text", - "text": "{YOUR_AUTH0_DOMAIN" - }, - { - "kind": "text", - "text": "}" - }, - { - "kind": "text", - "text": " with your actual application package name and Auth0 domain. Ensure that " - }, - { - "kind": "text", - "text": "{YOUR_APP_PACKAGE_NAME" - }, - { - "kind": "text", - "text": "}" - }, - { - "kind": "text", - "text": " is all lowercase.\n\nTo enable App Links, set the " - }, - { - "kind": "code", - "text": "`auth0Scheme`" - }, - { - "kind": "text", - "text": " to " - }, - { - "kind": "code", - "text": "`https`" - }, - { - "kind": "text", - "text": " in your " - }, - { - "kind": "code", - "text": "`build.gradle`" - }, - { - "kind": "text", - "text": " file.\n\n" - }, - { - "kind": "code", - "text": "```text\nandroid {\n defaultConfig {\n manifestPlaceholders = [auth0Domain: \"@string/com_auth0_domain\", auth0Scheme: \"https\"]\n }\n}\n```" - }, - { - "kind": "text", - "text": "\n\nThis configuration ensures that your app uses https for the callback URL scheme, which is required for Android App Links.\n\n#### Enable Android App Links Support\n\n[Android App Links](https://developer.android.com/training/app-links) allow an application to designate itself as the default handler of a given type of link. For example, clicking a URL in an email would open the link in the designated application. This guide will show you how to enable Android App links support for your Auth0-registered application using Auth0's Dashboard.\n\n1. Go to [Auth0 Dashboard > Applications > Applications](https://manage.auth0.com/#/applications), and select the name of the application to view.\n\n2. Scroll to the bottom of the Settings page, and select **Show Advanced Settings**.\n3. Select Device Settings, provide the [App Package Name and](https://developer.android.com/studio/build/application-id) the SHA256 fingerprints of your app’s signing certificate for your Android application, and select Save Changes.\n ![android-app-link](" - }, - { - "kind": "relative-link", - "text": "assets/android-app-link.png", - "target": 6 - }, - { - "kind": "text", - "text": ")\n\n> You can use the following command to generate the fingerprint using the Java keytool in your terminal: " - }, - { - "kind": "code", - "text": "`keytool -list -v -keystore my-release-key.keystore`" - }, - { - "kind": "text", - "text": "\n\nTo learn more about signing certificates, see Android's [Sign Your App](https://developer.android.com/studio/publish/app-signing.html) developer documentation.\n\n#### iOS\n\n##### Custom Scheme\n\n" - }, - { - "kind": "code", - "text": "```text\n{PRODUCT_BUNDLE_IDENTIFIER}.auth0://{YOUR_AUTH0_DOMAIN}/ios/{PRODUCT_BUNDLE_IDENTIFIER}/callback\n```" - }, - { - "kind": "text", - "text": "\n\n##### Universal Link (Recommended):\n\n" - }, - { - "kind": "code", - "text": "```text\nhttps://{YOUR_AUTH0_DOMAIN}/ios/{PRODUCT_BUNDLE_IDENTIFIER}/callback\n```" - }, - { - "kind": "text", - "text": "\n\n> Replace " - }, - { - "kind": "code", - "text": "`{PRODUCT_BUNDLE_IDENTIFIER}`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`{YOUR_AUTH0_DOMAIN}`" - }, - { - "kind": "text", - "text": " with your actual product bundle identifier and Auth0 domain. Ensure that " - }, - { - "kind": "text", - "text": "{PRODUCT_BUNDLE_IDENTIFIER" - }, - { - "kind": "text", - "text": "}" - }, - { - "kind": "text", - "text": " is all lowercase.\n\n#### Configure an associated domain for iOS\n\n> [!IMPORTANT]\n> This step requires a paid Apple Developer account. It is needed to use Universal Links as callback and logout URLs.\n> Skip this step to use a custom URL scheme instead.\n\n##### Configure the Team ID and bundle identifier\n\nScroll to the end of the settings page of your Auth0 application and open **Advanced Settings > Device Settings**. In the **iOS** section, set **Team ID** to your [Apple Team ID](https://developer.apple.com/help/account/manage-your-team/locate-your-team-id/), and **App ID** to your app's bundle identifier.\n\n![Screenshot of the iOS section inside the Auth0 application settings page](https://github.com/auth0/Auth0.swift/assets/5055789/7eb5f6a2-7cc7-4c70-acf3-633fd72dc506)\n\nThis will add your app to your Auth0 tenant's " - }, - { - "kind": "code", - "text": "`apple-app-site-association`" - }, - { - "kind": "text", - "text": " file.\n\n##### Add the associated domain capability\n\nIn Xcode, go to the **Signing and Capabilities** [tab](https://developer.apple.com/documentation/xcode/adding-capabilities-to-your-app#Add-a-capability) of your app's target settings, and press the **+ Capability** button. Then select **Associated Domains**.\n\n![Screenshot of the capabilities library inside Xcode](https://github.com/auth0/Auth0.swift/assets/5055789/3f7b0a70-c36c-46bf-9441-29f98724204a)\n\nNext, add the following [entry](https://developer.apple.com/documentation/xcode/configuring-an-associated-domain#Define-a-service-and-its-associated-domain) under **Associated Domains**:\n\n" - }, - { - "kind": "code", - "text": "```text\nwebcredentials:YOUR_AUTH0_DOMAIN\n```" - }, - { - "kind": "text", - "text": "\n\n
                                                                                                                            \n Example\n\nIf your Auth0 Domain were " - }, - { - "kind": "code", - "text": "`example.us.auth0.com`" - }, - { - "kind": "text", - "text": ", then this value would be:\n\n" - }, - { - "kind": "code", - "text": "```text\nwebcredentials:example.us.auth0.com\n```" - }, - { - "kind": "text", - "text": "\n\n
                                                                                                                            \n\nIf you have a [custom domain](https://auth0.com/docs/customize/custom-domains), replace " - }, - { - "kind": "code", - "text": "`YOUR_AUTH0_DOMAIN`" - }, - { - "kind": "text", - "text": " with your custom domain.\n\n> [!NOTE]\n> For the associated domain to work, your app must be signed with your team certificate **even when building for the iOS simulator**. Make sure you are using the Apple Team whose Team ID is configured in the settings page of your Auth0 application.\n\nRefer to the example of [Using custom scheme for web authentication redirection](https://github.com/auth0/react-native-auth0/blob/master/EXAMPLES.md#using-custom-scheme-for-web-authentication-redirection)\n\n## Next Steps\n\n> This SDK is OIDC compliant. To ensure OIDC compliant responses from the Auth0 servers enable the **OIDC Conformant** switch in your Auth0 dashboard under " - }, - { - "kind": "code", - "text": "`Application / Settings / Advanced OAuth`" - }, - { - "kind": "text", - "text": ". For more information please check [this documentation](https://auth0.com/docs/api-auth/intro#how-to-use-the-new-flows).\n\n### Web Authentication\n\nThe SDK exports a React hook as the primary interface for performing [web authentication](#web-authentication) through the browser using Auth0 [Universal Login](https://auth0.com/docs/authenticate/login/auth0-universal-login).\n\nUse the methods from the " - }, - { - "kind": "code", - "text": "`useAuth0`" - }, - { - "kind": "text", - "text": " hook to implement login, logout, and to retrieve details about the authenticated user.\n\nSee the [API Documentation](https://auth0.github.io/react-native-auth0/functions/useAuth0.html) for full details on the " - }, - { - "kind": "code", - "text": "`useAuth0`" - }, - { - "kind": "text", - "text": " hook.\n\nFirst, import the " - }, - { - "kind": "code", - "text": "`Auth0Provider`" - }, - { - "kind": "text", - "text": " component and wrap it around your application. Provide the " - }, - { - "kind": "code", - "text": "`domain`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`clientId`" - }, - { - "kind": "text", - "text": " values as given to you when setting up your Auth0 app in the dashboard:\n\n" - }, - { - "kind": "code", - "text": "```js\nimport { Auth0Provider } from 'react-native-auth0';\n\nconst App = () => {\n return (\n \n {/* YOUR APP */}\n \n );\n};\n\nexport default App;\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also pass custom headers that will be included in all API requests:\n\n" - }, - { - "kind": "code", - "text": "```js\nimport { Auth0Provider } from 'react-native-auth0';\n\nconst App = () => {\n return (\n \n {/* YOUR APP */}\n \n );\n};\n\nexport default App;\n```" - }, - { - "kind": "text", - "text": "\n\n
                                                                                                                            \n Using the " - }, - { - "kind": "code", - "text": "`Auth0`" - }, - { - "kind": "text", - "text": " class\n\nIf you're not using React Hooks, you can simply instantiate the " - }, - { - "kind": "code", - "text": "`Auth0`" - }, - { - "kind": "text", - "text": " class:\n\n" - }, - { - "kind": "code", - "text": "```js\nimport Auth0 from 'react-native-auth0';\n\nconst auth0 = new Auth0({\n domain: 'YOUR_AUTH0_DOMAIN',\n clientId: 'YOUR_AUTH0_CLIENT_ID',\n});\n```" - }, - { - "kind": "text", - "text": "\n\nYou can also pass custom headers that will be included in all API requests:\n\n" - }, - { - "kind": "code", - "text": "```js\nimport Auth0 from 'react-native-auth0';\n\nconst auth0 = new Auth0({\n domain: 'YOUR_AUTH0_DOMAIN',\n clientId: 'YOUR_AUTH0_CLIENT_ID',\n headers: {\n 'X-Custom-Header': 'custom-value',\n },\n});\n```" - }, - { - "kind": "text", - "text": "\n\n
                                                                                                                            \n\nThen import the hook into a component where you want to get access to the properties and methods for integrating with Auth0:\n\n" - }, - { - "kind": "code", - "text": "```js\nimport { useAuth0 } from 'react-native-auth0';\n```" - }, - { - "kind": "text", - "text": "\n\n#### Login\n\nUse the " - }, - { - "kind": "code", - "text": "`authorize`" - }, - { - "kind": "text", - "text": " method to redirect the user to the Auth0 [Universal Login](https://auth0.com/docs/authenticate/login/auth0-universal-login) page for authentication. If " - }, - { - "kind": "code", - "text": "`scope`" - }, - { - "kind": "text", - "text": " is not specified, " - }, - { - "kind": "code", - "text": "`openid profile email`" - }, - { - "kind": "text", - "text": " is used by default.\n\n- The " - }, - { - "kind": "code", - "text": "`isLoading`" - }, - { - "kind": "text", - "text": " property is set to true once the authentication state of the user is known to the SDK.\n- The " - }, - { - "kind": "code", - "text": "`user`" - }, - { - "kind": "text", - "text": " property is populated with details about the authenticated user. If " - }, - { - "kind": "code", - "text": "`user`" - }, - { - "kind": "text", - "text": " is " - }, - { - "kind": "code", - "text": "`null`" - }, - { - "kind": "text", - "text": ", no user is currently authenticated.\n- The " - }, - { - "kind": "code", - "text": "`error`" - }, - { - "kind": "text", - "text": " property is populated if any error occurs.\n\n" - }, - { - "kind": "code", - "text": "```js\nconst Component = () => {\n const { authorize, user, isLoading, error } = useAuth0();\n\n const login = async () => {\n await authorize();\n };\n\n if (isLoading) {\n return (\n \n SDK is Loading\n \n );\n }\n\n return (\n \n {!user && - - -
                                                                                                                              -
                                                                                                                              -
                                                                                                                              Preparing search index...
                                                                                                                              -
                                                                                                                              -
                                                                                                                              - - - -
                                                                                                                              -
                                                                                                                              -
                                                                                                                              - -

                                                                                                                              Class TimeoutError

                                                                                                                              -
                                                                                                                              -
                                                                                                                              -

                                                                                                                              - Hierarchy (View Summary) -

                                                                                                                              - -
                                                                                                                              - -
                                                                                                                              -
                                                                                                                              -
                                                                                                                              - - -
                                                                                                                              Index
                                                                                                                              -
                                                                                                                              -
                                                                                                                              -
                                                                                                                              -

                                                                                                                              Constructors

                                                                                                                              - -
                                                                                                                              -
                                                                                                                              -

                                                                                                                              Properties

                                                                                                                              -
                                                                                                                              - - type -
                                                                                                                              -
                                                                                                                              -
                                                                                                                              -
                                                                                                                              -
                                                                                                                              -
                                                                                                                              -
                                                                                                                              - - -

                                                                                                                              Constructors

                                                                                                                              -
                                                                                                                              -
                                                                                                                              -
                                                                                                                              - - -
                                                                                                                              -
                                                                                                                              -
                                                                                                                              -
                                                                                                                              - - -

                                                                                                                              Properties

                                                                                                                              -
                                                                                                                              -
                                                                                                                              -
                                                                                                                              - -
                                                                                                                              - type: - string -
                                                                                                                              - -
                                                                                                                              -
                                                                                                                              -
                                                                                                                              -
                                                                                                                              -
                                                                                                                              - - -
                                                                                                                              -
                                                                                                                              -
                                                                                                                              -

                                                                                                                              - Generated using - TypeDoc -

                                                                                                                              -
                                                                                                                              -
                                                                                                                              - - - diff --git a/docs/v4.6/classes/Types.Auth.html b/docs/v4.6/classes/Types.Auth.html deleted file mode 100644 index 9b673993..00000000 --- a/docs/v4.6/classes/Types.Auth.html +++ /dev/null @@ -1,2585 +0,0 @@ - - - - - - Auth | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                              -
                                                                                                                              - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                Preparing search index...
                                                                                                                                -
                                                                                                                                -
                                                                                                                                - -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                - -

                                                                                                                                Class Auth

                                                                                                                                -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                -

                                                                                                                                - Class for interfacing with the Auth0 Authentication API endpoints. -

                                                                                                                                -
                                                                                                                                - -
                                                                                                                                - -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                - - -
                                                                                                                                Index
                                                                                                                                -
                                                                                                                                - -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                - - -

                                                                                                                                Properties

                                                                                                                                -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                - -
                                                                                                                                - clientId: - string -
                                                                                                                                -
                                                                                                                                -

                                                                                                                                The Auth0 client ID

                                                                                                                                -
                                                                                                                                -
                                                                                                                                - -
                                                                                                                                -
                                                                                                                                - -
                                                                                                                                - domain: - string -
                                                                                                                                -
                                                                                                                                -

                                                                                                                                The Auth0 tenant domain

                                                                                                                                -
                                                                                                                                -
                                                                                                                                - -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                - - -

                                                                                                                                Methods

                                                                                                                                -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                - - -
                                                                                                                                -
                                                                                                                                - -
                                                                                                                                  -
                                                                                                                                • - -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  Creates a new user using the options provided.

                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  Parameters

                                                                                                                                  - -
                                                                                                                                  -

                                                                                                                                  - Returns Promise<Partial<User>> -

                                                                                                                                  -

                                                                                                                                  - An instance of <a href="../types/User.html" - class="tsd-kind-type-alias">User</a>. -

                                                                                                                                  -
                                                                                                                                  - -
                                                                                                                                  -
                                                                                                                                • -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                - - -
                                                                                                                                -
                                                                                                                                - - -
                                                                                                                                -
                                                                                                                                - -
                                                                                                                                  -
                                                                                                                                • - -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  - Completes the Passworldess authentication with an email - connection that was started using <a - href="#passwordlesswithemail" - class="tsd-kind-method">passwordlessWithEmail</a>. -

                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  Parameters

                                                                                                                                  - -
                                                                                                                                  -

                                                                                                                                  - Returns Promise<Credentials> -

                                                                                                                                  -

                                                                                                                                  - A populated instance of <a - href="../types/Credentials.html" - class="tsd-kind-type-alias">Credentials</a>. -

                                                                                                                                  -
                                                                                                                                  - -
                                                                                                                                  -
                                                                                                                                • -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                - -
                                                                                                                                  -
                                                                                                                                • - -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  - Log in a user using an Out Of Band authentication code - after they have received the 'mfa_required' error. The - MFA token tells the server the username or email, - password, and realm values sent on the first request. -

                                                                                                                                  -

                                                                                                                                  - Requires your client to have the - MFA OOB Grant Type enabled. See - Client Grant Types - to learn how to enable it. -

                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  Parameters

                                                                                                                                  - -
                                                                                                                                  -

                                                                                                                                  - Returns Promise<Credentials> -

                                                                                                                                  -

                                                                                                                                  - A populated instance of <a - href="../types/Credentials.html" - class="tsd-kind-type-alias">Credentials</a>. -

                                                                                                                                  -
                                                                                                                                  - -
                                                                                                                                  -
                                                                                                                                • -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                - -
                                                                                                                                  -
                                                                                                                                • - -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  - Log in a user using the One Time Password code after - they have received the 'mfa_required' error. The MFA - token tells the server the username or email, password, - and realm values sent on the first request. -

                                                                                                                                  -

                                                                                                                                  - Requires your client to have the - MFA OTP Grant Type enabled. See - Client Grant Types - to learn how to enable it. -

                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  Parameters

                                                                                                                                  - -
                                                                                                                                  -

                                                                                                                                  - Returns Promise<Credentials> -

                                                                                                                                  -

                                                                                                                                  - A populated instance of <a - href="../types/Credentials.html" - class="tsd-kind-type-alias">Credentials</a>. -

                                                                                                                                  -
                                                                                                                                  - -
                                                                                                                                  -
                                                                                                                                • -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                - -
                                                                                                                                  -
                                                                                                                                • - -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  - Log in a user using a multi-factor authentication - Recovery Code after they have received the - 'mfa_required' error. The MFA token tells the server the - username or email, password, and realm values sent on - the first request. -

                                                                                                                                  -

                                                                                                                                  - Requires your client to have the - MFA Grant Type enabled. See - Client Grant Types - to learn how to enable it. -

                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  Parameters

                                                                                                                                  - -
                                                                                                                                  -

                                                                                                                                  - Returns Promise<Credentials> -

                                                                                                                                  -

                                                                                                                                  - A populated instance of <a - href="../types/Credentials.html" - class="tsd-kind-type-alias">Credentials</a>. -

                                                                                                                                  -
                                                                                                                                  - -
                                                                                                                                  -
                                                                                                                                • -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                - -
                                                                                                                                  -
                                                                                                                                • - -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  - Completes the Passworldess authentication with an SMS - connection that was started using <a - href="#passwordlesswithsms" - class="tsd-kind-method">passwordlessWithSMS</a>. -

                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  Parameters

                                                                                                                                  - -
                                                                                                                                  -

                                                                                                                                  - Returns Promise<Credentials> -

                                                                                                                                  -

                                                                                                                                  - A populated instance of <a - href="../types/Credentials.html" - class="tsd-kind-type-alias">Credentials</a>. -

                                                                                                                                  -
                                                                                                                                  - -
                                                                                                                                  -
                                                                                                                                • -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                - - -
                                                                                                                                -
                                                                                                                                - -
                                                                                                                                  -
                                                                                                                                • - -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  - Request a challenge for multi-factor authentication - (MFA) based on the challenge types supported by the - application and user. The challenge type is how the user - will get the challenge and prove possession. Supported - challenge types include: "otp" and - "oob". -

                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  Parameters

                                                                                                                                  - -
                                                                                                                                  -

                                                                                                                                  - Returns Promise<MultifactorChallengeResponse> -

                                                                                                                                  -

                                                                                                                                  - <a - href="../types/MultifactorChallengeOTPResponse.html" - class="tsd-kind-type-alias">MultifactorChallengeOTPResponse</a>, - <a - href="../types/MultifactorChallengeOOBResponse.html" - class="tsd-kind-type-alias">MultifactorChallengeOOBResponse</a>, - or <a - href="../types/MultifactorChallengeOOBWithBindingResponse.html" - class="tsd-kind-type-alias">MultifactorChallengeOOBWithBindingResponse</a> - depending on the challenge type. -

                                                                                                                                  -
                                                                                                                                  - -
                                                                                                                                  -
                                                                                                                                • -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                - -
                                                                                                                                  -
                                                                                                                                • - -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  - Starts the Passworldess flow with an email connection. -

                                                                                                                                  -

                                                                                                                                  - This should be completed later using a call to <a - href="#loginwithemail" - class="tsd-kind-method">loginWithEmail</a>, - passing the OTP that was sent to the user. -

                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  Parameters

                                                                                                                                  - -
                                                                                                                                  -

                                                                                                                                  - Returns Promise<void> -

                                                                                                                                  -
                                                                                                                                  - -
                                                                                                                                  -
                                                                                                                                • -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                - -
                                                                                                                                  -
                                                                                                                                • - -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  - Starts the Passwordless flow with an SMS connection. -

                                                                                                                                  -

                                                                                                                                  - This should be completed later using a call to <a - href="#loginwithsms" - class="tsd-kind-method">loginWithSMS</a>, - passing the OTP that was sent to the user. -

                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  Parameters

                                                                                                                                  - -
                                                                                                                                  -

                                                                                                                                  - Returns Promise<void> -

                                                                                                                                  -
                                                                                                                                  - -
                                                                                                                                  -
                                                                                                                                • -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                - - -
                                                                                                                                -
                                                                                                                                - - -
                                                                                                                                -
                                                                                                                                - - -
                                                                                                                                -
                                                                                                                                - -
                                                                                                                                  -
                                                                                                                                • - -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  Revoke an issued refresh token

                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  Parameters

                                                                                                                                  - -
                                                                                                                                  -

                                                                                                                                  - Returns Promise<void> -

                                                                                                                                  -
                                                                                                                                  - -
                                                                                                                                  -
                                                                                                                                • -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                - -
                                                                                                                                  -
                                                                                                                                • - -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  Return user information using an access token

                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  Parameters

                                                                                                                                  - -
                                                                                                                                  -

                                                                                                                                  - Returns Promise<User> -

                                                                                                                                  -

                                                                                                                                  The user's profile information.

                                                                                                                                  -
                                                                                                                                  - -
                                                                                                                                  -
                                                                                                                                • -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                - - -
                                                                                                                                -
                                                                                                                                -
                                                                                                                                -

                                                                                                                                - Generated using - TypeDoc -

                                                                                                                                -
                                                                                                                                -
                                                                                                                                - - - diff --git a/docs/v4.6/classes/Types.BaseError.html b/docs/v4.6/classes/Types.BaseError.html deleted file mode 100644 index a4932434..00000000 --- a/docs/v4.6/classes/Types.BaseError.html +++ /dev/null @@ -1,543 +0,0 @@ - - - - - - BaseError | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                -
                                                                                                                                - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  Preparing search index...
                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  - -
                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  - -

                                                                                                                                  Class BaseError

                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  - Hierarchy (View Summary) -

                                                                                                                                  - -
                                                                                                                                  - -
                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  - - -
                                                                                                                                  Index
                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  Constructors

                                                                                                                                  - -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  Properties

                                                                                                                                  -
                                                                                                                                  - - type -
                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  - - -

                                                                                                                                  Constructors

                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  - -
                                                                                                                                    -
                                                                                                                                  • - -
                                                                                                                                    -
                                                                                                                                    -

                                                                                                                                    Parameters

                                                                                                                                    -
                                                                                                                                      -
                                                                                                                                    • - name: - string -
                                                                                                                                    • -
                                                                                                                                    • - message: - string -
                                                                                                                                    • -
                                                                                                                                    • - Optionaltype: - string -
                                                                                                                                    • -
                                                                                                                                    -
                                                                                                                                    -

                                                                                                                                    - Returns - BaseError -

                                                                                                                                    - -
                                                                                                                                    -
                                                                                                                                  • -
                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  - - -

                                                                                                                                  Properties

                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  - -
                                                                                                                                  - type: - string -
                                                                                                                                  - -
                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  - - -
                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  -

                                                                                                                                  - Generated using - TypeDoc -

                                                                                                                                  -
                                                                                                                                  -
                                                                                                                                  - - - diff --git a/docs/v4.6/classes/Types.CredentialsManager.html b/docs/v4.6/classes/Types.CredentialsManager.html deleted file mode 100644 index e7296840..00000000 --- a/docs/v4.6/classes/Types.CredentialsManager.html +++ /dev/null @@ -1,796 +0,0 @@ - - - - - - CredentialsManager | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                  -
                                                                                                                                  - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                    -
                                                                                                                                    -
                                                                                                                                    Preparing search index...
                                                                                                                                    -
                                                                                                                                    -
                                                                                                                                    - -
                                                                                                                                    -
                                                                                                                                    -
                                                                                                                                    -
                                                                                                                                    -
                                                                                                                                    - -

                                                                                                                                    Class CredentialsManager

                                                                                                                                    -
                                                                                                                                    - -
                                                                                                                                    -
                                                                                                                                    -
                                                                                                                                    - - -
                                                                                                                                    Index
                                                                                                                                    -
                                                                                                                                    - -
                                                                                                                                    -
                                                                                                                                    -
                                                                                                                                    -
                                                                                                                                    - - -

                                                                                                                                    Methods

                                                                                                                                    -
                                                                                                                                    -
                                                                                                                                    -
                                                                                                                                    - -
                                                                                                                                      -
                                                                                                                                    • - -
                                                                                                                                      -
                                                                                                                                      -

                                                                                                                                      Delete the stored credentials

                                                                                                                                      -
                                                                                                                                      -

                                                                                                                                      - Returns Promise<void> -

                                                                                                                                      -
                                                                                                                                      - -
                                                                                                                                      -
                                                                                                                                    • -
                                                                                                                                    -
                                                                                                                                    -
                                                                                                                                    - -
                                                                                                                                      -
                                                                                                                                    • - -
                                                                                                                                      -
                                                                                                                                      -

                                                                                                                                      Gets the credentials that has already been saved

                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      -

                                                                                                                                      Parameters

                                                                                                                                      -
                                                                                                                                        -
                                                                                                                                      • - Optionalscope: - string -
                                                                                                                                        -

                                                                                                                                        - The scope to request for the access token. If null - is passed, the previous scope will be kept. -

                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                      • -
                                                                                                                                      • - minTtl: - number - = 0 -
                                                                                                                                        -

                                                                                                                                        - The minimum time in seconds that the access token - should last before expiration. -

                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                      • -
                                                                                                                                      • - parameters: - Record<string, - unknown> - = {} -
                                                                                                                                        -

                                                                                                                                        - Additional parameters to send in the request to - refresh expired credentials. -

                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                      • -
                                                                                                                                      • - forceRefresh: boolean - = false -
                                                                                                                                        -

                                                                                                                                        - Whether to force refresh the credentials. It will - work only if the refresh token already exists. For - iOS, doing forceRefresh will not send the scope. - Since scope change already does force refresh, it - is better to avoid force refresh if the scope is - being changed. -

                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                      • -
                                                                                                                                      -
                                                                                                                                      -

                                                                                                                                      - Returns Promise<Credentials> -

                                                                                                                                      -

                                                                                                                                      - A populated instance of <a - href="../types/Credentials.html" - class="tsd-kind-type-alias">Credentials</a>. -

                                                                                                                                      -
                                                                                                                                      - -
                                                                                                                                      -
                                                                                                                                    • -
                                                                                                                                    -
                                                                                                                                    -
                                                                                                                                    - -
                                                                                                                                      -
                                                                                                                                    • - -
                                                                                                                                      -
                                                                                                                                      -

                                                                                                                                      - Returns whether this manager contains a valid - non-expired pair of credentials. -

                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      -

                                                                                                                                      Parameters

                                                                                                                                      -
                                                                                                                                        -
                                                                                                                                      • - minTtl: - number - = 0 -
                                                                                                                                        -

                                                                                                                                        - The minimum time in seconds that the access token - should last before expiration -

                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                      • -
                                                                                                                                      -
                                                                                                                                      -

                                                                                                                                      - Returns Promise<boolean> -

                                                                                                                                      -

                                                                                                                                      - true if a valid set of credentials are - available, or false if there are no - credentials to return. -

                                                                                                                                      -
                                                                                                                                      - -
                                                                                                                                      -
                                                                                                                                    • -
                                                                                                                                    -
                                                                                                                                    -
                                                                                                                                    - - -
                                                                                                                                    -
                                                                                                                                    -
                                                                                                                                    -
                                                                                                                                    -
                                                                                                                                    - - -
                                                                                                                                    -
                                                                                                                                    -
                                                                                                                                    -

                                                                                                                                    - Generated using - TypeDoc -

                                                                                                                                    -
                                                                                                                                    -
                                                                                                                                    - - - diff --git a/docs/v4.6/classes/Types.Users.html b/docs/v4.6/classes/Types.Users.html deleted file mode 100644 index c063f89b..00000000 --- a/docs/v4.6/classes/Types.Users.html +++ /dev/null @@ -1,716 +0,0 @@ - - - - - - Users | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                    -
                                                                                                                                    - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      Preparing search index...
                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      - -
                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      - -

                                                                                                                                      Class Users

                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      -

                                                                                                                                      Auth0 Management API User endpoints

                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      - -
                                                                                                                                      - -
                                                                                                                                      -
                                                                                                                                      - -
                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      - - -
                                                                                                                                      Index
                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      -

                                                                                                                                      Methods

                                                                                                                                      - -
                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      - - -

                                                                                                                                      Methods

                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      - - -
                                                                                                                                      -
                                                                                                                                      - - -
                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      - - -
                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      -

                                                                                                                                      - Generated using - TypeDoc -

                                                                                                                                      -
                                                                                                                                      -
                                                                                                                                      - - - diff --git a/docs/v4.6/classes/Types.WebAuth.html b/docs/v4.6/classes/Types.WebAuth.html deleted file mode 100644 index c3a005c6..00000000 --- a/docs/v4.6/classes/Types.WebAuth.html +++ /dev/null @@ -1,735 +0,0 @@ - - - - - - WebAuth | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                      -
                                                                                                                                      - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        Preparing search index...
                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        - -
                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        - -

                                                                                                                                        Class WebAuth

                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        -

                                                                                                                                        Helper to perform Auth against Auth0 hosted login page

                                                                                                                                        -

                                                                                                                                        - It will use /authorize endpoint of the Authorization - Server (AS) with Code Grant and Proof Key for Challenge Exchange - (PKCE). -

                                                                                                                                        -
                                                                                                                                        - -
                                                                                                                                        - -
                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        - - -
                                                                                                                                        Index
                                                                                                                                        -
                                                                                                                                        - -
                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        - - -

                                                                                                                                        Methods

                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        - - -
                                                                                                                                        -
                                                                                                                                        - -
                                                                                                                                          -
                                                                                                                                        • - -
                                                                                                                                          -
                                                                                                                                          -

                                                                                                                                          - Terminates the ongoing web-based operation and reports - back that it was cancelled. You need to call this method - within your custom Web Auth provider implementation - whenever the operation is cancelled by the user. -

                                                                                                                                          -
                                                                                                                                          -

                                                                                                                                          - Returns Promise<void> -

                                                                                                                                          -
                                                                                                                                          - -
                                                                                                                                          -
                                                                                                                                        • -
                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        - - -
                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        - - -
                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        -

                                                                                                                                        - Generated using - TypeDoc -

                                                                                                                                        -
                                                                                                                                        -
                                                                                                                                        - - - diff --git a/docs/v4.6/classes/default.html b/docs/v4.6/classes/default.html deleted file mode 100644 index 98e7e8bc..00000000 --- a/docs/v4.6/classes/default.html +++ /dev/null @@ -1,848 +0,0 @@ - - - - - - default | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                        -
                                                                                                                                        - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          Preparing search index...
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          - -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          - -

                                                                                                                                          Class default

                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          -

                                                                                                                                          Auth0 for React Native client

                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          - -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          - - -
                                                                                                                                          Index
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          -

                                                                                                                                          Constructors

                                                                                                                                          - -
                                                                                                                                          -
                                                                                                                                          -

                                                                                                                                          Properties

                                                                                                                                          - -
                                                                                                                                          -
                                                                                                                                          -

                                                                                                                                          Methods

                                                                                                                                          - -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          - - -

                                                                                                                                          Constructors

                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          - -
                                                                                                                                            -
                                                                                                                                          • - -
                                                                                                                                            -
                                                                                                                                            -

                                                                                                                                            Creates an instance of Auth0.

                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            -

                                                                                                                                            Parameters

                                                                                                                                            -
                                                                                                                                              -
                                                                                                                                            • - options: - Auth0Options -
                                                                                                                                              -

                                                                                                                                              Your Auth0 application information

                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              -

                                                                                                                                              Options for configuring the Auth0 client.

                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                                -
                                                                                                                                              • -
                                                                                                                                                - clientId: string -
                                                                                                                                                -
                                                                                                                                                -

                                                                                                                                                - The client identifier of your application. -

                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                              • -
                                                                                                                                              • -
                                                                                                                                                - domain: string -
                                                                                                                                                -
                                                                                                                                                -

                                                                                                                                                The Auth0 domain for your tenant.

                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                              • -
                                                                                                                                              • -
                                                                                                                                                - Optionalheaders?: Record<string, - string> -
                                                                                                                                                -
                                                                                                                                                -

                                                                                                                                                - (Optional) Custom headers to include in - requests. -

                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                              • -
                                                                                                                                              • -
                                                                                                                                                - OptionallocalAuthenticationOptions?: LocalAuthenticationOptions -
                                                                                                                                                -
                                                                                                                                                -

                                                                                                                                                - Options for configuring local authentication. -

                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                              • -
                                                                                                                                              • -
                                                                                                                                                - Optionaltelemetry?: Telemetry -
                                                                                                                                                -
                                                                                                                                                -

                                                                                                                                                - Telemetry information to include in requests. -

                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                              • -
                                                                                                                                              • -
                                                                                                                                                - Optionaltimeout?: number -
                                                                                                                                                -
                                                                                                                                                -

                                                                                                                                                - The timeout in milliseconds for network - requests. -

                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                              • -
                                                                                                                                              -
                                                                                                                                            • -
                                                                                                                                            -
                                                                                                                                            -

                                                                                                                                            - Returns - default -

                                                                                                                                            -
                                                                                                                                            - -
                                                                                                                                            -
                                                                                                                                          • -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          - - -

                                                                                                                                          Properties

                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          - -
                                                                                                                                          - auth: - Auth -
                                                                                                                                          - -
                                                                                                                                          -
                                                                                                                                          - -
                                                                                                                                          - credentialsManager: - CredentialsManager -
                                                                                                                                          - -
                                                                                                                                          -
                                                                                                                                          - -
                                                                                                                                          - webAuth: - WebAuth -
                                                                                                                                          - -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          - - -

                                                                                                                                          Methods

                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          - -
                                                                                                                                            -
                                                                                                                                          • - -
                                                                                                                                            -
                                                                                                                                            -

                                                                                                                                            Creates a Users API client

                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            -

                                                                                                                                            Parameters

                                                                                                                                            -
                                                                                                                                              -
                                                                                                                                            • - token: - string -
                                                                                                                                              -

                                                                                                                                              for Management API

                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                            • -
                                                                                                                                            -
                                                                                                                                            -

                                                                                                                                            - Returns - Users -

                                                                                                                                            -
                                                                                                                                            - -
                                                                                                                                            -
                                                                                                                                          • -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          - - -
                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          -

                                                                                                                                          - Generated using - TypeDoc -

                                                                                                                                          -
                                                                                                                                          -
                                                                                                                                          - - - diff --git a/docs/v4.6/enums/LocalAuthenticationLevel.html b/docs/v4.6/enums/LocalAuthenticationLevel.html deleted file mode 100644 index 0b14fe9d..00000000 --- a/docs/v4.6/enums/LocalAuthenticationLevel.html +++ /dev/null @@ -1,492 +0,0 @@ - - - - - - LocalAuthenticationLevel | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                          -
                                                                                                                                          - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            Preparing search index...
                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            - -
                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            - -

                                                                                                                                            Enumeration LocalAuthenticationLevel

                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            -

                                                                                                                                            - Used for Android only: The level of local - authentication required to access the credentials. Defaults to - LocalAuthenticationLevel.strong. -

                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            - -
                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            - - -
                                                                                                                                            Index
                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            -

                                                                                                                                            Enumeration Members

                                                                                                                                            - -
                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            - - -

                                                                                                                                            Enumeration Members

                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            - -
                                                                                                                                            - deviceCredential: - 2 -
                                                                                                                                            -
                                                                                                                                            -

                                                                                                                                            - The non-biometric credential used to secure the device (i. e. - PIN, pattern, or password). -

                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            - -
                                                                                                                                            -
                                                                                                                                            - -
                                                                                                                                            - strong: - 0 -
                                                                                                                                            -
                                                                                                                                            -

                                                                                                                                            - Any biometric (e.g. fingerprint, iris, or face) on the device - that meets or exceeds the requirements for Class 3 (formerly - Strong), as defined by the Android CDD. -

                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            - -
                                                                                                                                            -
                                                                                                                                            - -
                                                                                                                                            - weak: - 1 -
                                                                                                                                            -
                                                                                                                                            -

                                                                                                                                            - Any biometric (e.g. fingerprint, iris, or face) on the device - that meets or exceeds the requirements for Class 2 (formerly - Weak), as defined by the Android CDD. -

                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            - -
                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            - - -
                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            -

                                                                                                                                            - Generated using - TypeDoc -

                                                                                                                                            -
                                                                                                                                            -
                                                                                                                                            - - - diff --git a/docs/v4.6/enums/LocalAuthenticationStrategy.html b/docs/v4.6/enums/LocalAuthenticationStrategy.html deleted file mode 100644 index c5ef1f14..00000000 --- a/docs/v4.6/enums/LocalAuthenticationStrategy.html +++ /dev/null @@ -1,445 +0,0 @@ - - - - - - LocalAuthenticationStrategy | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                            -
                                                                                                                                            - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              Preparing search index...
                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              - -
                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              - -

                                                                                                                                              Enumeration LocalAuthenticationStrategy

                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              -

                                                                                                                                              - Used for iOS only: The evaluation policy to use - when accessing the credentials. Defaults to - LocalAuthenticationStrategy.deviceOwnerWithBiometrics. -

                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              - -
                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              - - -
                                                                                                                                              Index
                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              -

                                                                                                                                              Enumeration Members

                                                                                                                                              - -
                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              - - -

                                                                                                                                              Enumeration Members

                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              - -
                                                                                                                                              - deviceOwner: - 2 -
                                                                                                                                              -
                                                                                                                                              -

                                                                                                                                              - User authentication with biometry, Apple Watch, or the device - passcode. -

                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              - -
                                                                                                                                              -
                                                                                                                                              - -
                                                                                                                                              - deviceOwnerWithBiometrics: - 1 -
                                                                                                                                              -
                                                                                                                                              -

                                                                                                                                              User authentication with biometry.

                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              - -
                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              - - -
                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              -

                                                                                                                                              - Generated using - TypeDoc -

                                                                                                                                              -
                                                                                                                                              -
                                                                                                                                              - - - diff --git a/docs/v4.6/enums/SafariViewControllerPresentationStyle.html b/docs/v4.6/enums/SafariViewControllerPresentationStyle.html deleted file mode 100644 index ca6fa480..00000000 --- a/docs/v4.6/enums/SafariViewControllerPresentationStyle.html +++ /dev/null @@ -1,796 +0,0 @@ - - - - - - - SafariViewControllerPresentationStyle | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - - -
                                                                                                                                              -
                                                                                                                                              - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                Preparing search index...
                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                - -
                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                - -

                                                                                                                                                Enumeration SafariViewControllerPresentationStyle

                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                -

                                                                                                                                                - Presentation styles for when using SFSafariViewController on iOS. - For the full description of what each option does, please see - <a href="https://developer.apple.com/documentation/uikit/uimodalpresentationstyle">https://developer.apple.com/documentation/uikit/uimodalpresentationstyle&lt;/a&gt; for more details -

                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                - -
                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                - - -
                                                                                                                                                Index
                                                                                                                                                -
                                                                                                                                                - -
                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                - - -

                                                                                                                                                Enumeration Members

                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                - -
                                                                                                                                                - automatic: - -2 -
                                                                                                                                                - -
                                                                                                                                                -
                                                                                                                                                - -
                                                                                                                                                - currentContext: - 3 -
                                                                                                                                                - -
                                                                                                                                                -
                                                                                                                                                - -
                                                                                                                                                - custom: - 4 -
                                                                                                                                                - -
                                                                                                                                                -
                                                                                                                                                - -
                                                                                                                                                - formSheet: - 2 -
                                                                                                                                                - -
                                                                                                                                                -
                                                                                                                                                - -
                                                                                                                                                - fullScreen: - 0 -
                                                                                                                                                - -
                                                                                                                                                -
                                                                                                                                                - -
                                                                                                                                                - none: - -1 -
                                                                                                                                                - -
                                                                                                                                                -
                                                                                                                                                - -
                                                                                                                                                - overCurrentContext: - 6 -
                                                                                                                                                - -
                                                                                                                                                -
                                                                                                                                                - -
                                                                                                                                                - overFullScreen: - 5 -
                                                                                                                                                - -
                                                                                                                                                -
                                                                                                                                                - -
                                                                                                                                                - pageSheet: - 1 -
                                                                                                                                                - -
                                                                                                                                                -
                                                                                                                                                - -
                                                                                                                                                - popover: - 7 -
                                                                                                                                                - -
                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                - - -
                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                -

                                                                                                                                                - Generated using - TypeDoc -

                                                                                                                                                -
                                                                                                                                                -
                                                                                                                                                - - - diff --git a/docs/v4.6/functions/Auth0Provider.html b/docs/v4.6/functions/Auth0Provider.html deleted file mode 100644 index 56c2e390..00000000 --- a/docs/v4.6/functions/Auth0Provider.html +++ /dev/null @@ -1,477 +0,0 @@ - - - - - - Auth0Provider | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                -
                                                                                                                                                - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                  Preparing search index...
                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                  - -
                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                  - -

                                                                                                                                                  Function Auth0Provider

                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                    -
                                                                                                                                                  • - -
                                                                                                                                                    -
                                                                                                                                                    -

                                                                                                                                                    Provides the Auth0Context to its child components.

                                                                                                                                                    -
                                                                                                                                                    -
                                                                                                                                                    -

                                                                                                                                                    Parameters

                                                                                                                                                    -
                                                                                                                                                      -
                                                                                                                                                    • - __namedParameters: - PropsWithChildren<Auth0Options> -
                                                                                                                                                    • -
                                                                                                                                                    -
                                                                                                                                                    -

                                                                                                                                                    - Returns Element -

                                                                                                                                                    -
                                                                                                                                                    -
                                                                                                                                                    - -
                                                                                                                                                    &lt;Auth0Provider domain="YOUR AUTH0 DOMAIN" clientId="YOUR CLIENT ID"&gt;
                                                                                                                                                    &lt;App /&gt;
                                                                                                                                                    &lt;/Auth0Provider&gt; -
                                                                                                                                                    -
                                                                                                                                                    -
                                                                                                                                                    - -
                                                                                                                                                    -
                                                                                                                                                  • -
                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                  - - -
                                                                                                                                                  Index
                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                  -

                                                                                                                                                  Properties

                                                                                                                                                  - -
                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                  - - -

                                                                                                                                                  Properties

                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                  - -
                                                                                                                                                  - propTypes: - {
                                                                                                                                                      children: - Validator<ReactElementLike>;
                                                                                                                                                      clientId: - Validator<string>;
                                                                                                                                                      domain: - Validator<string>;
                                                                                                                                                      headers: - Requireable<object>;
                                                                                                                                                  } -
                                                                                                                                                  - -
                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                  - - -
                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                  -

                                                                                                                                                  - Generated using - TypeDoc -

                                                                                                                                                  -
                                                                                                                                                  -
                                                                                                                                                  - - - diff --git a/docs/v4.6/functions/useAuth0.html b/docs/v4.6/functions/useAuth0.html deleted file mode 100644 index 60f7c87a..00000000 --- a/docs/v4.6/functions/useAuth0.html +++ /dev/null @@ -1,308 +0,0 @@ - - - - - - useAuth0 | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                  -
                                                                                                                                                  - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                    -
                                                                                                                                                    -
                                                                                                                                                    Preparing search index...
                                                                                                                                                    -
                                                                                                                                                    -
                                                                                                                                                    - -
                                                                                                                                                    -
                                                                                                                                                    -
                                                                                                                                                    -
                                                                                                                                                    -
                                                                                                                                                    - -

                                                                                                                                                    Function useAuth0

                                                                                                                                                    -
                                                                                                                                                    -
                                                                                                                                                    -
                                                                                                                                                      -
                                                                                                                                                    • - -
                                                                                                                                                      -
                                                                                                                                                      -

                                                                                                                                                      - Use the useAuth0 in your function components to - access authentication state and methods. -

                                                                                                                                                      -
                                                                                                                                                      -

                                                                                                                                                      - Returns - Auth0ContextInterface<User> -

                                                                                                                                                      -

                                                                                                                                                      The useAuth0 hook interface

                                                                                                                                                      -
                                                                                                                                                      const {
                                                                                                                                                      // State
                                                                                                                                                      error,
                                                                                                                                                      user,
                                                                                                                                                      isLoading,
                                                                                                                                                      // Methods
                                                                                                                                                      authorize,
                                                                                                                                                      sendSMSCode,
                                                                                                                                                      authorizeWithSMS,
                                                                                                                                                      sendEmailCode,
                                                                                                                                                      authorizeWithEmail,
                                                                                                                                                      sendMultifactorChallenge,
                                                                                                                                                      authorizeWithOOB,
                                                                                                                                                      authorizeWithOTP,
                                                                                                                                                      authorizeWithRecoveryCode,
                                                                                                                                                      hasValidCredentials,
                                                                                                                                                      clearSession,
                                                                                                                                                      getCredentials,
                                                                                                                                                      clearCredentials,
                                                                                                                                                      requireLocalAuthentication,
                                                                                                                                                      authorizeWithPasswordRealm,
                                                                                                                                                      authorizeWithExchangeNativeSocial,
                                                                                                                                                      revokeRefreshToken
                                                                                                                                                      } = useAuth0(); -
                                                                                                                                                      - -

                                                                                                                                                      - Refer to <a - href="../interfaces/Types.Auth0ContextInterface.html" - class="tsd-kind-interface">Auth0ContextInterface</a> - on how to use the above methods. -

                                                                                                                                                      -
                                                                                                                                                      - -
                                                                                                                                                      -
                                                                                                                                                    • -
                                                                                                                                                    -
                                                                                                                                                    -
                                                                                                                                                    -
                                                                                                                                                    - - -
                                                                                                                                                    -
                                                                                                                                                    -
                                                                                                                                                    -

                                                                                                                                                    - Generated using - TypeDoc -

                                                                                                                                                    -
                                                                                                                                                    -
                                                                                                                                                    - - - diff --git a/docs/v4.6/hierarchy.html b/docs/v4.6/hierarchy.html deleted file mode 100644 index 7098f1c2..00000000 --- a/docs/v4.6/hierarchy.html +++ /dev/null @@ -1,281 +0,0 @@ - - - - - - React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                    -
                                                                                                                                                    - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                      -
                                                                                                                                                      -
                                                                                                                                                      Preparing search index...
                                                                                                                                                      -
                                                                                                                                                      -
                                                                                                                                                      - -
                                                                                                                                                      -
                                                                                                                                                      -
                                                                                                                                                      -
                                                                                                                                                      -

                                                                                                                                                      React Native Auth0 - v4.6.0

                                                                                                                                                      -

                                                                                                                                                      Hierarchy Summary

                                                                                                                                                      - - -
                                                                                                                                                      -
                                                                                                                                                      - - -
                                                                                                                                                      -
                                                                                                                                                      -
                                                                                                                                                      -

                                                                                                                                                      - Generated using - TypeDoc -

                                                                                                                                                      -
                                                                                                                                                      -
                                                                                                                                                      - - - diff --git a/docs/v4.6/index.html b/docs/v4.6/index.html deleted file mode 100644 index 4aa18685..00000000 --- a/docs/v4.6/index.html +++ /dev/null @@ -1,1897 +0,0 @@ - - - - - - React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                      -
                                                                                                                                                      - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                        -
                                                                                                                                                        -
                                                                                                                                                        Preparing search index...
                                                                                                                                                        -
                                                                                                                                                        -
                                                                                                                                                        - -
                                                                                                                                                        -
                                                                                                                                                        -
                                                                                                                                                        -
                                                                                                                                                        -

                                                                                                                                                        React Native Auth0 - v4.6.0

                                                                                                                                                        -
                                                                                                                                                        -

                                                                                                                                                        - react-native-auth0 -

                                                                                                                                                        -

                                                                                                                                                        - Build Status - NPM version - Coverage - License - Downloads - FOSSA Status -

                                                                                                                                                        -

                                                                                                                                                        - 📚 Documentation • 🚀 - Getting Started • ⏭️ - Next Steps • ❓ - FAQs - • ❓ Feedback -

                                                                                                                                                        - -

                                                                                                                                                        - We're excited to announce the release of react-native-auth0 - v4.0.0! Please note that this update includes breaking - changes that require your attention. To ensure a smooth transition, - please review our 👉 - Migration Guide - 👈 for detailed instructions on updating your integration. -

                                                                                                                                                        - - - - -

                                                                                                                                                        - This SDK targets apps that are using React Native SDK version - 0.65.0 and up. If you're using an older React Native - version, see the compatibility matrix below. -

                                                                                                                                                        - -

                                                                                                                                                        - The following shows platform minimums for running projects with this - SDK: -

                                                                                                                                                        - - - - - - - - - - - - - - - - - -
                                                                                                                                                        PlatformMinimum version
                                                                                                                                                        iOS13.0
                                                                                                                                                        Android34
                                                                                                                                                        -

                                                                                                                                                        - Our SDK requires a minimum iOS deployment target of 13.0. In your - project's ios/Podfile, ensure your platform target is set to 13.0. -

                                                                                                                                                        -
                                                                                                                                                        platform :ios, '13.0'
                                                                                                                                                        -
                                                                                                                                                        - - -

                                                                                                                                                        First install the native library module:

                                                                                                                                                        - -

                                                                                                                                                        $ npm install react-native-auth0 --save

                                                                                                                                                        - -

                                                                                                                                                        $ yarn add react-native-auth0

                                                                                                                                                        -

                                                                                                                                                        - Then, you need to run the following command to install the ios app - pods with Cocoapods. That will auto-link the iOS library: -

                                                                                                                                                        -

                                                                                                                                                        $ cd ios && pod install

                                                                                                                                                        - -

                                                                                                                                                        - You need to make your Android, iOS or Expo applications aware that - an authentication result will be received from the browser. This SDK - makes use of the Android's Package Name and its analogous iOS's - Product Bundle Identifier to generate the redirect URL. Each - platform has its own set of instructions. -

                                                                                                                                                        - -

                                                                                                                                                        - > Before version 2.9.0, this SDK required you to add an intent - filter to the Activity on which you're going to receive the - authentication result, and to use the singleTask - launchMode in that activity. To migrate your app to - version 2.9.0+, remove both and continue with the - instructions below. > You can also check out a sample migration - diff - here. -

                                                                                                                                                        -

                                                                                                                                                        - Open your app's build.gradle file (typically at - android/app/build.gradle) and add the following - manifest placeholders: -

                                                                                                                                                        -
                                                                                                                                                        android {
                                                                                                                                                        -    defaultConfig {
                                                                                                                                                        -        // Add the next line
                                                                                                                                                        -        manifestPlaceholders = [auth0Domain: "YOUR_AUTH0_DOMAIN", auth0Scheme: "${applicationId}.auth0"]
                                                                                                                                                        -    }
                                                                                                                                                        -    ...
                                                                                                                                                        -}
                                                                                                                                                        -
                                                                                                                                                        - -

                                                                                                                                                        - The auth0Domain value must be replaced with your Auth0 - domain value. So if you have samples.us.auth0.com as - your Auth0 domain you would have a configuration like the following: -

                                                                                                                                                        -
                                                                                                                                                        android {
                                                                                                                                                        -    defaultConfig {
                                                                                                                                                        -        manifestPlaceholders = [auth0Domain: "samples.us.auth0.com", auth0Scheme: "${applicationId}.auth0"]
                                                                                                                                                        -    }
                                                                                                                                                        -    ...
                                                                                                                                                        -}
                                                                                                                                                        -
                                                                                                                                                        - -

                                                                                                                                                        - The applicationId value will be auto-replaced at - runtime with the package name or ID of your application (e.g. - com.example.app). You can change this value from the - build.gradle file. You can also check it at the top of - your AndroidManifest.xml file. -

                                                                                                                                                        -

                                                                                                                                                        - > Note that if your Android application is using - product flavors, you might need to specify different manifest placeholders for - each flavor. -

                                                                                                                                                        -

                                                                                                                                                        - If you use a value other than applicationId in - auth0Scheme you will also need to pass it as the - customScheme option parameter of the - authorize and clearSession methods. -

                                                                                                                                                        -

                                                                                                                                                        - Take note of this value as you'll be requiring it to define the - callback URLs below. -

                                                                                                                                                        -

                                                                                                                                                        - > For more info please read the - React Native docs. -

                                                                                                                                                        - -

                                                                                                                                                        - If you don't plan to use Web Authentication, you will notice that - the compiler will still prompt you to provide the - manifestPlaceholders values, since the - RedirectActivity included in this library will require - them, and the Gradle tasks won't be able to run without them. -

                                                                                                                                                        -

                                                                                                                                                        - Re-declare the activity manually with - tools:node="remove" in your app's Android - Manifest in order to make the manifest merger remove it from the - final manifest file. Additionally, one more unused activity can be - removed from the final APK by using the same process. A complete - snippet to achieve this is: -

                                                                                                                                                        -
                                                                                                                                                        &lt;activity
                                                                                                                                                        -    android:name="com.auth0.android.provider.AuthenticationActivity"
                                                                                                                                                        -    tools:node="remove"/&gt;
                                                                                                                                                        -&lt;!-- Optional: Remove RedirectActivity --&gt;
                                                                                                                                                        -&lt;activity
                                                                                                                                                        -    android:name="com.auth0.android.provider.RedirectActivity"
                                                                                                                                                        -    tools:node="remove"/&gt;
                                                                                                                                                        -
                                                                                                                                                        - - -

                                                                                                                                                        - Inside the ios folder find the file - AppDelegate.[swift|m] add the following to it: -

                                                                                                                                                        -
                                                                                                                                                        #import &lt;React/RCTLinkingManager.h&gt;
                                                                                                                                                        -
                                                                                                                                                        -- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url
                                                                                                                                                        -            options:(NSDictionary&lt;UIApplicationOpenURLOptionsKey, id&gt; *)options
                                                                                                                                                        -{
                                                                                                                                                        -  return [RCTLinkingManager application:app openURL:url options:options];
                                                                                                                                                        -}
                                                                                                                                                        -
                                                                                                                                                        - -

                                                                                                                                                        - Inside the ios folder open the - Info.plist and locate the value for - CFBundleIdentifier, e.g. -

                                                                                                                                                        -
                                                                                                                                                        &lt;key&gt;CFBundleIdentifier&lt;/key&gt;
                                                                                                                                                        -&lt;string&gt;$(PRODUCT_BUNDLE_IDENTIFIER)&lt;/string&gt;
                                                                                                                                                        -
                                                                                                                                                        - -

                                                                                                                                                        - and then below it register a URL type entry using the value of - CFBundleIdentifier as the value for - CFBundleURLSchemes: -

                                                                                                                                                        -
                                                                                                                                                        &lt;key&gt;CFBundleURLTypes&lt;/key&gt;
                                                                                                                                                        -&lt;array&gt;
                                                                                                                                                        -    &lt;dict&gt;
                                                                                                                                                        -        &lt;key&gt;CFBundleTypeRole&lt;/key&gt;
                                                                                                                                                        -        &lt;string&gt;None&lt;/string&gt;
                                                                                                                                                        -        &lt;key&gt;CFBundleURLName&lt;/key&gt;
                                                                                                                                                        -        &lt;string&gt;auth0&lt;/string&gt;
                                                                                                                                                        -        &lt;key&gt;CFBundleURLSchemes&lt;/key&gt;
                                                                                                                                                        -        &lt;array&gt;
                                                                                                                                                        -            &lt;string&gt;$(PRODUCT_BUNDLE_IDENTIFIER).auth0&lt;/string&gt;
                                                                                                                                                        -        &lt;/array&gt;
                                                                                                                                                        -    &lt;/dict&gt;
                                                                                                                                                        -&lt;/array&gt;
                                                                                                                                                        -
                                                                                                                                                        - -

                                                                                                                                                        - If your application is generated using the React Native CLI, the - default value of $(PRODUCT_BUNDLE_IDENTIFIER) matches - org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier). Take note of this value as you'll be requiring it to define the - callback URLs below. If desired, you can change its value using - XCode in the following way: -

                                                                                                                                                        -
                                                                                                                                                          -
                                                                                                                                                        • - Open the ios/TestApp.xcodeproj file replacing - 'TestApp' with the name of your app or run - xed ios from a Terminal. -
                                                                                                                                                        • -
                                                                                                                                                        • - Open your project's or desired target's - Build Settings tab and on the search bar at the - right type "Product Bundle Identifier". -
                                                                                                                                                        • -
                                                                                                                                                        • - Replace the Product Bundle Identifier value with - your desired application's bundle identifier name (e.g. - com.example.app). -
                                                                                                                                                        • -
                                                                                                                                                        • - If you've changed the project wide settings, make sure the same - were applied to each of the targets your app has. -
                                                                                                                                                        • -
                                                                                                                                                        -

                                                                                                                                                        - If you use a value other than - $(PRODUCT_BUNDLE_IDENTIFIER) in the - CFBundleURLSchemes field of the - Info.plist you will also need to pass it as the - customScheme option parameter of the - authorize and clearSession methods. -

                                                                                                                                                        -

                                                                                                                                                        - > For more info please read the - React Native docs. -

                                                                                                                                                        - -

                                                                                                                                                        - > :warning: This SDK is not compatible with "Expo Go" - app because of custom native code. It is compatible with Custom Dev - Client and EAS builds -

                                                                                                                                                        -

                                                                                                                                                        - To use the SDK with Expo, configure the app at build time by - providing the domain and the - customScheme values through the - Config Plugin. To do this, add the following snippet to app.json or - app.config.js: -

                                                                                                                                                        -
                                                                                                                                                        {
                                                                                                                                                        "expo": {
                                                                                                                                                        ...
                                                                                                                                                        "plugins": [
                                                                                                                                                        [
                                                                                                                                                        "react-native-auth0",
                                                                                                                                                        {
                                                                                                                                                        "domain": "YOUR_AUTH0_DOMAIN",
                                                                                                                                                        "customScheme": "YOUR_CUSTOM_SCHEME"
                                                                                                                                                        }
                                                                                                                                                        ]
                                                                                                                                                        ]
                                                                                                                                                        }
                                                                                                                                                        } -
                                                                                                                                                        - -

                                                                                                                                                        - > :info: If you want to switch between multiple domains in your - app, refer - here -

                                                                                                                                                        - - - - - - - - - - - - - - - - - -
                                                                                                                                                        APIDescription
                                                                                                                                                        domain - Mandatory: Provide the Auth0 domain that can be found at the - Application Settings -
                                                                                                                                                        customScheme - Optional: Custom scheme to build the callback URL with. The - value provided here should be passed to the - customScheme option parameter of the - authorize and clearSession methods. - The custom scheme should be a unique, all lowercase value with - no special characters. -
                                                                                                                                                        -

                                                                                                                                                        - Now you can run the application using - expo run:android or expo run:ios. -

                                                                                                                                                        - -

                                                                                                                                                        - Callback URLs are the URLs that Auth0 invokes after the - authentication process. Auth0 routes your application back to this - URL and appends additional parameters to it, including a token. - Since callback URLs can be manipulated, you will need to add this - URL to your Application's Allowed Callback URLs for - security. This will enable Auth0 to recognize these URLs as valid. - If omitted, authentication will not be successful. -

                                                                                                                                                        -

                                                                                                                                                        - On the Android platform this URL is case-sensitive. Because of that, - this SDK will auto convert the Bundle Identifier (iOS) and - Application ID (Android) values to lowercase in order to build the - Callback URL with them. If any of these values contains uppercase - characters a warning message will be printed in the console. Make - sure to check that the right Callback URL is whitelisted in the - Auth0 dashboard or the browser will not route successfully back to - your application. -

                                                                                                                                                        -

                                                                                                                                                        - Go to the - Auth0 Dashboard, select your application and make sure that - Allowed Callback URLs contains the URLs defined - below. -

                                                                                                                                                        -

                                                                                                                                                        - If in addition you plan to use the log out method, you must also add - these URLs to the Allowed Logout URLs. -

                                                                                                                                                        -

                                                                                                                                                        - > [!NOTE] > Whenever possible, Auth0 recommends using - Android App Links - and - Apple Universal Links - for your callback and logout URLs. Custom URL schemes can be subject - to - client impersonation attacks. > > 💡 If your Android app is using - product flavors, you might need to specify different manifest placeholders for - each flavor. -

                                                                                                                                                        - - -
                                                                                                                                                        {YOUR_APP_PACKAGE_NAME}.auth0://{YOUR_AUTH0_DOMAIN}/android/{YOUR_APP_PACKAGE_NAME}/callback
                                                                                                                                                        -
                                                                                                                                                        - - -
                                                                                                                                                        https://{YOUR_AUTH0_DOMAIN}/android/{YOUR_APP_PACKAGE_NAME}/callback
                                                                                                                                                        -
                                                                                                                                                        - -

                                                                                                                                                        - > Replace {YOUR_APP_PACKAGE_NAME} and {YOUR_AUTH0_DOMAIN} with - your actual application package name and Auth0 domain. Ensure that - {YOUR_APP_PACKAGE_NAME} is all lowercase. -

                                                                                                                                                        -

                                                                                                                                                        - To enable App Links, set the auth0Scheme to - https in your build.gradle file. -

                                                                                                                                                        -
                                                                                                                                                        android {
                                                                                                                                                        -    defaultConfig {
                                                                                                                                                        -        manifestPlaceholders = [auth0Domain: "@string/com_auth0_domain", auth0Scheme: "https"]
                                                                                                                                                        -    }
                                                                                                                                                        -}
                                                                                                                                                        -
                                                                                                                                                        - -

                                                                                                                                                        - This configuration ensures that your app uses https for the callback - URL scheme, which is required for Android App Links. -

                                                                                                                                                        - -

                                                                                                                                                        - Android App Links - allow an application to designate itself as the default handler of a - given type of link. For example, clicking a URL in an email would - open the link in the designated application. This guide will show - you how to enable Android App links support for your - Auth0-registered application using Auth0's Dashboard. -

                                                                                                                                                        -
                                                                                                                                                          -
                                                                                                                                                        1. -

                                                                                                                                                          - Go to - Auth0 Dashboard > Applications > Applications, and select the name of the application to view. -

                                                                                                                                                          -
                                                                                                                                                        2. -
                                                                                                                                                        3. -

                                                                                                                                                          - Scroll to the bottom of the Settings page, and select - Show Advanced Settings. -

                                                                                                                                                          -
                                                                                                                                                        4. -
                                                                                                                                                        5. -

                                                                                                                                                          - Select Device Settings, provide the - App Package Name and - the SHA256 fingerprints of your app’s signing certificate for - your Android application, and select Save Changes. - android-app-link -

                                                                                                                                                          -
                                                                                                                                                        6. -
                                                                                                                                                        -

                                                                                                                                                        - > You can use the following command to generate the fingerprint - using the Java keytool in your terminal: - keytool -list -v -keystore my-release-key.keystore -

                                                                                                                                                        -

                                                                                                                                                        - To learn more about signing certificates, see Android's - Sign Your App - developer documentation. -

                                                                                                                                                        - - -
                                                                                                                                                        {PRODUCT_BUNDLE_IDENTIFIER}.auth0://{YOUR_AUTH0_DOMAIN}/ios/{PRODUCT_BUNDLE_IDENTIFIER}/callback
                                                                                                                                                        -
                                                                                                                                                        - - -
                                                                                                                                                        https://{YOUR_AUTH0_DOMAIN}/ios/{PRODUCT_BUNDLE_IDENTIFIER}/callback
                                                                                                                                                        -
                                                                                                                                                        - -

                                                                                                                                                        - > Replace {PRODUCT_BUNDLE_IDENTIFIER} and - {YOUR_AUTH0_DOMAIN} with your actual product bundle - identifier and Auth0 domain. Ensure that {PRODUCT_BUNDLE_IDENTIFIER} - is all lowercase. -

                                                                                                                                                        - -

                                                                                                                                                        - > [!IMPORTANT] > This step requires a paid Apple Developer - account. It is needed to use Universal Links as callback and logout - URLs. > Skip this step to use a custom URL scheme instead. -

                                                                                                                                                        - -

                                                                                                                                                        - Scroll to the end of the settings page of your Auth0 application and - open Advanced Settings > Device Settings. In the - iOS section, set Team ID to your - Apple Team ID, and App ID to your app's bundle identifier. -

                                                                                                                                                        -

                                                                                                                                                        - Screenshot of the iOS section inside the Auth0 application settings page -

                                                                                                                                                        -

                                                                                                                                                        - This will add your app to your Auth0 tenant's - apple-app-site-association file. -

                                                                                                                                                        - -

                                                                                                                                                        - In Xcode, go to the Signing and Capabilities - tab - of your app's target settings, and press the - + Capability button. Then select - Associated Domains. -

                                                                                                                                                        -

                                                                                                                                                        - Screenshot of the capabilities library inside Xcode -

                                                                                                                                                        -

                                                                                                                                                        - Next, add the following - entry - under Associated Domains: -

                                                                                                                                                        -
                                                                                                                                                        webcredentials:YOUR_AUTH0_DOMAIN
                                                                                                                                                        -
                                                                                                                                                        - -

                                                                                                                                                        <details> <summary>Example</summary>

                                                                                                                                                        -

                                                                                                                                                        - If your Auth0 Domain were example.us.auth0.com, then - this value would be: -

                                                                                                                                                        -
                                                                                                                                                        webcredentials:example.us.auth0.com
                                                                                                                                                        -
                                                                                                                                                        - -

                                                                                                                                                        </details>

                                                                                                                                                        -

                                                                                                                                                        - If you have a custom domain, replace YOUR_AUTH0_DOMAIN with your custom domain. -

                                                                                                                                                        -

                                                                                                                                                        - > [!NOTE] > For the associated domain to work, your app must - be signed with your team certificate - even when building for the iOS simulator. Make sure - you are using the Apple Team whose Team ID is configured in the - settings page of your Auth0 application. -

                                                                                                                                                        -

                                                                                                                                                        - Refer to the example of - Using custom scheme for web authentication redirection -

                                                                                                                                                        - -

                                                                                                                                                        - > This SDK is OIDC compliant. To ensure OIDC compliant responses - from the Auth0 servers enable the - OIDC Conformant switch in your Auth0 dashboard - under Application / Settings / Advanced OAuth. For more - information please check - this documentation. -

                                                                                                                                                        - -

                                                                                                                                                        - The SDK exports a React hook as the primary interface for performing - web authentication through the - browser using Auth0 - Universal Login. -

                                                                                                                                                        -

                                                                                                                                                        - Use the methods from the useAuth0 hook to implement - login, logout, and to retrieve details about the authenticated user. -

                                                                                                                                                        -

                                                                                                                                                        - See the - API Documentation - for full details on the useAuth0 hook. -

                                                                                                                                                        -

                                                                                                                                                        - First, import the Auth0Provider component and wrap it - around your application. Provide the domain and - clientId values as given to you when setting up your - Auth0 app in the dashboard: -

                                                                                                                                                        -
                                                                                                                                                        import { Auth0Provider } from 'react-native-auth0';

                                                                                                                                                        const App = () =&gt; {
                                                                                                                                                        return (
                                                                                                                                                        &lt;Auth0Provider domain="YOUR_AUTH0_DOMAIN" clientId="YOUR_AUTH0_CLIENT_ID"&gt;
                                                                                                                                                        {/* YOUR APP */}
                                                                                                                                                        &lt;/Auth0Provider&gt;
                                                                                                                                                        );
                                                                                                                                                        };

                                                                                                                                                        export default App; -
                                                                                                                                                        - -

                                                                                                                                                        - You can also pass custom headers that will be included in all API - requests: -

                                                                                                                                                        -
                                                                                                                                                        import { Auth0Provider } from 'react-native-auth0';

                                                                                                                                                        const App = () =&gt; {
                                                                                                                                                        return (
                                                                                                                                                        &lt;Auth0Provider
                                                                                                                                                        domain="YOUR_AUTH0_DOMAIN"
                                                                                                                                                        clientId="YOUR_AUTH0_CLIENT_ID"
                                                                                                                                                        headers={{ 'X-Custom-Header': 'custom-value' }}
                                                                                                                                                        &gt;
                                                                                                                                                        {/* YOUR APP */}
                                                                                                                                                        &lt;/Auth0Provider&gt;
                                                                                                                                                        );
                                                                                                                                                        };

                                                                                                                                                        export default App; -
                                                                                                                                                        - -

                                                                                                                                                        - <details> <summary>Using the - Auth0 class</summary> -

                                                                                                                                                        -

                                                                                                                                                        - If you're not using React Hooks, you can simply instantiate the - Auth0 class: -

                                                                                                                                                        -
                                                                                                                                                        import Auth0 from 'react-native-auth0';

                                                                                                                                                        const auth0 = new Auth0({
                                                                                                                                                        domain: 'YOUR_AUTH0_DOMAIN',
                                                                                                                                                        clientId: 'YOUR_AUTH0_CLIENT_ID',
                                                                                                                                                        }); -
                                                                                                                                                        - -

                                                                                                                                                        - You can also pass custom headers that will be included in all API - requests: -

                                                                                                                                                        -
                                                                                                                                                        import Auth0 from 'react-native-auth0';

                                                                                                                                                        const auth0 = new Auth0({
                                                                                                                                                        domain: 'YOUR_AUTH0_DOMAIN',
                                                                                                                                                        clientId: 'YOUR_AUTH0_CLIENT_ID',
                                                                                                                                                        headers: {
                                                                                                                                                        'X-Custom-Header': 'custom-value',
                                                                                                                                                        }
                                                                                                                                                        }); -
                                                                                                                                                        - -

                                                                                                                                                        </details>

                                                                                                                                                        -

                                                                                                                                                        - Then import the hook into a component where you want to get access - to the properties and methods for integrating with Auth0: -

                                                                                                                                                        -
                                                                                                                                                        import { useAuth0 } from 'react-native-auth0';
                                                                                                                                                        -
                                                                                                                                                        - - -

                                                                                                                                                        - Use the authorize method to redirect the user to the - Auth0 - Universal Login - page for authentication. If scope is not specified, - openid profile email is used by default. -

                                                                                                                                                        -
                                                                                                                                                          -
                                                                                                                                                        • - The isLoading property is set to true once the - authentication state of the user is known to the SDK. -
                                                                                                                                                        • -
                                                                                                                                                        • - The user property is populated with details about the - authenticated user. If user is null, no - user is currently authenticated. -
                                                                                                                                                        • -
                                                                                                                                                        • - The error property is populated if any error occurs. -
                                                                                                                                                        • -
                                                                                                                                                        -
                                                                                                                                                        const Component = () =&gt; {
                                                                                                                                                        const { authorize, user, isLoading, error } = useAuth0();

                                                                                                                                                        const login = async () =&gt; {
                                                                                                                                                        await authorize();
                                                                                                                                                        };

                                                                                                                                                        if (isLoading) {
                                                                                                                                                        return (
                                                                                                                                                        &lt;View&gt;
                                                                                                                                                        &lt;Text&gt;SDK is Loading&lt;/Text&gt;
                                                                                                                                                        &lt;/View&gt;
                                                                                                                                                        );
                                                                                                                                                        }

                                                                                                                                                        return (
                                                                                                                                                        &lt;View&gt;
                                                                                                                                                        {!user && &lt;Button onPress={login} title="Log in" /&gt;}
                                                                                                                                                        {user && &lt;Text&gt;Logged in as {user.name}&lt;/Text&gt;}
                                                                                                                                                        {error && &lt;Text&gt;{error.message}&lt;/Text&gt;}
                                                                                                                                                        &lt;/View&gt;
                                                                                                                                                        );
                                                                                                                                                        }; -
                                                                                                                                                        - -

                                                                                                                                                        - <details> <summary>Using the - Auth0 class</summary> -

                                                                                                                                                        -
                                                                                                                                                        auth0.webAuth
                                                                                                                                                        .authorize()
                                                                                                                                                        .then(credentials =&gt; console.log(credentials))
                                                                                                                                                        .catch(error =&gt; console.log(error)); -
                                                                                                                                                        - -

                                                                                                                                                        </details>

                                                                                                                                                        -

                                                                                                                                                        - > Web Authentication flows require a Browser application - installed on the device. When no Browser is available, an error of - type a0.browser_not_available will be raised via the - provided callback. -

                                                                                                                                                        - -

                                                                                                                                                        ios-sso-alert

                                                                                                                                                        -

                                                                                                                                                        - Check the FAQ for more information about - the alert box that pops up by default when using - Web Auth on iOS. -

                                                                                                                                                        -

                                                                                                                                                        - > See also - this blog post - for a detailed overview of Single Sign-On (SSO) on iOS. -

                                                                                                                                                        - -

                                                                                                                                                        - Log the user out by using the clearSession method from - the useAuth0 hook. -

                                                                                                                                                        -
                                                                                                                                                        const Component = () =&gt; {
                                                                                                                                                        const { clearSession, user } = useAuth0();

                                                                                                                                                        const logout = async () =&gt; {
                                                                                                                                                        await clearSession();
                                                                                                                                                        };

                                                                                                                                                        return &lt;View&gt;{user && &lt;Button onPress={logout} title="Log out" /&gt;}&lt;/View&gt;;
                                                                                                                                                        }; -
                                                                                                                                                        - -

                                                                                                                                                        - <details> <summary>Using the - Auth0 class</summary> -

                                                                                                                                                        -
                                                                                                                                                        auth0.webAuth.clearSession().catch((error) =&gt; console.log(error));
                                                                                                                                                        -
                                                                                                                                                        - -

                                                                                                                                                        </details>

                                                                                                                                                        - - -

                                                                                                                                                        - The Credentials Manager allows you to securely store and retrieve - the user's credentials. The credentials will be stored encrypted in - Shared Preferences on Android, and in the Keychain on iOS. -

                                                                                                                                                        -

                                                                                                                                                        - The Auth0 class exposes the - credentialsManager property for you to interact with - using the API below. -

                                                                                                                                                        -

                                                                                                                                                        - > 💡 If you're using Web Auth (authorize) through - Hooks, you do not need to manually store the credentials after login - and delete them after logout; the SDK does this automatically. -

                                                                                                                                                        - -

                                                                                                                                                        - When the users open your app, check for valid credentials. If they - exist, you can retrieve them and redirect the users to the app's - main flow without any additional login steps. -

                                                                                                                                                        -
                                                                                                                                                        const isLoggedIn = await auth0.credentialsManager.hasValidCredentials();

                                                                                                                                                        if (isLoggedIn) {
                                                                                                                                                        // Retrieve credentials and redirect to the main flow
                                                                                                                                                        } else {
                                                                                                                                                        // Redirect to the login page
                                                                                                                                                        } -
                                                                                                                                                        - - -

                                                                                                                                                        - The credentials will be automatically renewed using the - refresh token, if the access token has expired. - This method is thread safe. -

                                                                                                                                                        -
                                                                                                                                                        const credentials = await auth0.credentialsManager.getCredentials();
                                                                                                                                                        -
                                                                                                                                                        - -

                                                                                                                                                        - > 💡 You do not need to call credentialsManager.saveCredentials() - afterward. The Credentials Manager automatically persists the - renewed credentials. -

                                                                                                                                                        - -

                                                                                                                                                        - > :warning: The requireLocalAuthentication method is - no longer available as part of the - CredentialsManager class or the - useAuth0 Hook from v4 of the SDK. -

                                                                                                                                                        -

                                                                                                                                                        - > ℹ️ You need to use at least version 0.59.0 of - React Native, as it uses FragmentActivity as the base - activity, which is required for biometric authentication to work. -

                                                                                                                                                        -

                                                                                                                                                        - You can enable an additional level of user authentication before - retrieving credentials using the local authentication supported by - the device, for example PIN or fingerprint on Android, and Face ID - or Touch ID on iOS. -

                                                                                                                                                        -

                                                                                                                                                        - Refer to the instructions below to understand how to enable - authentication before retrieving credentials based on your setup: -

                                                                                                                                                        -

                                                                                                                                                        Using Auth0 Class:

                                                                                                                                                        -

                                                                                                                                                        - The Auth0 class constructor now accepts a new - parameter, which is an instance of the - LocalAuthenticationOptions object. This needs to be - passed while creating an instance of Auth0 to enable - authentication before obtaining credentials, as shown in the code - snippet below: -

                                                                                                                                                        -
                                                                                                                                                        import Auth0 from 'react-native-auth0';
                                                                                                                                                        const localAuthOptions: LocalAuthenticationOptions = {
                                                                                                                                                        title: 'Authenticate to retreive your credentials',
                                                                                                                                                        subtitle: 'Please authenticate to continue',
                                                                                                                                                        description: 'We need to authenticate you to retrieve your credentials',
                                                                                                                                                        cancelTitle: 'Cancel',
                                                                                                                                                        evaluationPolicy: LocalAuthenticationStrategy.deviceOwnerWithBiometrics,
                                                                                                                                                        fallbackTitle: 'Use Passcode',
                                                                                                                                                        authenticationLevel: LocalAuthenticationLevel.strong,
                                                                                                                                                        deviceCredentialFallback: true,
                                                                                                                                                        };
                                                                                                                                                        const auth0 = new Auth0({
                                                                                                                                                        domain: config.domain,
                                                                                                                                                        clientId: config.clientId,
                                                                                                                                                        localAuthenticationOptions: localAuthOptions,
                                                                                                                                                        }); -
                                                                                                                                                        - -

                                                                                                                                                        Using Hooks (Auth0Provider):

                                                                                                                                                        -

                                                                                                                                                        - Auth0Provider now accepts a new parameter, which is an - instance of the LocalAuthenticationOptions object. This - needs to be passed to enable authentication before obtaining - credentials, as shown in the code snippet below: -

                                                                                                                                                        -
                                                                                                                                                        import { Auth0Provider } from 'react-native-auth0';

                                                                                                                                                        const localAuthOptions: LocalAuthenticationOptions = {
                                                                                                                                                        title: 'Authenticate to retreive your credentials',
                                                                                                                                                        subtitle: 'Please authenticate to continue',
                                                                                                                                                        description: 'We need to authenticate you to retrieve your credentials',
                                                                                                                                                        cancelTitle: 'Cancel',
                                                                                                                                                        evaluationPolicy: LocalAuthenticationStrategy.deviceOwnerWithBiometrics,
                                                                                                                                                        fallbackTitle: 'Use Passcode',
                                                                                                                                                        authenticationLevel: LocalAuthenticationLevel.strong,
                                                                                                                                                        deviceCredentialFallback: true,
                                                                                                                                                        };

                                                                                                                                                        const App = () =&gt; {
                                                                                                                                                        return (
                                                                                                                                                        &lt;Auth0Provider
                                                                                                                                                        domain={config.domain}
                                                                                                                                                        clientId={config.clientId}
                                                                                                                                                        localAuthenticationOptions={localAuthOptions}
                                                                                                                                                        &gt;
                                                                                                                                                        {/* YOUR APP */}
                                                                                                                                                        &lt;/Auth0Provider&gt;
                                                                                                                                                        );
                                                                                                                                                        };

                                                                                                                                                        export default App; -
                                                                                                                                                        - -

                                                                                                                                                        - Detailed information on LocalAuthenticationOptions is - available here -

                                                                                                                                                        -

                                                                                                                                                        LocalAuthenticationOptions:

                                                                                                                                                        -

                                                                                                                                                        - The options for configuring the display of local authentication - prompt, authentication level (Android only), and evaluation policy - (iOS only). -

                                                                                                                                                        -

                                                                                                                                                        Properties:

                                                                                                                                                        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                                                                                                                        PropertyTypeDescriptionApplicable Platforms
                                                                                                                                                        titleStringThe title of the authentication prompt.Android, iOS
                                                                                                                                                        subtitleString (optional)The subtitle of the authentication prompt.Android
                                                                                                                                                        descriptionString (optional)The description of the authentication prompt.Android
                                                                                                                                                        cancelTitleString (optional)The cancel button title of the authentication prompt.Android, iOS
                                                                                                                                                        evaluationPolicyLocalAuthenticationStrategy (optional) - The evaluation policy to use when prompting the user for - authentication. Defaults to - deviceOwnerWithBiometrics. - iOS
                                                                                                                                                        fallbackTitleString (optional)The fallback button title of the authentication prompt.iOS
                                                                                                                                                        authenticationLevelLocalAuthenticationLevel (optional) - The authentication level to use when prompting the user for - authentication. Defaults to strong. - Android
                                                                                                                                                        deviceCredentialFallbackBoolean (optional) - Should the user be given the option to authenticate with their - device PIN, pattern, or password instead of a biometric. - Defaults to false - Android
                                                                                                                                                        -

                                                                                                                                                        - > :warning: You need a real device to test Local Authentication - for iOS. Local Authentication is not available in simulators. -

                                                                                                                                                        - -

                                                                                                                                                        - The Credentials Manager will only throw - CredentialsManagerError exceptions. You can find more - information in the details property of the exception. -

                                                                                                                                                        -
                                                                                                                                                        try {
                                                                                                                                                        const credentials = await auth0.credentialsManager.getCredentials();
                                                                                                                                                        } catch (error) {
                                                                                                                                                        console.log(error);
                                                                                                                                                        } -
                                                                                                                                                        - -

                                                                                                                                                        Platform agnostic errors:

                                                                                                                                                        -

                                                                                                                                                        - You can access the platform agnostic generic error codes as below : -

                                                                                                                                                        -
                                                                                                                                                        try {
                                                                                                                                                        const credentials = await auth0.credentialsManager.getCredentials();
                                                                                                                                                        } catch (error) {
                                                                                                                                                        console.log(e.type);
                                                                                                                                                        } -
                                                                                                                                                        - -

                                                                                                                                                        - Note : We have platform agnostic error codes available only - for CredentialsManagerError as of now. -

                                                                                                                                                        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                                                                                                                        Generic Error CodeCorresponding Error Code in AndroidCorresponding Error Code in iOS
                                                                                                                                                        INVALID_CREDENTIALSINVALID_CREDENTIALS
                                                                                                                                                        NO_CREDENTIALSNO_CREDENTIALSnoCredentials
                                                                                                                                                        NO_REFRESH_TOKENNO_REFRESH_TOKENnoRefreshToken
                                                                                                                                                        RENEW_FAILEDRENEW_FAILEDrenewFailed
                                                                                                                                                        STORE_FAILEDSTORE_FAILEDstoreFailed
                                                                                                                                                        REVOKE_FAILEDREVOKE_FAILEDrevokeFailed
                                                                                                                                                        LARGE_MIN_TTLLARGE_MIN_TTLlargeMinTTL
                                                                                                                                                        INCOMPATIBLE_DEVICEINCOMPATIBLE_DEVICE
                                                                                                                                                        CRYPTO_EXCEPTIONCRYPTO_EXCEPTION
                                                                                                                                                        BIOMETRICS_FAILED - OneOf - <br>BIOMETRIC_NO_ACTIVITY,BIOMETRIC_ERROR_STATUS_UNKNOWN,BIOMETRIC_ERROR_UNSUPPORTED,<br>BIOMETRIC_ERROR_HW_UNAVAILABLE,BIOMETRIC_ERROR_NONE_ENROLLED,BIOMETRIC_ERROR_NO_HARDWARE,<br>BIOMETRIC_ERROR_SECURITY_UPDATE_REQUIRED,BIOMETRIC_AUTHENTICATION_CHECK_FAILED,<br>BIOMETRIC_ERROR_DEVICE_CREDENTIAL_NOT_AVAILABLE - biometricsFailed
                                                                                                                                                        NO_NETWORKNO_NETWORK
                                                                                                                                                        API_ERRORAPI_ERROR
                                                                                                                                                        - - -

                                                                                                                                                        - We appreciate feedback and contribution to this repo! Before you get - started, please see the following: -

                                                                                                                                                        - - -

                                                                                                                                                        - To provide feedback or report a bug, - please raise an issue on our issue tracker. -

                                                                                                                                                        - -

                                                                                                                                                        - Please do not report security vulnerabilities on the public Github - issue tracker. The - Responsible Disclosure Program - details the procedure for disclosing security issues. -

                                                                                                                                                        -
                                                                                                                                                        -

                                                                                                                                                        - <p align="center"> <picture> <source - media="(prefers-color-scheme: light)" srcset="https://cdn.auth0.com/website/sdks/logos/auth0_light_mode.png" width="150"> <source - media="(prefers-color-scheme: dark)" srcset="https://cdn.auth0.com/website/sdks/logos/auth0_dark_mode.png" width="150"> <img alt="Auth0 Logo" - src="https://cdn.auth0.com/website/sdks/logos/auth0_light_mode.png" width="150"> </picture> </p> <p - align="center">Auth0 is an easy to implement, adaptable - authentication and authorization platform. To learn more checkout - <a href="https://auth0.com/why-auth0">Why Auth0?</a></p> <p - align="center"> This project is licensed under the MIT - license. See the <a href="https://github.com/auth0/react-native-auth0/blob/master/LICENSE"> LICENSE</a> file for more info.</p> -

                                                                                                                                                        -

                                                                                                                                                        <!-- Variables -->

                                                                                                                                                        -
                                                                                                                                                        -
                                                                                                                                                        -
                                                                                                                                                        - - -
                                                                                                                                                        -
                                                                                                                                                        -
                                                                                                                                                        -

                                                                                                                                                        - Generated using - TypeDoc -

                                                                                                                                                        -
                                                                                                                                                        -
                                                                                                                                                        - - - diff --git a/docs/v4.6/interfaces/Auth0Options.html b/docs/v4.6/interfaces/Auth0Options.html deleted file mode 100644 index 8a60ebc5..00000000 --- a/docs/v4.6/interfaces/Auth0Options.html +++ /dev/null @@ -1,693 +0,0 @@ - - - - - - Auth0Options | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                        -
                                                                                                                                                        - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          Preparing search index...
                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          - -
                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          - -

                                                                                                                                                          Interface Auth0Options

                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          -

                                                                                                                                                          Options for configuring the Auth0 client.

                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          - interface - Auth0Options - {
                                                                                                                                                              clientId: - string;
                                                                                                                                                              domain: - string;
                                                                                                                                                              headers?: - Record<string, - string>;
                                                                                                                                                              localAuthenticationOptions?: - LocalAuthenticationOptions;
                                                                                                                                                              telemetry?: - Telemetry;
                                                                                                                                                              timeout?: - number;
                                                                                                                                                          } -
                                                                                                                                                          - -
                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          - - -
                                                                                                                                                          Index
                                                                                                                                                          -
                                                                                                                                                          - -
                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          - - -

                                                                                                                                                          Properties

                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          - -
                                                                                                                                                          - clientId: - string -
                                                                                                                                                          -
                                                                                                                                                          -

                                                                                                                                                          The client identifier of your application.

                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          - -
                                                                                                                                                          -
                                                                                                                                                          - -
                                                                                                                                                          - domain: - string -
                                                                                                                                                          -
                                                                                                                                                          -

                                                                                                                                                          The Auth0 domain for your tenant.

                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          - -
                                                                                                                                                          -
                                                                                                                                                          - -
                                                                                                                                                          - headers?: - Record<string, - string> -
                                                                                                                                                          -
                                                                                                                                                          -

                                                                                                                                                          (Optional) Custom headers to include in requests.

                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          - -
                                                                                                                                                          -
                                                                                                                                                          - -
                                                                                                                                                          - localAuthenticationOptions?: - LocalAuthenticationOptions -
                                                                                                                                                          -
                                                                                                                                                          -

                                                                                                                                                          Options for configuring local authentication.

                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          - -
                                                                                                                                                          -
                                                                                                                                                          - -
                                                                                                                                                          - telemetry?: - Telemetry -
                                                                                                                                                          -
                                                                                                                                                          -

                                                                                                                                                          Telemetry information to include in requests.

                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          - -
                                                                                                                                                          -
                                                                                                                                                          - -
                                                                                                                                                          - timeout?: - number -
                                                                                                                                                          -
                                                                                                                                                          -

                                                                                                                                                          The timeout in milliseconds for network requests.

                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          - -
                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          - - -
                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          -

                                                                                                                                                          - Generated using - TypeDoc -

                                                                                                                                                          -
                                                                                                                                                          -
                                                                                                                                                          - - - diff --git a/docs/v4.6/interfaces/AuthorizeUrlOptions.html b/docs/v4.6/interfaces/AuthorizeUrlOptions.html deleted file mode 100644 index 4faf2dbf..00000000 --- a/docs/v4.6/interfaces/AuthorizeUrlOptions.html +++ /dev/null @@ -1,529 +0,0 @@ - - - - - - AuthorizeUrlOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                          -
                                                                                                                                                          - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            Preparing search index...
                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            - -
                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            - -

                                                                                                                                                            Interface AuthorizeUrlOptions

                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            -

                                                                                                                                                            Options for building a URL for /authorize

                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            - interface - AuthorizeUrlOptions - {
                                                                                                                                                                redirectUri: - object;
                                                                                                                                                                responseType: - string;
                                                                                                                                                                state: - object;
                                                                                                                                                                [key: - string]: - any;
                                                                                                                                                            } -
                                                                                                                                                            -
                                                                                                                                                            -

                                                                                                                                                            Indexable

                                                                                                                                                            -
                                                                                                                                                              -
                                                                                                                                                            • -
                                                                                                                                                              - [key: - string]: - any -
                                                                                                                                                              -
                                                                                                                                                              -

                                                                                                                                                              Custom parameters to send to /authorize

                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                            • -
                                                                                                                                                            -
                                                                                                                                                            - -
                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            - - -
                                                                                                                                                            Index
                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            -

                                                                                                                                                            Properties

                                                                                                                                                            - -
                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            - - -

                                                                                                                                                            Properties

                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            - -
                                                                                                                                                            - redirectUri: - object -
                                                                                                                                                            -
                                                                                                                                                            -

                                                                                                                                                            - Where the authorization server will redirect back after - success or failure. -

                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            - -
                                                                                                                                                            -
                                                                                                                                                            - -
                                                                                                                                                            - responseType: - string -
                                                                                                                                                            -
                                                                                                                                                            -

                                                                                                                                                            The response_type value

                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            - -
                                                                                                                                                            -
                                                                                                                                                            - -
                                                                                                                                                            - state: - object -
                                                                                                                                                            -
                                                                                                                                                            -

                                                                                                                                                            Random string to prevent CSRF attacks.

                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            - -
                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            - - -
                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            -

                                                                                                                                                            - Generated using - TypeDoc -

                                                                                                                                                            -
                                                                                                                                                            -
                                                                                                                                                            - - - diff --git a/docs/v4.6/interfaces/ClearSessionOptions.html b/docs/v4.6/interfaces/ClearSessionOptions.html deleted file mode 100644 index a3b9ab5b..00000000 --- a/docs/v4.6/interfaces/ClearSessionOptions.html +++ /dev/null @@ -1,463 +0,0 @@ - - - - - - ClearSessionOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                            -
                                                                                                                                                            - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              Preparing search index...
                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              - -
                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              - -

                                                                                                                                                              Interface ClearSessionOptions

                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              -

                                                                                                                                                              Options for configuring the SDK's clear session behaviour.

                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              - interface - ClearSessionOptions - {
                                                                                                                                                                  customScheme?: - string;
                                                                                                                                                                  useLegacyCallbackUrl?: - boolean;
                                                                                                                                                              } -
                                                                                                                                                              - -
                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              - - -
                                                                                                                                                              Index
                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              -

                                                                                                                                                              Properties

                                                                                                                                                              - -
                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              - - -

                                                                                                                                                              Properties

                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              - -
                                                                                                                                                              - customScheme?: - string -
                                                                                                                                                              -
                                                                                                                                                              -

                                                                                                                                                              - Android only: Custom scheme to build the - callback URL with. -

                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              - -
                                                                                                                                                              -
                                                                                                                                                              - -
                                                                                                                                                              - useLegacyCallbackUrl?: - boolean -
                                                                                                                                                              - -
                                                                                                                                                              - -
                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              - - -
                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              -

                                                                                                                                                              - Generated using - TypeDoc -

                                                                                                                                                              -
                                                                                                                                                              -
                                                                                                                                                              - - - diff --git a/docs/v4.6/interfaces/ClearSessionParameters.html b/docs/v4.6/interfaces/ClearSessionParameters.html deleted file mode 100644 index 08a87277..00000000 --- a/docs/v4.6/interfaces/ClearSessionParameters.html +++ /dev/null @@ -1,501 +0,0 @@ - - - - - - ClearSessionParameters | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                              -
                                                                                                                                                              - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                Preparing search index...
                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                - -
                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                - -

                                                                                                                                                                Interface ClearSessionParameters

                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                -

                                                                                                                                                                Parameters for sending to the Auth0 logout endpoint.

                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                - interface - ClearSessionParameters - {
                                                                                                                                                                    federated?: - boolean;
                                                                                                                                                                    returnToUrl?: - string;
                                                                                                                                                                } -
                                                                                                                                                                - -
                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                - - -
                                                                                                                                                                Index
                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                -

                                                                                                                                                                Properties

                                                                                                                                                                - -
                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                - - -

                                                                                                                                                                Properties

                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                - -
                                                                                                                                                                - federated?: - boolean -
                                                                                                                                                                -
                                                                                                                                                                -

                                                                                                                                                                - If true, the user will be signed out of any - connected identity providers in addition to their Auth0 - session. -

                                                                                                                                                                -
                                                                                                                                                                - - -
                                                                                                                                                                -
                                                                                                                                                                - -
                                                                                                                                                                - returnToUrl?: - string -
                                                                                                                                                                -
                                                                                                                                                                -

                                                                                                                                                                - Specify a custom redirect URL to be used. Normally, you - wouldn't need to call this method manually as the default - value is autogenerated for you. -

                                                                                                                                                                -

                                                                                                                                                                - If you are using this, ensure a proper redirect URL is - constructed in the following format Android: - {YOUR_APP_PACKAGE_NAME}.auth0://{AUTH0_DOMAIN}/android/{YOUR_APP_PACKAGE_NAME}/callback - iOS: - {PRODUCT_BUNDLE_IDENTIFIER}.auth0://{AUTH0_DOMAIN}/ios/{PRODUCT_BUNDLE_IDENTIFIER}/callback -

                                                                                                                                                                -

                                                                                                                                                                - If you have useLegacyCallbackUrl set to true then - the redirect URL should in the format Android: - {YOUR_APP_PACKAGE_NAME}://{AUTH0_DOMAIN}/android/{YOUR_APP_PACKAGE_NAME}/callback - iOS: - {PRODUCT_BUNDLE_IDENTIFIER}://{AUTH0_DOMAIN}/ios/{PRODUCT_BUNDLE_IDENTIFIER}/callback -

                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                - -
                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                - - -
                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                -

                                                                                                                                                                - Generated using - TypeDoc -

                                                                                                                                                                -
                                                                                                                                                                -
                                                                                                                                                                - - - diff --git a/docs/v4.6/interfaces/CreateUserOptions.html b/docs/v4.6/interfaces/CreateUserOptions.html deleted file mode 100644 index 434e0ce7..00000000 --- a/docs/v4.6/interfaces/CreateUserOptions.html +++ /dev/null @@ -1,976 +0,0 @@ - - - - - - CreateUserOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                -
                                                                                                                                                                - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  Preparing search index...
                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  - -

                                                                                                                                                                  Interface CreateUserOptions

                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  -

                                                                                                                                                                  Options for creating a new user.

                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  - interface - CreateUserOptions - {
                                                                                                                                                                      connection: - string;
                                                                                                                                                                      email: - string;
                                                                                                                                                                      family_name?: - string;
                                                                                                                                                                      given_name?: - string;
                                                                                                                                                                      headers?: - Record<string, - string>;
                                                                                                                                                                      metadata?: - object;
                                                                                                                                                                      name?: - string;
                                                                                                                                                                      nickname?: - string;
                                                                                                                                                                      password: - string;
                                                                                                                                                                      picture?: - string;
                                                                                                                                                                      username?: - string;
                                                                                                                                                                      [key: - string]: - any;
                                                                                                                                                                  } -
                                                                                                                                                                  -
                                                                                                                                                                  -

                                                                                                                                                                  Indexable

                                                                                                                                                                  -
                                                                                                                                                                    -
                                                                                                                                                                  • -
                                                                                                                                                                    - [key: - string]: - any -
                                                                                                                                                                    -
                                                                                                                                                                  • -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  - - -
                                                                                                                                                                  Index
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  - - -

                                                                                                                                                                  Properties

                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  - connection: - string -
                                                                                                                                                                  -
                                                                                                                                                                  -

                                                                                                                                                                  - The name of the database connection where to create the user -

                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  - email: - string -
                                                                                                                                                                  -
                                                                                                                                                                  -

                                                                                                                                                                  The user's email

                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  - family_name?: - string -
                                                                                                                                                                  -
                                                                                                                                                                  -

                                                                                                                                                                  The user's family name(s)

                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  - given_name?: - string -
                                                                                                                                                                  -
                                                                                                                                                                  -

                                                                                                                                                                  The user's given name(s)

                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  - headers?: - Record<string, - string> -
                                                                                                                                                                  -
                                                                                                                                                                  -

                                                                                                                                                                  (Optional) Custom headers to include in the request.

                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  - metadata?: - object -
                                                                                                                                                                  -
                                                                                                                                                                  -

                                                                                                                                                                  - Additional information that will be stored in - user_metadata -

                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  - name?: - string -
                                                                                                                                                                  -
                                                                                                                                                                  -

                                                                                                                                                                  The user's full name

                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  - nickname?: - string -
                                                                                                                                                                  -
                                                                                                                                                                  -

                                                                                                                                                                  The user's nickname

                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  - password: - string -
                                                                                                                                                                  -
                                                                                                                                                                  -

                                                                                                                                                                  The user's password

                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  - picture?: - string -
                                                                                                                                                                  -
                                                                                                                                                                  -

                                                                                                                                                                  A URL pointing to the user's picture

                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  - username?: - string -
                                                                                                                                                                  -
                                                                                                                                                                  -

                                                                                                                                                                  The user's username

                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  - -
                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  - - -
                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  -

                                                                                                                                                                  - Generated using - TypeDoc -

                                                                                                                                                                  -
                                                                                                                                                                  -
                                                                                                                                                                  - - - diff --git a/docs/v4.6/interfaces/ExchangeNativeSocialOptions.html b/docs/v4.6/interfaces/ExchangeNativeSocialOptions.html deleted file mode 100644 index d5e528ed..00000000 --- a/docs/v4.6/interfaces/ExchangeNativeSocialOptions.html +++ /dev/null @@ -1,715 +0,0 @@ - - - - - - ExchangeNativeSocialOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                  -
                                                                                                                                                                  - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    Preparing search index...
                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    - -
                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    - -

                                                                                                                                                                    Interface ExchangeNativeSocialOptions

                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    -

                                                                                                                                                                    - Options for obtaining user tokens from an external provider's - token -

                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    - interface - ExchangeNativeSocialOptions - {
                                                                                                                                                                        audience?: - string;
                                                                                                                                                                        headers?: - Record<string, - string>;
                                                                                                                                                                        scope?: - string;
                                                                                                                                                                        subjectToken: - string;
                                                                                                                                                                        subjectTokenType: - string;
                                                                                                                                                                        userProfile?: - string;
                                                                                                                                                                        [key: - string]: - any;
                                                                                                                                                                    } -
                                                                                                                                                                    -
                                                                                                                                                                    -

                                                                                                                                                                    Indexable

                                                                                                                                                                    -
                                                                                                                                                                      -
                                                                                                                                                                    • -
                                                                                                                                                                      - [key: - string]: - any -
                                                                                                                                                                      -
                                                                                                                                                                    • -
                                                                                                                                                                    -
                                                                                                                                                                    - -
                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    - - -
                                                                                                                                                                    Index
                                                                                                                                                                    -
                                                                                                                                                                    - -
                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    - - -

                                                                                                                                                                    Properties

                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    - -
                                                                                                                                                                    - audience?: - string -
                                                                                                                                                                    -
                                                                                                                                                                    -

                                                                                                                                                                    The API audience to request

                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    - -
                                                                                                                                                                    -
                                                                                                                                                                    - -
                                                                                                                                                                    - headers?: - Record<string, - string> -
                                                                                                                                                                    -
                                                                                                                                                                    -

                                                                                                                                                                    (Optional) Custom headers to include in the request.

                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    - -
                                                                                                                                                                    -
                                                                                                                                                                    - -
                                                                                                                                                                    - scope?: - string -
                                                                                                                                                                    -
                                                                                                                                                                    -

                                                                                                                                                                    - The scopes requested for the issued tokens. e.g. - openid profile -

                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    - -
                                                                                                                                                                    -
                                                                                                                                                                    - -
                                                                                                                                                                    - subjectToken: - string -
                                                                                                                                                                    -
                                                                                                                                                                    -

                                                                                                                                                                    - The token returned by the native social authentication - solution -

                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    - -
                                                                                                                                                                    -
                                                                                                                                                                    - -
                                                                                                                                                                    - subjectTokenType: - string -
                                                                                                                                                                    -
                                                                                                                                                                    -

                                                                                                                                                                    - The identifier that indicates the native social authentication - solution -

                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    - -
                                                                                                                                                                    -
                                                                                                                                                                    - -
                                                                                                                                                                    - userProfile?: - string -
                                                                                                                                                                    -
                                                                                                                                                                    -

                                                                                                                                                                    - Additional profile attributes to set or override, only on - select native social authentication solutions -

                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    - -
                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    - - -
                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    -

                                                                                                                                                                    - Generated using - TypeDoc -

                                                                                                                                                                    -
                                                                                                                                                                    -
                                                                                                                                                                    - - - diff --git a/docs/v4.6/interfaces/ExchangeOptions.html b/docs/v4.6/interfaces/ExchangeOptions.html deleted file mode 100644 index d55ae936..00000000 --- a/docs/v4.6/interfaces/ExchangeOptions.html +++ /dev/null @@ -1,535 +0,0 @@ - - - - - - ExchangeOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                    -
                                                                                                                                                                    - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      Preparing search index...
                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      - -
                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      - -

                                                                                                                                                                      Interface ExchangeOptions

                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      -

                                                                                                                                                                      - Options for the /oauth/token endpoint to exchange a - code for an access token -

                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      - interface - ExchangeOptions - {
                                                                                                                                                                          code: - string;
                                                                                                                                                                          redirectUri: - string;
                                                                                                                                                                          verifier: - string;
                                                                                                                                                                          [key: - string]: - any;
                                                                                                                                                                      } -
                                                                                                                                                                      -
                                                                                                                                                                      -

                                                                                                                                                                      Indexable

                                                                                                                                                                      -
                                                                                                                                                                        -
                                                                                                                                                                      • -
                                                                                                                                                                        - [key: - string]: - any -
                                                                                                                                                                        -
                                                                                                                                                                        -

                                                                                                                                                                        Custom parameters to send to the /oauth/token endpoint

                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                      • -
                                                                                                                                                                      -
                                                                                                                                                                      - -
                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      - - -
                                                                                                                                                                      Index
                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      -

                                                                                                                                                                      Properties

                                                                                                                                                                      - -
                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      - - -

                                                                                                                                                                      Properties

                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      - -
                                                                                                                                                                      - code: - string -
                                                                                                                                                                      -
                                                                                                                                                                      -

                                                                                                                                                                      The code returned by /authorize.

                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      - -
                                                                                                                                                                      -
                                                                                                                                                                      - -
                                                                                                                                                                      - redirectUri: - string -
                                                                                                                                                                      -
                                                                                                                                                                      -

                                                                                                                                                                      - The original redirectUri used when calling - /authorize. -

                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      - -
                                                                                                                                                                      -
                                                                                                                                                                      - -
                                                                                                                                                                      - verifier: - string -
                                                                                                                                                                      -
                                                                                                                                                                      -

                                                                                                                                                                      - The value used to generate the code challenge sent to - /authorize. -

                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      - -
                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      - - -
                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      -

                                                                                                                                                                      - Generated using - TypeDoc -

                                                                                                                                                                      -
                                                                                                                                                                      -
                                                                                                                                                                      - - - diff --git a/docs/v4.6/interfaces/GetUserOptions.html b/docs/v4.6/interfaces/GetUserOptions.html deleted file mode 100644 index 1dab6313..00000000 --- a/docs/v4.6/interfaces/GetUserOptions.html +++ /dev/null @@ -1,467 +0,0 @@ - - - - - - GetUserOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                      -
                                                                                                                                                                      - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                        Preparing search index...
                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                        - -
                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                        - -

                                                                                                                                                                        Interface GetUserOptions

                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                        - interface - GetUserOptions - {
                                                                                                                                                                            headers?: - Record<string, - string>;
                                                                                                                                                                            id: - string;
                                                                                                                                                                            [key: - string]: - any;
                                                                                                                                                                        } -
                                                                                                                                                                        -
                                                                                                                                                                        -

                                                                                                                                                                        Indexable

                                                                                                                                                                        -
                                                                                                                                                                          -
                                                                                                                                                                        • -
                                                                                                                                                                          - [key: - string]: - any -
                                                                                                                                                                          -
                                                                                                                                                                        • -
                                                                                                                                                                        -
                                                                                                                                                                        - -
                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                        - - -
                                                                                                                                                                        Index
                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                        -

                                                                                                                                                                        Properties

                                                                                                                                                                        - -
                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                        - - -

                                                                                                                                                                        Properties

                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                        - -
                                                                                                                                                                        - headers?: - Record<string, - string> -
                                                                                                                                                                        -
                                                                                                                                                                        -

                                                                                                                                                                        (Optional) Custom headers to include in the request.

                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                        - -
                                                                                                                                                                        -
                                                                                                                                                                        - -
                                                                                                                                                                        - id: - string -
                                                                                                                                                                        - -
                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                        - - -
                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                        -

                                                                                                                                                                        - Generated using - TypeDoc -

                                                                                                                                                                        -
                                                                                                                                                                        -
                                                                                                                                                                        - - - diff --git a/docs/v4.6/interfaces/LocalAuthenticationOptions.html b/docs/v4.6/interfaces/LocalAuthenticationOptions.html deleted file mode 100644 index 9a726bb9..00000000 --- a/docs/v4.6/interfaces/LocalAuthenticationOptions.html +++ /dev/null @@ -1,828 +0,0 @@ - - - - - - LocalAuthenticationOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                        -
                                                                                                                                                                        - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          Preparing search index...
                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          - -
                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          - -

                                                                                                                                                                          Interface LocalAuthenticationOptions

                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          -

                                                                                                                                                                          - The options for configuring the display of local authentication - prompt, authentication level (Android only) and evaluation policy - (iOS only). -

                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          - interface - LocalAuthenticationOptions - {
                                                                                                                                                                              authenticationLevel?: - LocalAuthenticationLevel;
                                                                                                                                                                              cancelTitle?: - String;
                                                                                                                                                                              description?: - String;
                                                                                                                                                                              deviceCredentialFallback?: - Boolean;
                                                                                                                                                                              evaluationPolicy?: - LocalAuthenticationStrategy;
                                                                                                                                                                              fallbackTitle?: - String;
                                                                                                                                                                              subtitle?: - String;
                                                                                                                                                                              title: - String;
                                                                                                                                                                          } -
                                                                                                                                                                          - -
                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          - - -
                                                                                                                                                                          Index
                                                                                                                                                                          -
                                                                                                                                                                          - -
                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          - - -

                                                                                                                                                                          Properties

                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          - -
                                                                                                                                                                          - authenticationLevel?: - LocalAuthenticationLevel -
                                                                                                                                                                          -
                                                                                                                                                                          -

                                                                                                                                                                          - The authentication level to use when prompting the user for - authentication. Defaults to LocalAuthenticationLevel.strong. - Applicable for Android only. -

                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          - -
                                                                                                                                                                          -
                                                                                                                                                                          - -
                                                                                                                                                                          - cancelTitle?: - String -
                                                                                                                                                                          -
                                                                                                                                                                          -

                                                                                                                                                                          - The cancel button title of the authentication prompt. - Applicable for both Android and iOS. -

                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          - -
                                                                                                                                                                          -
                                                                                                                                                                          - -
                                                                                                                                                                          - description?: - String -
                                                                                                                                                                          -
                                                                                                                                                                          -

                                                                                                                                                                          - The description of the authentication prompt. - Applicable for Android only. -

                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          - -
                                                                                                                                                                          -
                                                                                                                                                                          - -
                                                                                                                                                                          - deviceCredentialFallback?: - Boolean -
                                                                                                                                                                          -
                                                                                                                                                                          -

                                                                                                                                                                          - Should the user be given the option to authenticate with their - device PIN, pattern, or password instead of a biometric. - Applicable for Android only. -

                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          - -
                                                                                                                                                                          -
                                                                                                                                                                          - -
                                                                                                                                                                          - evaluationPolicy?: - LocalAuthenticationStrategy -
                                                                                                                                                                          -
                                                                                                                                                                          -

                                                                                                                                                                          - The evaluation policy to use when prompting the user for - authentication. Defaults to - LocalAuthenticationStrategy.deviceOwnerWithBiometrics. - Applicable for iOS only. -

                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          - -
                                                                                                                                                                          -
                                                                                                                                                                          - -
                                                                                                                                                                          - fallbackTitle?: - String -
                                                                                                                                                                          -
                                                                                                                                                                          -

                                                                                                                                                                          - The fallback button title of the authentication prompt. - Applicable for iOS only. -

                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          - -
                                                                                                                                                                          -
                                                                                                                                                                          - -
                                                                                                                                                                          - subtitle?: - String -
                                                                                                                                                                          -
                                                                                                                                                                          -

                                                                                                                                                                          - The subtitle of the authentication prompt. - Applicable for Android only. -

                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          - -
                                                                                                                                                                          -
                                                                                                                                                                          - -
                                                                                                                                                                          - title: - String -
                                                                                                                                                                          -
                                                                                                                                                                          -

                                                                                                                                                                          - The title of the authentication prompt. - Applicable for both Android and iOS. -

                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          - -
                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          - - -
                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          -

                                                                                                                                                                          - Generated using - TypeDoc -

                                                                                                                                                                          -
                                                                                                                                                                          -
                                                                                                                                                                          - - - diff --git a/docs/v4.6/interfaces/LoginWithEmailOptions.html b/docs/v4.6/interfaces/LoginWithEmailOptions.html deleted file mode 100644 index 43c6fd36..00000000 --- a/docs/v4.6/interfaces/LoginWithEmailOptions.html +++ /dev/null @@ -1,639 +0,0 @@ - - - - - - LoginWithEmailOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                          -
                                                                                                                                                                          - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            Preparing search index...
                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            - -
                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            - -

                                                                                                                                                                            Interface LoginWithEmailOptions

                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            -

                                                                                                                                                                            - The options for completing the passwordless login with email - request -

                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            - interface - LoginWithEmailOptions - {
                                                                                                                                                                                audience?: - string;
                                                                                                                                                                                code: - string;
                                                                                                                                                                                email: - string;
                                                                                                                                                                                headers?: - Record<string, - string>;
                                                                                                                                                                                scope?: - string;
                                                                                                                                                                                [key: - string]: - any;
                                                                                                                                                                            } -
                                                                                                                                                                            -
                                                                                                                                                                            -

                                                                                                                                                                            Indexable

                                                                                                                                                                            -
                                                                                                                                                                              -
                                                                                                                                                                            • -
                                                                                                                                                                              - [key: - string]: - any -
                                                                                                                                                                              -
                                                                                                                                                                            • -
                                                                                                                                                                            -
                                                                                                                                                                            - -
                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            - - -
                                                                                                                                                                            Index
                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            -

                                                                                                                                                                            Properties

                                                                                                                                                                            - -
                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            - - -

                                                                                                                                                                            Properties

                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            - -
                                                                                                                                                                            - audience?: - string -
                                                                                                                                                                            -
                                                                                                                                                                            -

                                                                                                                                                                            The API audience to request

                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            - -
                                                                                                                                                                            -
                                                                                                                                                                            - -
                                                                                                                                                                            - code: - string -
                                                                                                                                                                            -
                                                                                                                                                                            -

                                                                                                                                                                            The code numeric value (OTP)

                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            - -
                                                                                                                                                                            -
                                                                                                                                                                            - -
                                                                                                                                                                            - email: - string -
                                                                                                                                                                            -
                                                                                                                                                                            -

                                                                                                                                                                            The email where the link/code was received

                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            - -
                                                                                                                                                                            -
                                                                                                                                                                            - -
                                                                                                                                                                            - headers?: - Record<string, - string> -
                                                                                                                                                                            -
                                                                                                                                                                            -

                                                                                                                                                                            (Optional) Custom headers to include in the request.

                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            - -
                                                                                                                                                                            -
                                                                                                                                                                            - -
                                                                                                                                                                            - scope?: - string -
                                                                                                                                                                            -
                                                                                                                                                                            -

                                                                                                                                                                            The scopes to request

                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            - -
                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            - - -
                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            -

                                                                                                                                                                            - Generated using - TypeDoc -

                                                                                                                                                                            -
                                                                                                                                                                            -
                                                                                                                                                                            - - - diff --git a/docs/v4.6/interfaces/LoginWithOOBOptions.html b/docs/v4.6/interfaces/LoginWithOOBOptions.html deleted file mode 100644 index e4e24f90..00000000 --- a/docs/v4.6/interfaces/LoginWithOOBOptions.html +++ /dev/null @@ -1,596 +0,0 @@ - - - - - - LoginWithOOBOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                            -
                                                                                                                                                                            - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              Preparing search index...
                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              - -
                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              - -

                                                                                                                                                                              Interface LoginWithOOBOptions

                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              -

                                                                                                                                                                              Options for logging in using an OOB code

                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              - interface - LoginWithOOBOptions - {
                                                                                                                                                                                  bindingCode?: - string;
                                                                                                                                                                                  headers?: - Record<string, - string>;
                                                                                                                                                                                  mfaToken: - string;
                                                                                                                                                                                  oobCode: - string;
                                                                                                                                                                                  [key: - string]: - any;
                                                                                                                                                                              } -
                                                                                                                                                                              -
                                                                                                                                                                              -

                                                                                                                                                                              Indexable

                                                                                                                                                                              -
                                                                                                                                                                                -
                                                                                                                                                                              • -
                                                                                                                                                                                - [key: - string]: - any -
                                                                                                                                                                                -
                                                                                                                                                                              • -
                                                                                                                                                                              -
                                                                                                                                                                              - -
                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              - - -
                                                                                                                                                                              Index
                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              -

                                                                                                                                                                              Properties

                                                                                                                                                                              - -
                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              - - -

                                                                                                                                                                              Properties

                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              - -
                                                                                                                                                                              - bindingCode?: - string -
                                                                                                                                                                              -
                                                                                                                                                                              -

                                                                                                                                                                              - The code used to bind the side channel (used to deliver the - challenge) with the main channel you are using to - authenticate. This is usually an OTP-like code delivered as - part of the challenge message. -

                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              - -
                                                                                                                                                                              -
                                                                                                                                                                              - -
                                                                                                                                                                              - headers?: - Record<string, - string> -
                                                                                                                                                                              -
                                                                                                                                                                              -

                                                                                                                                                                              (Optional) Custom headers to include in the request.

                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              - -
                                                                                                                                                                              -
                                                                                                                                                                              - -
                                                                                                                                                                              - mfaToken: - string -
                                                                                                                                                                              -
                                                                                                                                                                              -

                                                                                                                                                                              The token received in the previous login response

                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              - -
                                                                                                                                                                              -
                                                                                                                                                                              - -
                                                                                                                                                                              - oobCode: - string -
                                                                                                                                                                              -
                                                                                                                                                                              -

                                                                                                                                                                              The out of band code received in the challenge response.

                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              - -
                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              - - -
                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              -

                                                                                                                                                                              - Generated using - TypeDoc -

                                                                                                                                                                              -
                                                                                                                                                                              -
                                                                                                                                                                              - - - diff --git a/docs/v4.6/interfaces/LoginWithOTPOptions.html b/docs/v4.6/interfaces/LoginWithOTPOptions.html deleted file mode 100644 index 908827cb..00000000 --- a/docs/v4.6/interfaces/LoginWithOTPOptions.html +++ /dev/null @@ -1,591 +0,0 @@ - - - - - - LoginWithOTPOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                              -
                                                                                                                                                                              - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                - -
                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                - -

                                                                                                                                                                                Interface LoginWithOTPOptions

                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                -

                                                                                                                                                                                Options for logging in using an OTP code

                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                - interface - LoginWithOTPOptions - {
                                                                                                                                                                                    audience?: - string;
                                                                                                                                                                                    headers?: - Record<string, - string>;
                                                                                                                                                                                    mfaToken: - string;
                                                                                                                                                                                    otp: - string;
                                                                                                                                                                                    [key: - string]: - any;
                                                                                                                                                                                } -
                                                                                                                                                                                -
                                                                                                                                                                                -

                                                                                                                                                                                Indexable

                                                                                                                                                                                -
                                                                                                                                                                                  -
                                                                                                                                                                                • -
                                                                                                                                                                                  - [key: - string]: - any -
                                                                                                                                                                                  -
                                                                                                                                                                                • -
                                                                                                                                                                                -
                                                                                                                                                                                - -
                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                - - -
                                                                                                                                                                                Index
                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                -

                                                                                                                                                                                Properties

                                                                                                                                                                                - -
                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                - - -

                                                                                                                                                                                Properties

                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                - -
                                                                                                                                                                                - audience?: - string -
                                                                                                                                                                                -
                                                                                                                                                                                -

                                                                                                                                                                                The API audience

                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                - -
                                                                                                                                                                                -
                                                                                                                                                                                - -
                                                                                                                                                                                - headers?: - Record<string, - string> -
                                                                                                                                                                                -
                                                                                                                                                                                -

                                                                                                                                                                                (Optional) Custom headers to include in the request.

                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                - -
                                                                                                                                                                                -
                                                                                                                                                                                - -
                                                                                                                                                                                - mfaToken: - string -
                                                                                                                                                                                -
                                                                                                                                                                                -

                                                                                                                                                                                The token received in the previous login response

                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                - -
                                                                                                                                                                                -
                                                                                                                                                                                - -
                                                                                                                                                                                - otp: - string -
                                                                                                                                                                                -
                                                                                                                                                                                -

                                                                                                                                                                                - The one time password code provided by the resource owner, - typically obtained from an MFA application such as Google - Authenticator or Guardian. -

                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                - -
                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                - - -
                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                -

                                                                                                                                                                                - Generated using - TypeDoc -

                                                                                                                                                                                -
                                                                                                                                                                                -
                                                                                                                                                                                - - - diff --git a/docs/v4.6/interfaces/LoginWithRecoveryCodeOptions.html b/docs/v4.6/interfaces/LoginWithRecoveryCodeOptions.html deleted file mode 100644 index ac464c8e..00000000 --- a/docs/v4.6/interfaces/LoginWithRecoveryCodeOptions.html +++ /dev/null @@ -1,537 +0,0 @@ - - - - - - LoginWithRecoveryCodeOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                -
                                                                                                                                                                                - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  - -
                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  - -

                                                                                                                                                                                  Interface LoginWithRecoveryCodeOptions

                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  -

                                                                                                                                                                                  Options for logging in using a recovery code

                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  - interface - LoginWithRecoveryCodeOptions - {
                                                                                                                                                                                      headers?: - Record<string, - string>;
                                                                                                                                                                                      mfaToken: - string;
                                                                                                                                                                                      recoveryCode: - string;
                                                                                                                                                                                      [key: - string]: - any;
                                                                                                                                                                                  } -
                                                                                                                                                                                  -
                                                                                                                                                                                  -

                                                                                                                                                                                  Indexable

                                                                                                                                                                                  -
                                                                                                                                                                                    -
                                                                                                                                                                                  • -
                                                                                                                                                                                    - [key: - string]: - any -
                                                                                                                                                                                    -
                                                                                                                                                                                  • -
                                                                                                                                                                                  -
                                                                                                                                                                                  - -
                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  - - -
                                                                                                                                                                                  Index
                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  -

                                                                                                                                                                                  Properties

                                                                                                                                                                                  - -
                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  - - -

                                                                                                                                                                                  Properties

                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  - -
                                                                                                                                                                                  - headers?: - Record<string, - string> -
                                                                                                                                                                                  -
                                                                                                                                                                                  -

                                                                                                                                                                                  (Optional) Custom headers to include in the request.

                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  - -
                                                                                                                                                                                  -
                                                                                                                                                                                  - -
                                                                                                                                                                                  - mfaToken: - string -
                                                                                                                                                                                  -
                                                                                                                                                                                  -

                                                                                                                                                                                  The token received in the previous login response

                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  - -
                                                                                                                                                                                  -
                                                                                                                                                                                  - -
                                                                                                                                                                                  - recoveryCode: - string -
                                                                                                                                                                                  -
                                                                                                                                                                                  -

                                                                                                                                                                                  The recovery code provided by the end-user.

                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  - -
                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  - - -
                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  -

                                                                                                                                                                                  - Generated using - TypeDoc -

                                                                                                                                                                                  -
                                                                                                                                                                                  -
                                                                                                                                                                                  - - - diff --git a/docs/v4.6/interfaces/LoginWithSMSOptions.html b/docs/v4.6/interfaces/LoginWithSMSOptions.html deleted file mode 100644 index 5e88c527..00000000 --- a/docs/v4.6/interfaces/LoginWithSMSOptions.html +++ /dev/null @@ -1,641 +0,0 @@ - - - - - - LoginWithSMSOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                  -
                                                                                                                                                                                  - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    - -
                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    - -

                                                                                                                                                                                    Interface LoginWithSMSOptions

                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    -

                                                                                                                                                                                    - The options for completing the passwordless login with SMS request -

                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    - interface - LoginWithSMSOptions - {
                                                                                                                                                                                        audience?: - string;
                                                                                                                                                                                        code: - string;
                                                                                                                                                                                        headers?: - Record<string, - string>;
                                                                                                                                                                                        phoneNumber: - string;
                                                                                                                                                                                        scope?: - string;
                                                                                                                                                                                        [key: - string]: - any;
                                                                                                                                                                                    } -
                                                                                                                                                                                    -
                                                                                                                                                                                    -

                                                                                                                                                                                    Indexable

                                                                                                                                                                                    -
                                                                                                                                                                                      -
                                                                                                                                                                                    • -
                                                                                                                                                                                      - [key: - string]: - any -
                                                                                                                                                                                      -
                                                                                                                                                                                    • -
                                                                                                                                                                                    -
                                                                                                                                                                                    - -
                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    - - -
                                                                                                                                                                                    Index
                                                                                                                                                                                    -
                                                                                                                                                                                    - -
                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    - - -

                                                                                                                                                                                    Properties

                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    - -
                                                                                                                                                                                    - audience?: - string -
                                                                                                                                                                                    -
                                                                                                                                                                                    -

                                                                                                                                                                                    Optional API audience to request

                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    - -
                                                                                                                                                                                    -
                                                                                                                                                                                    - -
                                                                                                                                                                                    - code: - string -
                                                                                                                                                                                    -
                                                                                                                                                                                    -

                                                                                                                                                                                    The code numeric value (OTP)

                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    - -
                                                                                                                                                                                    -
                                                                                                                                                                                    - -
                                                                                                                                                                                    - headers?: - Record<string, - string> -
                                                                                                                                                                                    -
                                                                                                                                                                                    -

                                                                                                                                                                                    (Optional) Custom headers to include in the request.

                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    - -
                                                                                                                                                                                    -
                                                                                                                                                                                    - -
                                                                                                                                                                                    - phoneNumber: - string -
                                                                                                                                                                                    -
                                                                                                                                                                                    -

                                                                                                                                                                                    The phone number where the code was received

                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    - -
                                                                                                                                                                                    -
                                                                                                                                                                                    - -
                                                                                                                                                                                    - scope?: - string -
                                                                                                                                                                                    -
                                                                                                                                                                                    -

                                                                                                                                                                                    Optional scopes to request

                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    - -
                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    - - -
                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    -

                                                                                                                                                                                    - Generated using - TypeDoc -

                                                                                                                                                                                    -
                                                                                                                                                                                    -
                                                                                                                                                                                    - - - diff --git a/docs/v4.6/interfaces/LogoutUrlOptions.html b/docs/v4.6/interfaces/LogoutUrlOptions.html deleted file mode 100644 index 46d931b0..00000000 --- a/docs/v4.6/interfaces/LogoutUrlOptions.html +++ /dev/null @@ -1,535 +0,0 @@ - - - - - - LogoutUrlOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                    -
                                                                                                                                                                                    - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      - -
                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      - -

                                                                                                                                                                                      Interface LogoutUrlOptions

                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      -

                                                                                                                                                                                      Options for the logout endpoint

                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      - interface - LogoutUrlOptions - {
                                                                                                                                                                                          clientId?: - string;
                                                                                                                                                                                          federated?: - boolean;
                                                                                                                                                                                          returnTo?: - string;
                                                                                                                                                                                          [key: - string]: - any;
                                                                                                                                                                                      } -
                                                                                                                                                                                      -
                                                                                                                                                                                      -

                                                                                                                                                                                      Indexable

                                                                                                                                                                                      -
                                                                                                                                                                                        -
                                                                                                                                                                                      • -
                                                                                                                                                                                        - [key: - string]: - any -
                                                                                                                                                                                        -
                                                                                                                                                                                        -

                                                                                                                                                                                        Custom parameters to send to the logout endpoint

                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                      • -
                                                                                                                                                                                      -
                                                                                                                                                                                      - -
                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      - - -
                                                                                                                                                                                      Index
                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      -

                                                                                                                                                                                      Properties

                                                                                                                                                                                      - -
                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      - - -

                                                                                                                                                                                      Properties

                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      - -
                                                                                                                                                                                      - clientId?: - string -
                                                                                                                                                                                      -
                                                                                                                                                                                      -

                                                                                                                                                                                      The client identifier of the one requesting the logout

                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      - -
                                                                                                                                                                                      -
                                                                                                                                                                                      - -
                                                                                                                                                                                      - federated?: - boolean -
                                                                                                                                                                                      -
                                                                                                                                                                                      -

                                                                                                                                                                                      - Whether the logout should include removing session for - federated IdP. -

                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      - -
                                                                                                                                                                                      -
                                                                                                                                                                                      - -
                                                                                                                                                                                      - returnTo?: - string -
                                                                                                                                                                                      -
                                                                                                                                                                                      -

                                                                                                                                                                                      - URL where the user is redirected to after logout. It must be - declared in you Auth0 Dashboard -

                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      - -
                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      - - -
                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      -

                                                                                                                                                                                      - Generated using - TypeDoc -

                                                                                                                                                                                      -
                                                                                                                                                                                      -
                                                                                                                                                                                      - - - diff --git a/docs/v4.6/interfaces/MultifactorChallengeOptions.html b/docs/v4.6/interfaces/MultifactorChallengeOptions.html deleted file mode 100644 index 6ecceeba..00000000 --- a/docs/v4.6/interfaces/MultifactorChallengeOptions.html +++ /dev/null @@ -1,599 +0,0 @@ - - - - - - MultifactorChallengeOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                      -
                                                                                                                                                                                      - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        Preparing search index...
                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        - -
                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        - -

                                                                                                                                                                                        Interface MultifactorChallengeOptions

                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        -

                                                                                                                                                                                        Options for multifactor challenge.

                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        - interface - MultifactorChallengeOptions - {
                                                                                                                                                                                            authenticatorId?: - string;
                                                                                                                                                                                            challengeType?: - string;
                                                                                                                                                                                            headers?: - Record<string, - string>;
                                                                                                                                                                                            mfaToken: - string;
                                                                                                                                                                                            [key: - string]: - any;
                                                                                                                                                                                        } -
                                                                                                                                                                                        -
                                                                                                                                                                                        -

                                                                                                                                                                                        Indexable

                                                                                                                                                                                        -
                                                                                                                                                                                          -
                                                                                                                                                                                        • -
                                                                                                                                                                                          - [key: - string]: - any -
                                                                                                                                                                                          -
                                                                                                                                                                                        • -
                                                                                                                                                                                        -
                                                                                                                                                                                        - -
                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        - - -
                                                                                                                                                                                        Index
                                                                                                                                                                                        -
                                                                                                                                                                                        - -
                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        - - -

                                                                                                                                                                                        Properties

                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        - -
                                                                                                                                                                                        - authenticatorId?: - string -
                                                                                                                                                                                        -
                                                                                                                                                                                        -

                                                                                                                                                                                        The ID of the authenticator to challenge.

                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        - -
                                                                                                                                                                                        -
                                                                                                                                                                                        - -
                                                                                                                                                                                        - challengeType?: - string -
                                                                                                                                                                                        -
                                                                                                                                                                                        -

                                                                                                                                                                                        - A whitespace-separated list of the challenges types accepted - by your application. Accepted challenge types are oob or otp. - Excluding this parameter means that your client application - accepts all supported challenge types. -

                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        - -
                                                                                                                                                                                        -
                                                                                                                                                                                        - -
                                                                                                                                                                                        - headers?: - Record<string, - string> -
                                                                                                                                                                                        -
                                                                                                                                                                                        -

                                                                                                                                                                                        (Optional) Custom headers to include in the request.

                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        - -
                                                                                                                                                                                        -
                                                                                                                                                                                        - -
                                                                                                                                                                                        - mfaToken: - string -
                                                                                                                                                                                        -
                                                                                                                                                                                        -

                                                                                                                                                                                        The token received in the previous login response

                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        - -
                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        - - -
                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        -

                                                                                                                                                                                        - Generated using - TypeDoc -

                                                                                                                                                                                        -
                                                                                                                                                                                        -
                                                                                                                                                                                        - - - diff --git a/docs/v4.6/interfaces/PasswordRealmOptions.html b/docs/v4.6/interfaces/PasswordRealmOptions.html deleted file mode 100644 index 30aa632f..00000000 --- a/docs/v4.6/interfaces/PasswordRealmOptions.html +++ /dev/null @@ -1,703 +0,0 @@ - - - - - - PasswordRealmOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                        -
                                                                                                                                                                                        - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          Preparing search index...
                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          - -
                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          - -

                                                                                                                                                                                          Interface PasswordRealmOptions

                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          -

                                                                                                                                                                                          - Options for authenticating using the username & password - grant. -

                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          - interface - PasswordRealmOptions - {
                                                                                                                                                                                              audience?: - string;
                                                                                                                                                                                              headers?: - Record<string, - string>;
                                                                                                                                                                                              password: - string;
                                                                                                                                                                                              realm: - string;
                                                                                                                                                                                              scope?: - string;
                                                                                                                                                                                              username: - string;
                                                                                                                                                                                              [key: - string]: - any;
                                                                                                                                                                                          } -
                                                                                                                                                                                          -
                                                                                                                                                                                          -

                                                                                                                                                                                          Indexable

                                                                                                                                                                                          -
                                                                                                                                                                                            -
                                                                                                                                                                                          • -
                                                                                                                                                                                            - [key: - string]: - any -
                                                                                                                                                                                            -
                                                                                                                                                                                          • -
                                                                                                                                                                                          -
                                                                                                                                                                                          - -
                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          - - -
                                                                                                                                                                                          Index
                                                                                                                                                                                          -
                                                                                                                                                                                          - -
                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          - - -

                                                                                                                                                                                          Properties

                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          - -
                                                                                                                                                                                          - audience?: - string -
                                                                                                                                                                                          -
                                                                                                                                                                                          -

                                                                                                                                                                                          - The identifier of Resource Server (RS) to be included as - audience (aud claim) of the issued access token -

                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          - -
                                                                                                                                                                                          -
                                                                                                                                                                                          - -
                                                                                                                                                                                          - headers?: - Record<string, - string> -
                                                                                                                                                                                          -
                                                                                                                                                                                          -

                                                                                                                                                                                          (Optional) Custom headers to include in the request.

                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          - -
                                                                                                                                                                                          -
                                                                                                                                                                                          - -
                                                                                                                                                                                          - password: - string -
                                                                                                                                                                                          -
                                                                                                                                                                                          -

                                                                                                                                                                                          The user's password

                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          - -
                                                                                                                                                                                          -
                                                                                                                                                                                          - -
                                                                                                                                                                                          - realm: - string -
                                                                                                                                                                                          -
                                                                                                                                                                                          -

                                                                                                                                                                                          The name of the Realm where to Auth (or connection name)

                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          - -
                                                                                                                                                                                          -
                                                                                                                                                                                          - -
                                                                                                                                                                                          - scope?: - string -
                                                                                                                                                                                          -
                                                                                                                                                                                          -

                                                                                                                                                                                          - The scopes requested for the issued tokens. e.g. - openid profile -

                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          - -
                                                                                                                                                                                          -
                                                                                                                                                                                          - -
                                                                                                                                                                                          - username: - string -
                                                                                                                                                                                          -
                                                                                                                                                                                          -

                                                                                                                                                                                          The user's username or email

                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          - -
                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          - - -
                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          -

                                                                                                                                                                                          - Generated using - TypeDoc -

                                                                                                                                                                                          -
                                                                                                                                                                                          -
                                                                                                                                                                                          - - - diff --git a/docs/v4.6/interfaces/PasswordlessWithEmailOptions.html b/docs/v4.6/interfaces/PasswordlessWithEmailOptions.html deleted file mode 100644 index c565ae87..00000000 --- a/docs/v4.6/interfaces/PasswordlessWithEmailOptions.html +++ /dev/null @@ -1,587 +0,0 @@ - - - - - - PasswordlessWithEmailOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                          -
                                                                                                                                                                                          - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            - -
                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            - -

                                                                                                                                                                                            Interface PasswordlessWithEmailOptions

                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            -

                                                                                                                                                                                            Options for requesting passwordless login using email

                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            - interface - PasswordlessWithEmailOptions - {
                                                                                                                                                                                                authParams?: - object;
                                                                                                                                                                                                email: - string;
                                                                                                                                                                                                headers?: - Record<string, - string>;
                                                                                                                                                                                                send?: - string;
                                                                                                                                                                                                [key: - string]: - any;
                                                                                                                                                                                            } -
                                                                                                                                                                                            -
                                                                                                                                                                                            -

                                                                                                                                                                                            Indexable

                                                                                                                                                                                            -
                                                                                                                                                                                              -
                                                                                                                                                                                            • -
                                                                                                                                                                                              - [key: - string]: - any -
                                                                                                                                                                                              -
                                                                                                                                                                                            • -
                                                                                                                                                                                            -
                                                                                                                                                                                            - -
                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            - - -
                                                                                                                                                                                            Index
                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            -

                                                                                                                                                                                            Properties

                                                                                                                                                                                            - -
                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            - - -

                                                                                                                                                                                            Properties

                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            - -
                                                                                                                                                                                            - authParams?: - object -
                                                                                                                                                                                            -
                                                                                                                                                                                            -

                                                                                                                                                                                            Optional parameters, used when strategy is 'linḱ'

                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            - -
                                                                                                                                                                                            -
                                                                                                                                                                                            - -
                                                                                                                                                                                            - email: - string -
                                                                                                                                                                                            -
                                                                                                                                                                                            -

                                                                                                                                                                                            The email to send the link/code to

                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            - -
                                                                                                                                                                                            -
                                                                                                                                                                                            - -
                                                                                                                                                                                            - headers?: - Record<string, - string> -
                                                                                                                                                                                            -
                                                                                                                                                                                            -

                                                                                                                                                                                            (Optional) Custom headers to include in the request.

                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            - -
                                                                                                                                                                                            -
                                                                                                                                                                                            - -
                                                                                                                                                                                            - send?: - string -
                                                                                                                                                                                            -
                                                                                                                                                                                            -

                                                                                                                                                                                            The passwordless strategy, either 'link' or 'code'

                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            - -
                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            - - -
                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            -

                                                                                                                                                                                            - Generated using - TypeDoc -

                                                                                                                                                                                            -
                                                                                                                                                                                            -
                                                                                                                                                                                            - - - diff --git a/docs/v4.6/interfaces/PasswordlessWithSMSOptions.html b/docs/v4.6/interfaces/PasswordlessWithSMSOptions.html deleted file mode 100644 index 0223d4a5..00000000 --- a/docs/v4.6/interfaces/PasswordlessWithSMSOptions.html +++ /dev/null @@ -1,590 +0,0 @@ - - - - - - PasswordlessWithSMSOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                            -
                                                                                                                                                                                            - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              Preparing search index...
                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              - -
                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              - -

                                                                                                                                                                                              Interface PasswordlessWithSMSOptions

                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              -

                                                                                                                                                                                              Options for requesting passwordless login using SMS

                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              - interface - PasswordlessWithSMSOptions - {
                                                                                                                                                                                                  authParams?: - object;
                                                                                                                                                                                                  headers?: - Record<string, - string>;
                                                                                                                                                                                                  phoneNumber: - string;
                                                                                                                                                                                                  send?: - string;
                                                                                                                                                                                                  [key: - string]: - any;
                                                                                                                                                                                              } -
                                                                                                                                                                                              -
                                                                                                                                                                                              -

                                                                                                                                                                                              Indexable

                                                                                                                                                                                              -
                                                                                                                                                                                                -
                                                                                                                                                                                              • -
                                                                                                                                                                                                - [key: - string]: - any -
                                                                                                                                                                                                -
                                                                                                                                                                                              • -
                                                                                                                                                                                              -
                                                                                                                                                                                              - -
                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              - - -
                                                                                                                                                                                              Index
                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              -

                                                                                                                                                                                              Properties

                                                                                                                                                                                              - -
                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              - - -

                                                                                                                                                                                              Properties

                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              - -
                                                                                                                                                                                              - authParams?: - object -
                                                                                                                                                                                              -
                                                                                                                                                                                              -

                                                                                                                                                                                              Optional passwordless parameters

                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              - -
                                                                                                                                                                                              -
                                                                                                                                                                                              - -
                                                                                                                                                                                              - headers?: - Record<string, - string> -
                                                                                                                                                                                              -
                                                                                                                                                                                              -

                                                                                                                                                                                              (Optional) Custom headers to include in the request.

                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              - -
                                                                                                                                                                                              -
                                                                                                                                                                                              - -
                                                                                                                                                                                              - phoneNumber: - string -
                                                                                                                                                                                              -
                                                                                                                                                                                              -

                                                                                                                                                                                              The phone number to send the link/code to

                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              - -
                                                                                                                                                                                              -
                                                                                                                                                                                              - -
                                                                                                                                                                                              - send?: - string -
                                                                                                                                                                                              -
                                                                                                                                                                                              -

                                                                                                                                                                                              The passwordless strategy, either 'link' or 'code'

                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              - -
                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              - - -
                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              -

                                                                                                                                                                                              - Generated using - TypeDoc -

                                                                                                                                                                                              -
                                                                                                                                                                                              -
                                                                                                                                                                                              - - - diff --git a/docs/v4.6/interfaces/PatchUserOptions.html b/docs/v4.6/interfaces/PatchUserOptions.html deleted file mode 100644 index 95f1bcd5..00000000 --- a/docs/v4.6/interfaces/PatchUserOptions.html +++ /dev/null @@ -1,518 +0,0 @@ - - - - - - PatchUserOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                              -
                                                                                                                                                                                              - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                                -
                                                                                                                                                                                                -
                                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                                -
                                                                                                                                                                                                -
                                                                                                                                                                                                - -
                                                                                                                                                                                                -
                                                                                                                                                                                                -
                                                                                                                                                                                                -
                                                                                                                                                                                                -
                                                                                                                                                                                                - -

                                                                                                                                                                                                Interface PatchUserOptions

                                                                                                                                                                                                -
                                                                                                                                                                                                -
                                                                                                                                                                                                - interface - PatchUserOptions - {
                                                                                                                                                                                                    headers?: - Record<string, - string>;
                                                                                                                                                                                                    id: - string;
                                                                                                                                                                                                    metadata: - object;
                                                                                                                                                                                                    [key: - string]: - any;
                                                                                                                                                                                                } -
                                                                                                                                                                                                -
                                                                                                                                                                                                -

                                                                                                                                                                                                Indexable

                                                                                                                                                                                                -
                                                                                                                                                                                                  -
                                                                                                                                                                                                • -
                                                                                                                                                                                                  - [key: - string]: - any -
                                                                                                                                                                                                  -
                                                                                                                                                                                                • -
                                                                                                                                                                                                -
                                                                                                                                                                                                - -
                                                                                                                                                                                                -
                                                                                                                                                                                                -
                                                                                                                                                                                                - - -
                                                                                                                                                                                                Index
                                                                                                                                                                                                -
                                                                                                                                                                                                -
                                                                                                                                                                                                -
                                                                                                                                                                                                -

                                                                                                                                                                                                Properties

                                                                                                                                                                                                - -
                                                                                                                                                                                                -
                                                                                                                                                                                                -
                                                                                                                                                                                                -
                                                                                                                                                                                                -
                                                                                                                                                                                                -
                                                                                                                                                                                                - - -

                                                                                                                                                                                                Properties

                                                                                                                                                                                                -
                                                                                                                                                                                                -
                                                                                                                                                                                                -
                                                                                                                                                                                                - -
                                                                                                                                                                                                - headers?: - Record<string, - string> -
                                                                                                                                                                                                -
                                                                                                                                                                                                -

                                                                                                                                                                                                (Optional) Custom headers to include in the request.

                                                                                                                                                                                                -
                                                                                                                                                                                                -
                                                                                                                                                                                                - -
                                                                                                                                                                                                -
                                                                                                                                                                                                - -
                                                                                                                                                                                                - id: - string -
                                                                                                                                                                                                - -
                                                                                                                                                                                                -
                                                                                                                                                                                                - -
                                                                                                                                                                                                - metadata: - object -
                                                                                                                                                                                                - -
                                                                                                                                                                                                -
                                                                                                                                                                                                -
                                                                                                                                                                                                -
                                                                                                                                                                                                -
                                                                                                                                                                                                - - -
                                                                                                                                                                                                -
                                                                                                                                                                                                -
                                                                                                                                                                                                -

                                                                                                                                                                                                - Generated using - TypeDoc -

                                                                                                                                                                                                -
                                                                                                                                                                                                -
                                                                                                                                                                                                - - - diff --git a/docs/v4.6/interfaces/RefreshTokenOptions.html b/docs/v4.6/interfaces/RefreshTokenOptions.html deleted file mode 100644 index d54ed95f..00000000 --- a/docs/v4.6/interfaces/RefreshTokenOptions.html +++ /dev/null @@ -1,535 +0,0 @@ - - - - - - RefreshTokenOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                                -
                                                                                                                                                                                                - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  - -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  - -

                                                                                                                                                                                                  Interface RefreshTokenOptions

                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -

                                                                                                                                                                                                  Refresh token parameters

                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  - interface - RefreshTokenOptions - {
                                                                                                                                                                                                      headers?: - Record<string, - string>;
                                                                                                                                                                                                      refreshToken: - string;
                                                                                                                                                                                                      scope?: - string;
                                                                                                                                                                                                      [key: - string]: - any;
                                                                                                                                                                                                  } -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -

                                                                                                                                                                                                  Indexable

                                                                                                                                                                                                  -
                                                                                                                                                                                                    -
                                                                                                                                                                                                  • -
                                                                                                                                                                                                    - [key: - string]: - any -
                                                                                                                                                                                                    -
                                                                                                                                                                                                  • -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  - -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  - - -
                                                                                                                                                                                                  Index
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -

                                                                                                                                                                                                  Properties

                                                                                                                                                                                                  - -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  - - -

                                                                                                                                                                                                  Properties

                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  - -
                                                                                                                                                                                                  - headers?: - Record<string, - string> -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -

                                                                                                                                                                                                  (Optional) Custom headers to include in the request.

                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  - -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  - -
                                                                                                                                                                                                  - refreshToken: - string -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -

                                                                                                                                                                                                  The issued refresh token

                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  - -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  - -
                                                                                                                                                                                                  - scope?: - string -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -

                                                                                                                                                                                                  - The scopes requested for the issued tokens. e.g. - openid profile -

                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  - -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  - - -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  -

                                                                                                                                                                                                  - Generated using - TypeDoc -

                                                                                                                                                                                                  -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  - - - diff --git a/docs/v4.6/interfaces/ResetPasswordOptions.html b/docs/v4.6/interfaces/ResetPasswordOptions.html deleted file mode 100644 index 44507640..00000000 --- a/docs/v4.6/interfaces/ResetPasswordOptions.html +++ /dev/null @@ -1,532 +0,0 @@ - - - - - - ResetPasswordOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                                  -
                                                                                                                                                                                                  - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    - -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    - -

                                                                                                                                                                                                    Interface ResetPasswordOptions

                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -

                                                                                                                                                                                                    Options for resetting a user's password.

                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    - interface - ResetPasswordOptions - {
                                                                                                                                                                                                        connection: - string;
                                                                                                                                                                                                        email: - string;
                                                                                                                                                                                                        headers?: - Record<string, - string>;
                                                                                                                                                                                                        [key: - string]: - any;
                                                                                                                                                                                                    } -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -

                                                                                                                                                                                                    Indexable

                                                                                                                                                                                                    -
                                                                                                                                                                                                      -
                                                                                                                                                                                                    • -
                                                                                                                                                                                                      - [key: - string]: - any -
                                                                                                                                                                                                      -
                                                                                                                                                                                                    • -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    - -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    - - -
                                                                                                                                                                                                    Index
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -

                                                                                                                                                                                                    Properties

                                                                                                                                                                                                    - -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    - - -

                                                                                                                                                                                                    Properties

                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    - -
                                                                                                                                                                                                    - connection: - string -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -

                                                                                                                                                                                                    The name of the database connection of the user

                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    - -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    - -
                                                                                                                                                                                                    - email: - string -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -

                                                                                                                                                                                                    The user's email

                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    - -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    - -
                                                                                                                                                                                                    - headers?: - Record<string, - string> -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -

                                                                                                                                                                                                    (Optional) Custom headers to include in the request.

                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    - -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    - - -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    -

                                                                                                                                                                                                    - Generated using - TypeDoc -

                                                                                                                                                                                                    -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    - - - diff --git a/docs/v4.6/interfaces/RevokeOptions.html b/docs/v4.6/interfaces/RevokeOptions.html deleted file mode 100644 index 38e15492..00000000 --- a/docs/v4.6/interfaces/RevokeOptions.html +++ /dev/null @@ -1,480 +0,0 @@ - - - - - - RevokeOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                                    -
                                                                                                                                                                                                    - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      - -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      - -

                                                                                                                                                                                                      Interface RevokeOptions

                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -

                                                                                                                                                                                                      Options for the revoke refresh token endpoint.

                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      - interface - RevokeOptions - {
                                                                                                                                                                                                          headers?: - Record<string, - string>;
                                                                                                                                                                                                          refreshToken: - string;
                                                                                                                                                                                                          [key: - string]: - any;
                                                                                                                                                                                                      } -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -

                                                                                                                                                                                                      Indexable

                                                                                                                                                                                                      -
                                                                                                                                                                                                        -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                        - [key: - string]: - any -
                                                                                                                                                                                                        -
                                                                                                                                                                                                      • -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      - -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      - - -
                                                                                                                                                                                                      Index
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -

                                                                                                                                                                                                      Properties

                                                                                                                                                                                                      - -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      - - -

                                                                                                                                                                                                      Properties

                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      - -
                                                                                                                                                                                                      - headers?: - Record<string, - string> -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -

                                                                                                                                                                                                      (Optional) Custom headers to include in the request.

                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      - -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      - -
                                                                                                                                                                                                      - refreshToken: - string -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -

                                                                                                                                                                                                      The user's issued refresh token

                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      - -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      - - -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      -

                                                                                                                                                                                                      - Generated using - TypeDoc -

                                                                                                                                                                                                      -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      - - - diff --git a/docs/v4.6/interfaces/Types.Auth0ContextInterface.html b/docs/v4.6/interfaces/Types.Auth0ContextInterface.html deleted file mode 100644 index c40d176b..00000000 --- a/docs/v4.6/interfaces/Types.Auth0ContextInterface.html +++ /dev/null @@ -1,2704 +0,0 @@ - - - - - - Auth0ContextInterface | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                                      -
                                                                                                                                                                                                      - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        Preparing search index...
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -

                                                                                                                                                                                                        Interface Auth0ContextInterface<TUser>

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - interface - Auth0ContextInterface<TUser - extends - User - = - User> - {
                                                                                                                                                                                                            authorize: - (
                                                                                                                                                                                                                parameters?: - WebAuthorizeParameters,
                                                                                                                                                                                                                options?: - WebAuthorizeOptions,
                                                                                                                                                                                                            ) - => - Promise<undefined - | - Credentials>;
                                                                                                                                                                                                            authorizeWithEmail: - (
                                                                                                                                                                                                                parameters: - LoginWithEmailOptions,
                                                                                                                                                                                                            ) - => - Promise<undefined - | - Credentials>;
                                                                                                                                                                                                            authorizeWithExchangeNativeSocial: - (
                                                                                                                                                                                                                parameters: - ExchangeNativeSocialOptions,
                                                                                                                                                                                                            ) - => - Promise<undefined - | - Credentials>;
                                                                                                                                                                                                            authorizeWithOOB: - (
                                                                                                                                                                                                                parameters: - LoginWithOOBOptions,
                                                                                                                                                                                                            ) - => - Promise<undefined - | - Credentials>;
                                                                                                                                                                                                            authorizeWithOTP: - (
                                                                                                                                                                                                                parameters: - LoginWithOTPOptions,
                                                                                                                                                                                                            ) - => - Promise<undefined - | - Credentials>;
                                                                                                                                                                                                            authorizeWithPasswordRealm: - (
                                                                                                                                                                                                                parameters: - PasswordRealmOptions,
                                                                                                                                                                                                            ) - => - Promise<undefined - | - Credentials>;
                                                                                                                                                                                                            authorizeWithRecoveryCode: - (
                                                                                                                                                                                                                parameters: - LoginWithRecoveryCodeOptions,
                                                                                                                                                                                                            ) - => - Promise<undefined - | - Credentials>;
                                                                                                                                                                                                            authorizeWithSMS: - (
                                                                                                                                                                                                                parameters: - LoginWithSMSOptions,
                                                                                                                                                                                                            ) - => - Promise<undefined - | - Credentials>;
                                                                                                                                                                                                            cancelWebAuth: - () - => - Promise<void>;
                                                                                                                                                                                                            clearCredentials: - () - => - Promise<void>;
                                                                                                                                                                                                            clearSession: - (
                                                                                                                                                                                                                parameters?: - ClearSessionParameters,
                                                                                                                                                                                                                options?: - ClearSessionOptions,
                                                                                                                                                                                                            ) - => - Promise<void>;
                                                                                                                                                                                                            error: - null - | - BaseError;
                                                                                                                                                                                                            getCredentials: - (
                                                                                                                                                                                                                scope?: - string,
                                                                                                                                                                                                                minTtl?: - number,
                                                                                                                                                                                                                parameters?: - Record<string, - unknown>,
                                                                                                                                                                                                                forceRefresh?: - boolean,
                                                                                                                                                                                                            ) - => - Promise<undefined - | - Credentials>;
                                                                                                                                                                                                            hasValidCredentials: - (minTtl?: - number) - => - Promise<boolean>;
                                                                                                                                                                                                            isLoading: - boolean;
                                                                                                                                                                                                            resetPassword: - (parameters: - ResetPasswordOptions) - => - Promise<void>;
                                                                                                                                                                                                            revokeRefreshToken: - (parameters: - RevokeOptions) - => - Promise<void>;
                                                                                                                                                                                                            sendEmailCode: - (parameters: - PasswordlessWithEmailOptions) - => - Promise<void>;
                                                                                                                                                                                                            sendMultifactorChallenge: - (
                                                                                                                                                                                                                parameters: - MultifactorChallengeOptions,
                                                                                                                                                                                                            ) - => - Promise<void>;
                                                                                                                                                                                                            sendSMSCode: - (parameters: - PasswordlessWithSMSOptions) - => - Promise<void>;
                                                                                                                                                                                                            user: - null - | - TUser;
                                                                                                                                                                                                        } -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        Type Parameters

                                                                                                                                                                                                        -
                                                                                                                                                                                                          -
                                                                                                                                                                                                        • - TUser - extends - User - = - User -
                                                                                                                                                                                                        • -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        - Hierarchy (View Summary) -

                                                                                                                                                                                                        - -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - - -
                                                                                                                                                                                                        Index
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - - -

                                                                                                                                                                                                        Properties

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        - authorize: - (
                                                                                                                                                                                                            parameters?: - WebAuthorizeParameters,
                                                                                                                                                                                                            options?: - WebAuthorizeOptions,
                                                                                                                                                                                                        ) - => - Promise<undefined - | - Credentials> -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        - Authorize the user using Auth0 Universal Login. See <a - href="../classes/Types.WebAuth.html#authorize" - class="tsd-kind-method">WebAuth#authorize</a> -

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        Type declaration

                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        - authorizeWithEmail: - (
                                                                                                                                                                                                            parameters: - LoginWithEmailOptions,
                                                                                                                                                                                                        ) - => - Promise<undefined - | - Credentials> -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        - Authorize the user using an email code. See <a - href="../classes/Types.Auth.html#loginwithemail" - class="tsd-kind-method">Auth#loginWithEmail</a> -

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        - authorizeWithExchangeNativeSocial: - (
                                                                                                                                                                                                            parameters: - ExchangeNativeSocialOptions,
                                                                                                                                                                                                        ) - => - Promise<undefined - | - Credentials> -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        - Authorize user with credentials using the Password Realm - Grant. See <a - href="../classes/Types.Auth.html#passwordrealm" - class="tsd-kind-method">Auth#passwordRealm</a> -

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        - authorizeWithOOB: - (
                                                                                                                                                                                                            parameters: - LoginWithOOBOptions,
                                                                                                                                                                                                        ) - => - Promise<undefined - | - Credentials> -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        - Authorize the user using an Out Of Band authentication code. - See <a - href="../classes/Types.Auth.html#loginwithoob" - class="tsd-kind-method">Auth#loginWithOOB</a> -

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        - authorizeWithOTP: - (
                                                                                                                                                                                                            parameters: - LoginWithOTPOptions,
                                                                                                                                                                                                        ) - => - Promise<undefined - | - Credentials> -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        - Autohrize the user using a One Time Password code. See <a - href="../classes/Types.Auth.html#loginwithotp" - class="tsd-kind-method">Auth#loginWithOTP</a>. -

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        - authorizeWithPasswordRealm: - (
                                                                                                                                                                                                            parameters: - PasswordRealmOptions,
                                                                                                                                                                                                        ) - => - Promise<undefined - | - Credentials> -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        - Authorize user with credentials using the Password Realm - Grant. See <a - href="../classes/Types.Auth.html#passwordrealm" - class="tsd-kind-method">Auth#passwordRealm</a> -

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        - authorizeWithRecoveryCode: - (
                                                                                                                                                                                                            parameters: - LoginWithRecoveryCodeOptions,
                                                                                                                                                                                                        ) - => - Promise<undefined - | - Credentials> -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        - Authorize the user using a multi-factor authentication - Recovery Code. See <a - href="../classes/Types.Auth.html#loginwithrecoverycode" - class="tsd-kind-method">Auth#loginWithRecoveryCode</a> -

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        - authorizeWithSMS: - (
                                                                                                                                                                                                            parameters: - LoginWithSMSOptions,
                                                                                                                                                                                                        ) - => - Promise<undefined - | - Credentials> -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        - Authorize the user using a SMS code. See <a - href="../classes/Types.Auth.html#loginwithsms" - class="tsd-kind-method">Auth#loginWithSMS</a> -

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        - cancelWebAuth: - () - => - Promise<void> -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        - Cancel any ongoing Universal Login transaction. This works - only on iOS and not on any other platforms -

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        - clearCredentials: - () - => - Promise<void> -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        - Clears the user's credentials without clearing their web - session and logs them out. -

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        - clearSession: - (
                                                                                                                                                                                                            parameters?: - ClearSessionParameters,
                                                                                                                                                                                                            options?: - ClearSessionOptions,
                                                                                                                                                                                                        ) - => - Promise<void> -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        - Clears the user's web session, credentials and logs them out. - See <a - href="../classes/Types.WebAuth.html#clearsession" - class="tsd-kind-method">WebAuth#clearSession</a> -

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        Type declaration

                                                                                                                                                                                                        -
                                                                                                                                                                                                          -
                                                                                                                                                                                                        • -
                                                                                                                                                                                                            -
                                                                                                                                                                                                          • - (
                                                                                                                                                                                                                parameters?: - ClearSessionParameters,
                                                                                                                                                                                                                options?: - ClearSessionOptions,
                                                                                                                                                                                                            ): - Promise<void> -
                                                                                                                                                                                                          • -
                                                                                                                                                                                                          • -
                                                                                                                                                                                                            -

                                                                                                                                                                                                            Parameters

                                                                                                                                                                                                            -
                                                                                                                                                                                                              -
                                                                                                                                                                                                            • - Optionalparameters: - ClearSessionParameters -
                                                                                                                                                                                                              -

                                                                                                                                                                                                              - Additional parameters to send to the Auth0 - logout endpoint. -

                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                            • -
                                                                                                                                                                                                            • - Optionaloptions: - ClearSessionOptions -
                                                                                                                                                                                                              -

                                                                                                                                                                                                              - Options for configuring the SDK's clear - session behaviour. -

                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                            • -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -

                                                                                                                                                                                                            - Returns Promise<void> -

                                                                                                                                                                                                            -
                                                                                                                                                                                                          • -
                                                                                                                                                                                                          -
                                                                                                                                                                                                        • -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        - error: - null - | - BaseError -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        An object representing the last exception

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        - getCredentials: - (
                                                                                                                                                                                                            scope?: - string,
                                                                                                                                                                                                            minTtl?: - number,
                                                                                                                                                                                                            parameters?: - Record<string, - unknown>,
                                                                                                                                                                                                            forceRefresh?: - boolean,
                                                                                                                                                                                                        ) - => - Promise<undefined - | - Credentials> -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        - Gets the user's credentials from the native credential store. - If credentials have expired, they are automatically refreshed - by default. See <a - href="../classes/Types.CredentialsManager.html#getcredentials" - class="tsd-kind-method">CredentialsManager#getCredentials</a> -

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        Type declaration

                                                                                                                                                                                                        -
                                                                                                                                                                                                          -
                                                                                                                                                                                                        • -
                                                                                                                                                                                                            -
                                                                                                                                                                                                          • - (
                                                                                                                                                                                                                scope?: - string,
                                                                                                                                                                                                                minTtl?: - number,
                                                                                                                                                                                                                parameters?: - Record<string, - unknown>,
                                                                                                                                                                                                                forceRefresh?: - boolean,
                                                                                                                                                                                                            ): - Promise<undefined - | - Credentials> -
                                                                                                                                                                                                          • -
                                                                                                                                                                                                          • -
                                                                                                                                                                                                            -

                                                                                                                                                                                                            Parameters

                                                                                                                                                                                                            -
                                                                                                                                                                                                              -
                                                                                                                                                                                                            • - Optionalscope: - string -
                                                                                                                                                                                                              -

                                                                                                                                                                                                              The scopes used to get the credentials

                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                            • -
                                                                                                                                                                                                            • - OptionalminTtl: - number -
                                                                                                                                                                                                              -

                                                                                                                                                                                                              - The minimum time in seconds that the access - token should last before expiration -

                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                            • -
                                                                                                                                                                                                            • - Optionalparameters: Record<string, - unknown> -
                                                                                                                                                                                                              -

                                                                                                                                                                                                              - Any additional parameters to send in the - request to refresh expired credentials. -

                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                            • -
                                                                                                                                                                                                            • - OptionalforceRefresh: - boolean -
                                                                                                                                                                                                              -

                                                                                                                                                                                                              - If true, credentials are always - refreshed regardless of their expiry, provided - a valid refresh token is available. -

                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                            • -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -

                                                                                                                                                                                                            - Returns Promise<undefined - | - Credentials> -

                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                          • -
                                                                                                                                                                                                          -
                                                                                                                                                                                                        • -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        - hasValidCredentials: - (minTtl?: - number) - => - Promise<boolean> -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        - Whether the SDK currently holds valid, unexpired credentials. -

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        Type declaration

                                                                                                                                                                                                        -
                                                                                                                                                                                                          -
                                                                                                                                                                                                        • -
                                                                                                                                                                                                            -
                                                                                                                                                                                                          • - (minTtl?: - number): - Promise<boolean> -
                                                                                                                                                                                                          • -
                                                                                                                                                                                                          • -
                                                                                                                                                                                                            -

                                                                                                                                                                                                            Parameters

                                                                                                                                                                                                            -
                                                                                                                                                                                                              -
                                                                                                                                                                                                            • - OptionalminTtl: - number -
                                                                                                                                                                                                              -

                                                                                                                                                                                                              - The minimum time in seconds that the access - token should last before expiration -

                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                            • -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -

                                                                                                                                                                                                            - Returns Promise<boolean> -

                                                                                                                                                                                                            -

                                                                                                                                                                                                            - true if there are valid credentials. - Otherwise, false. -

                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                          • -
                                                                                                                                                                                                          -
                                                                                                                                                                                                        • -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        - isLoading: - boolean -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        - A flag that is true until the state knows that a user is - either logged in or not -

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        - resetPassword: - (parameters: - ResetPasswordOptions) - => - Promise<void> -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        - Request an email with instructions to change password of a - user <a - href="../classes/Types.Auth.html#resetpassword" - class="tsd-kind-method">Auth#resetPassword</a> -

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        - revokeRefreshToken: - (parameters: - RevokeOptions) - => - Promise<void> -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        - Revokes an issued refresh token. See <a - href="../classes/Types.Auth.html#revoke" - class="tsd-kind-method">Auth#revoke</a> -

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        - sendEmailCode: - (parameters: - PasswordlessWithEmailOptions) - => - Promise<void> -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        - Start the passwordless email login flow. See <a - href="../classes/Types.Auth.html#passwordlesswithemail" - class="tsd-kind-method">Auth#passwordlessWithEmail</a> -

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        - sendMultifactorChallenge: - (
                                                                                                                                                                                                            parameters: - MultifactorChallengeOptions,
                                                                                                                                                                                                        ) - => - Promise<void> -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        - Send a challenge for multi-factor authentication. See <a - href="../classes/Types.Auth.html#multifactorchallenge" - class="tsd-kind-method">Auth#multifactorChallenge</a> -

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        - sendSMSCode: - (parameters: - PasswordlessWithSMSOptions) - => - Promise<void> -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        - Start the passwordless SMS login flow. See <a - href="../classes/Types.Auth.html#passwordlesswithsms" - class="tsd-kind-method">Auth#passwordlessWithSMS</a> -

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        - user: - null - | - TUser -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        - The user profile as decoded from the ID token after - authentication -

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        -

                                                                                                                                                                                                        - Generated using - TypeDoc -

                                                                                                                                                                                                        -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - - - diff --git a/docs/v4.6/interfaces/Types.AuthState.html b/docs/v4.6/interfaces/Types.AuthState.html deleted file mode 100644 index f20f0921..00000000 --- a/docs/v4.6/interfaces/Types.AuthState.html +++ /dev/null @@ -1,577 +0,0 @@ - - - - - - AuthState | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                                        -
                                                                                                                                                                                                        - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          Preparing search index...
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          - -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          - -

                                                                                                                                                                                                          Interface AuthState<TUser>

                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          - interface - AuthState<TUser - extends - User - = - User> - {
                                                                                                                                                                                                              error: - null - | - BaseError;
                                                                                                                                                                                                              isLoading: - boolean;
                                                                                                                                                                                                              user: - null - | - TUser;
                                                                                                                                                                                                          } -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -

                                                                                                                                                                                                          Type Parameters

                                                                                                                                                                                                          -
                                                                                                                                                                                                            -
                                                                                                                                                                                                          • - TUser - extends - User - = - User -
                                                                                                                                                                                                          • -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -

                                                                                                                                                                                                          - Hierarchy (View Summary) -

                                                                                                                                                                                                          - -
                                                                                                                                                                                                          - -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          - - -
                                                                                                                                                                                                          Index
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -

                                                                                                                                                                                                          Properties

                                                                                                                                                                                                          - -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          - - -

                                                                                                                                                                                                          Properties

                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          - -
                                                                                                                                                                                                          - error: - null - | - BaseError -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -

                                                                                                                                                                                                          An object representing the last exception

                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          - -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          - -
                                                                                                                                                                                                          - isLoading: - boolean -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -

                                                                                                                                                                                                          - A flag that is true until the state knows that a user is - either logged in or not -

                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          - -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          - -
                                                                                                                                                                                                          - user: - null - | - TUser -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -

                                                                                                                                                                                                          - The user profile as decoded from the ID token after - authentication -

                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          - -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          - - -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          -

                                                                                                                                                                                                          - Generated using - TypeDoc -

                                                                                                                                                                                                          -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          - - - diff --git a/docs/v4.6/interfaces/UserInfoOptions.html b/docs/v4.6/interfaces/UserInfoOptions.html deleted file mode 100644 index 76d01843..00000000 --- a/docs/v4.6/interfaces/UserInfoOptions.html +++ /dev/null @@ -1,455 +0,0 @@ - - - - - - UserInfoOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                                          -
                                                                                                                                                                                                          - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            - -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            - -

                                                                                                                                                                                                            Interface UserInfoOptions

                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -

                                                                                                                                                                                                            Options for accessing the /userinfo endpoint.

                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            - interface - UserInfoOptions - {
                                                                                                                                                                                                                headers?: - Record<string, - string>;
                                                                                                                                                                                                                token: - string;
                                                                                                                                                                                                            } -
                                                                                                                                                                                                            - -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            - - -
                                                                                                                                                                                                            Index
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -

                                                                                                                                                                                                            Properties

                                                                                                                                                                                                            - -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            - - -

                                                                                                                                                                                                            Properties

                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            - -
                                                                                                                                                                                                            - headers?: - Record<string, - string> -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -

                                                                                                                                                                                                            (Optional) Custom headers to include in the request.

                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            - -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            - -
                                                                                                                                                                                                            - token: - string -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -

                                                                                                                                                                                                            The user's access token

                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            - -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            - - -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            -

                                                                                                                                                                                                            - Generated using - TypeDoc -

                                                                                                                                                                                                            -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            - - - diff --git a/docs/v4.6/interfaces/WebAuthorizeOptions.html b/docs/v4.6/interfaces/WebAuthorizeOptions.html deleted file mode 100644 index fd82ef9d..00000000 --- a/docs/v4.6/interfaces/WebAuthorizeOptions.html +++ /dev/null @@ -1,733 +0,0 @@ - - - - - - WebAuthorizeOptions | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                                            -
                                                                                                                                                                                                            - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              Preparing search index...
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - -

                                                                                                                                                                                                              Interface WebAuthorizeOptions

                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -

                                                                                                                                                                                                              - Options for controlling the SDK's behaviour when calling the - /authorize endpoint. -

                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - interface - WebAuthorizeOptions - {
                                                                                                                                                                                                                  customScheme?: - string;
                                                                                                                                                                                                                  ephemeralSession?: - boolean;
                                                                                                                                                                                                                  leeway?: - number;
                                                                                                                                                                                                                  useLegacyCallbackUrl?: - boolean;
                                                                                                                                                                                                                  useSFSafariViewController?:
                                                                                                                                                                                                                      | - boolean
                                                                                                                                                                                                                      | - { - presentationStyle?: - SafariViewControllerPresentationStyle - };
                                                                                                                                                                                                              } -
                                                                                                                                                                                                              - -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - - -
                                                                                                                                                                                                              Index
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - - -

                                                                                                                                                                                                              Properties

                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - -
                                                                                                                                                                                                              - customScheme?: - string -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -

                                                                                                                                                                                                              Custom scheme to build the callback URL with.

                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - -
                                                                                                                                                                                                              - ephemeralSession?: - boolean -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -

                                                                                                                                                                                                              - iOS only: Disable Single-Sign-On (SSO). It - only affects iOS with versions 13 and above. -

                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - -

                                                                                                                                                                                                              false

                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - -
                                                                                                                                                                                                              - leeway?: - number -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -

                                                                                                                                                                                                              - The amount of leeway, in seconds, to accommodate potential - clock skew when validating an ID token's claims. -

                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - -

                                                                                                                                                                                                              60 seconds.

                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - -
                                                                                                                                                                                                              - useLegacyCallbackUrl?: - boolean -
                                                                                                                                                                                                              - -
                                                                                                                                                                                                              - -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - -
                                                                                                                                                                                                              - useSFSafariViewController?:
                                                                                                                                                                                                                  | - boolean
                                                                                                                                                                                                                  | - { - presentationStyle?: - SafariViewControllerPresentationStyle - } -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -

                                                                                                                                                                                                              - iOS only: Uses - SFSafariViewController instead of - ASWebAuthenticationSession. If empty object is - set, the presentationStyle defaults to <a - href="../enums/SafariViewControllerPresentationStyle.html#fullscreen" - class="tsd-kind-enum-member">SafariViewControllerPresentationStyle.fullScreen</a> -

                                                                                                                                                                                                              -

                                                                                                                                                                                                              - This can be used as a boolean value or as an object which sets - the presentationStyle. See the examples below for - reference -

                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - -
                                                                                                                                                                                                              await authorize({}, {useSFSafariViewController: true});
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - -

                                                                                                                                                                                                              or

                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - -
                                                                                                                                                                                                              await authorize({}, {useSFSafariViewController: {presentationStyle: SafariViewControllerPresentationStyle.fullScreen}});
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - - -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              -

                                                                                                                                                                                                              - Generated using - TypeDoc -

                                                                                                                                                                                                              -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - - - diff --git a/docs/v4.6/interfaces/WebAuthorizeParameters.html b/docs/v4.6/interfaces/WebAuthorizeParameters.html deleted file mode 100644 index 13182902..00000000 --- a/docs/v4.6/interfaces/WebAuthorizeParameters.html +++ /dev/null @@ -1,935 +0,0 @@ - - - - - - WebAuthorizeParameters | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                                              -
                                                                                                                                                                                                              - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -

                                                                                                                                                                                                                Interface WebAuthorizeParameters

                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -

                                                                                                                                                                                                                - Parameters that are sent to a call to the - /authorize endpoint. -

                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - interface - WebAuthorizeParameters - {
                                                                                                                                                                                                                    additionalParameters?: - { - [key: - string]: - string - };
                                                                                                                                                                                                                    audience?: - string;
                                                                                                                                                                                                                    connection?: - string;
                                                                                                                                                                                                                    invitationUrl?: - string;
                                                                                                                                                                                                                    maxAge?: - number;
                                                                                                                                                                                                                    nonce?: - string;
                                                                                                                                                                                                                    organization?: - string;
                                                                                                                                                                                                                    redirectUrl?: - string;
                                                                                                                                                                                                                    scope?: - string;
                                                                                                                                                                                                                    state?: - string;
                                                                                                                                                                                                                } -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - - -
                                                                                                                                                                                                                Index
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - - -

                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                - additionalParameters?: - { - [key: - string]: - string - } -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -

                                                                                                                                                                                                                - Any additional arbitrary parameters to send along in the URL. -

                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                - audience?: - string -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -

                                                                                                                                                                                                                - The intended API identifier that will be the consumer for the - issued access token. -

                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                - connection?: - string -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -

                                                                                                                                                                                                                The database connection in which to look for users.

                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                - invitationUrl?: - string -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -

                                                                                                                                                                                                                - The invitation URL for those users who have been invited to - join a specific organization. -

                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                - maxAge?: - number -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -

                                                                                                                                                                                                                - The maximum age in seconds that the resulting ID token should - be issued for. -

                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                - nonce?: - string -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -

                                                                                                                                                                                                                - One-time random value that is used to prevent replay attacks. -

                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                - organization?: - string -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -

                                                                                                                                                                                                                - The organization in which user's should be authenticated into. -

                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                - redirectUrl?: - string -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -

                                                                                                                                                                                                                - Specify a custom redirect URL to be used. Normally, you - wouldn't need to call this method manually as the default - value is autogenerated for you. -

                                                                                                                                                                                                                -

                                                                                                                                                                                                                - If you are using this, ensure a proper redirect URL is - constructed in the following format Android: - {YOUR_APP_PACKAGE_NAME}.auth0://{AUTH0_DOMAIN}/android/{YOUR_APP_PACKAGE_NAME}/callback - iOS: - {PRODUCT_BUNDLE_IDENTIFIER}.auth0://{AUTH0_DOMAIN}/ios/{PRODUCT_BUNDLE_IDENTIFIER}/callback -

                                                                                                                                                                                                                -

                                                                                                                                                                                                                - If you have useLegacyCallbackUrl set to true then - the redirect URL should in the format Android: - {YOUR_APP_PACKAGE_NAME}://{AUTH0_DOMAIN}/android/{YOUR_APP_PACKAGE_NAME}/callback - iOS: - {PRODUCT_BUNDLE_IDENTIFIER}://{AUTH0_DOMAIN}/ios/{PRODUCT_BUNDLE_IDENTIFIER}/callback -

                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                - scope?: - string -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -

                                                                                                                                                                                                                - The scopes requested for the issued tokens. e.g. - openid profile -

                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                - state?: - string -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -

                                                                                                                                                                                                                Random string to prevent CSRF attacks.

                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - - -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                -

                                                                                                                                                                                                                - Generated using - TypeDoc -

                                                                                                                                                                                                                -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - - - diff --git a/docs/v4.6/media/FAQ.md b/docs/v4.6/media/FAQ.md deleted file mode 100644 index 3434dce4..00000000 --- a/docs/v4.6/media/FAQ.md +++ /dev/null @@ -1,264 +0,0 @@ -# Frequently Asked Questions - -1. [How can I have separate Auth0 domains for each environment on Android?](#1-how-can-i-have-separate-auth0-domains-for-each-environment-on-android) -2. [How can I disable the iOS _login_ alert box?](#2-how-can-i-disable-the-ios-login-alert-box) -3. [How can I disable the iOS _logout_ alert box?](#3-how-can-i-disable-the-ios-logout-alert-box) -4. [Is there a way to disable the iOS _login_ alert box without `ephemeralSession`?](#4-is-there-a-way-to-disable-the-ios-login-alert-box-without-ephemeralsession) -5. [How can I change the message in the iOS alert box?](#5-how-can-i-change-the-message-in-the-ios-alert-box) -6. [How can I programmatically close the iOS alert box?](#6-how-can-i-programmatically-close-the-ios-alert-box) -7. [Auth0 web browser gets killed when going to the background on Android](#7-auth0-web-browser-gets-killed-when-going-to-the-background-on-android) -8. [How to resolve the _Failed to start this transaction, as there is an active transaction at the moment_ error?](#8-how-to-resolve-the-failed-to-start-this-transaction-as-there-is-an-active-transaction-at-the-moment-error) -9. [How can I prevent the autogenerated redirect_uri from breaking if the applicationId has mixed cases or special characters in it on Android?](#9-how-can-i-prevent-the-autogenerated-redirect_uri-from-breaking-if-the-applicationId-has-mixed-cases-or-special-characters-in-it-on-android) - -## 1. How can I have separate Auth0 domains for each environment on Android? - -This library internally declares a `RedirectActivity` along with an **intent-filter** in its Android Manifest file to handle the Web Auth callback and logout URLs. While this approach prevents the developer from adding an activity declaration to their apps's Android Manifest file, it requires the use of [Manifest Placeholders](https://developer.android.com/studio/build/manage-manifests#inject_build_variables_into_the_manifest). - -Alternatively, you can re-declare the `RedirectActivity` in the `AndroidManifest.xml` file with your own **intent-filter** so it overrides the library's default one. If you do this then the `manifestPlaceholders` don't need to be set as long as the activity contains `tools:node="replace"` like in the snippet below. - -```xml - - - - - - - - - - - - - - - - - - - - - - - -``` - -## 2. How can I disable the iOS _login_ alert box? - -![ios-sso-alert](assets/ios-sso-alert.png) - -Under the hood, react-native-auth0 uses `ASWebAuthenticationSession` by default to perform web-based authentication, which is the [API provided by Apple](https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsession) for such purpose. - -That alert box is displayed and managed by `ASWebAuthenticationSession`, not by react-native-auth0, because by default this API will store the session cookie in the shared Safari cookie jar. This makes single sign-on (SSO) possible. According to Apple, that requires user consent. - -> **Note** -> See [this blog post](https://developer.okta.com/blog/2022/01/13/mobile-sso) for a detailed overview of SSO on iOS. - -### Use ephemeral sessions - -If you don't need SSO, you can disable this behavior by adding `ephemeralSession: true` to the login call. This will configure `ASWebAuthenticationSession` to not store the session cookie in the shared cookie jar, as if using an incognito browser window. With no shared cookie, `ASWebAuthenticationSession` will not prompt the user for consent. - -```js -auth0.webAuth - .authorize( - { scope: 'openid profile email' }, - { ephemeralSession: true } // No SSO, therefore no alert box - ) - .then((credentials) => console.log(credentials)) - .catch((error) => console.log(error)); -``` - -Note that with `ephemeralSession: true` you don't need to call `clearSession` at all. Just clearing the credentials from the app will suffice. What `clearSession` does is clear the shared session cookie, so that in the next login call the user gets asked to log in again. But with `ephemeralSession: true` there will be no shared cookie to remove. - -You still need to call `clearSession` on Android, though, as `ephemeralSession` is iOS-only. - -### Use `SFSafariViewController` - -An alternative is to use `SFSafariViewController` instead of `ASWebAuthenticationSession`. You can do so with the built-in `SFSafariViewController` Web Auth provider: - -```js -auth0.webAuth - .authorize( - { scope: 'openid profile email' }, - { useSFSafariViewController: true } // Use SFSafariViewController - ) - .then((credentials) => console.log(credentials)) - .catch((error) => console.log(error)); -``` - -> **Note** -> Since `SFSafariViewController` does not share cookies with the Safari app, SSO will not work either. But it will keep its own cookies, so you can use it to perform SSO between your app and your website as long as you open it inside your app using `SFSafariViewController`. This also means that any feature that relies on the persistence of cookies will work as expected. - -## 3. How can I disable the iOS _logout_ alert box? - -![ios-sso-alert](assets/ios-sso-alert.png) - -Since `clearSession` needs to use `ASWebAuthenticationSession` as well to clear the shared session cookie, the same alert box will be displayed. - -If you need SSO and/or are willing to tolerate the alert box on the login call, but would prefer to get rid of it when calling `clearSession`, you can simply not call `clearSession` and just clear the credentials from the app. This means that the shared session cookie will not be removed, so to get the user to log in again you need to add the `prompt: 'login'` parameter to the _login_ call. - -```js -auth0.webAuth - .authorize( - { additionalParameters: { prompt: 'login' } }, // Ignore the cookie (if present) and show the login page - { ephemeralSession: true } - ) - .then((credentials) => console.log(credentials)) - .catch((error) => console.log(error)); -``` - -Otherwise, the browser modal will close right away and the user will be automatically logged in again, as the cookie will still be there. - -> **Warning** -> Keeping the shared session cookie may not be an option if you have strong privacy and/or security requirements, for example in the case of a banking app. - -## 4. Is there a way to disable the iOS _login_ alert box without `ephemeralSession`? - -No. According to Apple, storing the session cookie in the shared Safari cookie jar requires user consent. The only way to not have a shared cookie is to configure `ASWebAuthenticationSession` with `prefersEphemeralWebBrowserSession` set to `true`, which is what `ephemeralSession: true` does. - -## 5. How can I change the message in the iOS alert box? - -This library has no control whatsoever over the alert box. Its contents cannot be changed. Unfortunately, that's a limitation of `ASWebAuthenticationSession`. - -## 6. How can I programmatically close the iOS alert box? - -This library has no control whatsoever over the alert box. It cannot be closed programmatically. Unfortunately, that's a limitation of `ASWebAuthenticationSession`. - -## 7. Auth0 web browser gets killed when going to the background on Android - -### The problem - -When opening the Auth0 web browser to perform authentication, the Android system may kill the browser when the app goes to the background and you re-launch the app by pressing the app icon. This is a common behaviour if a user has MFA enabled for example and the user switches to another app to get the MFA code. - -You may have seen other issues where the usage of `singleTop` fixes this issue. However, other different libraries may be using `singleTask` and this can cause other issues if you change it. - -See these issues for more information: - -- [Android: OTP auth browser closes when minimising app](https://github.com/auth0/react-native-auth0/issues/921) -- [Fixed authentication restart when the app is minimized ](https://github.com/auth0/react-native-auth0/pull/350) -- [possibility to run with launchMode:singleTop?](https://github.com/auth0/react-native-auth0/issues/170) -- [Android singleTask launch mode is required for react-native deep links](https://github.com/auth0/react-native-auth0/issues/556) - -### The solution - -If your Android `launchMode` is set to `singleTask` (check your `AndroidManifest.xml`), that's why this is occurring. Unfortunately, this is not addressable by the react-native-auth0 library. - -This is [the same solution for the stripe-react-native library](https://github.com/stripe/stripe-react-native/issues/355#issuecomment-1701323254), but it also help other libraries that have the same issue. - -1. Modify your `MainApplication`: - -```diff -public class MainApplication extends Application { -+ private ArrayList runningActivities = new ArrayList<>(); - -+ public void addActivityToStack (Class cls) { -+ if (!runningActivities.contains(cls)) runningActivities.add(cls); -+ } - -+ public void removeActivityFromStack (Class cls) { -+ if (runningActivities.contains(cls)) runningActivities.remove(cls); -+ } - -+ public boolean isActivityInBackStack (Class cls) { -+ return runningActivities.contains(cls); -+ } -} -``` - -2. create `LaunchActivity` - -```diff -+ public class LaunchActivity extends Activity { -+ @Override -+ protected void onCreate(Bundle savedInstanceState) { -+ super.onCreate(savedInstanceState); -+ BaseApplication application = (BaseApplication) getApplication(); -+ // check that MainActivity is not started yet -+ if (!application.isActivityInBackStack(MainActivity.class)) { -+ Intent intent = new Intent(this, MainActivity.class); -+ startActivity(intent); -+ } -+ finish(); -+ } -+ } -``` - -3. Modify `AndroidManifest.xml` and move `android.intent.action.MAIN` and `android.intent.category.LAUNCHER` from your `.MainActivity` to `.LaunchActivity` - -```diff -+ -+ -+ -+ -+ -+ - -... -- -- -- -- -... -``` - -4. Modify `MainActivity` to look _something_ like the following (you likely already have an `onCreate` method that you need to modify): - -```java - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(null); - ((BaseApplication) getApplication()).addActivityToStack(this.getClass()); - } - - @Override - protected void onDestroy() { - super.onDestroy(); - ((BaseApplication) getApplication()).removeActivityFromStack(this.getClass()); - } -``` - -## 8. How to resolve the _Failed to start this transaction, as there is an active transaction at the moment_ error? - -Users might encounter this error when the app moves to the background and then back to the foreground while the login/logout alert box is displayed, for example by locking and unlocking the device. The alert box would get dismissed but when the user tries to log in again, the Web Auth operation fails with the `transactionActiveAlready` error. - -This is a known issue with `ASWebAuthenticationSession` and it is not specific to react-native-auth0. We have already filed a bug report with Apple and are awaiting for a response from them. - -### Workarounds - -#### Clear the login transaction when handling the `transactionActiveAlready` error - -You can invoke `cancelWebAuth()` to manually clear the current login transaction upon encountering this error. Then, you can retry login. For example: - -```js -auth0.webAuth.authorize({}).catch((error) => { - if ( - error.cause == - 'Failed to start this transaction, as there is an active transaction at the moment ' - ) - auth0.webAuth.cancelWebAuth(); - // retry auth logic -}); -``` - -#### Clear the login transaction when the app moves to the background/foreground - -You can invoke `cancelWebAuth()` to manually clear the current login transaction when the app moves to the background or back to the foreground. However, you need to make sure to not cancel valid login attempts –for example, when the user switches briefly to another app while the login page is open. - -#### Avoid the login/logout alert box - -If you don't need SSO, consider using `ephemeral sessions` or `SFSafariViewController` instead of `ASWebAuthenticationSession`. See [2. How can I disable the iOS _login_ alert box?](#2-how-can-i-disable-the-ios-login-alert-box) for more information. - -## 9. How can I prevent the autogenerated redirect_uri from breaking if the applicationId has mixed cases or special characters in it on Android ? - -It is recommended to have your applicationId in lower case without special characters to prevent any mismatch with the generated redirect_uri. But in the scenario where you require your applicationId to be of mixed case, to avoid any mismatch , the user can pass a `redirectUri` which matches the one provided in the manage dashboard as part of the `AgentLoginOptions` property. diff --git a/docs/v4.6/media/android-app-link.png b/docs/v4.6/media/android-app-link.png deleted file mode 100644 index a151b9db..00000000 Binary files a/docs/v4.6/media/android-app-link.png and /dev/null differ diff --git a/docs/v4.6/media/ios-sso-alert.png b/docs/v4.6/media/ios-sso-alert.png deleted file mode 100644 index e9ef2dcd..00000000 Binary files a/docs/v4.6/media/ios-sso-alert.png and /dev/null differ diff --git a/docs/v4.6/modules.html b/docs/v4.6/modules.html deleted file mode 100644 index a28d0ba8..00000000 --- a/docs/v4.6/modules.html +++ /dev/null @@ -1,1541 +0,0 @@ - - - - - - React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                                                -
                                                                                                                                                                                                                - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                                                  -
                                                                                                                                                                                                                  -
                                                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                                                  -
                                                                                                                                                                                                                  -
                                                                                                                                                                                                                  - -
                                                                                                                                                                                                                  -
                                                                                                                                                                                                                  -
                                                                                                                                                                                                                  -
                                                                                                                                                                                                                  -
                                                                                                                                                                                                                  -
                                                                                                                                                                                                                    -

                                                                                                                                                                                                                    React Native Auth0 - v4.6.0

                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - -

                                                                                                                                                                                                                    Modules

                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - Types -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - -

                                                                                                                                                                                                                    Enumerations

                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - LocalAuthenticationLevel -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - LocalAuthenticationStrategy -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - SafariViewControllerPresentationStyle -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - -

                                                                                                                                                                                                                    Classes

                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - default -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - TimeoutError -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - -

                                                                                                                                                                                                                    Interfaces

                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - Auth0Options -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - AuthorizeUrlOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - ClearSessionOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - ClearSessionParameters -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - CreateUserOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - ExchangeNativeSocialOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - ExchangeOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - GetUserOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - LocalAuthenticationOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - LoginWithEmailOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - LoginWithOOBOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - LoginWithOTPOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - LoginWithRecoveryCodeOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - LoginWithSMSOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - LogoutUrlOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - MultifactorChallengeOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - PasswordlessWithEmailOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - PasswordlessWithSMSOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - PasswordRealmOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - PatchUserOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - RefreshTokenOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - ResetPasswordOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - RevokeOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - UserInfoOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - WebAuthorizeOptions -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - WebAuthorizeParameters -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - -

                                                                                                                                                                                                                    Type Aliases

                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - Credentials -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - MultifactorChallengeOOBResponse -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - MultifactorChallengeOOBWithBindingResponse -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - MultifactorChallengeOTPResponse -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - MultifactorChallengeResponse -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - User -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - -

                                                                                                                                                                                                                    Functions

                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - Auth0Provider -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - useAuth0 -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -

                                                                                                                                                                                                                    - Generated using - TypeDoc -

                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - - - diff --git a/docs/v4.6/modules/Types.html b/docs/v4.6/modules/Types.html deleted file mode 100644 index fb877d91..00000000 --- a/docs/v4.6/modules/Types.html +++ /dev/null @@ -1,591 +0,0 @@ - - - - - - Types | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      - -

                                                                                                                                                                                                                      Module Types

                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      - - -

                                                                                                                                                                                                                      Classes

                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      - - Auth -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      - - BaseError -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      - - CredentialsManager -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      - - Users -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      - - WebAuth -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      - - -

                                                                                                                                                                                                                      Interfaces

                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      - - Auth0ContextInterface -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      - - AuthState -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      - - -

                                                                                                                                                                                                                      Type Aliases

                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      - - Auth0Response -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      - - Telemetry -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      - - -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -

                                                                                                                                                                                                                      - Generated using - TypeDoc -

                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      - - - diff --git a/docs/v4.6/types/Credentials.html b/docs/v4.6/types/Credentials.html deleted file mode 100644 index de8bce0f..00000000 --- a/docs/v4.6/types/Credentials.html +++ /dev/null @@ -1,685 +0,0 @@ - - - - - - Credentials | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                                                      -
                                                                                                                                                                                                                      - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        Preparing search index...
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        - -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        - -

                                                                                                                                                                                                                        Type Alias Credentials

                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        - type - Credentials - = - {
                                                                                                                                                                                                                            accessToken: - string;
                                                                                                                                                                                                                            expiresAt: - number;
                                                                                                                                                                                                                            idToken: - string;
                                                                                                                                                                                                                            refreshToken?: - string;
                                                                                                                                                                                                                            scope?: - string;
                                                                                                                                                                                                                            tokenType: - string;
                                                                                                                                                                                                                            [key: - string]: - any;
                                                                                                                                                                                                                        } -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -

                                                                                                                                                                                                                        Indexable

                                                                                                                                                                                                                        -
                                                                                                                                                                                                                          -
                                                                                                                                                                                                                        • -
                                                                                                                                                                                                                          - [key: - string]: - any -
                                                                                                                                                                                                                          -
                                                                                                                                                                                                                        • -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        - -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        - - -
                                                                                                                                                                                                                        Index
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        - -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        - - -

                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        - -
                                                                                                                                                                                                                        - accessToken: - string -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -

                                                                                                                                                                                                                        The token used to make API calls

                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        - -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        - -
                                                                                                                                                                                                                        - expiresAt: - number -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -

                                                                                                                                                                                                                        - Used to denote when the token will expire, as a UNIX timestamp -

                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        - -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        - -
                                                                                                                                                                                                                        - idToken: - string -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -

                                                                                                                                                                                                                        A token in JWT format that has user claims

                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        - -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        - -
                                                                                                                                                                                                                        - refreshToken?: - string -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -

                                                                                                                                                                                                                        The token used to refresh the access token

                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        - -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        - -
                                                                                                                                                                                                                        - scope?: - string -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -

                                                                                                                                                                                                                        Represents the scope of the current token

                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        - -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        - -
                                                                                                                                                                                                                        - tokenType: - string -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -

                                                                                                                                                                                                                        The type of the token, e.g.: Bearer

                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        - -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        - - -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -

                                                                                                                                                                                                                        - Generated using - TypeDoc -

                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        - - - diff --git a/docs/v4.6/types/MultifactorChallengeOOBResponse.html b/docs/v4.6/types/MultifactorChallengeOOBResponse.html deleted file mode 100644 index 4be222bf..00000000 --- a/docs/v4.6/types/MultifactorChallengeOOBResponse.html +++ /dev/null @@ -1,270 +0,0 @@ - - - - - - MultifactorChallengeOOBResponse | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                                                        -
                                                                                                                                                                                                                        - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                                                          -
                                                                                                                                                                                                                          -
                                                                                                                                                                                                                          Preparing search index...
                                                                                                                                                                                                                          -
                                                                                                                                                                                                                          -
                                                                                                                                                                                                                          - -
                                                                                                                                                                                                                          -
                                                                                                                                                                                                                          -
                                                                                                                                                                                                                          -
                                                                                                                                                                                                                          -
                                                                                                                                                                                                                          - -

                                                                                                                                                                                                                          Type Alias MultifactorChallengeOOBResponse

                                                                                                                                                                                                                          -
                                                                                                                                                                                                                          -
                                                                                                                                                                                                                          - MultifactorChallengeOOBResponse: - MultifactorChallengeOTPResponse - & - {
                                                                                                                                                                                                                              oobCode: - string;
                                                                                                                                                                                                                          } -
                                                                                                                                                                                                                          - -
                                                                                                                                                                                                                          -
                                                                                                                                                                                                                          - - -
                                                                                                                                                                                                                          -
                                                                                                                                                                                                                          -
                                                                                                                                                                                                                          -

                                                                                                                                                                                                                          - Generated using - TypeDoc -

                                                                                                                                                                                                                          -
                                                                                                                                                                                                                          -
                                                                                                                                                                                                                          - - - diff --git a/docs/v4.6/types/MultifactorChallengeOOBWithBindingResponse.html b/docs/v4.6/types/MultifactorChallengeOOBWithBindingResponse.html deleted file mode 100644 index dcf20a60..00000000 --- a/docs/v4.6/types/MultifactorChallengeOOBWithBindingResponse.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - - MultifactorChallengeOOBWithBindingResponse | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - - -
                                                                                                                                                                                                                          -
                                                                                                                                                                                                                          - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            - -
                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            - -

                                                                                                                                                                                                                            Type Alias MultifactorChallengeOOBWithBindingResponse

                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            - MultifactorChallengeOOBWithBindingResponse: - MultifactorChallengeOOBResponse - & - {
                                                                                                                                                                                                                                bindingMethod: - string;
                                                                                                                                                                                                                            } -
                                                                                                                                                                                                                            - -
                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            - - -
                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            -

                                                                                                                                                                                                                            - Generated using - TypeDoc -

                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            - - - diff --git a/docs/v4.6/types/MultifactorChallengeOTPResponse.html b/docs/v4.6/types/MultifactorChallengeOTPResponse.html deleted file mode 100644 index d61a5442..00000000 --- a/docs/v4.6/types/MultifactorChallengeOTPResponse.html +++ /dev/null @@ -1,388 +0,0 @@ - - - - - - MultifactorChallengeOTPResponse | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              Preparing search index...
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              - -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              - -

                                                                                                                                                                                                                              Type Alias MultifactorChallengeOTPResponse

                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              - type - MultifactorChallengeOTPResponse - = - {
                                                                                                                                                                                                                                  challengeType: - string;
                                                                                                                                                                                                                              } -
                                                                                                                                                                                                                              - -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              - - -
                                                                                                                                                                                                                              Index
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              -

                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                              - -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              - - -

                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              - -
                                                                                                                                                                                                                              - challengeType: - string -
                                                                                                                                                                                                                              - -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              - - -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              -

                                                                                                                                                                                                                              - Generated using - TypeDoc -

                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              - - - diff --git a/docs/v4.6/types/MultifactorChallengeResponse.html b/docs/v4.6/types/MultifactorChallengeResponse.html deleted file mode 100644 index 86f8a4fc..00000000 --- a/docs/v4.6/types/MultifactorChallengeResponse.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - - MultifactorChallengeResponse | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                - -
                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                - -

                                                                                                                                                                                                                                Type Alias MultifactorChallengeResponse

                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                - MultifactorChallengeResponse:
                                                                                                                                                                                                                                    | - MultifactorChallengeOTPResponse
                                                                                                                                                                                                                                    | - MultifactorChallengeOOBResponse
                                                                                                                                                                                                                                    | - MultifactorChallengeOOBWithBindingResponse -
                                                                                                                                                                                                                                - -
                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                - - -
                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                -

                                                                                                                                                                                                                                - Generated using - TypeDoc -

                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                - - - diff --git a/docs/v4.6/types/Types.Auth0Response.html b/docs/v4.6/types/Types.Auth0Response.html deleted file mode 100644 index 546dfb91..00000000 --- a/docs/v4.6/types/Types.Auth0Response.html +++ /dev/null @@ -1,599 +0,0 @@ - - - - - - Auth0Response | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  - -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  - -

                                                                                                                                                                                                                                  Type Alias Auth0Response<TData>

                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  - type - Auth0Response<TData> - = - {
                                                                                                                                                                                                                                      headers?: - Headers;
                                                                                                                                                                                                                                      json?: - TData;
                                                                                                                                                                                                                                      ok?: - boolean;
                                                                                                                                                                                                                                      status: - number;
                                                                                                                                                                                                                                      text?: - string;
                                                                                                                                                                                                                                  } -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                  Type Parameters

                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                  • - TData -
                                                                                                                                                                                                                                  • -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  - -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  - - -
                                                                                                                                                                                                                                  Index
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                  - -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  - - -

                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  - -
                                                                                                                                                                                                                                  - headers?: - Headers -
                                                                                                                                                                                                                                  - -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  - -
                                                                                                                                                                                                                                  - json?: - TData -
                                                                                                                                                                                                                                  - -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  - -
                                                                                                                                                                                                                                  - ok?: - boolean -
                                                                                                                                                                                                                                  - -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  - -
                                                                                                                                                                                                                                  - status: - number -
                                                                                                                                                                                                                                  - -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  - -
                                                                                                                                                                                                                                  - text?: - string -
                                                                                                                                                                                                                                  - -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  - - -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                  - Generated using - TypeDoc -

                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  - - - diff --git a/docs/v4.6/types/Types.Telemetry.html b/docs/v4.6/types/Types.Telemetry.html deleted file mode 100644 index ddfd0db1..00000000 --- a/docs/v4.6/types/Types.Telemetry.html +++ /dev/null @@ -1,481 +0,0 @@ - - - - - - Telemetry | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                  - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    - -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    - -

                                                                                                                                                                                                                                    Type Alias Telemetry

                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    - type - Telemetry - = - {
                                                                                                                                                                                                                                        env?: - any;
                                                                                                                                                                                                                                        name?: - string;
                                                                                                                                                                                                                                        version?: - string;
                                                                                                                                                                                                                                    } -
                                                                                                                                                                                                                                    - -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    - - -
                                                                                                                                                                                                                                    Index
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                    - -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    - - -

                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    - -
                                                                                                                                                                                                                                    - env?: - any -
                                                                                                                                                                                                                                    - -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    - -
                                                                                                                                                                                                                                    - name?: - string -
                                                                                                                                                                                                                                    - -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    - -
                                                                                                                                                                                                                                    - version?: - string -
                                                                                                                                                                                                                                    - -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    - - -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                    - Generated using - TypeDoc -

                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    - - - diff --git a/docs/v4.6/types/User.html b/docs/v4.6/types/User.html deleted file mode 100644 index 290defff..00000000 --- a/docs/v4.6/types/User.html +++ /dev/null @@ -1,1374 +0,0 @@ - - - - - - User | React Native Auth0 - v4.6.0 - - - - - - - - - - - - - -
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    - React Native Auth0 - v4.6.0 - - - - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -

                                                                                                                                                                                                                                      Type Alias User

                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - type - User - = - {
                                                                                                                                                                                                                                          address?: - string;
                                                                                                                                                                                                                                          birthdate?: - string;
                                                                                                                                                                                                                                          email?: - string;
                                                                                                                                                                                                                                          emailVerified?: - boolean;
                                                                                                                                                                                                                                          familyName?: - string;
                                                                                                                                                                                                                                          gender?: - string;
                                                                                                                                                                                                                                          givenName?: - string;
                                                                                                                                                                                                                                          locale?: - string;
                                                                                                                                                                                                                                          middleName?: - string;
                                                                                                                                                                                                                                          name?: - string;
                                                                                                                                                                                                                                          nickname?: - string;
                                                                                                                                                                                                                                          phoneNumber?: - string;
                                                                                                                                                                                                                                          phoneNumberVerified?: - boolean;
                                                                                                                                                                                                                                          picture?: - string;
                                                                                                                                                                                                                                          preferredUsername?: - string;
                                                                                                                                                                                                                                          profile?: - string;
                                                                                                                                                                                                                                          sub?: - string;
                                                                                                                                                                                                                                          updatedAt?: - string;
                                                                                                                                                                                                                                          website?: - string;
                                                                                                                                                                                                                                          zoneinfo?: - string;
                                                                                                                                                                                                                                          [key: - string]: - any;
                                                                                                                                                                                                                                      } -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                      Indexable

                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                      • -
                                                                                                                                                                                                                                        - [key: - string]: - any -
                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                      • -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - - -
                                                                                                                                                                                                                                      Index
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - - -

                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      - address?: - string -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      - birthdate?: - string -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      - email?: - string -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      - emailVerified?: - boolean -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      - familyName?: - string -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      - gender?: - string -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      - givenName?: - string -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      - locale?: - string -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      - middleName?: - string -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      - name?: - string -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      - nickname?: - string -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      - phoneNumber?: - string -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      - phoneNumberVerified?: - boolean -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      - picture?: - string -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      - preferredUsername?: - string -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      - profile?: - string -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      - sub?: - string -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      - updatedAt?: - string -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      - website?: - string -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      - zoneinfo?: - string -
                                                                                                                                                                                                                                      - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - - -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                      - Generated using - TypeDoc -

                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                      - - - diff --git a/docs/versions.js b/docs/versions.js deleted file mode 100644 index d3d0772e..00000000 --- a/docs/versions.js +++ /dev/null @@ -1,2 +0,0 @@ -'use strict'; -export const DOC_VERSIONS = ['dev', 'v4.6']; diff --git a/docs/versions.json b/docs/versions.json deleted file mode 100644 index 70bb367e..00000000 --- a/docs/versions.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "versions": [ - { - "version": "5.0.0-beta.5", - "name": "v5.0.0-beta.5", - "path": "v5.0.0-beta.5" - } - ] -} diff --git a/scripts/manage-doc-versions.js b/scripts/manage-doc-versions.js index 20af995c..76225bd4 100755 --- a/scripts/manage-doc-versions.js +++ b/scripts/manage-doc-versions.js @@ -103,6 +103,27 @@ function updateVersionsFile(versionsToKeep) { console.log( `📝 Updated versions.json with ${versionsToKeep.length} versions` ); + + // Update version.js with the correct versions + const versionJsPath = path.join(DOCS_DIR, 'versions.js'); + const versionContent = `'use strict'; + export const DOC_VERSIONS = [${versionsToKeep + .map((v) => `'v${v}'`) + .join(', ')}]; + `; + fs.writeFileSync(versionJsPath, versionContent); + console.log( + `📝 Updated version.js with versions: ${versionsToKeep + .map((v) => `v${v}`) + .join(', ')}` + ); + // Update index.html to redirect to the latest version + const indexPath = path.join(DOCS_DIR, 'index.html'); + const latestVersion = versionsToKeep[0]; + const indexContent = ` + `; + fs.writeFileSync(indexPath, indexContent); + console.log(`📝 Updated index.html to redirect to v${latestVersion}`); } /**