aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorDan <djr2468@gmail.com>2023-04-01 17:08:55 +0100
committerDan <djr2468@gmail.com>2023-04-01 17:08:55 +0100
commit1edce2477fde4ef8b626cf51ea175f86f63dd308 (patch)
treebd81c35038ac7ea2d0cc601b03d4919e7021ee7e /src/main/java/org/traccar/config
parent21ccdb1234407fb17f7b96245fb7aab770fa3cbd (diff)
downloadtrackermap-server-1edce2477fde4ef8b626cf51ea175f86f63dd308.tar.gz
trackermap-server-1edce2477fde4ef8b626cf51ea175f86f63dd308.tar.bz2
trackermap-server-1edce2477fde4ef8b626cf51ea175f86f63dd308.zip
Create OIDC class and add provider to MainModule
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/Keys.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index 77aa9a635..ace4c36af 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -614,14 +614,14 @@ public final class Keys {
/**
* OIDC enable.
*/
- public static final ConfigKey<String> OIDC_ENABLE = new BooleanConfigKey(
+ public static final ConfigKey<Boolean> OIDC_ENABLE = new BooleanConfigKey(
"oidc.enable",
List.of(KeyType.CONFIG));
/**
* Force OIDC authentication.
*/
- public static final ConfigKey<String> OIDC_FORCE = new BooleanConfigKey(
+ public static final ConfigKey<Boolean> OIDC_FORCE = new BooleanConfigKey(
"oidc.force",
List.of(KeyType.CONFIG));