Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
A
angular-skyIdentification
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ProjetDemo
angular-skyIdentification
Commits
c03678e2
Commit
c03678e2
authored
Dec 22, 2023
by
dtati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
second commit
parent
1a9b7d1a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
src/app/Helper/ConfigHelper.ts
src/app/Helper/ConfigHelper.ts
+1
-2
src/app/service/identification.service.ts
src/app/service/identification.service.ts
+2
-2
No files found.
src/app/Helper/ConfigHelper.ts
View file @
c03678e2
export
class
ConfigHelper
{
// information sent after creation of applicationId by mail
API_url
=
"
***
"
OCR_url
=
"
***
"
OCR_url_status
=
"
***
"
LIVENESS_url
=
"
***
"
FACE_MATCHING_url
=
"
***
"
SKYID_FA_SDK_PARAMS
_url
=
"
***
"
skyid_fa_sdk_params
_url
=
"
***
"
institution_id
=
"
***
"
;
...
...
src/app/service/identification.service.ts
View file @
c03678e2
...
...
@@ -17,7 +17,7 @@ export class IdentificationService {
var
headers
=
new
HttpHeaders
();
headers
.
set
(
'
Content-Type
'
,
'
multipart/form-data
'
);
headers
.
set
(
'
Accept
'
,
'
*/*
'
);
return
this
.
httpClient
.
post
(
this
.
helperSky
.
API_url
,
form
,
{
headers
:
headers
});
return
this
.
httpClient
.
post
(
this
.
helperSky
.
skyid_fa_sdk_params_url
+
"
login
"
,
form
,
{
headers
:
headers
});
}
skyid_fa_get_params_request
(
bearToken
:
string
){
...
...
@@ -27,7 +27,7 @@ export class IdentificationService {
var
headers
=
new
HttpHeaders
({
Authorization
:
`Bearer
${
bearToken
}
`
,
});
return
this
.
httpClient
.
post
(
this
.
helperSky
.
SKYID_FA_SDK_PARAMS_url
,
form
,
{
headers
:
headers
});
return
this
.
httpClient
.
post
(
this
.
helperSky
.
skyid_fa_sdk_params_url
+
"
get_parameters_web_sdk
"
,
form
,
{
headers
:
headers
});
}
skyid_extract_info_from_doc_request
(
myImage
:
any
,
bearToken
:
string
){
...
...
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