Added phpdoc config, generated documentation
This commit is contained in:
parent
3881139b95
commit
02a2773c60
3
.gitignore
vendored
3
.gitignore
vendored
@ -2,3 +2,6 @@
|
|||||||
vendor
|
vendor
|
||||||
tests/tmp/*
|
tests/tmp/*
|
||||||
tests/coverage
|
tests/coverage
|
||||||
|
phpDocumentor.phar
|
||||||
|
phpdoc.xml
|
||||||
|
.phpdoc
|
@ -0,0 +1,351 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot.html">Taproot</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth.html">IndieAuth</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth-callback.html">Callback</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -interface">
|
||||||
|
<h2 class="phpdocumentor-content__title">
|
||||||
|
AuthorizationFormInterface
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Callback/AuthorizationFormInterface.php"><a href="files/src-callback-authorizationforminterface.html"><abbr title="src/Callback/AuthorizationFormInterface.php">AuthorizationFormInterface.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">11</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Authorization Form Interface</p>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="toc">
|
||||||
|
Table of Contents
|
||||||
|
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-AuthorizationFormInterface.html#method_showForm">showForm()</a>
|
||||||
|
<span>
|
||||||
|
: <abbr title="\Psr\Http\Message\ResponseInterface">ResponseInterface</abbr> </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Show Form</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-AuthorizationFormInterface.html#method_transformAuthorizationCode">transformAuthorizationCode()</a>
|
||||||
|
<span>
|
||||||
|
: array<string|int, mixed> </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Transform Authorization Code</dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-methods">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
||||||
|
Methods
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-AuthorizationFormInterface.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_showForm">
|
||||||
|
showForm()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-AuthorizationFormInterface.html#method_showForm" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Callback/AuthorizationFormInterface.php"><a href="files/src-callback-authorizationforminterface.html"><abbr title="src/Callback/AuthorizationFormInterface.php">AuthorizationFormInterface.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">55</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Show Form</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">showForm</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$authenticationResult</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$formAction</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed>|null </span><span class="phpdocumentor-signature__argument__name">$clientHApp</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Psr\Http\Message\ResponseInterface">ResponseInterface</abbr></span></code>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"><p>This method is called once the IndieAuth Authorization Endpoint has confirmed that:</p>
|
||||||
|
<ul>
|
||||||
|
<li>The current user is authenticated</li>
|
||||||
|
<li>The client app (client_id) has been fetched and is valid</li>
|
||||||
|
<li>The client app redirect_uri is known to be valid</li>
|
||||||
|
</ul>
|
||||||
|
<p>It should build an authorization form which the currently logged-in user can use
|
||||||
|
to choose which scopes (if any) to grant the app.</p>
|
||||||
|
<p>Information specific to the IndieAuth authorization request can be found in
|
||||||
|
<code class="prettyprint">$request->getQueryParams()</code>. The parameters most likely to be of use to the authorization
|
||||||
|
form are:</p>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">scope</code>: a space-separated list of scopes which the client app is requesting. May be absent.</li>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">client_id</code>: the URL of the client app. Should be shown to the user. This also makes a good “cancel” link.</li>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">redirect_uri</code>: the URI which the user will be redirected to on successful authorization.</li>
|
||||||
|
</ul>
|
||||||
|
<p>The form MUST submit a POST request to <code class="prettyprint">$formAction</code>, with the <code class="prettyprint">taproot_indieauth_action</code>
|
||||||
|
parameter set to <code class="prettyprint">approve</code>.</p>
|
||||||
|
<p>The form MUST additionally include any CSRF tokens required to protect the submission.
|
||||||
|
Refer to whatever CSRF protection code you’re using (e.g. <code class="prettyprint">\Taproot\IndieAuth\Middleware\DoubleSubmitCookieCsrfMiddleware</code>)
|
||||||
|
and make sure to include the required element. This will usually involve getting a
|
||||||
|
CSRF token with <code class="prettyprint">$request->getAttribute()</code> and including it in an <code class="prettyprint"><input type="hidden" …/></code>.</p>
|
||||||
|
<p>The form SHOULD offer the user the opportunity to choose which of the request scopes,
|
||||||
|
if any, they wish to grant. It should describe what effect each scope grants. If no scopes are
|
||||||
|
requested, tell the user that the app is only requesting authorization, not access to their data.</p>
|
||||||
|
<p>The form MAY offer the user UIs for additional token configuration, e.g. a custom token lifetime.
|
||||||
|
You may have to refer to the documentation for your instance of <code class="prettyprint">TokenStorageInterface</code> to ensure
|
||||||
|
that lifetime configuration works correctly. Any other additional data is not used by the IndieAuth
|
||||||
|
library, but, if stored on the access token, will be available to your app for use.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$request</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"><p>The current request.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$authenticationResult</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"><p>The array returned from the Authentication Handler. Guaranteed to contain a 'me' key, may also contain additional keys e.g. 'profile'.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$formAction</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"><p>The URL which your form MUST submit to. Can also be used as the redirect URL for a logout process.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$clientHApp</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed>|null</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"><p>If available, the microformats-2 structure representing the client app.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type"><abbr title="\Psr\Http\Message\ResponseInterface">ResponseInterface</abbr></span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"><p>A response containing the authorization form.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_transformAuthorizationCode">
|
||||||
|
transformAuthorizationCode()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-AuthorizationFormInterface.html#method_transformAuthorizationCode" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Callback/AuthorizationFormInterface.php"><a href="files/src-callback-authorizationforminterface.html"><abbr title="src/Callback/AuthorizationFormInterface.php">AuthorizationFormInterface.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">90</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Transform Authorization Code</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">transformAuthorizationCode</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$code</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"><p>This method is called on a successful authorization form submission. The <code class="prettyprint">$code</code> array
|
||||||
|
is a partially-constructed authorization code array, which is guaranteed to have the
|
||||||
|
following keys:</p>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">client_id</code>: the validated <code class="prettyprint">client_id</code> request parameter</li>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">redirect_uri</code>: the validated <code class="prettyprint">redirect_uri</code> request parameter</li>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">state</code>: the <code class="prettyprint">state</code> request parameter</li>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">code_challenge</code>: the <code class="prettyprint">code_challenge</code> request parameter</li>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">code_challenge_method</code>: the <code class="prettyprint">code_challenge_method</code> request parameter</li>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">requested_scope</code>: the value of the <code class="prettyprint">scope</code> request parameter</li>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">me</code>: the value of the <code class="prettyprint">me</code> key from the authentication result returned from the authentication request handler callback</li>
|
||||||
|
</ul>
|
||||||
|
<p>It may also have additional keys, which can come from the following locations:</p>
|
||||||
|
<ul>
|
||||||
|
<li>All keys from the the authentication request handler callback result which do not clash
|
||||||
|
with the keys listed above (with the exception of <code class="prettyprint">me</code>, which is always present). Usually
|
||||||
|
this is a <code class="prettyprint">profile</code> key, but you may choose to return additional data from the authentication
|
||||||
|
callback, which will be present in <code class="prettyprint">$data</code>.</li>
|
||||||
|
</ul>
|
||||||
|
<p>This method should add any additional data to the auth code, before it is persisted and
|
||||||
|
returned to the client app. Typically, this involves setting the <code class="prettyprint">scope</code> key to be a
|
||||||
|
valid space-separated scope string of any scopes granted by the user in the form.</p>
|
||||||
|
<p>If the form offers additional token configuration, this method should set any relevant
|
||||||
|
keys in <code class="prettyprint">$code</code> based on the form data in <code class="prettyprint">$request</code>.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$request</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"><p>The current request.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$code</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"><p>The base authorization code data, to be added to.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"><p>The $code data after making any necessary changes.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-AuthorizationFormInterface.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,600 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot.html">Taproot</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth.html">IndieAuth</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth-callback.html">Callback</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -class">
|
||||||
|
<h2 class="phpdocumentor-content__title">
|
||||||
|
DefaultAuthorizationForm
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="phpdocumentor-element__implements">
|
||||||
|
implements
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-AuthorizationFormInterface.html"><abbr title="\Taproot\IndieAuth\Callback\AuthorizationFormInterface">AuthorizationFormInterface</abbr></a>, <abbr title="\Psr\Log\LoggerAwareInterface">LoggerAwareInterface</abbr> </span>
|
||||||
|
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Callback/DefaultAuthorizationForm.php"><a href="files/src-callback-defaultauthorizationform.html"><abbr title="src/Callback/DefaultAuthorizationForm.php">DefaultAuthorizationForm.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">15</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -interface"><a href="classes/Taproot-IndieAuth-Callback-AuthorizationFormInterface.html"><abbr title="\Taproot\IndieAuth\Callback\AuthorizationFormInterface">AuthorizationFormInterface</abbr></a></dt>
|
||||||
|
<dd>Authorization Form Interface</dd>
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -interface"><abbr title="\Psr\Log\LoggerAwareInterface">LoggerAwareInterface</abbr></dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="toc">
|
||||||
|
Table of Contents
|
||||||
|
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -property -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#property_csrfKey">$csrfKey</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -property -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#property_formTemplatePath">$formTemplatePath</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -property -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#property_logger">$logger</a>
|
||||||
|
<span>
|
||||||
|
: <abbr title="\Psr\Log\LoggerInterface">LoggerInterface</abbr> </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#method___construct">__construct()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#method_setLogger">setLogger()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#method_showForm">showForm()</a>
|
||||||
|
<span>
|
||||||
|
: <abbr title="\Psr\Http\Message\ResponseInterface">ResponseInterface</abbr> </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Show Form</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#method_transformAuthorizationCode">transformAuthorizationCode()</a>
|
||||||
|
<span>
|
||||||
|
: array<string|int, mixed> </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Transform Authorization Code</dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-properties">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="properties">
|
||||||
|
Properties
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="
|
||||||
|
phpdocumentor-element
|
||||||
|
-property
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="property_csrfKey">
|
||||||
|
$csrfKey
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#property_csrfKey" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
<span class="phpdocumentor-element__modifiers">
|
||||||
|
</span>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Callback/DefaultAuthorizationForm.php"><a href="files/src-callback-defaultauthorizationform.html"><abbr title="src/Callback/DefaultAuthorizationForm.php">DefaultAuthorizationForm.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">16</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">string</span>
|
||||||
|
<span class="phpdocumentor-signature__name">$csrfKey</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="
|
||||||
|
phpdocumentor-element
|
||||||
|
-property
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="property_formTemplatePath">
|
||||||
|
$formTemplatePath
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#property_formTemplatePath" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
<span class="phpdocumentor-element__modifiers">
|
||||||
|
</span>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Callback/DefaultAuthorizationForm.php"><a href="files/src-callback-defaultauthorizationform.html"><abbr title="src/Callback/DefaultAuthorizationForm.php">DefaultAuthorizationForm.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">18</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">string</span>
|
||||||
|
<span class="phpdocumentor-signature__name">$formTemplatePath</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="
|
||||||
|
phpdocumentor-element
|
||||||
|
-property
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="property_logger">
|
||||||
|
$logger
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#property_logger" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
<span class="phpdocumentor-element__modifiers">
|
||||||
|
</span>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Callback/DefaultAuthorizationForm.php"><a href="files/src-callback-defaultauthorizationform.html"><abbr title="src/Callback/DefaultAuthorizationForm.php">DefaultAuthorizationForm.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">20</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type"><abbr title="\Psr\Log\LoggerInterface">LoggerInterface</abbr></span>
|
||||||
|
<span class="phpdocumentor-signature__name">$logger</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-methods">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
||||||
|
Methods
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method___construct">
|
||||||
|
__construct()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Callback/DefaultAuthorizationForm.php"><a href="files/src-callback-defaultauthorizationform.html"><abbr title="src/Callback/DefaultAuthorizationForm.php">DefaultAuthorizationForm.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">22</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$formTemplatePath</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$csrfKey</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Log\LoggerInterface">LoggerInterface</abbr>|null </span><span class="phpdocumentor-signature__argument__name">$logger</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$formTemplatePath</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$csrfKey</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$logger</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Log\LoggerInterface">LoggerInterface</abbr>|null</span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_setLogger">
|
||||||
|
setLogger()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#method_setLogger" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Callback/DefaultAuthorizationForm.php"><a href="files/src-callback-defaultauthorizationform.html"><abbr title="src/Callback/DefaultAuthorizationForm.php">DefaultAuthorizationForm.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">75</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">setLogger</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Log\LoggerInterface">LoggerInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$logger</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$logger</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Log\LoggerInterface">LoggerInterface</abbr></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_showForm">
|
||||||
|
showForm()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#method_showForm" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Callback/DefaultAuthorizationForm.php"><a href="files/src-callback-defaultauthorizationform.html"><abbr title="src/Callback/DefaultAuthorizationForm.php">DefaultAuthorizationForm.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">28</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Show Form</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">showForm</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$authenticationResult</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$formAction</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed>|null </span><span class="phpdocumentor-signature__argument__name">$clientHApp</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Psr\Http\Message\ResponseInterface">ResponseInterface</abbr></span></code>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"><p>This method is called once the IndieAuth Authorization Endpoint has confirmed that:</p>
|
||||||
|
<ul>
|
||||||
|
<li>The current user is authenticated</li>
|
||||||
|
<li>The client app (client_id) has been fetched and is valid</li>
|
||||||
|
<li>The client app redirect_uri is known to be valid</li>
|
||||||
|
</ul>
|
||||||
|
<p>It should build an authorization form which the currently logged-in user can use
|
||||||
|
to choose which scopes (if any) to grant the app.</p>
|
||||||
|
<p>Information specific to the IndieAuth authorization request can be found in
|
||||||
|
<code class="prettyprint">$request->getQueryParams()</code>. The parameters most likely to be of use to the authorization
|
||||||
|
form are:</p>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">scope</code>: a space-separated list of scopes which the client app is requesting. May be absent.</li>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">client_id</code>: the URL of the client app. Should be shown to the user. This also makes a good “cancel” link.</li>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">redirect_uri</code>: the URI which the user will be redirected to on successful authorization.</li>
|
||||||
|
</ul>
|
||||||
|
<p>The form MUST submit a POST request to <code class="prettyprint">$formAction</code>, with the <code class="prettyprint">taproot_indieauth_action</code>
|
||||||
|
parameter set to <code class="prettyprint">approve</code>.</p>
|
||||||
|
<p>The form MUST additionally include any CSRF tokens required to protect the submission.
|
||||||
|
Refer to whatever CSRF protection code you’re using (e.g. <code class="prettyprint">\Taproot\IndieAuth\Middleware\DoubleSubmitCookieCsrfMiddleware</code>)
|
||||||
|
and make sure to include the required element. This will usually involve getting a
|
||||||
|
CSRF token with <code class="prettyprint">$request->getAttribute()</code> and including it in an <code class="prettyprint"><input type="hidden" …/></code>.</p>
|
||||||
|
<p>The form SHOULD offer the user the opportunity to choose which of the request scopes,
|
||||||
|
if any, they wish to grant. It should describe what effect each scope grants. If no scopes are
|
||||||
|
requested, tell the user that the app is only requesting authorization, not access to their data.</p>
|
||||||
|
<p>The form MAY offer the user UIs for additional token configuration, e.g. a custom token lifetime.
|
||||||
|
You may have to refer to the documentation for your instance of <code class="prettyprint">TokenStorageInterface</code> to ensure
|
||||||
|
that lifetime configuration works correctly. Any other additional data is not used by the IndieAuth
|
||||||
|
library, but, if stored on the access token, will be available to your app for use.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$request</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"><p>The current request.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$authenticationResult</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"><p>The array returned from the Authentication Handler. Guaranteed to contain a 'me' key, may also contain additional keys e.g. 'profile'.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$formAction</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"><p>The URL which your form MUST submit to. Can also be used as the redirect URL for a logout process.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$clientHApp</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed>|null</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"><p>If available, the microformats-2 structure representing the client app.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type"><abbr title="\Psr\Http\Message\ResponseInterface">ResponseInterface</abbr></span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"><p>A response containing the authorization form.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_transformAuthorizationCode">
|
||||||
|
transformAuthorizationCode()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#method_transformAuthorizationCode" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Callback/DefaultAuthorizationForm.php"><a href="files/src-callback-defaultauthorizationform.html"><abbr title="src/Callback/DefaultAuthorizationForm.php">DefaultAuthorizationForm.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">61</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Transform Authorization Code</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">transformAuthorizationCode</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$code</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"><p>This method is called on a successful authorization form submission. The <code class="prettyprint">$code</code> array
|
||||||
|
is a partially-constructed authorization code array, which is guaranteed to have the
|
||||||
|
following keys:</p>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">client_id</code>: the validated <code class="prettyprint">client_id</code> request parameter</li>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">redirect_uri</code>: the validated <code class="prettyprint">redirect_uri</code> request parameter</li>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">state</code>: the <code class="prettyprint">state</code> request parameter</li>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">code_challenge</code>: the <code class="prettyprint">code_challenge</code> request parameter</li>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">code_challenge_method</code>: the <code class="prettyprint">code_challenge_method</code> request parameter</li>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">requested_scope</code>: the value of the <code class="prettyprint">scope</code> request parameter</li>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">me</code>: the value of the <code class="prettyprint">me</code> key from the authentication result returned from the authentication request handler callback</li>
|
||||||
|
</ul>
|
||||||
|
<p>It may also have additional keys, which can come from the following locations:</p>
|
||||||
|
<ul>
|
||||||
|
<li>All keys from the the authentication request handler callback result which do not clash
|
||||||
|
with the keys listed above (with the exception of <code class="prettyprint">me</code>, which is always present). Usually
|
||||||
|
this is a <code class="prettyprint">profile</code> key, but you may choose to return additional data from the authentication
|
||||||
|
callback, which will be present in <code class="prettyprint">$data</code>.</li>
|
||||||
|
</ul>
|
||||||
|
<p>This method should add any additional data to the auth code, before it is persisted and
|
||||||
|
returned to the client app. Typically, this involves setting the <code class="prettyprint">scope</code> key to be a
|
||||||
|
valid space-separated scope string of any scopes granted by the user in the form.</p>
|
||||||
|
<p>If the form offers additional token configuration, this method should set any relevant
|
||||||
|
keys in <code class="prettyprint">$code</code> based on the form data in <code class="prettyprint">$request</code>.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$request</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"><p>The current request.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$code</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"><p>The base authorization code data, to be added to.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"><p>The $code data after making any necessary changes.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,475 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot.html">Taproot</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth.html">IndieAuth</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth-callback.html">Callback</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -class">
|
||||||
|
<h2 class="phpdocumentor-content__title">
|
||||||
|
SingleUserPasswordAuthenticationCallback
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Callback/SingleUserPasswordAuthenticationCallback.php"><a href="files/src-callback-singleuserpasswordauthenticationcallback.html"><abbr title="src/Callback/SingleUserPasswordAuthenticationCallback.php">SingleUserPasswordAuthenticationCallback.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">16</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Single User Password Authentication Callback</p>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="toc">
|
||||||
|
Table of Contents
|
||||||
|
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#constant_PASSWORD_FORM_PARAMETER">PASSWORD_FORM_PARAMETER</a>
|
||||||
|
<span>
|
||||||
|
= 'taproot_indieauth_server_password' </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -property -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#property_csrfKey">$csrfKey</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -property -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#property_formTemplate">$formTemplate</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#property_hashedPassword">$hashedPassword</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#property_user">$user</a>
|
||||||
|
<span>
|
||||||
|
: array<string|int, mixed> </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#method___construct">__construct()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#method___invoke">__invoke()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-constants">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="constants">
|
||||||
|
Constants
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article class="phpdocumentor-element -constant -public ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="constant_PASSWORD_FORM_PARAMETER">
|
||||||
|
PASSWORD_FORM_PARAMETER
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#constant_PASSWORD_FORM_PARAMETER" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Callback/SingleUserPasswordAuthenticationCallback.php"><a href="files/src-callback-singleuserpasswordauthenticationcallback.html"><abbr title="src/Callback/SingleUserPasswordAuthenticationCallback.php">SingleUserPasswordAuthenticationCallback.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">17</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||||||
|
<span class="phpdocumentor-signature__name">PASSWORD_FORM_PARAMETER</span>
|
||||||
|
= <span class="phpdocumentor-signature__default-value">'taproot_indieauth_server_password'</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-properties">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="properties">
|
||||||
|
Properties
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="
|
||||||
|
phpdocumentor-element
|
||||||
|
-property
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="property_csrfKey">
|
||||||
|
$csrfKey
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#property_csrfKey" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
<span class="phpdocumentor-element__modifiers">
|
||||||
|
</span>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Callback/SingleUserPasswordAuthenticationCallback.php"><a href="files/src-callback-singleuserpasswordauthenticationcallback.html"><abbr title="src/Callback/SingleUserPasswordAuthenticationCallback.php">SingleUserPasswordAuthenticationCallback.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">19</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">string</span>
|
||||||
|
<span class="phpdocumentor-signature__name">$csrfKey</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="
|
||||||
|
phpdocumentor-element
|
||||||
|
-property
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="property_formTemplate">
|
||||||
|
$formTemplate
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#property_formTemplate" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
<span class="phpdocumentor-element__modifiers">
|
||||||
|
</span>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Callback/SingleUserPasswordAuthenticationCallback.php"><a href="files/src-callback-singleuserpasswordauthenticationcallback.html"><abbr title="src/Callback/SingleUserPasswordAuthenticationCallback.php">SingleUserPasswordAuthenticationCallback.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">20</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">string</span>
|
||||||
|
<span class="phpdocumentor-signature__name">$formTemplate</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="
|
||||||
|
phpdocumentor-element
|
||||||
|
-property
|
||||||
|
-protected
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="property_hashedPassword">
|
||||||
|
$hashedPassword
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#property_hashedPassword" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
<span class="phpdocumentor-element__modifiers">
|
||||||
|
</span>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Callback/SingleUserPasswordAuthenticationCallback.php"><a href="files/src-callback-singleuserpasswordauthenticationcallback.html"><abbr title="src/Callback/SingleUserPasswordAuthenticationCallback.php">SingleUserPasswordAuthenticationCallback.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">22</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
||||||
|
<span class="phpdocumentor-signature__type">string</span>
|
||||||
|
<span class="phpdocumentor-signature__name">$hashedPassword</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="
|
||||||
|
phpdocumentor-element
|
||||||
|
-property
|
||||||
|
-protected
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="property_user">
|
||||||
|
$user
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#property_user" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
<span class="phpdocumentor-element__modifiers">
|
||||||
|
</span>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Callback/SingleUserPasswordAuthenticationCallback.php"><a href="files/src-callback-singleuserpasswordauthenticationcallback.html"><abbr title="src/Callback/SingleUserPasswordAuthenticationCallback.php">SingleUserPasswordAuthenticationCallback.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">21</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
||||||
|
<span class="phpdocumentor-signature__type">array<string|int, mixed></span>
|
||||||
|
<span class="phpdocumentor-signature__name">$user</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-methods">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
||||||
|
Methods
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method___construct">
|
||||||
|
__construct()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Callback/SingleUserPasswordAuthenticationCallback.php"><a href="files/src-callback-singleuserpasswordauthenticationcallback.html"><abbr title="src/Callback/SingleUserPasswordAuthenticationCallback.php">SingleUserPasswordAuthenticationCallback.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">24</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$user</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$hashedPassword</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$csrfKey</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$formTemplate</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$user</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$hashedPassword</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$csrfKey</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$formTemplate</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method___invoke">
|
||||||
|
__invoke()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#method___invoke" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Callback/SingleUserPasswordAuthenticationCallback.php"><a href="files/src-callback-singleuserpasswordauthenticationcallback.html"><abbr title="src/Callback/SingleUserPasswordAuthenticationCallback.php">SingleUserPasswordAuthenticationCallback.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">34</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">__invoke</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$formAction</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$normalizedMeUrl</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$request</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$formAction</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$normalizedMeUrl</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
906
docs/classes/Taproot-IndieAuth-IndieAuthException.html
Normal file
906
docs/classes/Taproot-IndieAuth-IndieAuthException.html
Normal file
@ -0,0 +1,906 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot.html">Taproot</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth.html">IndieAuth</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -class">
|
||||||
|
<h2 class="phpdocumentor-content__title">
|
||||||
|
IndieAuthException
|
||||||
|
|
||||||
|
<span class="phpdocumentor-element__extends">
|
||||||
|
extends <abbr title="\Exception">Exception</abbr>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/IndieAuthException.php"><a href="files/src-indieauthexception.html"><abbr title="src/IndieAuthException.php">IndieAuthException.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">9</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="toc">
|
||||||
|
Table of Contents
|
||||||
|
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_AUTHENTICATION_CALLBACK_MISSING_ME_PARAM">AUTHENTICATION_CALLBACK_MISSING_ME_PARAM</a>
|
||||||
|
<span>
|
||||||
|
= 2 </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_AUTHORIZATION_APPROVAL_REQUEST_INVALID_HASH">AUTHORIZATION_APPROVAL_REQUEST_INVALID_HASH</a>
|
||||||
|
<span>
|
||||||
|
= 4 </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_AUTHORIZATION_APPROVAL_REQUEST_MISSING_HASH">AUTHORIZATION_APPROVAL_REQUEST_MISSING_HASH</a>
|
||||||
|
<span>
|
||||||
|
= 3 </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_EXC_INFO">EXC_INFO</a>
|
||||||
|
<span>
|
||||||
|
= [
|
||||||
|
self::INTERNAL_ERROR => ['statusCode' => 500, 'name' => 'Internal Server Error', 'explanation' => 'An internal server error occurred.'],
|
||||||
|
self::INTERNAL_ERROR_REDIRECT => ['statusCode' => 302, 'name' => 'Internal Server Error', 'error' => 'internal_error'],
|
||||||
|
self::AUTHENTICATION_CALLBACK_MISSING_ME_PARAM => ['statusCode' => 302, 'name' => 'Internal Server Error', 'error' => 'internal_error'],
|
||||||
|
self::AUTHORIZATION_APPROVAL_REQUEST_MISSING_HASH => ['statusCode' => 302, 'name' => 'Request Missing Hash', 'error' => 'internal_error'],
|
||||||
|
self::AUTHORIZATION_APPROVAL_REQUEST_INVALID_HASH => ['statusCode' => 302, 'name' => 'Request Hash Invalid', 'error' => 'internal_error'],
|
||||||
|
// TODO: should this one be a 500 because it’s an internal server error, or a 400 because the client_id was likely invalid? Is anyone ever going to notice, or care?
|
||||||
|
self::HTTP_EXCEPTION_FETCHING_CLIENT_ID => ['statusCode' => 500, 'name' => 'Error Fetching Client App URL', 'explanation' => 'Fetching the client app (client_id) failed.'],
|
||||||
|
self::INTERNAL_EXCEPTION_FETCHING_CLIENT_ID => ['statusCode' => 500, 'name' => 'Internal Error fetching client app URI', 'explanation' => 'Fetching the client app (client_id) failed due to an internal error.'],
|
||||||
|
self::INVALID_REDIRECT_URI => ['statusCode' => 400, 'name' => 'Invalid Client App Redirect URI', 'explanation' => 'The client app redirect URI (redirect_uri) either was not a valid URI, did not sufficiently match client_id, or did not exactly match any redirect URIs parsed from fetching the client_id.'],
|
||||||
|
self::INVALID_CLIENT_ID => ['statusCode' => 400, 'name' => 'Invalid Client Identifier URI', 'explanation' => 'The Client Identifier was not valid.'],
|
||||||
|
self::INVALID_STATE => ['statusCode' => 302, 'name' => 'Invalid state Parameter', 'error' => 'invalid_request'],
|
||||||
|
self::INVALID_CODE_CHALLENGE => ['statusCode' => 302, 'name' => 'Invalid code_challenge Parameter', 'error' => 'invalid_request'],
|
||||||
|
self::INVALID_SCOPE => ['statusCode' => 302, 'name' => 'Invalid scope Parameter', 'error' => 'invalid_request'],
|
||||||
|
] </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_HTTP_EXCEPTION_FETCHING_CLIENT_ID">HTTP_EXCEPTION_FETCHING_CLIENT_ID</a>
|
||||||
|
<span>
|
||||||
|
= 5 </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_INTERNAL_ERROR">INTERNAL_ERROR</a>
|
||||||
|
<span>
|
||||||
|
= 0 </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_INTERNAL_ERROR_REDIRECT">INTERNAL_ERROR_REDIRECT</a>
|
||||||
|
<span>
|
||||||
|
= 1 </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_INTERNAL_EXCEPTION_FETCHING_CLIENT_ID">INTERNAL_EXCEPTION_FETCHING_CLIENT_ID</a>
|
||||||
|
<span>
|
||||||
|
= 6 </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_INVALID_CLIENT_ID">INVALID_CLIENT_ID</a>
|
||||||
|
<span>
|
||||||
|
= 8 </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_INVALID_CODE_CHALLENGE">INVALID_CODE_CHALLENGE</a>
|
||||||
|
<span>
|
||||||
|
= 10 </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_INVALID_REDIRECT_URI">INVALID_REDIRECT_URI</a>
|
||||||
|
<span>
|
||||||
|
= 7 </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_INVALID_SCOPE">INVALID_SCOPE</a>
|
||||||
|
<span>
|
||||||
|
= 11 </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_INVALID_STATE">INVALID_STATE</a>
|
||||||
|
<span>
|
||||||
|
= 9 </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#property_request">$request</a>
|
||||||
|
<span>
|
||||||
|
: <abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr> </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#method_create">create()</a>
|
||||||
|
<span>
|
||||||
|
: self </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#method_getExplanation">getExplanation()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#method_getInfo">getInfo()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#method_getRequest">getRequest()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#method_getStatusCode">getStatusCode()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#method_trustQueryParams">trustQueryParams()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Trust Query Params</dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-constants">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="constants">
|
||||||
|
Constants
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article class="phpdocumentor-element -constant -public ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="constant_AUTHENTICATION_CALLBACK_MISSING_ME_PARAM">
|
||||||
|
AUTHENTICATION_CALLBACK_MISSING_ME_PARAM
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_AUTHENTICATION_CALLBACK_MISSING_ME_PARAM" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/IndieAuthException.php"><a href="files/src-indieauthexception.html"><abbr title="src/IndieAuthException.php">IndieAuthException.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">12</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||||||
|
<span class="phpdocumentor-signature__name">AUTHENTICATION_CALLBACK_MISSING_ME_PARAM</span>
|
||||||
|
= <span class="phpdocumentor-signature__default-value">2</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -constant -public ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="constant_AUTHORIZATION_APPROVAL_REQUEST_INVALID_HASH">
|
||||||
|
AUTHORIZATION_APPROVAL_REQUEST_INVALID_HASH
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_AUTHORIZATION_APPROVAL_REQUEST_INVALID_HASH" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/IndieAuthException.php"><a href="files/src-indieauthexception.html"><abbr title="src/IndieAuthException.php">IndieAuthException.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">14</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||||||
|
<span class="phpdocumentor-signature__name">AUTHORIZATION_APPROVAL_REQUEST_INVALID_HASH</span>
|
||||||
|
= <span class="phpdocumentor-signature__default-value">4</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -constant -public ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="constant_AUTHORIZATION_APPROVAL_REQUEST_MISSING_HASH">
|
||||||
|
AUTHORIZATION_APPROVAL_REQUEST_MISSING_HASH
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_AUTHORIZATION_APPROVAL_REQUEST_MISSING_HASH" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/IndieAuthException.php"><a href="files/src-indieauthexception.html"><abbr title="src/IndieAuthException.php">IndieAuthException.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">13</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||||||
|
<span class="phpdocumentor-signature__name">AUTHORIZATION_APPROVAL_REQUEST_MISSING_HASH</span>
|
||||||
|
= <span class="phpdocumentor-signature__default-value">3</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -constant -public ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="constant_EXC_INFO">
|
||||||
|
EXC_INFO
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_EXC_INFO" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/IndieAuthException.php"><a href="files/src-indieauthexception.html"><abbr title="src/IndieAuthException.php">IndieAuthException.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">23</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||||||
|
<span class="phpdocumentor-signature__name">EXC_INFO</span>
|
||||||
|
= <span class="phpdocumentor-signature__default-value">[
|
||||||
|
self::INTERNAL_ERROR => ['statusCode' => 500, 'name' => 'Internal Server Error', 'explanation' => 'An internal server error occurred.'],
|
||||||
|
self::INTERNAL_ERROR_REDIRECT => ['statusCode' => 302, 'name' => 'Internal Server Error', 'error' => 'internal_error'],
|
||||||
|
self::AUTHENTICATION_CALLBACK_MISSING_ME_PARAM => ['statusCode' => 302, 'name' => 'Internal Server Error', 'error' => 'internal_error'],
|
||||||
|
self::AUTHORIZATION_APPROVAL_REQUEST_MISSING_HASH => ['statusCode' => 302, 'name' => 'Request Missing Hash', 'error' => 'internal_error'],
|
||||||
|
self::AUTHORIZATION_APPROVAL_REQUEST_INVALID_HASH => ['statusCode' => 302, 'name' => 'Request Hash Invalid', 'error' => 'internal_error'],
|
||||||
|
// TODO: should this one be a 500 because it’s an internal server error, or a 400 because the client_id was likely invalid? Is anyone ever going to notice, or care?
|
||||||
|
self::HTTP_EXCEPTION_FETCHING_CLIENT_ID => ['statusCode' => 500, 'name' => 'Error Fetching Client App URL', 'explanation' => 'Fetching the client app (client_id) failed.'],
|
||||||
|
self::INTERNAL_EXCEPTION_FETCHING_CLIENT_ID => ['statusCode' => 500, 'name' => 'Internal Error fetching client app URI', 'explanation' => 'Fetching the client app (client_id) failed due to an internal error.'],
|
||||||
|
self::INVALID_REDIRECT_URI => ['statusCode' => 400, 'name' => 'Invalid Client App Redirect URI', 'explanation' => 'The client app redirect URI (redirect_uri) either was not a valid URI, did not sufficiently match client_id, or did not exactly match any redirect URIs parsed from fetching the client_id.'],
|
||||||
|
self::INVALID_CLIENT_ID => ['statusCode' => 400, 'name' => 'Invalid Client Identifier URI', 'explanation' => 'The Client Identifier was not valid.'],
|
||||||
|
self::INVALID_STATE => ['statusCode' => 302, 'name' => 'Invalid state Parameter', 'error' => 'invalid_request'],
|
||||||
|
self::INVALID_CODE_CHALLENGE => ['statusCode' => 302, 'name' => 'Invalid code_challenge Parameter', 'error' => 'invalid_request'],
|
||||||
|
self::INVALID_SCOPE => ['statusCode' => 302, 'name' => 'Invalid scope Parameter', 'error' => 'invalid_request'],
|
||||||
|
]</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -constant -public ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="constant_HTTP_EXCEPTION_FETCHING_CLIENT_ID">
|
||||||
|
HTTP_EXCEPTION_FETCHING_CLIENT_ID
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_HTTP_EXCEPTION_FETCHING_CLIENT_ID" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/IndieAuthException.php"><a href="files/src-indieauthexception.html"><abbr title="src/IndieAuthException.php">IndieAuthException.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">15</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||||||
|
<span class="phpdocumentor-signature__name">HTTP_EXCEPTION_FETCHING_CLIENT_ID</span>
|
||||||
|
= <span class="phpdocumentor-signature__default-value">5</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -constant -public ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="constant_INTERNAL_ERROR">
|
||||||
|
INTERNAL_ERROR
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_INTERNAL_ERROR" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/IndieAuthException.php"><a href="files/src-indieauthexception.html"><abbr title="src/IndieAuthException.php">IndieAuthException.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">10</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||||||
|
<span class="phpdocumentor-signature__name">INTERNAL_ERROR</span>
|
||||||
|
= <span class="phpdocumentor-signature__default-value">""</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -constant -public ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="constant_INTERNAL_ERROR_REDIRECT">
|
||||||
|
INTERNAL_ERROR_REDIRECT
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_INTERNAL_ERROR_REDIRECT" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/IndieAuthException.php"><a href="files/src-indieauthexception.html"><abbr title="src/IndieAuthException.php">IndieAuthException.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">11</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||||||
|
<span class="phpdocumentor-signature__name">INTERNAL_ERROR_REDIRECT</span>
|
||||||
|
= <span class="phpdocumentor-signature__default-value">1</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -constant -public ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="constant_INTERNAL_EXCEPTION_FETCHING_CLIENT_ID">
|
||||||
|
INTERNAL_EXCEPTION_FETCHING_CLIENT_ID
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_INTERNAL_EXCEPTION_FETCHING_CLIENT_ID" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/IndieAuthException.php"><a href="files/src-indieauthexception.html"><abbr title="src/IndieAuthException.php">IndieAuthException.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">16</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||||||
|
<span class="phpdocumentor-signature__name">INTERNAL_EXCEPTION_FETCHING_CLIENT_ID</span>
|
||||||
|
= <span class="phpdocumentor-signature__default-value">6</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -constant -public ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="constant_INVALID_CLIENT_ID">
|
||||||
|
INVALID_CLIENT_ID
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_INVALID_CLIENT_ID" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/IndieAuthException.php"><a href="files/src-indieauthexception.html"><abbr title="src/IndieAuthException.php">IndieAuthException.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">18</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||||||
|
<span class="phpdocumentor-signature__name">INVALID_CLIENT_ID</span>
|
||||||
|
= <span class="phpdocumentor-signature__default-value">8</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -constant -public ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="constant_INVALID_CODE_CHALLENGE">
|
||||||
|
INVALID_CODE_CHALLENGE
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_INVALID_CODE_CHALLENGE" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/IndieAuthException.php"><a href="files/src-indieauthexception.html"><abbr title="src/IndieAuthException.php">IndieAuthException.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">20</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||||||
|
<span class="phpdocumentor-signature__name">INVALID_CODE_CHALLENGE</span>
|
||||||
|
= <span class="phpdocumentor-signature__default-value">10</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -constant -public ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="constant_INVALID_REDIRECT_URI">
|
||||||
|
INVALID_REDIRECT_URI
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_INVALID_REDIRECT_URI" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/IndieAuthException.php"><a href="files/src-indieauthexception.html"><abbr title="src/IndieAuthException.php">IndieAuthException.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">17</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||||||
|
<span class="phpdocumentor-signature__name">INVALID_REDIRECT_URI</span>
|
||||||
|
= <span class="phpdocumentor-signature__default-value">7</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -constant -public ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="constant_INVALID_SCOPE">
|
||||||
|
INVALID_SCOPE
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_INVALID_SCOPE" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/IndieAuthException.php"><a href="files/src-indieauthexception.html"><abbr title="src/IndieAuthException.php">IndieAuthException.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">21</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||||||
|
<span class="phpdocumentor-signature__name">INVALID_SCOPE</span>
|
||||||
|
= <span class="phpdocumentor-signature__default-value">11</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -constant -public ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="constant_INVALID_STATE">
|
||||||
|
INVALID_STATE
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#constant_INVALID_STATE" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/IndieAuthException.php"><a href="files/src-indieauthexception.html"><abbr title="src/IndieAuthException.php">IndieAuthException.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">19</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||||||
|
<span class="phpdocumentor-signature__name">INVALID_STATE</span>
|
||||||
|
= <span class="phpdocumentor-signature__default-value">9</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-properties">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="properties">
|
||||||
|
Properties
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="
|
||||||
|
phpdocumentor-element
|
||||||
|
-property
|
||||||
|
-protected
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="property_request">
|
||||||
|
$request
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#property_request" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
<span class="phpdocumentor-element__modifiers">
|
||||||
|
</span>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/IndieAuthException.php"><a href="files/src-indieauthexception.html"><abbr title="src/IndieAuthException.php">IndieAuthException.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">39</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
||||||
|
<span class="phpdocumentor-signature__type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr></span>
|
||||||
|
<span class="phpdocumentor-signature__name">$request</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-methods">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
||||||
|
Methods
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
-static "
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_create">
|
||||||
|
create()
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#method_create" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/IndieAuthException.php"><a href="files/src-indieauthexception.html"><abbr title="src/IndieAuthException.php">IndieAuthException.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">41</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">create</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$code</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Throwable">Throwable</abbr>|null </span><span class="phpdocumentor-signature__argument__name">$previous</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$code</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$request</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$previous</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Throwable">Throwable</abbr>|null</span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">self</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_getExplanation">
|
||||||
|
getExplanation()
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#method_getExplanation" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/IndieAuthException.php"><a href="files/src-indieauthexception.html"><abbr title="src/IndieAuthException.php">IndieAuthException.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">56</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">getExplanation</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_getInfo">
|
||||||
|
getInfo()
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#method_getInfo" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/IndieAuthException.php"><a href="files/src-indieauthexception.html"><abbr title="src/IndieAuthException.php">IndieAuthException.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">60</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">getInfo</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_getRequest">
|
||||||
|
getRequest()
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#method_getRequest" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/IndieAuthException.php"><a href="files/src-indieauthexception.html"><abbr title="src/IndieAuthException.php">IndieAuthException.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">76</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">getRequest</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_getStatusCode">
|
||||||
|
getStatusCode()
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#method_getStatusCode" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/IndieAuthException.php"><a href="files/src-indieauthexception.html"><abbr title="src/IndieAuthException.php">IndieAuthException.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">52</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">getStatusCode</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_trustQueryParams">
|
||||||
|
trustQueryParams()
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#method_trustQueryParams" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/IndieAuthException.php"><a href="files/src-indieauthexception.html"><abbr title="src/IndieAuthException.php">IndieAuthException.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">71</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Trust Query Params</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">trustQueryParams</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"><p>Only useful on authorization form submission requests. If this returns false,
|
||||||
|
the client_id and/or request_uri have likely been tampered with, and the error
|
||||||
|
page SHOULD NOT offer the user a link to them.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="classes/Taproot-IndieAuth-IndieAuthException.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,340 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot.html">Taproot</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth.html">IndieAuth</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth-middleware.html">Middleware</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -class">
|
||||||
|
<h2 class="phpdocumentor-content__title">
|
||||||
|
ClosureRequestHandler
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="phpdocumentor-element__implements">
|
||||||
|
implements
|
||||||
|
<abbr title="\Psr\Http\Server\RequestHandlerInterface">RequestHandlerInterface</abbr> </span>
|
||||||
|
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/ClosureRequestHandler.php"><a href="files/src-middleware-closurerequesthandler.html"><abbr title="src/Middleware/ClosureRequestHandler.php">ClosureRequestHandler.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">9</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -interface"><abbr title="\Psr\Http\Server\RequestHandlerInterface">RequestHandlerInterface</abbr></dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="toc">
|
||||||
|
Table of Contents
|
||||||
|
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-ClosureRequestHandler.html#property_args">$args</a>
|
||||||
|
<span>
|
||||||
|
: array<string|int, mixed> </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-ClosureRequestHandler.html#property_callable">$callable</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-ClosureRequestHandler.html#method___construct">__construct()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-ClosureRequestHandler.html#method_handle">handle()</a>
|
||||||
|
<span>
|
||||||
|
: <abbr title="\Psr\Http\Message\ResponseInterface">ResponseInterface</abbr> </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-properties">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="properties">
|
||||||
|
Properties
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-ClosureRequestHandler.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="
|
||||||
|
phpdocumentor-element
|
||||||
|
-property
|
||||||
|
-protected
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="property_args">
|
||||||
|
$args
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-ClosureRequestHandler.html#property_args" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
<span class="phpdocumentor-element__modifiers">
|
||||||
|
</span>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/ClosureRequestHandler.php"><a href="files/src-middleware-closurerequesthandler.html"><abbr title="src/Middleware/ClosureRequestHandler.php">ClosureRequestHandler.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">12</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
||||||
|
<span class="phpdocumentor-signature__type">array<string|int, mixed></span>
|
||||||
|
<span class="phpdocumentor-signature__name">$args</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="
|
||||||
|
phpdocumentor-element
|
||||||
|
-property
|
||||||
|
-protected
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="property_callable">
|
||||||
|
$callable
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-ClosureRequestHandler.html#property_callable" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
<span class="phpdocumentor-element__modifiers">
|
||||||
|
</span>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/ClosureRequestHandler.php"><a href="files/src-middleware-closurerequesthandler.html"><abbr title="src/Middleware/ClosureRequestHandler.php">ClosureRequestHandler.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">10</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
||||||
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||||||
|
<span class="phpdocumentor-signature__name">$callable</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-methods">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
||||||
|
Methods
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-ClosureRequestHandler.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method___construct">
|
||||||
|
__construct()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-ClosureRequestHandler.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/ClosureRequestHandler.php"><a href="files/src-middleware-closurerequesthandler.html"><abbr title="src/Middleware/ClosureRequestHandler.php">ClosureRequestHandler.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">14</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">callable </span><span class="phpdocumentor-signature__argument__name">$callable</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$callable</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">callable</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_handle">
|
||||||
|
handle()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-ClosureRequestHandler.html#method_handle" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/ClosureRequestHandler.php"><a href="files/src-middleware-closurerequesthandler.html"><abbr title="src/Middleware/ClosureRequestHandler.php">ClosureRequestHandler.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">19</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">handle</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Psr\Http\Message\ResponseInterface">ResponseInterface</abbr></span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$request</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type"><abbr title="\Psr\Http\Message\ResponseInterface">ResponseInterface</abbr></span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-ClosureRequestHandler.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,794 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot.html">Taproot</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth.html">IndieAuth</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth-middleware.html">Middleware</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -class">
|
||||||
|
<h2 class="phpdocumentor-content__title">
|
||||||
|
DoubleSubmitCookieCsrfMiddleware
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="phpdocumentor-element__implements">
|
||||||
|
implements
|
||||||
|
<abbr title="\Psr\Http\Server\MiddlewareInterface">MiddlewareInterface</abbr>, <abbr title="\Psr\Log\LoggerAwareInterface">LoggerAwareInterface</abbr> </span>
|
||||||
|
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php"><a href="files/src-middleware-doublesubmitcookiecsrfmiddleware.html"><abbr title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php">DoubleSubmitCookieCsrfMiddleware.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">37</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Double-Submit Cookie CSRF Middleware</p>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"><p>A PSR-15-compatible Middleware for stateless Double-Submit-Cookie-based CSRF protection.</p>
|
||||||
|
<p>The <code class="prettyprint">$attribute</code> property and first constructor argument sets the key by which the CSRF token
|
||||||
|
is referred to in all parameter sets (request attributes, request body parameters, cookies).</p>
|
||||||
|
<p>Generates a random token of length <code class="prettyprint">$tokenLength</code> (default 128), and stores it as an attribute
|
||||||
|
on the <code class="prettyprint">ServerRequestInterface</code>. It’s also added to the response as a cookie.</p>
|
||||||
|
<p>On requests which may modify state (methods other than HEAD, GET or OPTIONS), the request body
|
||||||
|
and request cookies are checked for matching CSRF tokens. If they match, the request is passed on
|
||||||
|
to the handler. If they do not match, further processing is halted and an error response generated
|
||||||
|
from the <code class="prettyprint">$errorResponse</code> callback is returned. Refer to the constructor argument for information
|
||||||
|
about customising the error response.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||||
|
Tags
|
||||||
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h5>
|
||||||
|
<dl class="phpdocumentor-tag-list">
|
||||||
|
<dt class="phpdocumentor-tag-list__entry">
|
||||||
|
<span class="phpdocumentor-tag__name">link</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-tag-list__definition">
|
||||||
|
<a class="phpdocumentor-tag-link" href="https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html"> https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html </a>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-tag-list__entry">
|
||||||
|
<span class="phpdocumentor-tag__name">link</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-tag-list__definition">
|
||||||
|
<a class="phpdocumentor-tag-link" href="https://github.com/zakirullin/csrf-middleware/blob/master/src/CSRF.php"> https://github.com/zakirullin/csrf-middleware/blob/master/src/CSRF.php </a>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -interface"><abbr title="\Psr\Http\Server\MiddlewareInterface">MiddlewareInterface</abbr></dt>
|
||||||
|
<dd></dd>
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -interface"><abbr title="\Psr\Log\LoggerAwareInterface">LoggerAwareInterface</abbr></dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="toc">
|
||||||
|
Table of Contents
|
||||||
|
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#constant_ATTRIBUTE">ATTRIBUTE</a>
|
||||||
|
<span>
|
||||||
|
= 'csrf' </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#constant_CSRF_TOKEN_LENGTH">CSRF_TOKEN_LENGTH</a>
|
||||||
|
<span>
|
||||||
|
= 128 </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#constant_DEFAULT_ERROR_RESPONSE_STRING">DEFAULT_ERROR_RESPONSE_STRING</a>
|
||||||
|
<span>
|
||||||
|
= 'Invalid or missing CSRF token!' </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#constant_READ_METHODS">READ_METHODS</a>
|
||||||
|
<span>
|
||||||
|
= ['HEAD', 'GET', 'OPTIONS'] </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#constant_TTL">TTL</a>
|
||||||
|
<span>
|
||||||
|
= 60 * 20 </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -property -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#property_attribute">$attribute</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -property -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#property_errorResponse">$errorResponse</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -property -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#property_logger">$logger</a>
|
||||||
|
<span>
|
||||||
|
: <abbr title="\Psr\Log\LoggerInterface">LoggerInterface</abbr> </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -property -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#property_tokenLength">$tokenLength</a>
|
||||||
|
<span>
|
||||||
|
: int </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -property -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#property_ttl">$ttl</a>
|
||||||
|
<span>
|
||||||
|
: int </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#method___construct">__construct()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Constructor</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#method_process">process()</a>
|
||||||
|
<span>
|
||||||
|
: <abbr title="\Psr\Http\Message\ResponseInterface">ResponseInterface</abbr> </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#method_setLogger">setLogger()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#method_isValid">isValid()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-constants">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="constants">
|
||||||
|
Constants
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article class="phpdocumentor-element -constant -public ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="constant_ATTRIBUTE">
|
||||||
|
ATTRIBUTE
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#constant_ATTRIBUTE" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php"><a href="files/src-middleware-doublesubmitcookiecsrfmiddleware.html"><abbr title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php">DoubleSubmitCookieCsrfMiddleware.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">40</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||||||
|
<span class="phpdocumentor-signature__name">ATTRIBUTE</span>
|
||||||
|
= <span class="phpdocumentor-signature__default-value">'csrf'</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -constant -public ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="constant_CSRF_TOKEN_LENGTH">
|
||||||
|
CSRF_TOKEN_LENGTH
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#constant_CSRF_TOKEN_LENGTH" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php"><a href="files/src-middleware-doublesubmitcookiecsrfmiddleware.html"><abbr title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php">DoubleSubmitCookieCsrfMiddleware.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">42</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||||||
|
<span class="phpdocumentor-signature__name">CSRF_TOKEN_LENGTH</span>
|
||||||
|
= <span class="phpdocumentor-signature__default-value">128</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -constant -public ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="constant_DEFAULT_ERROR_RESPONSE_STRING">
|
||||||
|
DEFAULT_ERROR_RESPONSE_STRING
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#constant_DEFAULT_ERROR_RESPONSE_STRING" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php"><a href="files/src-middleware-doublesubmitcookiecsrfmiddleware.html"><abbr title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php">DoubleSubmitCookieCsrfMiddleware.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">41</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||||||
|
<span class="phpdocumentor-signature__name">DEFAULT_ERROR_RESPONSE_STRING</span>
|
||||||
|
= <span class="phpdocumentor-signature__default-value">'Invalid or missing CSRF token!'</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -constant -public ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="constant_READ_METHODS">
|
||||||
|
READ_METHODS
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#constant_READ_METHODS" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php"><a href="files/src-middleware-doublesubmitcookiecsrfmiddleware.html"><abbr title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php">DoubleSubmitCookieCsrfMiddleware.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">38</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||||||
|
<span class="phpdocumentor-signature__name">READ_METHODS</span>
|
||||||
|
= <span class="phpdocumentor-signature__default-value">['HEAD', 'GET', 'OPTIONS']</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -constant -public ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="constant_TTL">
|
||||||
|
TTL
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#constant_TTL" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php"><a href="files/src-middleware-doublesubmitcookiecsrfmiddleware.html"><abbr title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php">DoubleSubmitCookieCsrfMiddleware.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">39</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||||||
|
<span class="phpdocumentor-signature__name">TTL</span>
|
||||||
|
= <span class="phpdocumentor-signature__default-value">60 * 20</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-properties">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="properties">
|
||||||
|
Properties
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="
|
||||||
|
phpdocumentor-element
|
||||||
|
-property
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="property_attribute">
|
||||||
|
$attribute
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#property_attribute" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
<span class="phpdocumentor-element__modifiers">
|
||||||
|
</span>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php"><a href="files/src-middleware-doublesubmitcookiecsrfmiddleware.html"><abbr title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php">DoubleSubmitCookieCsrfMiddleware.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">44</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">string</span>
|
||||||
|
<span class="phpdocumentor-signature__name">$attribute</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="
|
||||||
|
phpdocumentor-element
|
||||||
|
-property
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="property_errorResponse">
|
||||||
|
$errorResponse
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#property_errorResponse" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
<span class="phpdocumentor-element__modifiers">
|
||||||
|
</span>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php"><a href="files/src-middleware-doublesubmitcookiecsrfmiddleware.html"><abbr title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php">DoubleSubmitCookieCsrfMiddleware.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">48</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">mixed</span>
|
||||||
|
<span class="phpdocumentor-signature__name">$errorResponse</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="
|
||||||
|
phpdocumentor-element
|
||||||
|
-property
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="property_logger">
|
||||||
|
$logger
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#property_logger" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
<span class="phpdocumentor-element__modifiers">
|
||||||
|
</span>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php"><a href="files/src-middleware-doublesubmitcookiecsrfmiddleware.html"><abbr title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php">DoubleSubmitCookieCsrfMiddleware.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">52</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type"><abbr title="\Psr\Log\LoggerInterface">LoggerInterface</abbr></span>
|
||||||
|
<span class="phpdocumentor-signature__name">$logger</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="
|
||||||
|
phpdocumentor-element
|
||||||
|
-property
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="property_tokenLength">
|
||||||
|
$tokenLength
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#property_tokenLength" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
<span class="phpdocumentor-element__modifiers">
|
||||||
|
</span>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php"><a href="files/src-middleware-doublesubmitcookiecsrfmiddleware.html"><abbr title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php">DoubleSubmitCookieCsrfMiddleware.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">50</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">int</span>
|
||||||
|
<span class="phpdocumentor-signature__name">$tokenLength</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="
|
||||||
|
phpdocumentor-element
|
||||||
|
-property
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="property_ttl">
|
||||||
|
$ttl
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#property_ttl" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
<span class="phpdocumentor-element__modifiers">
|
||||||
|
</span>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php"><a href="files/src-middleware-doublesubmitcookiecsrfmiddleware.html"><abbr title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php">DoubleSubmitCookieCsrfMiddleware.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">46</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type">int</span>
|
||||||
|
<span class="phpdocumentor-signature__name">$ttl</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-methods">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
||||||
|
Methods
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method___construct">
|
||||||
|
__construct()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php"><a href="files/src-middleware-doublesubmitcookiecsrfmiddleware.html"><abbr title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php">DoubleSubmitCookieCsrfMiddleware.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">65</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Constructor</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$attribute</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">self::ATTRIBUTE</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int|null </span><span class="phpdocumentor-signature__argument__name">$ttl</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">self::TTL</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$errorResponse</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">self::DEFAULT_ERROR_RESPONSE_STRING</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$tokenLength</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">self::CSRF_TOKEN_LENGTH</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$logger</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"><p>The <code class="prettyprint">$errorResponse</code> parameter can be used to customse the error response returned when a
|
||||||
|
write request has invalid CSRF parameters. It can take the following forms:</p>
|
||||||
|
<ul>
|
||||||
|
<li>A <code class="prettyprint">string</code>, which will be returned as-is with a 400 Status Code and <code class="prettyprint">Content-type: text/plain</code> header</li>
|
||||||
|
<li>An instance of <code class="prettyprint">ResponseInterface</code>, which will be returned as-is</li>
|
||||||
|
<li>A callable with the signature <code class="prettyprint">function (ServerRequestInterface $request): ResponseInterface</code>,
|
||||||
|
the return value of which will be returned as-is.</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$attribute</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">self::ATTRIBUTE</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$ttl</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">int|null</span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">self::TTL</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$errorResponse</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">self::DEFAULT_ERROR_RESPONSE_STRING</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$tokenLength</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">self::CSRF_TOKEN_LENGTH</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$logger</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_process">
|
||||||
|
process()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#method_process" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php"><a href="files/src-middleware-doublesubmitcookiecsrfmiddleware.html"><abbr title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php">DoubleSubmitCookieCsrfMiddleware.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">91</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">process</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Server\RequestHandlerInterface">RequestHandlerInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$handler</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Psr\Http\Message\ResponseInterface">ResponseInterface</abbr></span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$request</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$handler</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Server\RequestHandlerInterface">RequestHandlerInterface</abbr></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type"><abbr title="\Psr\Http\Message\ResponseInterface">ResponseInterface</abbr></span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_setLogger">
|
||||||
|
setLogger()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#method_setLogger" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php"><a href="files/src-middleware-doublesubmitcookiecsrfmiddleware.html"><abbr title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php">DoubleSubmitCookieCsrfMiddleware.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">87</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">setLogger</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Log\LoggerInterface">LoggerInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$logger</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$logger</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Log\LoggerInterface">LoggerInterface</abbr></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-protected
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_isValid">
|
||||||
|
isValid()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#method_isValid" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php"><a href="files/src-middleware-doublesubmitcookiecsrfmiddleware.html"><abbr title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php">DoubleSubmitCookieCsrfMiddleware.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">114</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
||||||
|
<span class="phpdocumentor-signature__name">isValid</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$request</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
222
docs/classes/Taproot-IndieAuth-Middleware-NoOpMiddleware.html
Normal file
222
docs/classes/Taproot-IndieAuth-Middleware-NoOpMiddleware.html
Normal file
@ -0,0 +1,222 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot.html">Taproot</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth.html">IndieAuth</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth-middleware.html">Middleware</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -class">
|
||||||
|
<h2 class="phpdocumentor-content__title">
|
||||||
|
NoOpMiddleware
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="phpdocumentor-element__implements">
|
||||||
|
implements
|
||||||
|
<abbr title="\Psr\Http\Server\MiddlewareInterface">MiddlewareInterface</abbr> </span>
|
||||||
|
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/NoOpMiddleware.php"><a href="files/src-middleware-noopmiddleware.html"><abbr title="src/Middleware/NoOpMiddleware.php">NoOpMiddleware.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">16</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">No-Op Middleware</p>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"><p>A PSR-15 Middleware which does nothing, simply passing <code class="prettyprint">$request</code> onto <code class="prettyprint">$handler</code> and returning
|
||||||
|
the response.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -interface"><abbr title="\Psr\Http\Server\MiddlewareInterface">MiddlewareInterface</abbr></dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="toc">
|
||||||
|
Table of Contents
|
||||||
|
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-NoOpMiddleware.html#method_process">process()</a>
|
||||||
|
<span>
|
||||||
|
: <abbr title="\Psr\Http\Message\ResponseInterface">ResponseInterface</abbr> </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-methods">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
||||||
|
Methods
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-NoOpMiddleware.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_process">
|
||||||
|
process()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-NoOpMiddleware.html#method_process" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/NoOpMiddleware.php"><a href="files/src-middleware-noopmiddleware.html"><abbr title="src/Middleware/NoOpMiddleware.php">NoOpMiddleware.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">17</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">process</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Server\RequestHandlerInterface">RequestHandlerInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$handler</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Psr\Http\Message\ResponseInterface">ResponseInterface</abbr></span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$request</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$handler</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Server\RequestHandlerInterface">RequestHandlerInterface</abbr></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type"><abbr title="\Psr\Http\Message\ResponseInterface">ResponseInterface</abbr></span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-NoOpMiddleware.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,303 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot.html">Taproot</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth.html">IndieAuth</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth-middleware.html">Middleware</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -class">
|
||||||
|
<h2 class="phpdocumentor-content__title">
|
||||||
|
ResponseRequestHandler
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="phpdocumentor-element__implements">
|
||||||
|
implements
|
||||||
|
<abbr title="\Psr\Http\Server\RequestHandlerInterface">RequestHandlerInterface</abbr> </span>
|
||||||
|
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/ResponseRequestHandler.php"><a href="files/src-middleware-responserequesthandler.html"><abbr title="src/Middleware/ResponseRequestHandler.php">ResponseRequestHandler.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">9</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -interface"><abbr title="\Psr\Http\Server\RequestHandlerInterface">RequestHandlerInterface</abbr></dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="toc">
|
||||||
|
Table of Contents
|
||||||
|
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -property -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-ResponseRequestHandler.html#property_response">$response</a>
|
||||||
|
<span>
|
||||||
|
: <abbr title="\Psr\Http\Message\ResponseInterface">ResponseInterface</abbr> </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-ResponseRequestHandler.html#method___construct">__construct()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-ResponseRequestHandler.html#method_handle">handle()</a>
|
||||||
|
<span>
|
||||||
|
: <abbr title="\Psr\Http\Message\ResponseInterface">ResponseInterface</abbr> </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-properties">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="properties">
|
||||||
|
Properties
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-ResponseRequestHandler.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="
|
||||||
|
phpdocumentor-element
|
||||||
|
-property
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="property_response">
|
||||||
|
$response
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-ResponseRequestHandler.html#property_response" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
<span class="phpdocumentor-element__modifiers">
|
||||||
|
</span>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/ResponseRequestHandler.php"><a href="files/src-middleware-responserequesthandler.html"><abbr title="src/Middleware/ResponseRequestHandler.php">ResponseRequestHandler.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">10</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__type"><abbr title="\Psr\Http\Message\ResponseInterface">ResponseInterface</abbr></span>
|
||||||
|
<span class="phpdocumentor-signature__name">$response</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-methods">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
||||||
|
Methods
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-ResponseRequestHandler.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method___construct">
|
||||||
|
__construct()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-ResponseRequestHandler.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/ResponseRequestHandler.php"><a href="files/src-middleware-responserequesthandler.html"><abbr title="src/Middleware/ResponseRequestHandler.php">ResponseRequestHandler.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">12</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ResponseInterface">ResponseInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$response</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$response</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ResponseInterface">ResponseInterface</abbr></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_handle">
|
||||||
|
handle()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-ResponseRequestHandler.html#method_handle" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Middleware/ResponseRequestHandler.php"><a href="files/src-middleware-responserequesthandler.html"><abbr title="src/Middleware/ResponseRequestHandler.php">ResponseRequestHandler.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">16</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">handle</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Psr\Http\Message\ResponseInterface">ResponseInterface</abbr></span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$request</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type"><abbr title="\Psr\Http\Message\ResponseInterface">ResponseInterface</abbr></span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="classes/Taproot-IndieAuth-Middleware-ResponseRequestHandler.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
1125
docs/classes/Taproot-IndieAuth-Server.html
Normal file
1125
docs/classes/Taproot-IndieAuth-Server.html
Normal file
File diff suppressed because it is too large
Load Diff
1209
docs/classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html
Normal file
1209
docs/classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html
Normal file
File diff suppressed because it is too large
Load Diff
149
docs/classes/Taproot-IndieAuth-Storage-Sqlite3Storage.html
Normal file
149
docs/classes/Taproot-IndieAuth-Storage-Sqlite3Storage.html
Normal file
@ -0,0 +1,149 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot.html">Taproot</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth.html">IndieAuth</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth-storage.html">Storage</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -class">
|
||||||
|
<h2 class="phpdocumentor-content__title">
|
||||||
|
Sqlite3Storage
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="phpdocumentor-element__implements">
|
||||||
|
implements
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-TokenStorageInterface.html"><abbr title="\Taproot\IndieAuth\Storage\TokenStorageInterface">TokenStorageInterface</abbr></a> </span>
|
||||||
|
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Storage/Sqlite3Storage.php"><a href="files/src-storage-sqlite3storage.html"><abbr title="src/Storage/Sqlite3Storage.php">Sqlite3Storage.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">5</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -interface"><a href="classes/Taproot-IndieAuth-Storage-TokenStorageInterface.html"><abbr title="\Taproot\IndieAuth\Storage\TokenStorageInterface">TokenStorageInterface</abbr></a></dt>
|
||||||
|
<dd>Token Storage Interface</dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-Sqlite3Storage.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
454
docs/classes/Taproot-IndieAuth-Storage-Token.html
Normal file
454
docs/classes/Taproot-IndieAuth-Storage-Token.html
Normal file
@ -0,0 +1,454 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot.html">Taproot</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth.html">IndieAuth</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth-storage.html">Storage</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -class">
|
||||||
|
<h2 class="phpdocumentor-content__title">
|
||||||
|
Token
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="phpdocumentor-element__implements">
|
||||||
|
implements
|
||||||
|
<abbr title="\JsonSerializable">JsonSerializable</abbr> </span>
|
||||||
|
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Storage/Token.php"><a href="files/src-storage-token.html"><abbr title="src/Storage/Token.php">Token.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">7</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -interface"><abbr title="\JsonSerializable">JsonSerializable</abbr></dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="toc">
|
||||||
|
Table of Contents
|
||||||
|
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-Token.html#property_data">$data</a>
|
||||||
|
<span>
|
||||||
|
: array<string|int, mixed> </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-Token.html#property_key">$key</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-Token.html#method___construct">__construct()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-Token.html#method___toString">__toString()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-Token.html#method_getData">getData()</a>
|
||||||
|
<span>
|
||||||
|
: array<string|int, mixed> </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-Token.html#method_getKey">getKey()</a>
|
||||||
|
<span>
|
||||||
|
: string </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-Token.html#method_jsonSerialize">jsonSerialize()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-properties">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="properties">
|
||||||
|
Properties
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-Token.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="
|
||||||
|
phpdocumentor-element
|
||||||
|
-property
|
||||||
|
-protected
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="property_data">
|
||||||
|
$data
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-Token.html#property_data" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
<span class="phpdocumentor-element__modifiers">
|
||||||
|
</span>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Storage/Token.php"><a href="files/src-storage-token.html"><abbr title="src/Storage/Token.php">Token.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">9</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
||||||
|
<span class="phpdocumentor-signature__type">array<string|int, mixed></span>
|
||||||
|
<span class="phpdocumentor-signature__name">$data</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="
|
||||||
|
phpdocumentor-element
|
||||||
|
-property
|
||||||
|
-protected
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="property_key">
|
||||||
|
$key
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-Token.html#property_key" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
<span class="phpdocumentor-element__modifiers">
|
||||||
|
</span>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Storage/Token.php"><a href="files/src-storage-token.html"><abbr title="src/Storage/Token.php">Token.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">8</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
||||||
|
<span class="phpdocumentor-signature__type">string</span>
|
||||||
|
<span class="phpdocumentor-signature__name">$key</span>
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-methods">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
||||||
|
Methods
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-Token.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method___construct">
|
||||||
|
__construct()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-Token.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Storage/Token.php"><a href="files/src-storage-token.html"><abbr title="src/Storage/Token.php">Token.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">11</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$key</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$data</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$key</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$data</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method___toString">
|
||||||
|
__toString()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-Token.html#method___toString" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Storage/Token.php"><a href="files/src-storage-token.html"><abbr title="src/Storage/Token.php">Token.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">24</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">__toString</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_getData">
|
||||||
|
getData()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-Token.html#method_getData" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Storage/Token.php"><a href="files/src-storage-token.html"><abbr title="src/Storage/Token.php">Token.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">16</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">getData</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_getKey">
|
||||||
|
getKey()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-Token.html#method_getKey" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Storage/Token.php"><a href="files/src-storage-token.html"><abbr title="src/Storage/Token.php">Token.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">20</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">getKey</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">string</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_jsonSerialize">
|
||||||
|
jsonSerialize()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-Token.html#method_jsonSerialize" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Storage/Token.php"><a href="files/src-storage-token.html"><abbr title="src/Storage/Token.php">Token.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">28</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">jsonSerialize</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-Token.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,433 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot.html">Taproot</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth.html">IndieAuth</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth-storage.html">Storage</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -interface">
|
||||||
|
<h2 class="phpdocumentor-content__title">
|
||||||
|
TokenStorageInterface
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Storage/TokenStorageInterface.php"><a href="files/src-storage-tokenstorageinterface.html"><abbr title="src/Storage/TokenStorageInterface.php">TokenStorageInterface.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">37</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Token Storage Interface</p>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"><p>This interface defines the bare minimum methods required by the Server class in order to
|
||||||
|
implement auth code issuing and exchange flows, as well as to let external code get access
|
||||||
|
tokens (for validating requests authenticated by an access_token) and revoke access tokens.</p>
|
||||||
|
<p>The contract made between Server and implementations of TokenStorageInterface can broadly
|
||||||
|
be summarized as follows:</p>
|
||||||
|
<ul>
|
||||||
|
<li>The Server class is responsible for performing all validation which is
|
||||||
|
defined in the IndieAuth spec and is not implementation-specific. For example: checking
|
||||||
|
validity of all the authorization request parameters, checking that client_id, request_uri
|
||||||
|
and code_verifier parameters in token exchange requests match with the stored data.</li>
|
||||||
|
<li>The TokenStorageInterface class is responsible for performing implementation-specific
|
||||||
|
validation, such as assigning and checking expiry times for auth codes and access tokens.</li>
|
||||||
|
</ul>
|
||||||
|
<p>Implementations of TokenStorageInterface will usually implement additional methods to allow
|
||||||
|
for lower-level querying, saving, updating and deletion of token data. These can be used to,
|
||||||
|
for example, implement a UI for users to review and revoke currently valid access tokens.</p>
|
||||||
|
<p>The behaviour of <code class="prettyprint">TokenStorageInterface</code> is somewhat coupled with the implementation of your
|
||||||
|
authentication handler callback (documented in <code class="prettyprint">Server::__construct</code>) and <code class="prettyprint">AuthorizationFormInterface</code>,
|
||||||
|
so you should refer to the documentation for both while implementing <code class="prettyprint">TokenStorageInterface</code>.</p>
|
||||||
|
<p>Periodic deletion of expired tokens is out of the scope of this interface. Implementations may
|
||||||
|
choose to offer a clean-up method, and potentially the option to call it once automatically
|
||||||
|
on instantiation.</p>
|
||||||
|
<p>None of the methods defined on TokenStorageInterface should throw exceptions. Failure, for any
|
||||||
|
reason, is indicated by returning either <code class="prettyprint">null</code> or <code class="prettyprint">false</code>, depending on the method.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="toc">
|
||||||
|
Table of Contents
|
||||||
|
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-TokenStorageInterface.html#method_createAuthCode">createAuthCode()</a>
|
||||||
|
<span>
|
||||||
|
: <a href="classes/Taproot-IndieAuth-Storage-Token.html"><abbr title="\Taproot\IndieAuth\Storage\Token">Token</abbr></a>|null </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Create Auth Code</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-TokenStorageInterface.html#method_exchangeAuthCodeForAccessToken">exchangeAuthCodeForAccessToken()</a>
|
||||||
|
<span>
|
||||||
|
: <a href="classes/Taproot-IndieAuth-Storage-Token.html"><abbr title="\Taproot\IndieAuth\Storage\Token">Token</abbr></a>|null </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Exchange Authorization Code for Access Token</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-TokenStorageInterface.html#method_getAccessToken">getAccessToken()</a>
|
||||||
|
<span>
|
||||||
|
: <a href="classes/Taproot-IndieAuth-Storage-Token.html"><abbr title="\Taproot\IndieAuth\Storage\Token">Token</abbr></a>|null </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Get Access Token</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-TokenStorageInterface.html#method_revokeAccessToken">revokeAccessToken()</a>
|
||||||
|
<span>
|
||||||
|
: bool </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Revoke Access Token</dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-methods">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
||||||
|
Methods
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-TokenStorageInterface.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_createAuthCode">
|
||||||
|
createAuthCode()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-TokenStorageInterface.html#method_createAuthCode" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Storage/TokenStorageInterface.php"><a href="files/src-storage-tokenstorageinterface.html"><abbr title="src/Storage/TokenStorageInterface.php">TokenStorageInterface.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">79</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Create Auth Code</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">createAuthCode</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$data</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Taproot-IndieAuth-Storage-Token.html"><abbr title="\Taproot\IndieAuth\Storage\Token">Token</abbr></a>|null</span></code>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"><p>This method is called on a valid authorization token request. The <code class="prettyprint">$data</code>
|
||||||
|
array is guaranteed to have the following keys:</p>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">client_id</code>: the validated <code class="prettyprint">client_id</code> request parameter</li>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">redirect_uri</code>: the validated <code class="prettyprint">redirect_uri</code> request parameter</li>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">state</code>: the <code class="prettyprint">state</code> request parameter</li>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">code_challenge</code>: the <code class="prettyprint">code_challenge</code> request parameter</li>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">code_challenge_method</code>: the <code class="prettyprint">code_challenge_method</code> request parameter</li>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">requested_scope</code>: the value of the <code class="prettyprint">scope</code> request parameter</li>
|
||||||
|
<li>
|
||||||
|
<code class="prettyprint">me</code>: the value of the <code class="prettyprint">me</code> key from the authentication result returned from the authentication request handler callback</li>
|
||||||
|
</ul>
|
||||||
|
<p>It may also have additional keys, which can come from the following locations:</p>
|
||||||
|
<ul>
|
||||||
|
<li>All keys from the the authentication request handler callback result which do not clash
|
||||||
|
with the keys listed above (with the exception of <code class="prettyprint">me</code>, which is always present). Usually
|
||||||
|
this is a <code class="prettyprint">profile</code> key, but you may choose to return additional data from the authentication
|
||||||
|
callback, which will be present in <code class="prettyprint">$data</code>.</li>
|
||||||
|
<li>Any keys added by the <code class="prettyprint">transformAuthorizationCode</code> method on the currently active instance
|
||||||
|
of <code class="prettyprint">Taproot\IndieAuth\Callback\AuthorizationFormInterface</code>. Typically this is the <code class="prettyprint">scope</code>
|
||||||
|
key, which is a valid space-separated scope string listing the scopes granted by the user on
|
||||||
|
the consent screen. Other implementations of <code class="prettyprint">AuthorizationFormInterface</code> may add additional
|
||||||
|
data, such as custom token-specific settings, or a custom token lifetime.</li>
|
||||||
|
</ul>
|
||||||
|
<p>This method should store the data passed to it, generate a corresponding authorization code,
|
||||||
|
and return an instance of <code class="prettyprint">Storage\Token</code> containing both. Implementations will usually add
|
||||||
|
an expiry time, usually under the <code class="prettyprint">valid_until</code> key.</p>
|
||||||
|
<p>The method call and data is structured such that implementations have a lot of flexibility
|
||||||
|
about how to store authorization code data. It could be a record in an auth code database
|
||||||
|
table, a record in a table which is used for both auth codes and access tokens, or even
|
||||||
|
a stateless self-encrypted token — note that in the latter case, you must persist a copy
|
||||||
|
of the auth code with its exchanged access token to check against, in order to prevent it
|
||||||
|
being exchanged more than once.</p>
|
||||||
|
<p>On an error, return null. The reason for the error is irrelevant for calling code, but it’s
|
||||||
|
recommended to log it internally for reference. For the same reason, this method should not
|
||||||
|
throw exceptions.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$data</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Taproot-IndieAuth-Storage-Token.html"><abbr title="\Taproot\IndieAuth\Storage\Token">Token</abbr></a>|null</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_exchangeAuthCodeForAccessToken">
|
||||||
|
exchangeAuthCodeForAccessToken()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-TokenStorageInterface.html#method_exchangeAuthCodeForAccessToken" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Storage/TokenStorageInterface.php"><a href="files/src-storage-tokenstorageinterface.html"><abbr title="src/Storage/TokenStorageInterface.php">TokenStorageInterface.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">103</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Exchange Authorization Code for Access Token</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">exchangeAuthCodeForAccessToken</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$code</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Taproot-IndieAuth-Storage-Token.html"><abbr title="\Taproot\IndieAuth\Storage\Token">Token</abbr></a>|null</span></code>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"><p>Attempt to exchange an authorization code identified by <code class="prettyprint">$code</code> for
|
||||||
|
an access token, returning it in a <code class="prettyprint">Token</code> on success and null on error.</p>
|
||||||
|
<p>This method is called at the beginning of a code exchange request, before
|
||||||
|
further error checking or validation is applied. On an error, the created
|
||||||
|
access token is immediately revoked via <code class="prettyprint">revokeAccessToken()</code>.</p>
|
||||||
|
<p>For this reason, the token data in the returned Token object MUST include
|
||||||
|
the <code class="prettyprint">client_id</code> and <code class="prettyprint">redirect_uri</code> parameters associated with the
|
||||||
|
authorization code, as these are used by the IndieAuth Server for further
|
||||||
|
validation.</p>
|
||||||
|
<p>This method is responsible for ensuring that the matched auth code is
|
||||||
|
not expired. If it is, it should return null, presumably after deleting
|
||||||
|
the corresponding authorization code record.</p>
|
||||||
|
<p>If the exchanged access token should expire, this method should set its
|
||||||
|
expiry time, usually in a <code class="prettyprint">valid_until</code> key.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$code</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Taproot-IndieAuth-Storage-Token.html"><abbr title="\Taproot\IndieAuth\Storage\Token">Token</abbr></a>|null</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_getAccessToken">
|
||||||
|
getAccessToken()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-TokenStorageInterface.html#method_getAccessToken" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Storage/TokenStorageInterface.php"><a href="files/src-storage-tokenstorageinterface.html"><abbr title="src/Storage/TokenStorageInterface.php">TokenStorageInterface.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">112</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Get Access Token</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">getAccessToken</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$token</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Taproot-IndieAuth-Storage-Token.html"><abbr title="\Taproot\IndieAuth\Storage\Token">Token</abbr></a>|null</span></code>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"><p>Fetch access token data identified by the token <code class="prettyprint">$token</code>, returning
|
||||||
|
null if it is expired or invalid. The data should be structured in
|
||||||
|
exactly the same way it was stored by <code class="prettyprint">exchangeAuthCodeForAccessToken</code>.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$token</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Taproot-IndieAuth-Storage-Token.html"><abbr title="\Taproot\IndieAuth\Storage\Token">Token</abbr></a>|null</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article
|
||||||
|
class="phpdocumentor-element
|
||||||
|
-method
|
||||||
|
-public
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<h4 class="phpdocumentor-element__name" id="method_revokeAccessToken">
|
||||||
|
revokeAccessToken()
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-TokenStorageInterface.html#method_revokeAccessToken" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/Storage/TokenStorageInterface.php"><a href="files/src-storage-tokenstorageinterface.html"><abbr title="src/Storage/TokenStorageInterface.php">TokenStorageInterface.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">120</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Revoke Access Token</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility">public</span>
|
||||||
|
<span class="phpdocumentor-signature__name">revokeAccessToken</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$token</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"><p>Revoke the access token identified by <code class="prettyprint">$token</code>. Return true on success,
|
||||||
|
or false on error, including if the token did not exist.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$token</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
||||||
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
||||||
|
—
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="classes/Taproot-IndieAuth-Storage-TokenStorageInterface.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
1002
docs/css/base.css
Normal file
1002
docs/css/base.css
Normal file
File diff suppressed because it is too large
Load Diff
427
docs/css/normalize.css
vendored
Normal file
427
docs/css/normalize.css
vendored
Normal file
@ -0,0 +1,427 @@
|
|||||||
|
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Set default font family to sans-serif.
|
||||||
|
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
||||||
|
* user zoom.
|
||||||
|
*/
|
||||||
|
|
||||||
|
html {
|
||||||
|
font-family: sans-serif; /* 1 */
|
||||||
|
-ms-text-size-adjust: 100%; /* 2 */
|
||||||
|
-webkit-text-size-adjust: 100%; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove default margin.
|
||||||
|
*/
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* HTML5 display definitions
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Correct `block` display not defined for any HTML5 element in IE 8/9.
|
||||||
|
* Correct `block` display not defined for `details` or `summary` in IE 10/11
|
||||||
|
* and Firefox.
|
||||||
|
* Correct `block` display not defined for `main` in IE 11.
|
||||||
|
*/
|
||||||
|
|
||||||
|
article,
|
||||||
|
aside,
|
||||||
|
details,
|
||||||
|
figcaption,
|
||||||
|
figure,
|
||||||
|
footer,
|
||||||
|
header,
|
||||||
|
hgroup,
|
||||||
|
main,
|
||||||
|
menu,
|
||||||
|
nav,
|
||||||
|
section,
|
||||||
|
summary {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Correct `inline-block` display not defined in IE 8/9.
|
||||||
|
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
||||||
|
*/
|
||||||
|
|
||||||
|
audio,
|
||||||
|
canvas,
|
||||||
|
progress,
|
||||||
|
video {
|
||||||
|
display: inline-block; /* 1 */
|
||||||
|
vertical-align: baseline; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prevent modern browsers from displaying `audio` without controls.
|
||||||
|
* Remove excess height in iOS 5 devices.
|
||||||
|
*/
|
||||||
|
|
||||||
|
audio:not([controls]) {
|
||||||
|
display: none;
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address `[hidden]` styling not present in IE 8/9/10.
|
||||||
|
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
||||||
|
*/
|
||||||
|
|
||||||
|
[hidden],
|
||||||
|
template {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Links
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the gray background color from active links in IE 10.
|
||||||
|
*/
|
||||||
|
|
||||||
|
a {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Improve readability when focused and also mouse hovered in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
a:active,
|
||||||
|
a:hover {
|
||||||
|
outline: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Text-level semantics
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
||||||
|
*/
|
||||||
|
|
||||||
|
abbr[title] {
|
||||||
|
border-bottom: 1px dotted;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
||||||
|
*/
|
||||||
|
|
||||||
|
b,
|
||||||
|
strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address styling not present in Safari and Chrome.
|
||||||
|
*/
|
||||||
|
|
||||||
|
dfn {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address variable `h1` font-size and margin within `section` and `article`
|
||||||
|
* contexts in Firefox 4+, Safari, and Chrome.
|
||||||
|
*/
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 2em;
|
||||||
|
margin: 0.67em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address styling not present in IE 8/9.
|
||||||
|
*/
|
||||||
|
|
||||||
|
mark {
|
||||||
|
background: #ff0;
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address inconsistent and variable font size in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
small {
|
||||||
|
font-size: 80%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
sub,
|
||||||
|
sup {
|
||||||
|
font-size: 75%;
|
||||||
|
line-height: 0;
|
||||||
|
position: relative;
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
sup {
|
||||||
|
top: -0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub {
|
||||||
|
bottom: -0.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Embedded content
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove border when inside `a` element in IE 8/9/10.
|
||||||
|
*/
|
||||||
|
|
||||||
|
img {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Correct overflow not hidden in IE 9/10/11.
|
||||||
|
*/
|
||||||
|
|
||||||
|
svg:not(:root) {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Grouping content
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address margin not present in IE 8/9 and Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
figure {
|
||||||
|
margin: 1em 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address differences between Firefox and other browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
hr {
|
||||||
|
-moz-box-sizing: content-box;
|
||||||
|
box-sizing: content-box;
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contain overflow in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
pre {
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address odd `em`-unit font size rendering in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
code,
|
||||||
|
kbd,
|
||||||
|
pre,
|
||||||
|
samp {
|
||||||
|
font-family: monospace, monospace;
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Forms
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
||||||
|
* styling of `select`, unless a `border` property is set.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Correct color not being inherited.
|
||||||
|
* Known issue: affects color of disabled elements.
|
||||||
|
* 2. Correct font properties not being inherited.
|
||||||
|
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button,
|
||||||
|
input,
|
||||||
|
optgroup,
|
||||||
|
select,
|
||||||
|
textarea {
|
||||||
|
color: inherit; /* 1 */
|
||||||
|
font: inherit; /* 2 */
|
||||||
|
margin: 0; /* 3 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button {
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
||||||
|
* All other form control elements do not inherit `text-transform` values.
|
||||||
|
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
||||||
|
* Correct `select` style inheritance in Firefox.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button,
|
||||||
|
select {
|
||||||
|
text-transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
||||||
|
* and `video` controls.
|
||||||
|
* 2. Correct inability to style clickable `input` types in iOS.
|
||||||
|
* 3. Improve usability and consistency of cursor style between image-type
|
||||||
|
* `input` and others.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button,
|
||||||
|
html input[type="button"], /* 1 */
|
||||||
|
input[type="reset"],
|
||||||
|
input[type="submit"] {
|
||||||
|
-webkit-appearance: button; /* 2 */
|
||||||
|
cursor: pointer; /* 3 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Re-set default cursor for disabled elements.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button[disabled],
|
||||||
|
html input[disabled] {
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove inner padding and border in Firefox 4+.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button::-moz-focus-inner,
|
||||||
|
input::-moz-focus-inner {
|
||||||
|
border: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
||||||
|
* the UA stylesheet.
|
||||||
|
*/
|
||||||
|
|
||||||
|
input {
|
||||||
|
line-height: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* It's recommended that you don't attempt to style these elements.
|
||||||
|
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
||||||
|
*
|
||||||
|
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
||||||
|
* 2. Remove excess padding in IE 8/9/10.
|
||||||
|
*/
|
||||||
|
|
||||||
|
input[type="checkbox"],
|
||||||
|
input[type="radio"] {
|
||||||
|
box-sizing: border-box; /* 1 */
|
||||||
|
padding: 0; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
||||||
|
* `font-size` values of the `input`, it causes the cursor style of the
|
||||||
|
* decrement button to change from `default` to `text`.
|
||||||
|
*/
|
||||||
|
|
||||||
|
input[type="number"]::-webkit-inner-spin-button,
|
||||||
|
input[type="number"]::-webkit-outer-spin-button {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
||||||
|
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
||||||
|
* (include `-moz` to future-proof).
|
||||||
|
*/
|
||||||
|
|
||||||
|
input[type="search"] {
|
||||||
|
-webkit-appearance: textfield; /* 1 */
|
||||||
|
-moz-box-sizing: content-box;
|
||||||
|
-webkit-box-sizing: content-box; /* 2 */
|
||||||
|
box-sizing: content-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
||||||
|
* Safari (but not Chrome) clips the cancel button when the search input has
|
||||||
|
* padding (and `textfield` appearance).
|
||||||
|
*/
|
||||||
|
|
||||||
|
input[type="search"]::-webkit-search-cancel-button,
|
||||||
|
input[type="search"]::-webkit-search-decoration {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Define consistent border, margin, and padding.
|
||||||
|
*/
|
||||||
|
|
||||||
|
fieldset {
|
||||||
|
border: 1px solid #c0c0c0;
|
||||||
|
margin: 0 2px;
|
||||||
|
padding: 0.35em 0.625em 0.75em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
||||||
|
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||||
|
*/
|
||||||
|
|
||||||
|
legend {
|
||||||
|
border: 0; /* 1 */
|
||||||
|
padding: 0; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove default vertical scrollbar in IE 8/9/10/11.
|
||||||
|
*/
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Don't inherit the `font-weight` (applied by a rule above).
|
||||||
|
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
||||||
|
*/
|
||||||
|
|
||||||
|
optgroup {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tables
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove most spacing between table cells.
|
||||||
|
*/
|
||||||
|
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
td,
|
||||||
|
th {
|
||||||
|
padding: 0;
|
||||||
|
}
|
169
docs/css/template.css
Normal file
169
docs/css/template.css
Normal file
@ -0,0 +1,169 @@
|
|||||||
|
.phpdocumentor-summary {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
.phpdocumentor-description {
|
||||||
|
margin-bottom: var(--spacing-md);
|
||||||
|
}
|
||||||
|
.phpdocumentor-element {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor .phpdocumentor-element__name {
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-element__package,
|
||||||
|
.phpdocumentor-element__extends,
|
||||||
|
.phpdocumentor-element__implements {
|
||||||
|
display: block;
|
||||||
|
font-size: var(--text-xxs);
|
||||||
|
font-weight: normal;
|
||||||
|
opacity: .7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-element__package .phpdocumentor-breadcrumbs {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-element:not(:last-child) {
|
||||||
|
border-bottom: 1px solid var(--primary-color-lighten);
|
||||||
|
padding-bottom: var(--spacing-lg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-element.-deprecated .phpdocumentor-element__name {
|
||||||
|
text-decoration: line-through;
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-element__modifier {
|
||||||
|
font-size: var(--text-xxs);
|
||||||
|
padding: calc(var(--spacing-base-size) / 4) calc(var(--spacing-base-size) / 2);
|
||||||
|
color: var(--text-color);
|
||||||
|
background-color: var(--light-gray);
|
||||||
|
border-radius: 3px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
.phpdocumentor-signature {
|
||||||
|
display: inline-block;
|
||||||
|
font-size: var(--text-sm);
|
||||||
|
margin-bottom: var(--spacing-md);
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-signature.-deprecated .phpdocumentor-signature__name {
|
||||||
|
text-decoration: line-through;
|
||||||
|
}
|
||||||
|
.phpdocumentor-table-of-contents {
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry {
|
||||||
|
padding-top: var(--spacing-xs);
|
||||||
|
margin-left: 2rem;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry > a {
|
||||||
|
flex: 0 1 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry > span {
|
||||||
|
flex: 1;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry:after {
|
||||||
|
content: '';
|
||||||
|
height: 12px;
|
||||||
|
width: 12px;
|
||||||
|
left: 16px;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-private:after {
|
||||||
|
background: url('data:image/svg+xml;utf8,<svg width="8" height="10" viewBox="0 0 8 10" fill="none" xmlns="http://www.w3.org/2000/svg"><rect y="4" width="8" height="6" rx="1.4" fill="%23EE6749"/><path d="M2 4C2 3 2.4 1 4 1C5.6 1 6 3 6 4" stroke="%23EE6749" stroke-width="1.4"/></svg>') no-repeat;
|
||||||
|
}
|
||||||
|
.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-protected:after {
|
||||||
|
left: 13px;
|
||||||
|
background: url('data:image/svg+xml;utf8,<svg width="11" height="9" viewBox="0 0 11 9" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="3" y="3" width="8" height="6" rx="1.4" fill="%23EE9949"/><path d="M5 4C5 3 4.6 1 3 1C1.4 1 1 3 1 4" stroke="%23EE9949" stroke-width="1.4"/></svg>') no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry:before {
|
||||||
|
width: 1.25rem;
|
||||||
|
height: 1.25rem;
|
||||||
|
line-height: 1.25rem;
|
||||||
|
background: transparent url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="10" fill="%238DD35F"/></svg>') no-repeat center center;
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
border-radius: 50%;
|
||||||
|
font-weight: 600;
|
||||||
|
color: white;
|
||||||
|
text-align: center;
|
||||||
|
font-size: .75rem;
|
||||||
|
margin-top: .2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-method:before {
|
||||||
|
content: 'M';
|
||||||
|
background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="10" fill="%238DD35F"/></svg>');
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-function:before {
|
||||||
|
content: 'M';
|
||||||
|
background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="10" fill="%238DD35F"/></svg>');
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-property:before {
|
||||||
|
content: 'P'
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-constant:before {
|
||||||
|
content: 'C';
|
||||||
|
background-color: transparent;
|
||||||
|
background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="-3.05176e-05" y="9.99998" width="14.1422" height="14.1422" transform="rotate(-45 -3.05176e-05 9.99998)" fill="%238DD35F"/></svg>');
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-class:before {
|
||||||
|
content: 'C'
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-interface:before {
|
||||||
|
content: 'I'
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-trait:before {
|
||||||
|
content: 'T'
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-namespace:before {
|
||||||
|
content: 'N'
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-table-of-contents .phpdocumentor-table-of-contents__entry.-package:before {
|
||||||
|
content: 'P'
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-table-of-contents dd {
|
||||||
|
font-style: italic;
|
||||||
|
margin-left: 2rem;
|
||||||
|
}
|
||||||
|
.phpdocumentor-element-found-in {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
font-size: var(--text-sm);
|
||||||
|
color: gray;
|
||||||
|
}
|
||||||
|
.phpdocumentor-class-graph {
|
||||||
|
width: 100%; height: 600px; border:1px solid black; overflow: hidden
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-class-graph__graph {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.phpdocumentor-tag-list__definition {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.phpdocumentor-tag-link {
|
||||||
|
margin-right: var(--spacing-sm);
|
||||||
|
}
|
123
docs/files/src-callback-authorizationforminterface.html
Normal file
123
docs/files/src-callback-authorizationforminterface.html
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -file">
|
||||||
|
<h2 class="phpdocumentor-content__title">AuthorizationFormInterface.php</h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -interface"><a href="classes/Taproot-IndieAuth-Callback-AuthorizationFormInterface.html"><abbr title="\Taproot\IndieAuth\Callback\AuthorizationFormInterface">AuthorizationFormInterface</abbr></a></dt>
|
||||||
|
<dd>Authorization Form Interface</dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="files/src-callback-authorizationforminterface.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
123
docs/files/src-callback-defaultauthorizationform.html
Normal file
123
docs/files/src-callback-defaultauthorizationform.html
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -file">
|
||||||
|
<h2 class="phpdocumentor-content__title">DefaultAuthorizationForm.php</h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html"><abbr title="\Taproot\IndieAuth\Callback\DefaultAuthorizationForm">DefaultAuthorizationForm</abbr></a></dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="files/src-callback-defaultauthorizationform.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,123 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -file">
|
||||||
|
<h2 class="phpdocumentor-content__title">SingleUserPasswordAuthenticationCallback.php</h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html"><abbr title="\Taproot\IndieAuth\Callback\SingleUserPasswordAuthenticationCallback">SingleUserPasswordAuthenticationCallback</abbr></a></dt>
|
||||||
|
<dd>Single User Password Authentication Callback</dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="files/src-callback-singleuserpasswordauthenticationcallback.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
989
docs/files/src-functions.html
Normal file
989
docs/files/src-functions.html
Normal file
@ -0,0 +1,989 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -file">
|
||||||
|
<h2 class="phpdocumentor-content__title">functions.php</h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="toc">
|
||||||
|
Table of Contents
|
||||||
|
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -function -">
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_generateRandomString">generateRandomString()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -function -">
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_generateRandomPrintableAsciiString">generateRandomPrintableAsciiString()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -function -">
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_generatePKCECodeChallenge">generatePKCECodeChallenge()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -function -">
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_base64_urlencode">base64_urlencode()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -function -">
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_hashAuthorizationRequestParameters">hashAuthorizationRequestParameters()</a>
|
||||||
|
<span>
|
||||||
|
: string|null </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -function -">
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_isIndieAuthAuthorizationCodeRedeemingRequest">isIndieAuthAuthorizationCodeRedeemingRequest()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -function -">
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_isIndieAuthAuthorizationRequest">isIndieAuthAuthorizationRequest()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -function -">
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_isAuthorizationApprovalRequest">isAuthorizationApprovalRequest()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -function -">
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_buildQueryString">buildQueryString()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -function -">
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_urlComponentsMatch">urlComponentsMatch()</a>
|
||||||
|
<span>
|
||||||
|
: bool </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -function -">
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_appendQueryParams">appendQueryParams()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Append Query Parameters</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -function -">
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_trySetLogger">trySetLogger()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Try setLogger</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -function -">
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_renderTemplate">renderTemplate()</a>
|
||||||
|
<span>
|
||||||
|
: mixed </span>
|
||||||
|
</dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -function -">
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_isClientIdentifier">isClientIdentifier()</a>
|
||||||
|
<span>
|
||||||
|
: bool </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Check if a provided string matches the IndieAuth criteria for a Client Identifier.</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -function -">
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_isProfileUrl">isProfileUrl()</a>
|
||||||
|
<span>
|
||||||
|
: bool </span>
|
||||||
|
</dt>
|
||||||
|
<dd>Check if a provided string matches the IndieAuth criteria for a User Profile URL.</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -function -">
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_isValidState">isValidState()</a>
|
||||||
|
<span>
|
||||||
|
: bool </span>
|
||||||
|
</dt>
|
||||||
|
<dd>OAuth 2.0 limits what values are valid for state.</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -function -">
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_isValidCodeChallenge">isValidCodeChallenge()</a>
|
||||||
|
<span>
|
||||||
|
: bool </span>
|
||||||
|
</dt>
|
||||||
|
<dd>IndieAuth requires PKCE. This implementation supports only S256 for hashing.</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -function -">
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_isValidScope">isValidScope()</a>
|
||||||
|
<span>
|
||||||
|
: bool </span>
|
||||||
|
</dt>
|
||||||
|
<dd>OAuth 2.0 limits what values are valid for scope.</dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-functions">
|
||||||
|
<h3 class="phpdocumentor-elements__header" id="functions">
|
||||||
|
Functions
|
||||||
|
<a href="files/src-functions.html#functions" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
<article class="phpdocumentor-element -function - ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="function_generateRandomString">
|
||||||
|
generateRandomString()
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_generateRandomString" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/functions.php"><a href="files/src-functions.html"><abbr title="src/functions.php">functions.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">11</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility"></span>
|
||||||
|
<span class="phpdocumentor-signature__name">generateRandomString</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$numBytes</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$numBytes</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -function - ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="function_generateRandomPrintableAsciiString">
|
||||||
|
generateRandomPrintableAsciiString()
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_generateRandomPrintableAsciiString" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/functions.php"><a href="files/src-functions.html"><abbr title="src/functions.php">functions.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">28</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility"></span>
|
||||||
|
<span class="phpdocumentor-signature__name">generateRandomPrintableAsciiString</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$length</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$length</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -function - ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="function_generatePKCECodeChallenge">
|
||||||
|
generatePKCECodeChallenge()
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_generatePKCECodeChallenge" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/functions.php"><a href="files/src-functions.html"><abbr title="src/functions.php">functions.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">37</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility"></span>
|
||||||
|
<span class="phpdocumentor-signature__name">generatePKCECodeChallenge</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$plaintext</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$plaintext</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -function - ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="function_base64_urlencode">
|
||||||
|
base64_urlencode()
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_base64_urlencode" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/functions.php"><a href="files/src-functions.html"><abbr title="src/functions.php">functions.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">41</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility"></span>
|
||||||
|
<span class="phpdocumentor-signature__name">base64_urlencode</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$string</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$string</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -function - ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="function_hashAuthorizationRequestParameters">
|
||||||
|
hashAuthorizationRequestParameters()
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_hashAuthorizationRequestParameters" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/functions.php"><a href="files/src-functions.html"><abbr title="src/functions.php">functions.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">45</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility"></span>
|
||||||
|
<span class="phpdocumentor-signature__name">hashAuthorizationRequestParameters</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$secret</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$algo</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed>|null </span><span class="phpdocumentor-signature__argument__name">$hashedParameters</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|null</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$request</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$secret</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$algo</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$hashedParameters</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed>|null</span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -function - ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="function_isIndieAuthAuthorizationCodeRedeemingRequest">
|
||||||
|
isIndieAuthAuthorizationCodeRedeemingRequest()
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_isIndieAuthAuthorizationCodeRedeemingRequest" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/functions.php"><a href="files/src-functions.html"><abbr title="src/functions.php">functions.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">60</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility"></span>
|
||||||
|
<span class="phpdocumentor-signature__name">isIndieAuthAuthorizationCodeRedeemingRequest</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$request</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -function - ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="function_isIndieAuthAuthorizationRequest">
|
||||||
|
isIndieAuthAuthorizationRequest()
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_isIndieAuthAuthorizationRequest" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/functions.php"><a href="files/src-functions.html"><abbr title="src/functions.php">functions.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">66</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility"></span>
|
||||||
|
<span class="phpdocumentor-signature__name">isIndieAuthAuthorizationRequest</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$permittedMethods</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">['get']</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$request</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$permittedMethods</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">['get']</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -function - ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="function_isAuthorizationApprovalRequest">
|
||||||
|
isAuthorizationApprovalRequest()
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_isAuthorizationApprovalRequest" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/functions.php"><a href="files/src-functions.html"><abbr title="src/functions.php">functions.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">72</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility"></span>
|
||||||
|
<span class="phpdocumentor-signature__name">isAuthorizationApprovalRequest</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$request</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$request</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Http\Message\ServerRequestInterface">ServerRequestInterface</abbr></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -function - ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="function_buildQueryString">
|
||||||
|
buildQueryString()
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_buildQueryString" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/functions.php"><a href="files/src-functions.html"><abbr title="src/functions.php">functions.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">78</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility"></span>
|
||||||
|
<span class="phpdocumentor-signature__name">buildQueryString</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$parameters</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$parameters</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -function - ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="function_urlComponentsMatch">
|
||||||
|
urlComponentsMatch()
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_urlComponentsMatch" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/functions.php"><a href="files/src-functions.html"><abbr title="src/functions.php">functions.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">86</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility"></span>
|
||||||
|
<span class="phpdocumentor-signature__name">urlComponentsMatch</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$url1</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$url2</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed>|null </span><span class="phpdocumentor-signature__argument__name">$components</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$url1</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$url2</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$components</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed>|null</span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -function - ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="function_appendQueryParams">
|
||||||
|
appendQueryParams()
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_appendQueryParams" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/functions.php"><a href="files/src-functions.html"><abbr title="src/functions.php">functions.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">110</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Append Query Parameters</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility"></span>
|
||||||
|
<span class="phpdocumentor-signature__name">appendQueryParams</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$uri</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$queryParams</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"><p>Converts <code class="prettyprint">$queryParams</code> into a query string, then checks <code class="prettyprint">$uri</code> for an
|
||||||
|
existing query string. Then appends the newly generated query string
|
||||||
|
with either ? or & as appropriate.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$uri</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$queryParams</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -function - ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="function_trySetLogger">
|
||||||
|
trySetLogger()
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_trySetLogger" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/functions.php"><a href="files/src-functions.html"><abbr title="src/functions.php">functions.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">127</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Try setLogger</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility"></span>
|
||||||
|
<span class="phpdocumentor-signature__name">trySetLogger</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$target</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Log\LoggerInterface">LoggerInterface</abbr> </span><span class="phpdocumentor-signature__argument__name">$logger</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"><p>If <code class="prettyprint">$target</code> implements <code class="prettyprint">LoggerAwareInterface</code>, set it’s logger
|
||||||
|
to <code class="prettyprint">$logger</code>. Returns <code class="prettyprint">$target</code>.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$target</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$logger</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Psr\Log\LoggerInterface">LoggerInterface</abbr></span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -function - ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="function_renderTemplate">
|
||||||
|
renderTemplate()
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_renderTemplate" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/functions.php"><a href="files/src-functions.html"><abbr title="src/functions.php">functions.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">134</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility"></span>
|
||||||
|
<span class="phpdocumentor-signature__name">renderTemplate</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$template</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$context</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$template</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$context</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
||||||
|
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -function - ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="function_isClientIdentifier">
|
||||||
|
isClientIdentifier()
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_isClientIdentifier" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/functions.php"><a href="files/src-functions.html"><abbr title="src/functions.php">functions.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">159</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Check if a provided string matches the IndieAuth criteria for a Client Identifier.</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility"></span>
|
||||||
|
<span class="phpdocumentor-signature__name">isClientIdentifier</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$client_id</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$client_id</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"><p>The client ID provided by the OAuth Client</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||||
|
Tags
|
||||||
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h5>
|
||||||
|
<dl class="phpdocumentor-tag-list">
|
||||||
|
<dt class="phpdocumentor-tag-list__entry">
|
||||||
|
<span class="phpdocumentor-tag__name">see</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-tag-list__definition">
|
||||||
|
<span class="phpdocumentor-tag-link"><a href="https://indieauth.spec.indieweb.org/#client-identifier"><abbr title="https://indieauth.spec.indieweb.org/#client-identifier">https://indieauth.spec.indieweb.org/#client-identifier</abbr></a></span>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -function - ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="function_isProfileUrl">
|
||||||
|
isProfileUrl()
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_isProfileUrl" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/functions.php"><a href="files/src-functions.html"><abbr title="src/functions.php">functions.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">183</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">Check if a provided string matches the IndieAuth criteria for a User Profile URL.</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility"></span>
|
||||||
|
<span class="phpdocumentor-signature__name">isProfileUrl</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$profile_url</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$profile_url</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
<section class="phpdocumentor-description"><p>The profile URL provided by the IndieAuth Client as me</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||||
|
Tags
|
||||||
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h5>
|
||||||
|
<dl class="phpdocumentor-tag-list">
|
||||||
|
<dt class="phpdocumentor-tag-list__entry">
|
||||||
|
<span class="phpdocumentor-tag__name">see</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-tag-list__definition">
|
||||||
|
<span class="phpdocumentor-tag-link"><a href="https://indieauth.spec.indieweb.org/#user-profile-url"><abbr title="https://indieauth.spec.indieweb.org/#user-profile-url">https://indieauth.spec.indieweb.org/#user-profile-url</abbr></a></span>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -function - ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="function_isValidState">
|
||||||
|
isValidState()
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_isValidState" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/functions.php"><a href="files/src-functions.html"><abbr title="src/functions.php">functions.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">202</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">OAuth 2.0 limits what values are valid for state.</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility"></span>
|
||||||
|
<span class="phpdocumentor-signature__name">isValidState</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$state</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"><p>We check this first, because if valid, we want to send it along with other errors.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$state</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||||
|
Tags
|
||||||
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h5>
|
||||||
|
<dl class="phpdocumentor-tag-list">
|
||||||
|
<dt class="phpdocumentor-tag-list__entry">
|
||||||
|
<span class="phpdocumentor-tag__name">see</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-tag-list__definition">
|
||||||
|
<span class="phpdocumentor-tag-link"><a href="https://tools.ietf.org/html/rfc6749#appendix-A.5"><abbr title="https://tools.ietf.org/html/rfc6749#appendix-A.5">https://tools.ietf.org/html/rfc6749#appendix-A.5</abbr></a></span>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -function - ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="function_isValidCodeChallenge">
|
||||||
|
isValidCodeChallenge()
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_isValidCodeChallenge" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/functions.php"><a href="files/src-functions.html"><abbr title="src/functions.php">functions.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">211</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">IndieAuth requires PKCE. This implementation supports only S256 for hashing.</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility"></span>
|
||||||
|
<span class="phpdocumentor-signature__name">isValidCodeChallenge</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$challenge</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$challenge</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||||
|
Tags
|
||||||
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h5>
|
||||||
|
<dl class="phpdocumentor-tag-list">
|
||||||
|
<dt class="phpdocumentor-tag-list__entry">
|
||||||
|
<span class="phpdocumentor-tag__name">see</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-tag-list__definition">
|
||||||
|
<span class="phpdocumentor-tag-link"><a href="https://indieauth.spec.indieweb.org/#authorization-request"><abbr title="https://indieauth.spec.indieweb.org/#authorization-request">https://indieauth.spec.indieweb.org/#authorization-request</abbr></a></span>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<article class="phpdocumentor-element -function - ">
|
||||||
|
<h4 class="phpdocumentor-element__name" id="function_isValidScope">
|
||||||
|
isValidScope()
|
||||||
|
<a href="namespaces/taproot-indieauth.html#function_isValidScope" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h4>
|
||||||
|
<aside class="phpdocumentor-element-found-in">
|
||||||
|
<abbr class="phpdocumentor-element-found-in__file" title="src/functions.php"><a href="files/src-functions.html"><abbr title="src/functions.php">functions.php</abbr></a></abbr>
|
||||||
|
:
|
||||||
|
<span class="phpdocumentor-element-found-in__line">219</span>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<p class="phpdocumentor-summary">OAuth 2.0 limits what values are valid for scope.</p>
|
||||||
|
|
||||||
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
||||||
|
<span class="phpdocumentor-signature__visibility"></span>
|
||||||
|
<span class="phpdocumentor-signature__name">isValidScope</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$scope</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
||||||
|
<dl class="phpdocumentor-argument-list">
|
||||||
|
<dt class="phpdocumentor-argument-list__entry">
|
||||||
|
<span class="phpdocumentor-signature__argument__name">$scope</span>
|
||||||
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-argument-list__definition">
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
||||||
|
Tags
|
||||||
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h5>
|
||||||
|
<dl class="phpdocumentor-tag-list">
|
||||||
|
<dt class="phpdocumentor-tag-list__entry">
|
||||||
|
<span class="phpdocumentor-tag__name">see</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="phpdocumentor-tag-list__definition">
|
||||||
|
<span class="phpdocumentor-tag-link"><a href="https://tools.ietf.org/html/rfc6749#section-3.3"><abbr title="https://tools.ietf.org/html/rfc6749#section-3.3">https://tools.ietf.org/html/rfc6749#section-3.3</abbr></a></span>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-description"></section>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="files/src-functions.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
123
docs/files/src-indieauthexception.html
Normal file
123
docs/files/src-indieauthexception.html
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -file">
|
||||||
|
<h2 class="phpdocumentor-content__title">IndieAuthException.php</h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/Taproot-IndieAuth-IndieAuthException.html"><abbr title="\Taproot\IndieAuth\IndieAuthException">IndieAuthException</abbr></a></dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="files/src-indieauthexception.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
123
docs/files/src-middleware-closurerequesthandler.html
Normal file
123
docs/files/src-middleware-closurerequesthandler.html
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -file">
|
||||||
|
<h2 class="phpdocumentor-content__title">ClosureRequestHandler.php</h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/Taproot-IndieAuth-Middleware-ClosureRequestHandler.html"><abbr title="\Taproot\IndieAuth\Middleware\ClosureRequestHandler">ClosureRequestHandler</abbr></a></dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="files/src-middleware-closurerequesthandler.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
123
docs/files/src-middleware-doublesubmitcookiecsrfmiddleware.html
Normal file
123
docs/files/src-middleware-doublesubmitcookiecsrfmiddleware.html
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -file">
|
||||||
|
<h2 class="phpdocumentor-content__title">DoubleSubmitCookieCsrfMiddleware.php</h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html"><abbr title="\Taproot\IndieAuth\Middleware\DoubleSubmitCookieCsrfMiddleware">DoubleSubmitCookieCsrfMiddleware</abbr></a></dt>
|
||||||
|
<dd>Double-Submit Cookie CSRF Middleware</dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="files/src-middleware-doublesubmitcookiecsrfmiddleware.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
123
docs/files/src-middleware-noopmiddleware.html
Normal file
123
docs/files/src-middleware-noopmiddleware.html
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -file">
|
||||||
|
<h2 class="phpdocumentor-content__title">NoOpMiddleware.php</h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/Taproot-IndieAuth-Middleware-NoOpMiddleware.html"><abbr title="\Taproot\IndieAuth\Middleware\NoOpMiddleware">NoOpMiddleware</abbr></a></dt>
|
||||||
|
<dd>No-Op Middleware</dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="files/src-middleware-noopmiddleware.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
123
docs/files/src-middleware-responserequesthandler.html
Normal file
123
docs/files/src-middleware-responserequesthandler.html
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -file">
|
||||||
|
<h2 class="phpdocumentor-content__title">ResponseRequestHandler.php</h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/Taproot-IndieAuth-Middleware-ResponseRequestHandler.html"><abbr title="\Taproot\IndieAuth\Middleware\ResponseRequestHandler">ResponseRequestHandler</abbr></a></dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="files/src-middleware-responserequesthandler.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
123
docs/files/src-server.html
Normal file
123
docs/files/src-server.html
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -file">
|
||||||
|
<h2 class="phpdocumentor-content__title">Server.php</h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/Taproot-IndieAuth-Server.html"><abbr title="\Taproot\IndieAuth\Server">Server</abbr></a></dt>
|
||||||
|
<dd>IndieAuth Server</dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="files/src-server.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
123
docs/files/src-storage-filesystemjsonstorage.html
Normal file
123
docs/files/src-storage-filesystemjsonstorage.html
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -file">
|
||||||
|
<h2 class="phpdocumentor-content__title">FilesystemJsonStorage.php</h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html"><abbr title="\Taproot\IndieAuth\Storage\FilesystemJsonStorage">FilesystemJsonStorage</abbr></a></dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="files/src-storage-filesystemjsonstorage.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
123
docs/files/src-storage-sqlite3storage.html
Normal file
123
docs/files/src-storage-sqlite3storage.html
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -file">
|
||||||
|
<h2 class="phpdocumentor-content__title">Sqlite3Storage.php</h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/Taproot-IndieAuth-Storage-Sqlite3Storage.html"><abbr title="\Taproot\IndieAuth\Storage\Sqlite3Storage">Sqlite3Storage</abbr></a></dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="files/src-storage-sqlite3storage.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
123
docs/files/src-storage-token.html
Normal file
123
docs/files/src-storage-token.html
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -file">
|
||||||
|
<h2 class="phpdocumentor-content__title">Token.php</h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/Taproot-IndieAuth-Storage-Token.html"><abbr title="\Taproot\IndieAuth\Storage\Token">Token</abbr></a></dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="files/src-storage-token.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
123
docs/files/src-storage-tokenstorageinterface.html
Normal file
123
docs/files/src-storage-tokenstorageinterface.html
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -file">
|
||||||
|
<h2 class="phpdocumentor-content__title">TokenStorageInterface.php</h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -interface"><a href="classes/Taproot-IndieAuth-Storage-TokenStorageInterface.html"><abbr title="\Taproot\IndieAuth\Storage\TokenStorageInterface">TokenStorageInterface</abbr></a></dt>
|
||||||
|
<dd>Token Storage Interface</dd>
|
||||||
|
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="files/src-storage-tokenstorageinterface.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
100
docs/graphs/classes.html
Normal file
100
docs/graphs/classes.html
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<script src='https://unpkg.com/panzoom@8.7.3/dist/panzoom.min.js'></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<div class="phpdocumentor-class-graph">
|
||||||
|
<img class="phpdocumentor-class-graph__graph" src="graphs/classes.svg" id="scene" />
|
||||||
|
</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
var element = document.querySelector('#scene');
|
||||||
|
|
||||||
|
// And pass it to panzoom
|
||||||
|
panzoom(element, {
|
||||||
|
smoothScroll: false
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="graphs/classes.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
115
docs/index.html
Normal file
115
docs/index.html
Normal file
@ -0,0 +1,115 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<h2>Documentation</h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="namespaces">
|
||||||
|
Namespaces
|
||||||
|
<a href="#namespaces" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></dt>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="index.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
139
docs/indices/files.html
Normal file
139
docs/indices/files.html
Normal file
@ -0,0 +1,139 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
|
||||||
|
<h2>Files</h2>
|
||||||
|
<h3>A</h3>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="files/src-callback-authorizationforminterface.html"><abbr title="src/Callback/AuthorizationFormInterface.php">AuthorizationFormInterface.php</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
<h3>C</h3>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="files/src-middleware-closurerequesthandler.html"><abbr title="src/Middleware/ClosureRequestHandler.php">ClosureRequestHandler.php</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
<h3>D</h3>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="files/src-callback-defaultauthorizationform.html"><abbr title="src/Callback/DefaultAuthorizationForm.php">DefaultAuthorizationForm.php</abbr></a></li>
|
||||||
|
<li><a href="files/src-middleware-doublesubmitcookiecsrfmiddleware.html"><abbr title="src/Middleware/DoubleSubmitCookieCsrfMiddleware.php">DoubleSubmitCookieCsrfMiddleware.php</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
<h3>F</h3>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="files/src-storage-filesystemjsonstorage.html"><abbr title="src/Storage/FilesystemJsonStorage.php">FilesystemJsonStorage.php</abbr></a></li>
|
||||||
|
<li><a href="files/src-functions.html"><abbr title="src/functions.php">functions.php</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
<h3>I</h3>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="files/src-indieauthexception.html"><abbr title="src/IndieAuthException.php">IndieAuthException.php</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
<h3>N</h3>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="files/src-middleware-noopmiddleware.html"><abbr title="src/Middleware/NoOpMiddleware.php">NoOpMiddleware.php</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
<h3>R</h3>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="files/src-middleware-responserequesthandler.html"><abbr title="src/Middleware/ResponseRequestHandler.php">ResponseRequestHandler.php</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
<h3>S</h3>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="files/src-server.html"><abbr title="src/Server.php">Server.php</abbr></a></li>
|
||||||
|
<li><a href="files/src-callback-singleuserpasswordauthenticationcallback.html"><abbr title="src/Callback/SingleUserPasswordAuthenticationCallback.php">SingleUserPasswordAuthenticationCallback.php</abbr></a></li>
|
||||||
|
<li><a href="files/src-storage-sqlite3storage.html"><abbr title="src/Storage/Sqlite3Storage.php">Sqlite3Storage.php</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
<h3>T</h3>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="files/src-storage-token.html"><abbr title="src/Storage/Token.php">Token.php</abbr></a></li>
|
||||||
|
<li><a href="files/src-storage-tokenstorageinterface.html"><abbr title="src/Storage/TokenStorageInterface.php">TokenStorageInterface.php</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="indices/files.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
173
docs/js/search.js
Normal file
173
docs/js/search.js
Normal file
@ -0,0 +1,173 @@
|
|||||||
|
// Search module for phpDocumentor
|
||||||
|
//
|
||||||
|
// This module is a wrapper around fuse.js that will use a given index and attach itself to a
|
||||||
|
// search form and to a search results pane identified by the following data attributes:
|
||||||
|
//
|
||||||
|
// 1. data-search-form
|
||||||
|
// 2. data-search-results
|
||||||
|
//
|
||||||
|
// The data-search-form is expected to have a single input element of type 'search' that will trigger searching for
|
||||||
|
// a series of results, were the data-search-results pane is expected to have a direct UL child that will be populated
|
||||||
|
// with rendered results.
|
||||||
|
//
|
||||||
|
// The search has various stages, upon loading this stage the data-search-form receives the CSS class
|
||||||
|
// 'phpdocumentor-search--enabled'; this indicates that JS is allowed and indices are being loaded. It is recommended
|
||||||
|
// to hide the form by default and show it when it receives this class to achieve progressive enhancement for this
|
||||||
|
// feature.
|
||||||
|
//
|
||||||
|
// After loading this module, it is expected to load a search index asynchronously, for example:
|
||||||
|
//
|
||||||
|
// <script defer src="js/searchIndex.js"></script>
|
||||||
|
//
|
||||||
|
// In this script the generated index should attach itself to the search module using the `appendIndex` function. By
|
||||||
|
// doing it like this the page will continue loading, unhindered by the loading of the search.
|
||||||
|
//
|
||||||
|
// After the page has fully loaded, and all these deferred indexes loaded, the initialization of the search module will
|
||||||
|
// be called and the form will receive the class 'phpdocumentor-search--active', indicating search is ready. At this
|
||||||
|
// point, the input field will also have it's 'disabled' attribute removed.
|
||||||
|
var Search = (function () {
|
||||||
|
var fuse;
|
||||||
|
var index = [];
|
||||||
|
var options = {
|
||||||
|
shouldSort: true,
|
||||||
|
threshold: 0.6,
|
||||||
|
location: 0,
|
||||||
|
distance: 100,
|
||||||
|
maxPatternLength: 32,
|
||||||
|
minMatchCharLength: 1,
|
||||||
|
keys: [
|
||||||
|
"fqsen",
|
||||||
|
"name",
|
||||||
|
"summary",
|
||||||
|
"url"
|
||||||
|
]
|
||||||
|
};
|
||||||
|
|
||||||
|
// Credit David Walsh (https://davidwalsh.name/javascript-debounce-function)
|
||||||
|
// Returns a function, that, as long as it continues to be invoked, will not
|
||||||
|
// be triggered. The function will be called after it stops being called for
|
||||||
|
// N milliseconds. If `immediate` is passed, trigger the function on the
|
||||||
|
// leading edge, instead of the trailing.
|
||||||
|
function debounce(func, wait, immediate) {
|
||||||
|
var timeout;
|
||||||
|
|
||||||
|
return function executedFunction() {
|
||||||
|
var context = this;
|
||||||
|
var args = arguments;
|
||||||
|
|
||||||
|
var later = function () {
|
||||||
|
timeout = null;
|
||||||
|
if (!immediate) func.apply(context, args);
|
||||||
|
};
|
||||||
|
|
||||||
|
var callNow = immediate && !timeout;
|
||||||
|
clearTimeout(timeout);
|
||||||
|
timeout = setTimeout(later, wait);
|
||||||
|
if (callNow) func.apply(context, args);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
function close() {
|
||||||
|
// Start scroll prevention: https://css-tricks.com/prevent-page-scrolling-when-a-modal-is-open/
|
||||||
|
const scrollY = document.body.style.top;
|
||||||
|
document.body.style.position = '';
|
||||||
|
document.body.style.top = '';
|
||||||
|
window.scrollTo(0, parseInt(scrollY || '0') * -1);
|
||||||
|
// End scroll prevention
|
||||||
|
|
||||||
|
var form = document.querySelector('[data-search-form]');
|
||||||
|
var searchResults = document.querySelector('[data-search-results]');
|
||||||
|
|
||||||
|
form.classList.toggle('phpdocumentor-search--has-results', false);
|
||||||
|
searchResults.classList.add('phpdocumentor-search-results--hidden');
|
||||||
|
var searchField = document.querySelector('[data-search-form] input[type="search"]');
|
||||||
|
searchField.blur();
|
||||||
|
}
|
||||||
|
|
||||||
|
function search(event) {
|
||||||
|
// Start scroll prevention: https://css-tricks.com/prevent-page-scrolling-when-a-modal-is-open/
|
||||||
|
document.body.style.position = 'fixed';
|
||||||
|
document.body.style.top = `-${window.scrollY}px`;
|
||||||
|
// End scroll prevention
|
||||||
|
|
||||||
|
// prevent enter's from autosubmitting
|
||||||
|
event.stopPropagation();
|
||||||
|
|
||||||
|
var form = document.querySelector('[data-search-form]');
|
||||||
|
var searchResults = document.querySelector('[data-search-results]');
|
||||||
|
var searchResultEntries = document.querySelector('[data-search-results] .phpdocumentor-search-results__entries');
|
||||||
|
|
||||||
|
searchResultEntries.innerHTML = '';
|
||||||
|
|
||||||
|
if (!event.target.value) {
|
||||||
|
close();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
form.classList.toggle('phpdocumentor-search--has-results', true);
|
||||||
|
searchResults.classList.remove('phpdocumentor-search-results--hidden');
|
||||||
|
var results = fuse.search(event.target.value, {limit: 25});
|
||||||
|
|
||||||
|
results.forEach(function (result) {
|
||||||
|
var entry = document.createElement("li");
|
||||||
|
entry.classList.add("phpdocumentor-search-results__entry");
|
||||||
|
entry.innerHTML += '<h3><a href="' + document.baseURI + result.url + '">' + result.name + "</h3>\n";
|
||||||
|
entry.innerHTML += '<small>' + result.fqsen + "</small>\n";
|
||||||
|
entry.innerHTML += '<div class="phpdocumentor-summary">' + result.summary + '</div>';
|
||||||
|
searchResultEntries.appendChild(entry)
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function appendIndex(added) {
|
||||||
|
index = index.concat(added);
|
||||||
|
|
||||||
|
// re-initialize search engine when appending an index after initialisation
|
||||||
|
if (typeof fuse !== 'undefined') {
|
||||||
|
fuse = new Fuse(index, options);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function init() {
|
||||||
|
fuse = new Fuse(index, options);
|
||||||
|
|
||||||
|
var form = document.querySelector('[data-search-form]');
|
||||||
|
var searchField = document.querySelector('[data-search-form] input[type="search"]');
|
||||||
|
|
||||||
|
var closeButton = document.querySelector('.phpdocumentor-search-results__close');
|
||||||
|
closeButton.addEventListener('click', function() { close() }.bind(this));
|
||||||
|
|
||||||
|
var searchResults = document.querySelector('[data-search-results]');
|
||||||
|
searchResults.addEventListener('click', function() { close() }.bind(this));
|
||||||
|
|
||||||
|
form.classList.add('phpdocumentor-search--active');
|
||||||
|
|
||||||
|
searchField.setAttribute('placeholder', 'Search (Press "/" to focus)');
|
||||||
|
searchField.removeAttribute('disabled');
|
||||||
|
searchField.addEventListener('keyup', debounce(search, 300));
|
||||||
|
|
||||||
|
window.addEventListener('keyup', function (event) {
|
||||||
|
if (event.key === '/') {
|
||||||
|
searchField.focus();
|
||||||
|
}
|
||||||
|
if (event.code === 'Escape') {
|
||||||
|
close();
|
||||||
|
}
|
||||||
|
}.bind(this));
|
||||||
|
}
|
||||||
|
|
||||||
|
return {
|
||||||
|
appendIndex,
|
||||||
|
init
|
||||||
|
}
|
||||||
|
})();
|
||||||
|
|
||||||
|
window.addEventListener('DOMContentLoaded', function () {
|
||||||
|
var form = document.querySelector('[data-search-form]');
|
||||||
|
|
||||||
|
// When JS is supported; show search box. Must be before including the search for it to take effect immediately
|
||||||
|
form.classList.add('phpdocumentor-search--enabled');
|
||||||
|
});
|
||||||
|
|
||||||
|
window.addEventListener('load', function () {
|
||||||
|
Search.init();
|
||||||
|
});
|
739
docs/js/searchIndex.js
Normal file
739
docs/js/searchIndex.js
Normal file
@ -0,0 +1,739 @@
|
|||||||
|
Search.appendIndex(
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Callback\\AuthorizationFormInterface",
|
||||||
|
"name": "AuthorizationFormInterface",
|
||||||
|
"summary": "Authorization\u0020Form\u0020Interface",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Callback-AuthorizationFormInterface.html"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Callback\\AuthorizationFormInterface\u003A\u003AshowForm\u0028\u0029",
|
||||||
|
"name": "showForm",
|
||||||
|
"summary": "Show\u0020Form",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Callback-AuthorizationFormInterface.html#method_showForm"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Callback\\AuthorizationFormInterface\u003A\u003AtransformAuthorizationCode\u0028\u0029",
|
||||||
|
"name": "transformAuthorizationCode",
|
||||||
|
"summary": "Transform\u0020Authorization\u0020Code",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Callback-AuthorizationFormInterface.html#method_transformAuthorizationCode"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Callback\\DefaultAuthorizationForm",
|
||||||
|
"name": "DefaultAuthorizationForm",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Callback\\DefaultAuthorizationForm\u003A\u003A__construct\u0028\u0029",
|
||||||
|
"name": "__construct",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#method___construct"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Callback\\DefaultAuthorizationForm\u003A\u003AshowForm\u0028\u0029",
|
||||||
|
"name": "showForm",
|
||||||
|
"summary": "Show\u0020Form",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#method_showForm"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Callback\\DefaultAuthorizationForm\u003A\u003AtransformAuthorizationCode\u0028\u0029",
|
||||||
|
"name": "transformAuthorizationCode",
|
||||||
|
"summary": "Transform\u0020Authorization\u0020Code",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#method_transformAuthorizationCode"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Callback\\DefaultAuthorizationForm\u003A\u003AsetLogger\u0028\u0029",
|
||||||
|
"name": "setLogger",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#method_setLogger"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Callback\\DefaultAuthorizationForm\u003A\u003A\u0024csrfKey",
|
||||||
|
"name": "csrfKey",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#property_csrfKey"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Callback\\DefaultAuthorizationForm\u003A\u003A\u0024formTemplatePath",
|
||||||
|
"name": "formTemplatePath",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#property_formTemplatePath"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Callback\\DefaultAuthorizationForm\u003A\u003A\u0024logger",
|
||||||
|
"name": "logger",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html#property_logger"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Callback\\SingleUserPasswordAuthenticationCallback",
|
||||||
|
"name": "SingleUserPasswordAuthenticationCallback",
|
||||||
|
"summary": "Single\u0020User\u0020Password\u0020Authentication\u0020Callback",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Callback\\SingleUserPasswordAuthenticationCallback\u003A\u003A__construct\u0028\u0029",
|
||||||
|
"name": "__construct",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#method___construct"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Callback\\SingleUserPasswordAuthenticationCallback\u003A\u003A__invoke\u0028\u0029",
|
||||||
|
"name": "__invoke",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#method___invoke"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Callback\\SingleUserPasswordAuthenticationCallback\u003A\u003APASSWORD_FORM_PARAMETER",
|
||||||
|
"name": "PASSWORD_FORM_PARAMETER",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#constant_PASSWORD_FORM_PARAMETER"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Callback\\SingleUserPasswordAuthenticationCallback\u003A\u003A\u0024csrfKey",
|
||||||
|
"name": "csrfKey",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#property_csrfKey"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Callback\\SingleUserPasswordAuthenticationCallback\u003A\u003A\u0024formTemplate",
|
||||||
|
"name": "formTemplate",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#property_formTemplate"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Callback\\SingleUserPasswordAuthenticationCallback\u003A\u003A\u0024user",
|
||||||
|
"name": "user",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#property_user"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Callback\\SingleUserPasswordAuthenticationCallback\u003A\u003A\u0024hashedPassword",
|
||||||
|
"name": "hashedPassword",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html#property_hashedPassword"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\generateRandomString\u0028\u0029",
|
||||||
|
"name": "generateRandomString",
|
||||||
|
"summary": "",
|
||||||
|
"url": "namespaces/taproot-indieauth.html#function_generateRandomString"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\generateRandomPrintableAsciiString\u0028\u0029",
|
||||||
|
"name": "generateRandomPrintableAsciiString",
|
||||||
|
"summary": "",
|
||||||
|
"url": "namespaces/taproot-indieauth.html#function_generateRandomPrintableAsciiString"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\generatePKCECodeChallenge\u0028\u0029",
|
||||||
|
"name": "generatePKCECodeChallenge",
|
||||||
|
"summary": "",
|
||||||
|
"url": "namespaces/taproot-indieauth.html#function_generatePKCECodeChallenge"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\base64_urlencode\u0028\u0029",
|
||||||
|
"name": "base64_urlencode",
|
||||||
|
"summary": "",
|
||||||
|
"url": "namespaces/taproot-indieauth.html#function_base64_urlencode"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\hashAuthorizationRequestParameters\u0028\u0029",
|
||||||
|
"name": "hashAuthorizationRequestParameters",
|
||||||
|
"summary": "",
|
||||||
|
"url": "namespaces/taproot-indieauth.html#function_hashAuthorizationRequestParameters"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\isIndieAuthAuthorizationCodeRedeemingRequest\u0028\u0029",
|
||||||
|
"name": "isIndieAuthAuthorizationCodeRedeemingRequest",
|
||||||
|
"summary": "",
|
||||||
|
"url": "namespaces/taproot-indieauth.html#function_isIndieAuthAuthorizationCodeRedeemingRequest"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\isIndieAuthAuthorizationRequest\u0028\u0029",
|
||||||
|
"name": "isIndieAuthAuthorizationRequest",
|
||||||
|
"summary": "",
|
||||||
|
"url": "namespaces/taproot-indieauth.html#function_isIndieAuthAuthorizationRequest"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\isAuthorizationApprovalRequest\u0028\u0029",
|
||||||
|
"name": "isAuthorizationApprovalRequest",
|
||||||
|
"summary": "",
|
||||||
|
"url": "namespaces/taproot-indieauth.html#function_isAuthorizationApprovalRequest"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\buildQueryString\u0028\u0029",
|
||||||
|
"name": "buildQueryString",
|
||||||
|
"summary": "",
|
||||||
|
"url": "namespaces/taproot-indieauth.html#function_buildQueryString"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\urlComponentsMatch\u0028\u0029",
|
||||||
|
"name": "urlComponentsMatch",
|
||||||
|
"summary": "",
|
||||||
|
"url": "namespaces/taproot-indieauth.html#function_urlComponentsMatch"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\appendQueryParams\u0028\u0029",
|
||||||
|
"name": "appendQueryParams",
|
||||||
|
"summary": "Append\u0020Query\u0020Parameters",
|
||||||
|
"url": "namespaces/taproot-indieauth.html#function_appendQueryParams"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\trySetLogger\u0028\u0029",
|
||||||
|
"name": "trySetLogger",
|
||||||
|
"summary": "Try\u0020setLogger",
|
||||||
|
"url": "namespaces/taproot-indieauth.html#function_trySetLogger"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\renderTemplate\u0028\u0029",
|
||||||
|
"name": "renderTemplate",
|
||||||
|
"summary": "",
|
||||||
|
"url": "namespaces/taproot-indieauth.html#function_renderTemplate"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\isClientIdentifier\u0028\u0029",
|
||||||
|
"name": "isClientIdentifier",
|
||||||
|
"summary": "Check\u0020if\u0020a\u0020provided\u0020string\u0020matches\u0020the\u0020IndieAuth\u0020criteria\u0020for\u0020a\u0020Client\u0020Identifier.",
|
||||||
|
"url": "namespaces/taproot-indieauth.html#function_isClientIdentifier"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\isProfileUrl\u0028\u0029",
|
||||||
|
"name": "isProfileUrl",
|
||||||
|
"summary": "Check\u0020if\u0020a\u0020provided\u0020string\u0020matches\u0020the\u0020IndieAuth\u0020criteria\u0020for\u0020a\u0020User\u0020Profile\u0020URL.",
|
||||||
|
"url": "namespaces/taproot-indieauth.html#function_isProfileUrl"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\isValidState\u0028\u0029",
|
||||||
|
"name": "isValidState",
|
||||||
|
"summary": "OAuth\u00202.0\u0020limits\u0020what\u0020values\u0020are\u0020valid\u0020for\u0020state.",
|
||||||
|
"url": "namespaces/taproot-indieauth.html#function_isValidState"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\isValidCodeChallenge\u0028\u0029",
|
||||||
|
"name": "isValidCodeChallenge",
|
||||||
|
"summary": "IndieAuth\u0020requires\u0020PKCE.\u0020This\u0020implementation\u0020supports\u0020only\u0020S256\u0020for\u0020hashing.",
|
||||||
|
"url": "namespaces/taproot-indieauth.html#function_isValidCodeChallenge"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\isValidScope\u0028\u0029",
|
||||||
|
"name": "isValidScope",
|
||||||
|
"summary": "OAuth\u00202.0\u0020limits\u0020what\u0020values\u0020are\u0020valid\u0020for\u0020scope.",
|
||||||
|
"url": "namespaces/taproot-indieauth.html#function_isValidScope"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\IndieAuthException",
|
||||||
|
"name": "IndieAuthException",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-IndieAuthException.html"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\IndieAuthException\u003A\u003Acreate\u0028\u0029",
|
||||||
|
"name": "create",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-IndieAuthException.html#method_create"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\IndieAuthException\u003A\u003AgetStatusCode\u0028\u0029",
|
||||||
|
"name": "getStatusCode",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-IndieAuthException.html#method_getStatusCode"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\IndieAuthException\u003A\u003AgetExplanation\u0028\u0029",
|
||||||
|
"name": "getExplanation",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-IndieAuthException.html#method_getExplanation"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\IndieAuthException\u003A\u003AgetInfo\u0028\u0029",
|
||||||
|
"name": "getInfo",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-IndieAuthException.html#method_getInfo"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\IndieAuthException\u003A\u003AtrustQueryParams\u0028\u0029",
|
||||||
|
"name": "trustQueryParams",
|
||||||
|
"summary": "Trust\u0020Query\u0020Params",
|
||||||
|
"url": "classes/Taproot-IndieAuth-IndieAuthException.html#method_trustQueryParams"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\IndieAuthException\u003A\u003AgetRequest\u0028\u0029",
|
||||||
|
"name": "getRequest",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-IndieAuthException.html#method_getRequest"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\IndieAuthException\u003A\u003AINTERNAL_ERROR",
|
||||||
|
"name": "INTERNAL_ERROR",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-IndieAuthException.html#constant_INTERNAL_ERROR"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\IndieAuthException\u003A\u003AINTERNAL_ERROR_REDIRECT",
|
||||||
|
"name": "INTERNAL_ERROR_REDIRECT",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-IndieAuthException.html#constant_INTERNAL_ERROR_REDIRECT"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\IndieAuthException\u003A\u003AAUTHENTICATION_CALLBACK_MISSING_ME_PARAM",
|
||||||
|
"name": "AUTHENTICATION_CALLBACK_MISSING_ME_PARAM",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-IndieAuthException.html#constant_AUTHENTICATION_CALLBACK_MISSING_ME_PARAM"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\IndieAuthException\u003A\u003AAUTHORIZATION_APPROVAL_REQUEST_MISSING_HASH",
|
||||||
|
"name": "AUTHORIZATION_APPROVAL_REQUEST_MISSING_HASH",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-IndieAuthException.html#constant_AUTHORIZATION_APPROVAL_REQUEST_MISSING_HASH"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\IndieAuthException\u003A\u003AAUTHORIZATION_APPROVAL_REQUEST_INVALID_HASH",
|
||||||
|
"name": "AUTHORIZATION_APPROVAL_REQUEST_INVALID_HASH",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-IndieAuthException.html#constant_AUTHORIZATION_APPROVAL_REQUEST_INVALID_HASH"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\IndieAuthException\u003A\u003AHTTP_EXCEPTION_FETCHING_CLIENT_ID",
|
||||||
|
"name": "HTTP_EXCEPTION_FETCHING_CLIENT_ID",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-IndieAuthException.html#constant_HTTP_EXCEPTION_FETCHING_CLIENT_ID"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\IndieAuthException\u003A\u003AINTERNAL_EXCEPTION_FETCHING_CLIENT_ID",
|
||||||
|
"name": "INTERNAL_EXCEPTION_FETCHING_CLIENT_ID",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-IndieAuthException.html#constant_INTERNAL_EXCEPTION_FETCHING_CLIENT_ID"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\IndieAuthException\u003A\u003AINVALID_REDIRECT_URI",
|
||||||
|
"name": "INVALID_REDIRECT_URI",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-IndieAuthException.html#constant_INVALID_REDIRECT_URI"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\IndieAuthException\u003A\u003AINVALID_CLIENT_ID",
|
||||||
|
"name": "INVALID_CLIENT_ID",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-IndieAuthException.html#constant_INVALID_CLIENT_ID"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\IndieAuthException\u003A\u003AINVALID_STATE",
|
||||||
|
"name": "INVALID_STATE",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-IndieAuthException.html#constant_INVALID_STATE"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\IndieAuthException\u003A\u003AINVALID_CODE_CHALLENGE",
|
||||||
|
"name": "INVALID_CODE_CHALLENGE",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-IndieAuthException.html#constant_INVALID_CODE_CHALLENGE"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\IndieAuthException\u003A\u003AINVALID_SCOPE",
|
||||||
|
"name": "INVALID_SCOPE",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-IndieAuthException.html#constant_INVALID_SCOPE"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\IndieAuthException\u003A\u003AEXC_INFO",
|
||||||
|
"name": "EXC_INFO",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-IndieAuthException.html#constant_EXC_INFO"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\IndieAuthException\u003A\u003A\u0024request",
|
||||||
|
"name": "request",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-IndieAuthException.html#property_request"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\ClosureRequestHandler",
|
||||||
|
"name": "ClosureRequestHandler",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-ClosureRequestHandler.html"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\ClosureRequestHandler\u003A\u003A__construct\u0028\u0029",
|
||||||
|
"name": "__construct",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-ClosureRequestHandler.html#method___construct"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\ClosureRequestHandler\u003A\u003Ahandle\u0028\u0029",
|
||||||
|
"name": "handle",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-ClosureRequestHandler.html#method_handle"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\ClosureRequestHandler\u003A\u003A\u0024callable",
|
||||||
|
"name": "callable",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-ClosureRequestHandler.html#property_callable"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\ClosureRequestHandler\u003A\u003A\u0024args",
|
||||||
|
"name": "args",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-ClosureRequestHandler.html#property_args"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\DoubleSubmitCookieCsrfMiddleware",
|
||||||
|
"name": "DoubleSubmitCookieCsrfMiddleware",
|
||||||
|
"summary": "Double\u002DSubmit\u0020Cookie\u0020CSRF\u0020Middleware",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\DoubleSubmitCookieCsrfMiddleware\u003A\u003A__construct\u0028\u0029",
|
||||||
|
"name": "__construct",
|
||||||
|
"summary": "Constructor",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#method___construct"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\DoubleSubmitCookieCsrfMiddleware\u003A\u003AsetLogger\u0028\u0029",
|
||||||
|
"name": "setLogger",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#method_setLogger"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\DoubleSubmitCookieCsrfMiddleware\u003A\u003Aprocess\u0028\u0029",
|
||||||
|
"name": "process",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#method_process"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\DoubleSubmitCookieCsrfMiddleware\u003A\u003AisValid\u0028\u0029",
|
||||||
|
"name": "isValid",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#method_isValid"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\DoubleSubmitCookieCsrfMiddleware\u003A\u003AREAD_METHODS",
|
||||||
|
"name": "READ_METHODS",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#constant_READ_METHODS"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\DoubleSubmitCookieCsrfMiddleware\u003A\u003ATTL",
|
||||||
|
"name": "TTL",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#constant_TTL"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\DoubleSubmitCookieCsrfMiddleware\u003A\u003AATTRIBUTE",
|
||||||
|
"name": "ATTRIBUTE",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#constant_ATTRIBUTE"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\DoubleSubmitCookieCsrfMiddleware\u003A\u003ADEFAULT_ERROR_RESPONSE_STRING",
|
||||||
|
"name": "DEFAULT_ERROR_RESPONSE_STRING",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#constant_DEFAULT_ERROR_RESPONSE_STRING"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\DoubleSubmitCookieCsrfMiddleware\u003A\u003ACSRF_TOKEN_LENGTH",
|
||||||
|
"name": "CSRF_TOKEN_LENGTH",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#constant_CSRF_TOKEN_LENGTH"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\DoubleSubmitCookieCsrfMiddleware\u003A\u003A\u0024attribute",
|
||||||
|
"name": "attribute",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#property_attribute"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\DoubleSubmitCookieCsrfMiddleware\u003A\u003A\u0024ttl",
|
||||||
|
"name": "ttl",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#property_ttl"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\DoubleSubmitCookieCsrfMiddleware\u003A\u003A\u0024errorResponse",
|
||||||
|
"name": "errorResponse",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#property_errorResponse"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\DoubleSubmitCookieCsrfMiddleware\u003A\u003A\u0024tokenLength",
|
||||||
|
"name": "tokenLength",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#property_tokenLength"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\DoubleSubmitCookieCsrfMiddleware\u003A\u003A\u0024logger",
|
||||||
|
"name": "logger",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html#property_logger"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\NoOpMiddleware",
|
||||||
|
"name": "NoOpMiddleware",
|
||||||
|
"summary": "No\u002DOp\u0020Middleware",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-NoOpMiddleware.html"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\NoOpMiddleware\u003A\u003Aprocess\u0028\u0029",
|
||||||
|
"name": "process",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-NoOpMiddleware.html#method_process"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\ResponseRequestHandler",
|
||||||
|
"name": "ResponseRequestHandler",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-ResponseRequestHandler.html"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\ResponseRequestHandler\u003A\u003A__construct\u0028\u0029",
|
||||||
|
"name": "__construct",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-ResponseRequestHandler.html#method___construct"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\ResponseRequestHandler\u003A\u003Ahandle\u0028\u0029",
|
||||||
|
"name": "handle",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-ResponseRequestHandler.html#method_handle"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware\\ResponseRequestHandler\u003A\u003A\u0024response",
|
||||||
|
"name": "response",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Middleware-ResponseRequestHandler.html#property_response"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Server",
|
||||||
|
"name": "Server",
|
||||||
|
"summary": "IndieAuth\u0020Server",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Server.html"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Server\u003A\u003A__construct\u0028\u0029",
|
||||||
|
"name": "__construct",
|
||||||
|
"summary": "Constructor",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Server.html#method___construct"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Server\u003A\u003AgetTokenStorage\u0028\u0029",
|
||||||
|
"name": "getTokenStorage",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Server.html#method_getTokenStorage"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Server\u003A\u003AhandleAuthorizationEndpointRequest\u0028\u0029",
|
||||||
|
"name": "handleAuthorizationEndpointRequest",
|
||||||
|
"summary": "Handle\u0020Authorization\u0020Endpoint\u0020Request",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Server.html#method_handleAuthorizationEndpointRequest"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Server\u003A\u003AhandleTokenEndpointRequest\u0028\u0029",
|
||||||
|
"name": "handleTokenEndpointRequest",
|
||||||
|
"summary": "Handle\u0020Token\u0020Endpoint\u0020Request",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Server.html#method_handleTokenEndpointRequest"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Server\u003A\u003AhandleException\u0028\u0029",
|
||||||
|
"name": "handleException",
|
||||||
|
"summary": "Handle\u0020Exception",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Server.html#method_handleException"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Server\u003A\u003AHANDLE_NON_INDIEAUTH_REQUEST",
|
||||||
|
"name": "HANDLE_NON_INDIEAUTH_REQUEST",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Server.html#constant_HANDLE_NON_INDIEAUTH_REQUEST"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Server\u003A\u003AHANDLE_AUTHENTICATION_REQUEST",
|
||||||
|
"name": "HANDLE_AUTHENTICATION_REQUEST",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Server.html#constant_HANDLE_AUTHENTICATION_REQUEST"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Server\u003A\u003AHASH_QUERY_STRING_KEY",
|
||||||
|
"name": "HASH_QUERY_STRING_KEY",
|
||||||
|
"summary": "The\u0020query\u0020string\u0020parameter\u0020key\u0020used\u0020for\u0020storing\u0020the\u0020hash\u0020used\u0020for\u0020validating\u0020authorization\u0020request\u0020parameters.",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Server.html#constant_HASH_QUERY_STRING_KEY"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Server\u003A\u003ADEFAULT_CSRF_KEY",
|
||||||
|
"name": "DEFAULT_CSRF_KEY",
|
||||||
|
"summary": "The\u0020key\u0020used\u0020to\u0020store\u0020the\u0020CSRF\u0020token\u0020everywhere\u0020it\u2019s\u0020used\u003A\u0020Request\u0020parameters,\u0020Request\u0020body,\u0020and\u0020Cookies.",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Server.html#constant_DEFAULT_CSRF_KEY"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Server\u003A\u003AAPPROVE_ACTION_KEY",
|
||||||
|
"name": "APPROVE_ACTION_KEY",
|
||||||
|
"summary": "The\u0020form\u0020data\u0020key\u0020used\u0020for\u0020identifying\u0020a\u0020request\u0020as\u0020an\u0020authorization\u0020\u0028consent\u0020screen\u0029\u0020form\u0020submissions.",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Server.html#constant_APPROVE_ACTION_KEY"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Server\u003A\u003AAPPROVE_ACTION_VALUE",
|
||||||
|
"name": "APPROVE_ACTION_VALUE",
|
||||||
|
"summary": "The\u0020form\u0020data\u0020value\u0020used\u0020for\u0020identifying\u0020a\u0020request\u0020as\u0020an\u0020authorization\u0020\u0028consent\u0020screen\u0029\u0020form\u0020submissions.",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Server.html#constant_APPROVE_ACTION_VALUE"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Server\u003A\u003A\u0024tokenStorage",
|
||||||
|
"name": "tokenStorage",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Server.html#property_tokenStorage"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Server\u003A\u003A\u0024authorizationForm",
|
||||||
|
"name": "authorizationForm",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Server.html#property_authorizationForm"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Server\u003A\u003A\u0024csrfMiddleware",
|
||||||
|
"name": "csrfMiddleware",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Server.html#property_csrfMiddleware"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Server\u003A\u003A\u0024logger",
|
||||||
|
"name": "logger",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Server.html#property_logger"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Server\u003A\u003A\u0024httpGetWithEffectiveUrl",
|
||||||
|
"name": "httpGetWithEffectiveUrl",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Server.html#property_httpGetWithEffectiveUrl"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Server\u003A\u003A\u0024handleAuthenticationRequestCallback",
|
||||||
|
"name": "handleAuthenticationRequestCallback",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Server.html#property_handleAuthenticationRequestCallback"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Server\u003A\u003A\u0024handleNonIndieAuthRequest",
|
||||||
|
"name": "handleNonIndieAuthRequest",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Server.html#property_handleNonIndieAuthRequest"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Server\u003A\u003A\u0024exceptionTemplatePath",
|
||||||
|
"name": "exceptionTemplatePath",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Server.html#property_exceptionTemplatePath"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Server\u003A\u003A\u0024secret",
|
||||||
|
"name": "secret",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Server.html#property_secret"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\FilesystemJsonStorage",
|
||||||
|
"name": "FilesystemJsonStorage",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\FilesystemJsonStorage\u003A\u003A__construct\u0028\u0029",
|
||||||
|
"name": "__construct",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html#method___construct"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\FilesystemJsonStorage\u003A\u003AsetLogger\u0028\u0029",
|
||||||
|
"name": "setLogger",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html#method_setLogger"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\FilesystemJsonStorage\u003A\u003AcreateAuthCode\u0028\u0029",
|
||||||
|
"name": "createAuthCode",
|
||||||
|
"summary": "Create\u0020Auth\u0020Code",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html#method_createAuthCode"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\FilesystemJsonStorage\u003A\u003AexchangeAuthCodeForAccessToken\u0028\u0029",
|
||||||
|
"name": "exchangeAuthCodeForAccessToken",
|
||||||
|
"summary": "Exchange\u0020Authorization\u0020Code\u0020for\u0020Access\u0020Token",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html#method_exchangeAuthCodeForAccessToken"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\FilesystemJsonStorage\u003A\u003AgetAccessToken\u0028\u0029",
|
||||||
|
"name": "getAccessToken",
|
||||||
|
"summary": "Get\u0020Access\u0020Token",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html#method_getAccessToken"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\FilesystemJsonStorage\u003A\u003ArevokeAccessToken\u0028\u0029",
|
||||||
|
"name": "revokeAccessToken",
|
||||||
|
"summary": "Revoke\u0020Access\u0020Token",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html#method_revokeAccessToken"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\FilesystemJsonStorage\u003A\u003AdeleteExpiredTokens\u0028\u0029",
|
||||||
|
"name": "deleteExpiredTokens",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html#method_deleteExpiredTokens"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\FilesystemJsonStorage\u003A\u003Aget\u0028\u0029",
|
||||||
|
"name": "get",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html#method_get"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\FilesystemJsonStorage\u003A\u003Aput\u0028\u0029",
|
||||||
|
"name": "put",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html#method_put"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\FilesystemJsonStorage\u003A\u003Adelete\u0028\u0029",
|
||||||
|
"name": "delete",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html#method_delete"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\FilesystemJsonStorage\u003A\u003AgetPath\u0028\u0029",
|
||||||
|
"name": "getPath",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html#method_getPath"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\FilesystemJsonStorage\u003A\u003AwithLock\u0028\u0029",
|
||||||
|
"name": "withLock",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html#method_withLock"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\FilesystemJsonStorage\u003A\u003Ahash\u0028\u0029",
|
||||||
|
"name": "hash",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html#method_hash"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\FilesystemJsonStorage\u003A\u003ADEFAULT_AUTH_CODE_TTL",
|
||||||
|
"name": "DEFAULT_AUTH_CODE_TTL",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html#constant_DEFAULT_AUTH_CODE_TTL"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\FilesystemJsonStorage\u003A\u003ADEFAULT_ACCESS_TOKEN_TTL",
|
||||||
|
"name": "DEFAULT_ACCESS_TOKEN_TTL",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html#constant_DEFAULT_ACCESS_TOKEN_TTL"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\FilesystemJsonStorage\u003A\u003ATOKEN_LENGTH",
|
||||||
|
"name": "TOKEN_LENGTH",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html#constant_TOKEN_LENGTH"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\FilesystemJsonStorage\u003A\u003A\u0024path",
|
||||||
|
"name": "path",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html#property_path"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\FilesystemJsonStorage\u003A\u003A\u0024authCodeTtl",
|
||||||
|
"name": "authCodeTtl",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html#property_authCodeTtl"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\FilesystemJsonStorage\u003A\u003A\u0024accessTokenTtl",
|
||||||
|
"name": "accessTokenTtl",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html#property_accessTokenTtl"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\FilesystemJsonStorage\u003A\u003A\u0024secret",
|
||||||
|
"name": "secret",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html#property_secret"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\FilesystemJsonStorage\u003A\u003A\u0024logger",
|
||||||
|
"name": "logger",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html#property_logger"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\Sqlite3Storage",
|
||||||
|
"name": "Sqlite3Storage",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-Sqlite3Storage.html"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\Token",
|
||||||
|
"name": "Token",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-Token.html"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\Token\u003A\u003A__construct\u0028\u0029",
|
||||||
|
"name": "__construct",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-Token.html#method___construct"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\Token\u003A\u003AgetData\u0028\u0029",
|
||||||
|
"name": "getData",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-Token.html#method_getData"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\Token\u003A\u003AgetKey\u0028\u0029",
|
||||||
|
"name": "getKey",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-Token.html#method_getKey"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\Token\u003A\u003A__toString\u0028\u0029",
|
||||||
|
"name": "__toString",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-Token.html#method___toString"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\Token\u003A\u003AjsonSerialize\u0028\u0029",
|
||||||
|
"name": "jsonSerialize",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-Token.html#method_jsonSerialize"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\Token\u003A\u003A\u0024key",
|
||||||
|
"name": "key",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-Token.html#property_key"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\Token\u003A\u003A\u0024data",
|
||||||
|
"name": "data",
|
||||||
|
"summary": "",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-Token.html#property_data"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\TokenStorageInterface",
|
||||||
|
"name": "TokenStorageInterface",
|
||||||
|
"summary": "Token\u0020Storage\u0020Interface",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-TokenStorageInterface.html"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\TokenStorageInterface\u003A\u003AcreateAuthCode\u0028\u0029",
|
||||||
|
"name": "createAuthCode",
|
||||||
|
"summary": "Create\u0020Auth\u0020Code",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-TokenStorageInterface.html#method_createAuthCode"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\TokenStorageInterface\u003A\u003AexchangeAuthCodeForAccessToken\u0028\u0029",
|
||||||
|
"name": "exchangeAuthCodeForAccessToken",
|
||||||
|
"summary": "Exchange\u0020Authorization\u0020Code\u0020for\u0020Access\u0020Token",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-TokenStorageInterface.html#method_exchangeAuthCodeForAccessToken"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\TokenStorageInterface\u003A\u003AgetAccessToken\u0028\u0029",
|
||||||
|
"name": "getAccessToken",
|
||||||
|
"summary": "Get\u0020Access\u0020Token",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-TokenStorageInterface.html#method_getAccessToken"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage\\TokenStorageInterface\u003A\u003ArevokeAccessToken\u0028\u0029",
|
||||||
|
"name": "revokeAccessToken",
|
||||||
|
"summary": "Revoke\u0020Access\u0020Token",
|
||||||
|
"url": "classes/Taproot-IndieAuth-Storage-TokenStorageInterface.html#method_revokeAccessToken"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\",
|
||||||
|
"name": "\\",
|
||||||
|
"summary": "",
|
||||||
|
"url": "namespaces/default.html"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Callback",
|
||||||
|
"name": "Callback",
|
||||||
|
"summary": "",
|
||||||
|
"url": "namespaces/taproot-indieauth-callback.html"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth",
|
||||||
|
"name": "IndieAuth",
|
||||||
|
"summary": "",
|
||||||
|
"url": "namespaces/taproot-indieauth.html"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot",
|
||||||
|
"name": "Taproot",
|
||||||
|
"summary": "",
|
||||||
|
"url": "namespaces/taproot.html"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Middleware",
|
||||||
|
"name": "Middleware",
|
||||||
|
"summary": "",
|
||||||
|
"url": "namespaces/taproot-indieauth-middleware.html"
|
||||||
|
}, {
|
||||||
|
"fqsen": "\\Taproot\\IndieAuth\\Storage",
|
||||||
|
"name": "Storage",
|
||||||
|
"summary": "",
|
||||||
|
"url": "namespaces/taproot-indieauth-storage.html"
|
||||||
|
} ]
|
||||||
|
);
|
119
docs/namespaces/default.html
Normal file
119
docs/namespaces/default.html
Normal file
@ -0,0 +1,119 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -namespace">
|
||||||
|
<h2 class="phpdocumentor-content__title">API Documentation</h2>
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="namespaces">
|
||||||
|
Namespaces
|
||||||
|
<a href="#namespaces" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></dt>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="namespaces/default.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
128
docs/namespaces/taproot-indieauth-callback.html
Normal file
128
docs/namespaces/taproot-indieauth-callback.html
Normal file
@ -0,0 +1,128 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot.html">Taproot</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth.html">IndieAuth</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -namespace">
|
||||||
|
<h2 class="phpdocumentor-content__title">Callback</h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -interface"><a href="classes/Taproot-IndieAuth-Callback-AuthorizationFormInterface.html"><abbr title="\Taproot\IndieAuth\Callback\AuthorizationFormInterface">AuthorizationFormInterface</abbr></a></dt>
|
||||||
|
<dd>Authorization Form Interface</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/Taproot-IndieAuth-Callback-DefaultAuthorizationForm.html"><abbr title="\Taproot\IndieAuth\Callback\DefaultAuthorizationForm">DefaultAuthorizationForm</abbr></a></dt>
|
||||||
|
<dd></dd>
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/Taproot-IndieAuth-Callback-SingleUserPasswordAuthenticationCallback.html"><abbr title="\Taproot\IndieAuth\Callback\SingleUserPasswordAuthenticationCallback">SingleUserPasswordAuthenticationCallback</abbr></a></dt>
|
||||||
|
<dd>Single User Password Authentication Callback</dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="namespaces/taproot-indieauth-callback.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
130
docs/namespaces/taproot-indieauth-middleware.html
Normal file
130
docs/namespaces/taproot-indieauth-middleware.html
Normal file
@ -0,0 +1,130 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot.html">Taproot</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth.html">IndieAuth</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -namespace">
|
||||||
|
<h2 class="phpdocumentor-content__title">Middleware</h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/Taproot-IndieAuth-Middleware-ClosureRequestHandler.html"><abbr title="\Taproot\IndieAuth\Middleware\ClosureRequestHandler">ClosureRequestHandler</abbr></a></dt>
|
||||||
|
<dd></dd>
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/Taproot-IndieAuth-Middleware-DoubleSubmitCookieCsrfMiddleware.html"><abbr title="\Taproot\IndieAuth\Middleware\DoubleSubmitCookieCsrfMiddleware">DoubleSubmitCookieCsrfMiddleware</abbr></a></dt>
|
||||||
|
<dd>Double-Submit Cookie CSRF Middleware</dd>
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/Taproot-IndieAuth-Middleware-NoOpMiddleware.html"><abbr title="\Taproot\IndieAuth\Middleware\NoOpMiddleware">NoOpMiddleware</abbr></a></dt>
|
||||||
|
<dd>No-Op Middleware</dd>
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/Taproot-IndieAuth-Middleware-ResponseRequestHandler.html"><abbr title="\Taproot\IndieAuth\Middleware\ResponseRequestHandler">ResponseRequestHandler</abbr></a></dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="namespaces/taproot-indieauth-middleware.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
130
docs/namespaces/taproot-indieauth-storage.html
Normal file
130
docs/namespaces/taproot-indieauth-storage.html
Normal file
@ -0,0 +1,130 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot.html">Taproot</a></li>
|
||||||
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/taproot-indieauth.html">IndieAuth</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -namespace">
|
||||||
|
<h2 class="phpdocumentor-content__title">Storage</h2>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="interfaces_class_traits">
|
||||||
|
Interfaces, Classes and Traits
|
||||||
|
<a href="#interfaces_class_traits" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -interface"><a href="classes/Taproot-IndieAuth-Storage-TokenStorageInterface.html"><abbr title="\Taproot\IndieAuth\Storage\TokenStorageInterface">TokenStorageInterface</abbr></a></dt>
|
||||||
|
<dd>Token Storage Interface</dd>
|
||||||
|
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/Taproot-IndieAuth-Storage-FilesystemJsonStorage.html"><abbr title="\Taproot\IndieAuth\Storage\FilesystemJsonStorage">FilesystemJsonStorage</abbr></a></dt>
|
||||||
|
<dd></dd>
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/Taproot-IndieAuth-Storage-Sqlite3Storage.html"><abbr title="\Taproot\IndieAuth\Storage\Sqlite3Storage">Sqlite3Storage</abbr></a></dt>
|
||||||
|
<dd></dd>
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/Taproot-IndieAuth-Storage-Token.html"><abbr title="\Taproot\IndieAuth\Storage\Token">Token</abbr></a></dt>
|
||||||
|
<dd></dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="namespaces/taproot-indieauth-storage.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
1012
docs/namespaces/taproot-indieauth.html
Normal file
1012
docs/namespaces/taproot-indieauth.html
Normal file
File diff suppressed because it is too large
Load Diff
119
docs/namespaces/taproot.html
Normal file
119
docs/namespaces/taproot.html
Normal file
@ -0,0 +1,119 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Documentation</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<article class="phpdocumentor-element -namespace">
|
||||||
|
<h2 class="phpdocumentor-content__title">Taproot</h2>
|
||||||
|
|
||||||
|
|
||||||
|
<h3 id="namespaces">
|
||||||
|
Namespaces
|
||||||
|
<a href="#namespaces" class="headerlink"><i class="fas fa-link"></i></a>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<dl class="phpdocumentor-table-of-contents">
|
||||||
|
<dt class="phpdocumentor-table-of-contents__entry -namespace"><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></dt>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</article>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="namespaces/taproot.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
1023
docs/packages/default.html
Normal file
1023
docs/packages/default.html
Normal file
File diff suppressed because it is too large
Load Diff
109
docs/reports/deprecated.html
Normal file
109
docs/reports/deprecated.html
Normal file
@ -0,0 +1,109 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title> Documentation » Deprecated elements
|
||||||
|
</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li><a href="">Home</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-row">
|
||||||
|
<h2 class="phpdocumentor-content__title">Deprecated</h2>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="phpdocumentor-admonition phpdocumentor-admonition--success">
|
||||||
|
No deprecated elements have been found in this project.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="reports/deprecated.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
108
docs/reports/errors.html
Normal file
108
docs/reports/errors.html
Normal file
@ -0,0 +1,108 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title> Documentation » Compilation errors
|
||||||
|
</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li><a href="">Home</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-row">
|
||||||
|
<h2 class="phpdocumentor-content__title">Errors</h2>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="phpdocumentor-admonition phpdocumentor-admonition--success">No errors have been found in this project.</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="reports/errors.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
109
docs/reports/markers.html
Normal file
109
docs/reports/markers.html
Normal file
@ -0,0 +1,109 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title> Documentation » Markers
|
||||||
|
</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<base href="../">
|
||||||
|
<link rel="icon" href="images/favicon.ico"/>
|
||||||
|
<link rel="stylesheet" href="css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="css/base.css">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/template.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/js/all.min.js" integrity="sha256-0vuk8LXoyrmCjp1f0O300qo1M75ZQyhH9X3J6d+scmk=" crossorigin="anonymous"></script>
|
||||||
|
<script src="js/search.js"></script>
|
||||||
|
<script defer src="js/searchIndex.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="top">
|
||||||
|
<header class="phpdocumentor-header phpdocumentor-section">
|
||||||
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
||||||
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
||||||
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
||||||
|
<i class="fas fa-bars"></i>
|
||||||
|
</label>
|
||||||
|
<section data-search-form class="phpdocumentor-search">
|
||||||
|
<label>
|
||||||
|
<span class="visually-hidden">Search for</span>
|
||||||
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
||||||
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
||||||
|
</svg>
|
||||||
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
||||||
|
</label>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<nav class="phpdocumentor-topnav">
|
||||||
|
<ul class="phpdocumentor-topnav__menu">
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main class="phpdocumentor">
|
||||||
|
<div class="phpdocumentor-section">
|
||||||
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
||||||
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
||||||
|
Menu
|
||||||
|
</label>
|
||||||
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
||||||
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/taproot.html"><abbr title="\Taproot">Taproot</abbr></a></h4>
|
||||||
|
<ul class="phpdocumentor-list">
|
||||||
|
<li><a href="namespaces/taproot-indieauth.html"><abbr title="\Taproot\IndieAuth">IndieAuth</abbr></a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="phpdocumentor-sidebar__category">
|
||||||
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
||||||
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
||||||
|
</section>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
||||||
|
<ul class="phpdocumentor-breadcrumbs">
|
||||||
|
<li><a href="">Home</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-row">
|
||||||
|
<h2 class="phpdocumentor-content__title">Markers</h2>
|
||||||
|
|
||||||
|
<div class="phpdocumentor-admonition phpdocumentor-admonition--success">
|
||||||
|
No markers have been found in this project.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
||||||
|
<section class="phpdocumentor-search-results__dialog">
|
||||||
|
<header class="phpdocumentor-search-results__header">
|
||||||
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
||||||
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
||||||
|
</header>
|
||||||
|
<section class="phpdocumentor-search-results__body">
|
||||||
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="reports/markers.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
cssVars({});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
18
phpdoc.dist.xml
Normal file
18
phpdoc.dist.xml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<phpdocumentor
|
||||||
|
configVersion="3"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xmlns="https://www.phpdoc.org"
|
||||||
|
xsi:noNamespaceSchemaLocation="https://docs.phpdoc.org/latest/phpdoc.xsd">
|
||||||
|
|
||||||
|
<paths>
|
||||||
|
<output>docs</output>
|
||||||
|
</paths>
|
||||||
|
<version number="3.0.0">
|
||||||
|
<api>
|
||||||
|
<source dsn=".">
|
||||||
|
<path>src</path>
|
||||||
|
</source>
|
||||||
|
</api>
|
||||||
|
</version>
|
||||||
|
</phpdocumentor>
|
Reference in New Issue
Block a user