Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
irma_idin_webclient
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
IRMA
Github mirrors
irma_idin_webclient
Commits
02365718
Commit
02365718
authored
May 04, 2017
by
Fabian van den Broek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added missing variables
parent
a8df1eb5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
src/done.html
src/done.html
+7
-2
src/js/iDIN-verify.js
src/js/iDIN-verify.js
+2
-2
No files found.
src/done.html
View file @
02365718
...
...
@@ -4,8 +4,13 @@
<meta
charset=
"utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
/>
<meta
name=
"irma-web-server"
value=
"[API_WEB_URL]"
/>
<meta
name=
"irma-api-server"
value=
"[API_SERVER_URL]"
/>
<link
href=
"bower_components/bootstrap/dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<script
type=
"text/javascript"
src=
"bower_components/jwt-decode/build/jwt-decode.js"
></script>
<script
type=
"text/javascript"
src=
"bower_components/jquery/dist/jquery.js"
></script>
<script
type=
"text/javascript"
src=
"[IRMA_JS_URL]irma.js"
></script>
<script
type=
"text/javascript"
src=
"js/common.js"
></script>
<script
type=
"text/javascript"
src=
"js/iDIN-verify.js"
></script>
...
...
@@ -32,10 +37,10 @@
<p>
Je kunt ze nu gebruiken op iedere website die deze attributen accepteert.
<br/>
Als je direct
éé
n van je nieuwe attributen wilt testen, druk dan op de onderstaande knop.
Als je direct
ee
n van je nieuwe attributen wilt testen, druk dan op de onderstaande knop.
</p>
<button
id=
"verify_idin_bd_btn"
class=
"btn btn-primary"
>
Test Attribu
tes
</button>
<button
id=
"verify_idin_bd_btn"
class=
"btn btn-primary"
>
Test Attribu
ut
</button>
<h3
id=
"result_header"
></h3>
<h4
id=
"result_status"
></h4>
...
...
src/js/iDIN-verify.js
View file @
02365718
$
(
function
()
{
var
success_fun
=
function
(
data
)
{
$
(
"
#result_status
"
).
html
(
"
Succes
s
!
"
);
$
(
"
#result_status
"
).
html
(
"
Succes!
"
);
$
(
"
#result_header
"
).
html
(
"
Resultaat
"
);
var
bd
=
jwt_decode
(
data
).
attributes
[
"
pbdf.pbdf.idinData.dateOfBirth
"
];
$
(
"
#token-content
"
).
html
(
"
<b>Uw geboortedatum is:</b>
"
+
bd
);
...
...
@@ -16,7 +16,7 @@ $(function() {
console
.
log
(
"
De verificatie is niet gelukt!
"
);
console
.
log
(
"
Error data:
"
,
data
);
$
(
"
#result_header
"
).
html
(
"
Resultaat
"
);
$
(
"
#result_status
"
).
html
(
"
Failure
!
"
);
$
(
"
#result_status
"
).
html
(
"
Mislukt
!
"
);
}
$
(
"
#verify_idin_bd_btn
"
).
on
(
"
click
"
,
function
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment