mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-08-14 14:57:28 +00:00
Add communication account plugin scaffolds
This commit is contained in:
parent
5cfeea6b57
commit
c23ce42948
48 changed files with 1949 additions and 13 deletions
40
plugins/email-accounts/src/providers/index.ts
Normal file
40
plugins/email-accounts/src/providers/index.ts
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
import type { LogicSrcAccountProviderManifest } from "@logicsrc/account-core";
|
||||
|
||||
export const emailAccountProviderManifests: LogicSrcAccountProviderManifest[] = [
|
||||
{
|
||||
id: "imap-smtp",
|
||||
name: "IMAP + SMTP",
|
||||
kind: "email",
|
||||
authMethods: ["imap_smtp"],
|
||||
capabilities: ["email.headers.read", "email.search", "email.draft", "email.send"],
|
||||
defaultScopes: ["imap.read", "smtp.send"],
|
||||
status: "planned"
|
||||
},
|
||||
{
|
||||
id: "gmail",
|
||||
name: "Gmail",
|
||||
kind: "email",
|
||||
authMethods: ["oauth2"],
|
||||
capabilities: ["email.headers.read", "email.search", "email.body.read", "email.draft", "email.send", "email.labels.modify"],
|
||||
defaultScopes: ["https://www.googleapis.com/auth/gmail.metadata"],
|
||||
status: "planned"
|
||||
},
|
||||
{
|
||||
id: "microsoft-graph",
|
||||
name: "Microsoft Graph / Outlook",
|
||||
kind: "email",
|
||||
authMethods: ["oauth2"],
|
||||
capabilities: ["email.headers.read", "email.search", "email.body.read", "email.draft", "email.send"],
|
||||
defaultScopes: ["Mail.ReadBasic", "Mail.Send", "offline_access"],
|
||||
status: "planned"
|
||||
},
|
||||
{
|
||||
id: "forwardemail",
|
||||
name: "ForwardEmail.net",
|
||||
kind: "email",
|
||||
authMethods: ["imap_smtp", "api_key"],
|
||||
capabilities: ["email.headers.read", "email.search", "email.draft", "email.send"],
|
||||
defaultScopes: ["imap.read", "smtp.send"],
|
||||
status: "planned"
|
||||
}
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue