public interface LoginProtocol extends Provider
Modifier and Type | Interface and Description |
---|---|
static class |
LoginProtocol.Error |
LoginProtocol setSession(KeycloakSession session)
LoginProtocol setRealm(RealmModel realm)
LoginProtocol setUriInfo(javax.ws.rs.core.UriInfo uriInfo)
LoginProtocol setHttpHeaders(javax.ws.rs.core.HttpHeaders headers)
LoginProtocol setEventBuilder(EventBuilder event)
javax.ws.rs.core.Response authenticated(AuthenticationSessionModel authSession, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
javax.ws.rs.core.Response sendError(AuthenticationSessionModel authSession, LoginProtocol.Error error)
void backchannelLogout(UserSessionModel userSession, AuthenticatedClientSessionModel clientSession)
javax.ws.rs.core.Response frontchannelLogout(UserSessionModel userSession, AuthenticatedClientSessionModel clientSession)
javax.ws.rs.core.Response finishLogout(UserSessionModel userSession)
boolean requireReauthentication(UserSessionModel userSession, AuthenticationSessionModel authSession)
userSession
- authSession
- default boolean sendPushRevocationPolicyRequest(RealmModel realm, ClientModel resource, int notBefore, String managementUrl)
realm
- resource
- notBefore
- managementUrl
- true
if revocation policy was successfully updated at the client, false
otherwise.Copyright © 2020 JBoss by Red Hat. All rights reserved.