-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SDK-2478: Allow the Relying Business to retrieve tracked devices for …
…a session
- Loading branch information
Showing
9 changed files
with
270 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
77 changes: 77 additions & 0 deletions
77
...sdk-api/src/main/java/com/yoti/api/client/docs/session/devicemetadata/DeviceResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
package com.yoti.api.client.docs.session.devicemetadata; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
public class DeviceResponse { | ||
|
||
@JsonProperty("ip_address") | ||
private String ipAddress; | ||
|
||
@JsonProperty("ip_iso_country_code") | ||
private String ipIsoCountryCode; | ||
|
||
@JsonProperty("manufacture_name") | ||
private String manufactureName; | ||
|
||
@JsonProperty("model_name") | ||
private String modelName; | ||
|
||
@JsonProperty("os_name") | ||
private String osName; | ||
|
||
@JsonProperty("os_version") | ||
private String osVersion; | ||
|
||
@JsonProperty("browser_name") | ||
private String browserName; | ||
|
||
@JsonProperty("browser_version") | ||
private String browserVersion; | ||
|
||
@JsonProperty("locale") | ||
private String locale; | ||
|
||
@JsonProperty("client_version") | ||
private String clientVersion; | ||
|
||
public String getIpAddress() { | ||
return ipAddress; | ||
} | ||
|
||
public String getIpIsoCountryCode() { | ||
return ipIsoCountryCode; | ||
} | ||
|
||
public String getManufactureName() { | ||
return manufactureName; | ||
} | ||
|
||
public String getModelName() { | ||
return modelName; | ||
} | ||
|
||
public String getOsName() { | ||
return osName; | ||
} | ||
|
||
public String getOsVersion() { | ||
return osVersion; | ||
} | ||
|
||
public String getBrowserName() { | ||
return browserName; | ||
} | ||
|
||
public String getBrowserVersion() { | ||
return browserVersion; | ||
} | ||
|
||
public String getLocale() { | ||
return locale; | ||
} | ||
|
||
public String getClientVersion() { | ||
return clientVersion; | ||
} | ||
|
||
} |
28 changes: 28 additions & 0 deletions
28
...k-api/src/main/java/com/yoti/api/client/docs/session/devicemetadata/MetadataResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package com.yoti.api.client.docs.session.devicemetadata; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
public class MetadataResponse { | ||
|
||
@JsonProperty("event") | ||
private String event; | ||
|
||
@JsonProperty("created") | ||
private String created; | ||
|
||
@JsonProperty("device") | ||
private DeviceResponse device; | ||
|
||
public String getEvent() { | ||
return event; | ||
} | ||
|
||
public String getCreated() { | ||
return created; | ||
} | ||
|
||
public DeviceResponse getDevice() { | ||
return device; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.