xing-login-angular2

1.1.11 • Public • Published

xinglong

npm https://www.npmjs.com/package/xing-login

Usage

  • To use the Xing-Login you need to generate a consumer key here
  • Then you can use the component like this:
<xing-login consumerKey="PUTYOURCONSUMERKEYHERE" (onLoginSucceded) = "login($event)" 
    (onLoginFailed) ="loginFailed($event)"></xing-login>

Configuration Options

consumerKey

Unique identifier for your plugin tuned to work only on the domain you specified (though localhost and localhost.local will work for any consumer). The consumer key is also used with the logout function and when verifying the received user data with XING

language (optional)

  • en English
  • de German

size (optional)

  • small
  • medium
  • large
  • xlarge

color (optional)

  • green
  • gray

onLoginSucceded (optional event)

  • is called when login was sucessful
  • provides a user token

onLoginFailed (optional event)

  • is called when login failed
  • provides an error

Readme

Keywords

Package Sidebar

Install

npm i xing-login-angular2

Weekly Downloads

0

Version

1.1.11

License

Apache-2.0

Last publish

Collaborators

  • kamil-roczniok