T1C-JS Guide (v2)
Search…
v2.4.1
Introduction
Core
Introduction
Concepts
What's new in v2
Migration Guide [v1 -> v2]
Source Code
Backward Compatibility
Overview Client API
Client Configuration
GCL Configuration
Core Services
Citrix
Consent
Generic Interface
Status codes
Upgrade Guide
Troubleshooting
Containers
eID
Payment
PKCS
PKI
Token
Transport
Other
Powered By
GitBook
Source Code
Dependencies
The GCL is distributed through a Distribution Service. In order to use the Distribution Service, a valid api-key is needed. The JavaScript library is open source and distributed through:
Github repository
NPM package
Github Repository
​
T1C-JS client library
​
​
T1C-JS simple HTML page using jQuery
​
​
T1C-Demo web application
(TBD)
NPM Package
NPM can be used to add the T1C-JS package to your project:
1
$
npm
install
trust1connector
Copied!
Distribution Service API
OpenAPI
(JSON)
(YAML)
​
JVM
Important to know that
Trust1Connector
does
NOT
have any dependencies on Java Virtual Machine.
Build T1C-JS from source
Webpack is need to build the Javascript library
1
$
npm
install
--global webpack
Copied!
Typings must be installed for typing generation
1
$
npm
i -g typings
Copied!
For jQuery we need to install from dt source
1
$ typings
install
dt~jquery --global --save
Copied!
Linter:
1
$
npm
install
--global tslint
Copied!
Debug:
1
$ typings
install
debug --save
Copied!
Use npm install to download the necessary dependencies
1
$
npm
install
Copied!
Use gulp test to run the test suite of the project
1
$ gulp
test
Copied!
To lint the code,
1
$ gulp tslint
Copied!
To build the Javascript library, compressed:
1
$ gulp webpack
Copied!
Core - Previous
Migration Guide [v1 -> v2]
Next - Core
Backward Compatibility
Last modified
4yr ago
Copy link
Contents
Dependencies
Github Repository
NPM Package
Distribution Service API
JVM
Build T1C-JS from source