Skip to content

Commit 4ab31ea

Browse files
committed
rename: consumer to app
1 parent c6aebf5 commit 4ab31ea

File tree

19 files changed

+16
-16
lines changed

19 files changed

+16
-16
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88

99
## v0.2
1010

11-
### v0.2.0-19
11+
### v0.2.0-23
1212
- 🟥 massive full rewrite. everything's changed. no users yet.
1313

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
💖 **MIT Licensed** – totally free and open source
1313

1414
### A free login system for the world wide web
15-
- Try out the example integration live demo here: https://authlocal.org/consumer/
15+
- Try out the example integration live demo here: https://authlocal.org/app/
1616
- Your users click "Login", pick an identity, then *boom!* — they're logged into your site.
1717
- Next, you can use claim tokens, for your server to verify user requests.
1818

@@ -212,7 +212,7 @@ Your server verifies the proof, then the claim — proving the user authorized t
212212
## Authlocal glossary
213213
- **Authority** — the website that provides login sessions (authlocal.org)
214214
- `authorityOrigin` is the provider's origin, eg `https://authlocal.org`
215-
- **App / Consumer** — the third party website receiving login sessions (your website)
215+
- **App** — the third party website receiving login sessions (your website)
216216
- `appOrigin` is your app origin, eg `https://e280.org`
217217
- **Keypair** — an ed25519 keypair
218218
- `.id` is the public key (64 character hex string)

s/consumer/auth.ts renamed to s/app/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {signal} from "@benev/slate"
55
import {AuthOptions} from "./types.js"
66
import {defaults} from "./parts/defaults.js"
77
import {AuthStores} from "./parts/stores.js"
8-
import {Login} from "../trust/exports/consumer.js"
8+
import {Login} from "../trust/exports/app.js"
99
import {openPopup} from "./parts/open-popup.js"
1010
import {setupInApp} from "../trust/postmessage/setup-in-app.js"
1111
import {Session} from "../trust/exports/authority.js"
File renamed without changes.
File renamed without changes.

s/consumer/elements/auth-button/element.ts renamed to s/app/elements/auth-button/element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {TemplateResult, attributes, html, mixin} from "@benev/slate"
44

55
import stylesCss from "./styles.css.js"
66
import {AuthElement} from "../framework.js"
7-
import {Login} from "../../../trust/exports/consumer.js"
7+
import {Login} from "../../../trust/exports/app.js"
88

99
@mixin.css(stylesCss)
1010
export class AuthButton extends AuthElement {

s/consumer/elements/elements.ts renamed to s/app/elements/elements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {provideAuth} from "./framework.js"
77
import {AuthUser} from "./auth-user/element.js"
88
import {AuthButton} from "./auth-button/element.js"
99

10-
export const consumerElements = (auth: Auth) => Pipe
10+
export const appElements = (auth: Auth) => Pipe
1111
.with({AuthButton, AuthUser})
1212
.to(provideAuth(auth))
1313
.to(apply.reactive())

0 commit comments

Comments
 (0)