Quick Start Guide
Add Freja eID Client to your build
To add dependency on Freja eID Client using Maven, use the following command:
<dependency>
<groupId>com.verisec.frejaeid</groupId>
<artifactId>FrejaEidClient</artifactId>
<version>2.21.0</version>
</dependency>
Initiate connection to API (test environment)
SslSettings sslSettings = SslSettings
.create("/path/to/keystore.jks", "SuperSecretKeystorePassword",
"/path/to/server/certificate.crt");
Initiate, monitor and cancel authentication request
Create an authentication client
AuthenticationClientApi authenticationClient = AuthenticationClient
.create(sslSettings, FrejaEnvironment.TEST)
.build();
Initiate an authentication request
Poll for results of your request
Cancel the initiated request
Initiate, monitor and cancel signature request
Create a signature client
Initiate a signature request
Poll for results of your request
Cancel the initiated request
Go to:
Quick Start Guide
Â