Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
@vendasta/accounts-sdk
Advanced tools
Readme
This provides a typescript implementation of the accounts microservice
To setup the sdk you will need to:
Install the sdk to your project
npm install @vendasta/accounts-sdk --save
Next, you will need to import and setup your navigation module (generally in app.module.ts
)
import { AccountsModule } from "@vendasta/accounts-sdk";
…
@NgModule({
…
imports: [
…, AccountsModule, …
]
})
The Accounts sdk requires the following vendasta packages to be implemented by the project:
EnvironmentService
(https://www.npmjs.com/package/@vendasta/environment-service)PartnerService
(https://www.npmjs.com/package/@vendasta/partner-service)SessionService
(https://www.npmjs.com/package/@vendasta/session-service)Please follow their instructions on how to set those packages up.
Inject the AccountGroupService into your component and you will be able to start using it!
import {AccountGroupService} from '@vendasta/account-group-sdk';
@Component({
selector: '…',
template: '…',
styles: '…'
})
export class …Component {
constructor(private accountGroupService: AccountGroupService) {
}
}
activateAddon(businessId: string, appId: string, addOnId: string): Observable<string>
Activate the addon of a product
deactivateAddon(businessId: string, appId: string, addonId: string, activationId: string): void
Deactivate the addon of a product
listAddonActivations(businessId: string, appId: string): Observable<any>
List activations of an app's addons for a business
FAQs
Accounts Microservice typescript sdk.
The npm package @vendasta/accounts-sdk receives a total of 6 weekly downloads. As such, @vendasta/accounts-sdk popularity was classified as not popular.
We found that @vendasta/accounts-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.