0.4.0 • Published 8 years ago

ember-plaid v0.4.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

ember-plaid

Plaid's drop-in Link module as an Ember component.

Installation

# From within your ember-cli project
ember install ember-plaid

Configuration

// config/environment.js
ENV['ember-plaid'] = {
  clientName: 'REQUIRED',
  product: 'auth',
  key: 'test_key',
  env: 'tartan'
};

Check the Link Docs for all of the parameter options.

Usage

{{plaid-link action='processPlaidToken'}}

{{!-- Or --}}

{{#plaid-link action='processPlaidToken'}}Verify Bank Account{{/plaid-link}}

Once a user has successfully onboarded via Plaid Link, the provided action will be called with the public_token passed as the sole argument. From there, you should follow the instructions for exchanging the public_token for an access_token.

Once you have the public_token, you can use it to initialize plaid-link component in "update mode". Update mode allows the user to update Plaid when they change their online-banking credentials or MFA.

{{plaid-link 
  action='processPlaidToken' 
  token=$public_token}}

{{!-- Or --}}

{{#plaid-link 
  action='processPlaidToken' 
  token=$public_token}}Verify Bank Account{{/plaid-link}}
0.4.0

8 years ago

0.3.0

8 years ago

0.2.0

9 years ago

0.1.0

9 years ago