Skip to content

👻 🟩 Verifies whether the current user is a Ghost member and returns general account information upon success.

License

Notifications You must be signed in to change notification settings

toddbirchard/ghost-member-session

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ghost Member Lambda

Go GitHub Last Commit GitHub Issues GitHub Stars GitHub Forks

Check the active user session belongs to a registered Ghost member. Returns member account information upon success.

Example Usage

Request:

$ curl https://hackersandslackers.app/.netlify/functions/ghost-member-lambda

Response:

{
    "uuid": "df0c49c7-8e71-4e8f-9ab5-97082063c4cd",
    "email": "toddbirchard+jfphhudgshjdiwhekjb@gmail.com",
    "name": null,
    "firstname": null,
    "avatar_image": "https://gravatar.com/avatar/5f2c7111462afaecd8bc5a79d21dfe7e?s=250&d=blank",
    "subscribed": true,
    "subscriptions": [],
    "paid": false
}

About

👻 🟩 Verifies whether the current user is a Ghost member and returns general account information upon success.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published