-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(jans-auth-server): new configuration for userinfo has been added (…
- Loading branch information
Showing
6 changed files
with
76 additions
and
10 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
24 changes: 24 additions & 0 deletions
24
jans-auth-server/model/src/main/java/io/jans/as/model/userinfo/UserInfoConfiguration.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,24 @@ | ||
package io.jans.as.model.userinfo; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
import io.jans.doc.annotation.DocProperty; | ||
|
||
import java.util.HashMap; | ||
import java.util.Map; | ||
|
||
@JsonIgnoreProperties( | ||
ignoreUnknown = true | ||
) | ||
public class UserInfoConfiguration { | ||
|
||
@DocProperty(description = "List of key value, e.g. 'birthdate: 'yyyy-MM-dd', etc.") | ||
private Map<String, String> dateFormatterPattern = new HashMap<>(); | ||
|
||
public Map<String, String> getDateFormatterPattern() { | ||
return dateFormatterPattern; | ||
} | ||
|
||
public void setDateFormatterPattern(Map<String, String> dateFormatterPattern) { | ||
this.dateFormatterPattern = dateFormatterPattern; | ||
} | ||
} |
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