Skip to content

Commit

Permalink
[FIX] Refacto necessary for kc 23
Browse files Browse the repository at this point in the history
Signed-off-by: Clément Dufaure <[email protected]>
  • Loading branch information
clement-dufaure committed Jan 15, 2024
1 parent bc44d23 commit 5f6687f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public T getConfig() {

@Override
public Object callback(RealmModel realm, AuthenticationCallback callback, EventBuilder event) {
return new OIDCEndpoint(callback, realm, event, this ,getConfig());
return new OIDCEndpoint<>(callback, realm, event, this ,getConfig());
}

@Override
Expand Down Expand Up @@ -185,7 +185,7 @@ public BrokeredIdentityContext getFederatedIdentity(String response) {
}
}

protected class OIDCEndpoint extends Endpoint {
protected static class OIDCEndpoint<T extends AbstractBaseProviderConfig> extends Endpoint {

private final T config;

Expand Down

0 comments on commit 5f6687f

Please sign in to comment.