-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathidentity-profile.ejs
47 lines (47 loc) · 1.81 KB
/
identity-profile.ejs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<table class="table table-striped">
<tbody>
<tr>
<td>Subject ID</td>
<td>
<%= identityProfile.getSubjectId(); %>
</td>
</tr>
<tr>
<td>Result</td>
<td>
<%= identityProfile.getResult(); %>
</td>
</tr>
<tr>
<td>Identity Profile Report</td>
<td>
<table class="table table-striped">
<tbody>
<tr>
<td style="width: auto">Trust framework</td>
<td><%= identityProfile.getIdentityProfileReport().getTrustFramework(); %></td>
</tr>
<tr>
<td style="width: auto">Scheme</td>
<% const scheme = identityProfile.getIdentityProfileReport().getSchemesCompliance()[0].getScheme();
const schemeString = scheme.type + '-' + scheme.objective %>
<td><%= schemeString; %></td>
</tr>
<tr>
<td style="width: auto">Requirements met</td>
<td><%= identityProfile.getIdentityProfileReport().getSchemesCompliance()[0].isRequirementsMet(); %></td>
</tr>
<tr>
<td style="width: auto">Requirements met info</td>
<td><%= identityProfile.getIdentityProfileReport().getSchemesCompliance()[0].getRequirementsNotMetInfo(); %></td>
</tr>
<tr>
<td>Identity assertion media</td>
<td><a href="/media?mediaId=<%= identityProfile.getIdentityProfileReport().getMedia().getId() %>"><%= identityProfile.getIdentityProfileReport().getMedia().getId(); %></a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>