All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.phasetwo.service.auth.DefaultAuthenticator Maven / Gradle / Ivy

There is a newer version: 0.79
Show newest version
package io.phasetwo.service.auth;

import org.keycloak.authentication.Authenticator;
import org.keycloak.models.KeycloakSession;
import org.keycloak.models.RealmModel;
import org.keycloak.models.UserModel;

public interface DefaultAuthenticator extends Authenticator {

  default boolean requiresUser() {
    return false;
  }

  default boolean configuredFor(KeycloakSession session, RealmModel realm, UserModel user) {
    return true;
  }

  default void setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user) {}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy