trust1team / t1c-sdk-js Goto Github PK
View Code? Open in Web Editor NEWTrust1Connector JavaScript SDK
License: Other
Trust1Connector JavaScript SDK
License: Other
How is it possible to get an API key, i don't find it in the library documentation.
Describe the bug
Not all links for downloading the Trust1Connectors are working.
To Reproduce
Steps to reproduce the behavior:
{
success: false,
description: "Could not determine appropriate package for user agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.0.0 Safari/537.36",
code: 1010,
stackTrace: "models.DownloadException: Could not determine appropriate package for user agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.0.0 Safari/537.36
at controllers.DownloadController.$anonfun$downloadByUserAgent$1(DownloadController.scala:56)
at security.UserAgentActionBuilder.$anonfun$invokeBlock$1(SecurityActionBuilders.scala:76)
at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:433)
at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:56)
at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:93)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:94)
at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:93)
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:48)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:48)
at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
"
}
Expected behavior
The Distribution Service should analyse the User-Agent header and automatically initiate the download of an OS-appropriate installer of the latest configured version.
Desktop (please complete the following information):
OS:
Browser: Chrome
Version: 101.0.4951.67 (Official Build) (64-bit)
Additional context
From The additional links, only the Mac links seems to work
Is your feature request related to a problem? Please describe.
In order to display the right certificates/tokens, I'd like to use the property modules
available in my Safenet token.
{
"id": "1******a",
"name": "AKS ifdh 0",
"pinpad": false,
"card": {
"atr": "29*****************d8",
"description": [
"Safenet Token"
],
"modules": [
"safenet"
]
}
}
Describe the solution you'd like
Adapt the interface SmartCard
like this:
export declare class SmartCard {
atr?: string | undefined;
description?: string[] | undefined;
modules?: string[] | undefined;
constructor(atr?: string | undefined, description?: string[] | undefined, modules?: string[] | undefined);
}
Regards,
Alexis GEORGES
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.