Class HttpAuthenticationChannelProvider

    • Field Detail

      • session

        protected org.keycloak.models.KeycloakSession session
      • formParams

        protected javax.ws.rs.core.MultivaluedMap<String,​String> formParams
      • realm

        protected org.keycloak.models.RealmModel realm
      • clientAuthAttributes

        protected Map<String,​String> clientAuthAttributes
      • cors

        protected Cors cors
      • httpAuthenticationChannelUri

        protected final String httpAuthenticationChannelUri
    • Constructor Detail

      • HttpAuthenticationChannelProvider

        public HttpAuthenticationChannelProvider​(org.keycloak.models.KeycloakSession session,
                                                 String httpAuthenticationRequestUri)
    • Method Detail

      • requestAuthentication

        public boolean requestAuthentication​(CIBAAuthenticationRequest request,
                                             String infoUsedByAuthenticator)
        Description copied from interface: AuthenticationChannelProvider
        Request the authentication(AuthN) and authorization(AuthZ) by an authentication device (AD) to the external entity via Authentication Channel.
        Specified by:
        requestAuthentication in interface AuthenticationChannelProvider
        Parameters:
        request - the representation of Authentication Request received on Backchannel Authentication Endpoint
        infoUsedByAuthenticator - some value to help the AD to identify the user
        Returns:
      • checkAuthenticationChannel

        protected void checkAuthenticationChannel()
      • completeDecoupledAuthnRequest

        protected org.keycloak.broker.provider.util.SimpleHttp completeDecoupledAuthnRequest​(org.keycloak.broker.provider.util.SimpleHttp simpleHttp,
                                                                                             AuthenticationChannelRequest channelRequest)
        Extension point to allow subclass to override this method in order to add data to post to decoupled server.
      • close

        public void close()
        Specified by:
        close in interface org.keycloak.provider.Provider