Class AuthorizationEndpoint

    • Field Detail

      • LOGIN_SESSION_NOTE_ADDITIONAL_REQ_PARAMS_PREFIX

        public static final String LOGIN_SESSION_NOTE_ADDITIONAL_REQ_PARAMS_PREFIX
        Prefix used to store additional HTTP GET params from original client request into AuthenticationSessionModel note to be available later in Authenticators, RequiredActions etc. Prefix is used to prevent collisions with internally used notes.
        See Also:
        AuthenticationSessionModel.getClientNote(String), Constant Field Values
    • Constructor Detail

      • AuthorizationEndpoint

        public AuthorizationEndpoint​(org.keycloak.models.KeycloakSession session,
                                     org.keycloak.events.EventBuilder event)
    • Method Detail

      • buildPost

        @POST
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response buildPost()
      • buildGet

        @GET
        public javax.ws.rs.core.Response buildGet()
      • authorizeDevice

        @Path("device")
        public Object authorizeDevice()
        OAuth 2.0 Device Authorization endpoint