Skip to content

Commit 960ef69

Browse files
committed
release: Web eID release v2.2.0, PHP validation library published
1 parent ed5ede4 commit 960ef69

File tree

3 files changed

+14
-16
lines changed

3 files changed

+14
-16
lines changed

example/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>2.7.2</version>
8+
<version>2.7.7</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>org.webeid.example</groupId>
@@ -20,7 +20,7 @@
2020
<java.version>1.8</java.version>
2121
<maven-surefire-plugin.version>2.22.1</maven-surefire-plugin.version>
2222
<caffeine.version>2.8.5</caffeine.version>
23-
<webeid.version>2.1.0</webeid.version>
23+
<webeid.version>2.1.1</webeid.version>
2424
<digidoc4j.version>4.3.0</digidoc4j.version>
2525
<guava.version>31.1-jre</guava.version>
2626
<okhttp.version>4.10.0</okhttp.version>

example/src/main/resources/static/js/web-eid.js

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* MIT License
33
*
4-
* Copyright (c) 2020-2021 Estonian Information System Authority
4+
* Copyright (c) 2020-2022 Estonian Information System Authority
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal
@@ -48,20 +48,12 @@ var ErrorCode;
4848
(function (ErrorCode) {
4949
ErrorCode["ERR_WEBEID_ACTION_TIMEOUT"] = "ERR_WEBEID_ACTION_TIMEOUT";
5050
ErrorCode["ERR_WEBEID_USER_TIMEOUT"] = "ERR_WEBEID_USER_TIMEOUT";
51-
ErrorCode["ERR_WEBEID_SERVER_TIMEOUT"] = "ERR_WEBEID_SERVER_TIMEOUT";
5251
ErrorCode["ERR_WEBEID_VERSION_MISMATCH"] = "ERR_WEBEID_VERSION_MISMATCH";
5352
ErrorCode["ERR_WEBEID_VERSION_INVALID"] = "ERR_WEBEID_VERSION_INVALID";
5453
ErrorCode["ERR_WEBEID_EXTENSION_UNAVAILABLE"] = "ERR_WEBEID_EXTENSION_UNAVAILABLE";
5554
ErrorCode["ERR_WEBEID_NATIVE_UNAVAILABLE"] = "ERR_WEBEID_NATIVE_UNAVAILABLE";
5655
ErrorCode["ERR_WEBEID_UNKNOWN_ERROR"] = "ERR_WEBEID_UNKNOWN_ERROR";
5756
ErrorCode["ERR_WEBEID_CONTEXT_INSECURE"] = "ERR_WEBEID_CONTEXT_INSECURE";
58-
ErrorCode["ERR_WEBEID_PROTOCOL_INSECURE"] = "ERR_WEBEID_PROTOCOL_INSECURE";
59-
ErrorCode["ERR_WEBEID_TLS_CONNECTION_BROKEN"] = "ERR_WEBEID_TLS_CONNECTION_BROKEN";
60-
ErrorCode["ERR_WEBEID_TLS_CONNECTION_INSECURE"] = "ERR_WEBEID_TLS_CONNECTION_INSECURE";
61-
ErrorCode["ERR_WEBEID_TLS_CONNECTION_WEAK"] = "ERR_WEBEID_TLS_CONNECTION_WEAK";
62-
ErrorCode["ERR_WEBEID_CERTIFICATE_CHANGED"] = "ERR_WEBEID_CERTIFICATE_CHANGED";
63-
ErrorCode["ERR_WEBEID_ORIGIN_MISMATCH"] = "ERR_WEBEID_ORIGIN_MISMATCH";
64-
ErrorCode["ERR_WEBEID_SERVER_REJECTED"] = "ERR_WEBEID_SERVER_REJECTED";
6557
ErrorCode["ERR_WEBEID_USER_CANCELLED"] = "ERR_WEBEID_USER_CANCELLED";
6658
ErrorCode["ERR_WEBEID_NATIVE_INVALID_ARGUMENT"] = "ERR_WEBEID_NATIVE_INVALID_ARGUMENT";
6759
ErrorCode["ERR_WEBEID_NATIVE_FATAL"] = "ERR_WEBEID_NATIVE_FATAL";
@@ -112,7 +104,7 @@ class ExtensionUnavailableError extends Error {
112104
}
113105

114106
var config = Object.freeze({
115-
VERSION: "2.0.0",
107+
VERSION: "2.0.1",
116108
EXTENSION_HANDSHAKE_TIMEOUT: 1000,
117109
NATIVE_APP_HANDSHAKE_TIMEOUT: 5 * 1000,
118110
DEFAULT_USER_INTERACTION_TIMEOUT: 2 * 60 * 1000,

example/src/main/resources/templates/index.html

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,15 @@ <h3><a id="usage"></a>Usage</h3>
6868
href="https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04">here</a>.
6969
</li>
7070
<li>on <b>macOS</b> 10.15 or later, for Firefox and Chrome from <a
71-
href="https://installer.id.ee/media/web-eid/web-eid_2.0.2.565.dmg">here</a>,
71+
href="https://installer.id.ee/media/web-eid/web-eid_2.2.0.572.dmg">here</a>,
7272
</li>
7373
<li>on <b>macOS</b> 10.15 or later, for Safari, install the extension from <a
7474
href="https://apps.apple.com/ee/app/web-eid/id1576665083?mt=12">App Store</a>,
7575
</li>
7676
<li>on <b>Windows</b> 10, Windows 11, Windows Server 2016, Windows Server 2019, Windows Server
7777
2022,
7878
for Firefox, Chrome and Edge from <a
79-
href="https://installer.id.ee/media/web-eid/web-eid_2.0.2.566.x64.exe">here</a>.
79+
href="https://installer.id.ee/media/web-eid/web-eid_2.2.0.572.x64.exe">here</a>.
8080
</li>
8181
</ul>
8282
</li>
@@ -196,10 +196,10 @@ <h3><a id="documentation"></a>Documentation</h3>
196196
<hr/>
197197
<h3><a id="for-developers"></a>For developers</h3>
198198
<p>
199-
Currently the Web eID back-end libraries are available for Java and .NET web applications.
199+
Currently the Web eID back-end libraries are available for Java, .NET and PHP web applications.
200200
</p>
201201
<p>
202-
To implement authentication and digital signing with Web eID in a Java or .NET web application,
202+
To implement authentication and digital signing with Web eID in a Java, .NET or PHP web application,
203203
you need to
204204
<ul>
205205
<li>use the <i>web-eid.js</i> JavaScript library in the front end of the web application
@@ -216,6 +216,10 @@ <h3><a id="for-developers"></a>For developers</h3>
216216
instructions
217217
<a href="https://github.com/web-eid/web-eid-authtoken-validation-dotnet#quickstart">here</a>
218218
</li>
219+
<li>in PHP use the <i>web-eid-authtoken-validation-php</i> library according to the
220+
instructions
221+
<a href="https://github.com/web-eid/web-eid-authtoken-validation-php#quickstart">here</a>
222+
</li>
219223
</ul>
220224
</li>
221225
<li>for digital signing
@@ -237,6 +241,8 @@ <h3><a id="for-developers"></a>For developers</h3>
237241
<a href="https://github.com/web-eid/web-eid-spring-boot-example">here</a>.
238242
The .NET/C# version of the example is available
239243
<a href="https://github.com/web-eid/web-eid-asp-dotnet-example">here</a>.
244+
The PHP version of the example is available
245+
<a href="https://github.com/web-eid/web-eid-authtoken-validation-php/tree/main/examples">here</a>.
240246
</p>
241247
</div>
242248
</div>

0 commit comments

Comments
 (0)