initial commit. phase 1 complete

This commit is contained in:
2026-05-05 20:45:19 +02:00
parent d9c68313a0
commit 89e058ffac
20631 changed files with 3224610 additions and 43 deletions
+25
View File
@@ -0,0 +1,25 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = WordPress;
function WordPress(options) {
return {
id: "wordpress",
name: "WordPress.com",
type: "oauth",
authorization: "https://public-api.wordpress.com/oauth2/authorize?scope=auth",
token: "https://public-api.wordpress.com/oauth2/token",
userinfo: "https://public-api.wordpress.com/rest/v1/me",
profile(profile) {
return {
id: profile.ID,
name: profile.display_name,
email: profile.email,
image: profile.avatar_URL
};
},
options
};
}