-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(fido2): allow to update device data in SG authentication response …
…#8116 Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com>
- Loading branch information
Showing
5 changed files
with
122 additions
and
7 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
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
71 changes: 71 additions & 0 deletions
71
jans-orm/model/src/main/java/io/jans/orm/model/fido2/Fido2DeviceNotificationConf.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,71 @@ | ||
/* | ||
* Janssen Project software is available under the Apache License (2004). See http://www.apache.org/licenses/ for full text. | ||
* | ||
* Copyright (c) 2020, Janssen Project | ||
*/ | ||
|
||
package io.jans.orm.model.fido2; | ||
|
||
import java.io.Serializable; | ||
import java.util.List; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* FIDO2 U2F device notification configuration | ||
* | ||
* @author Yuriy Movchan Date: 03/21/2024 | ||
*/ | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class Fido2DeviceNotificationConf implements Serializable { | ||
|
||
private static final long serialVersionUID = -8173244116167488365L; | ||
|
||
@JsonProperty(value = "sns_endpoint_arn") | ||
private String snsEndpointArn; | ||
|
||
@JsonProperty(value = "sns_endpoint_arn_remove") | ||
private String snsEndpointArnRemove; | ||
|
||
@JsonProperty(value = "sns_endpoint_arn_history") | ||
private List<String> snsEndpointArnHistory; | ||
|
||
public Fido2DeviceNotificationConf(@JsonProperty(value = "sns_endpoint_arn") String snsEndpointArn, @JsonProperty(value = "sns_endpoint_arn_remove") String snsEndpointArnRemove, | ||
@JsonProperty(value = "sns_endpoint_arn_history") List<String> snsEndpointArnHistory) { | ||
this.snsEndpointArn = snsEndpointArn; | ||
this.snsEndpointArnRemove = snsEndpointArnRemove; | ||
this.snsEndpointArnHistory = snsEndpointArnHistory; | ||
} | ||
|
||
public String getSnsEndpointArn() { | ||
return snsEndpointArn; | ||
} | ||
|
||
public void setSnsEndpointArn(String snsEndpointArn) { | ||
this.snsEndpointArn = snsEndpointArn; | ||
} | ||
|
||
public String getSnsEndpointArnRemove() { | ||
return snsEndpointArnRemove; | ||
} | ||
|
||
public void setSnsEndpointArnRemove(String snsEndpointArnRemove) { | ||
this.snsEndpointArnRemove = snsEndpointArnRemove; | ||
} | ||
|
||
public List<String> getSnsEndpointArnHistory() { | ||
return snsEndpointArnHistory; | ||
} | ||
|
||
public void setSnsEndpointArnHistory(List<String> snsEndpointArnHistory) { | ||
this.snsEndpointArnHistory = snsEndpointArnHistory; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "Fido2DeviceNotificationConf [snsEndpointArn=" + snsEndpointArn + ", snsEndpointArnRemove=" | ||
+ snsEndpointArnRemove + ", snsEndpointArnHistory=" + snsEndpointArnHistory + "]"; | ||
} | ||
|
||
} |
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