diff options
Diffstat (limited to 'views/partials')
-rw-r--r-- | views/partials/auth-endpoint-help.php | 3 | ||||
-rw-r--r-- | views/partials/micropub-endpoint-help.php | 3 | ||||
-rw-r--r-- | views/partials/token-endpoint-help.php | 6 |
3 files changed, 12 insertions, 0 deletions
diff --git a/views/partials/auth-endpoint-help.php b/views/partials/auth-endpoint-help.php new file mode 100644 index 0000000..6378db4 --- /dev/null +++ b/views/partials/auth-endpoint-help.php @@ -0,0 +1,3 @@ + <p>You can create your own authorization endpoint, but it's easier to use an existing service such as <a href="https://indieauth.com/">IndieAuth.com</a>. To delegate to IndieAuth.com, you can use the markup provided below.</p> + <p><pre><code><link rel="authorization_endpoint" href="https://indieauth.com/auth"></code></pre></p> + <p><pre><code>Link: <https://indieauth.com/auth>; rel="authorization_endpoint"</code></pre></p> diff --git a/views/partials/micropub-endpoint-help.php b/views/partials/micropub-endpoint-help.php new file mode 100644 index 0000000..35705ca --- /dev/null +++ b/views/partials/micropub-endpoint-help.php @@ -0,0 +1,3 @@ + <p>You will need to <a href="/creating-a-micropub-endpoint">create a Micropub endpoint</a> for your website which can create posts on your site. Once you've created the Micropub endpoint, you can indicate its location using the markup below.</p> + <p><pre><code><link rel="micropub" href="https://<?= (property_exists($this, 'meParts') ? $this->meParts['host'] : 'example.com') ?>/micropub"></code></pre></p> + <p><pre><code>Link: <https://<?= (property_exists($this, 'meParts') ? $this->meParts['host'] : 'example.com') ?>/micropub>; rel="micropub"</code></pre></p> diff --git a/views/partials/token-endpoint-help.php b/views/partials/token-endpoint-help.php new file mode 100644 index 0000000..ea5442e --- /dev/null +++ b/views/partials/token-endpoint-help.php @@ -0,0 +1,6 @@ + <p>You can <a href="/creating-a-token-endpoint">create your own token endpoint</a> for + your website which can issue access tokens when given an authorization code, but + it's easier to use an existing service such as <a href="https://tokens.indieauth.com">tokens.indieauth.com</a>. + To use this service as your token endpoint, use the markup provided below.</p> + <p><pre><code><link rel="token_endpoint" href="https://tokens.indieauth.com/token"></code></pre></p> + <p><pre><code>Link: <https://tokens.indieauth.com/token>; rel="token_endpoint"</code></pre></p> |