ngx-gigya-web-sdk-ang
v1.0.3
Published
## Requirements
Downloads
2
Readme
Web SDK for Angular ^15.0.x
Requirements
- ANGULAR ^15.0.x
- NODE.JS ^14.20.0 || ^16.13.0 || ^18.10.0
- TYPESCRIPT: >=4.8.2
Installation
How to use the library
To use the library within your Angular project you must add the WebSdkAngModule
module in the AppModule
and add in the required html the gigya-web-sdk-ang
selector which has the following attributes.
| Attribute | Mandatory | Description | |----------|-------------|-------------| | api_key | Yes | Single application key | | redirect_url | Yes | Successful redirect url | | content_class | No | Custom css class for the button container, separated by white space | | btn_class | No | Custom CSS class for buttons, separated by white space | | save_data | No | (Default is false) Value true or false to store user data | | prefix | No | Screen set prefix | | screen_lite_register | No | Lite register start screen | | screen_register | No | Register start screen | | screen_profile | No | Profile start screen |
Note: The authenticated user data is stored in the local storage within the variable X-GigyaUserData-X