-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move to java 11, update to keycloak 25.0.x
- Loading branch information
Showing
24 changed files
with
369 additions
and
166 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
55 changes: 55 additions & 0 deletions
55
src/main/java/org/dominokit/keycloak/KeycloakAdapterUnionType.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,55 @@ | ||
/* | ||
* Copyright © 2019 Dominokit | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package org.dominokit.keycloak; | ||
|
||
import jsinterop.annotations.JsOverlay; | ||
import jsinterop.annotations.JsPackage; | ||
import jsinterop.annotations.JsType; | ||
import jsinterop.base.Js; | ||
|
||
@JsType(isNative = true, name = "?", namespace = JsPackage.GLOBAL) | ||
public interface KeycloakAdapterUnionType { | ||
|
||
@JsOverlay | ||
static KeycloakAdapterUnionType _default() { | ||
return Js.cast("default"); | ||
} | ||
|
||
@JsOverlay | ||
static KeycloakAdapterUnionType cordova() { | ||
return Js.cast("cordova"); | ||
} | ||
|
||
@JsOverlay | ||
static KeycloakAdapterUnionType cordova_native() { | ||
return Js.cast("cordova-native"); | ||
} | ||
|
||
@JsOverlay | ||
static KeycloakAdapterUnionType adapter(KeycloakAdapter adapter) { | ||
return Js.cast(adapter); | ||
} | ||
|
||
@JsOverlay | ||
default String asString() { | ||
return Js.asString(this); | ||
} | ||
|
||
@JsOverlay | ||
default KeycloakAdapter asKeycloakAdapter() { | ||
return Js.cast(this); | ||
} | ||
} |
23 changes: 0 additions & 23 deletions
23
src/main/java/org/dominokit/keycloak/KeycloakAdapters.java
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
45 changes: 45 additions & 0 deletions
45
src/main/java/org/dominokit/keycloak/KeycloakFlowUnionType.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,45 @@ | ||
/* | ||
* Copyright © 2019 Dominokit | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package org.dominokit.keycloak; | ||
|
||
import jsinterop.annotations.JsOverlay; | ||
import jsinterop.annotations.JsPackage; | ||
import jsinterop.annotations.JsType; | ||
import jsinterop.base.Js; | ||
|
||
@JsType(isNative = true, name = "?", namespace = JsPackage.GLOBAL) | ||
public interface KeycloakFlowUnionType { | ||
|
||
@JsOverlay | ||
static KeycloakFlowUnionType standard() { | ||
return Js.cast("standard"); | ||
} | ||
|
||
@JsOverlay | ||
static KeycloakFlowUnionType implicit() { | ||
return Js.cast("implicit"); | ||
} | ||
|
||
@JsOverlay | ||
static KeycloakFlowUnionType hybrid() { | ||
return Js.cast("hybrid"); | ||
} | ||
|
||
@JsOverlay | ||
default String asString() { | ||
return Js.asString(this); | ||
} | ||
} |
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.