Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

trusted-accounts-sdk-node

Package Overview
Dependencies
Maintainers
0
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trusted-accounts-sdk-node - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

2

package.json
{
"name": "trusted-accounts-sdk-node",
"version": "1.3.2",
"version": "1.3.3",
"description": "A simple SDK for Trusted Accounts for NodeJS",

@@ -5,0 +5,0 @@ "main": "dist/TrustedAccountsClient.js",

@@ -14,12 +14,2 @@ # Trusted Accounts SDK for Node.js

```typescript
import TrustedAccountsSDK from 'trusted-accounts-sdk-node';
const taClient = new TrustedAccountsSDK({
clientId: 'YOUR_CLIENT_ID',
clientSecret: 'YOUR_CLIENT_SECRET',
redirectUri: 'YOUR_REDIRECT_URL'
});
```
### Example Usage

@@ -35,2 +25,3 @@

"CLIENT_ID", // Your Client ID
"CLIENT_SECRET", // Your Client Secret
"REDIRECT_URL" // Your Redirect URI

@@ -59,10 +50,2 @@ );

### Retrieve User Data
```typescript
app.get('/user', async (req, res) => {
const user = await taClient.getUser('USER_TRUSTED_ID');
res.json(user);
});
```
**That's it!** You have successfully integrated Trusted Accounts on your platform! 🖖 Try validate yourself and then go to the user list in the [**developer console**](https://developers.trustedaccounts.org/) to find the newly validated user.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc