mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-10 15:32:05 -03:30
fix: showing only the canonical oauth2 property name (#41652)
closes: #41624 Signed-off-by: Steve Hawkins <shawkins@redhat.com>
This commit is contained in:
parent
75afda4104
commit
d3d217e074
@ -20,6 +20,7 @@ package org.keycloak.representations.idm;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.fasterxml.jackson.databind.JsonNode;
|
||||
|
||||
import org.eclipse.microprofile.openapi.annotations.media.Schema;
|
||||
import org.jboss.logging.Logger;
|
||||
import org.keycloak.common.util.MultivaluedHashMap;
|
||||
@ -517,6 +518,7 @@ public class RealmRepresentation {
|
||||
this.oauth2DeviceCodeLifespan = oauth2DeviceCodeLifespan;
|
||||
}
|
||||
|
||||
@Schema(name = "oauth2DeviceCodeLifespan")
|
||||
public Integer getOAuth2DeviceCodeLifespan() {
|
||||
return oauth2DeviceCodeLifespan;
|
||||
}
|
||||
@ -525,6 +527,7 @@ public class RealmRepresentation {
|
||||
this.oauth2DevicePollingInterval = oauth2DevicePollingInterval;
|
||||
}
|
||||
|
||||
@Schema(name = "oauth2DevicePollingInterval")
|
||||
public Integer getOAuth2DevicePollingInterval() {
|
||||
return oauth2DevicePollingInterval;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user