Class AuthorizationEndpoint
- java.lang.Object
-
- org.keycloak.protocol.AuthorizationEndpointBase
-
- org.keycloak.protocol.oidc.endpoints.AuthorizationEndpoint
-
public class AuthorizationEndpoint extends AuthorizationEndpointBase
- Author:
- Stian Thorgersen
-
-
Field Summary
Fields Modifier and Type Field Description static String
CODE_AUTH_TYPE
static String
LOGIN_SESSION_NOTE_ADDITIONAL_REQ_PARAMS_PREFIX
Prefix used to store additional HTTP GET params from original client request intoAuthenticationSessionModel
note to be available later in Authenticators, RequiredActions etc.-
Fields inherited from class org.keycloak.protocol.AuthorizationEndpointBase
APP_INITIATED_FLOW, authManager, clientConnection, event, headers, httpRequest, realm, session
-
-
Constructor Summary
Constructors Constructor Description AuthorizationEndpoint(KeycloakSession session, EventBuilder event)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
authorizeDevice()
OAuth 2.0 Device Authorization endpointjavax.ws.rs.core.Response
buildGet()
javax.ws.rs.core.Response
buildPost()
AuthorizationEndpoint
forgotCredentials()
AuthorizationEndpoint
register()
-
Methods inherited from class org.keycloak.protocol.AuthorizationEndpointBase
checkRealm, checkSsl, createAuthenticationSession, createProcessor, getAuthenticationFlow, handleBrowserAuthenticationRequest
-
-
-
-
Field Detail
-
CODE_AUTH_TYPE
public static final String CODE_AUTH_TYPE
- See Also:
- Constant Field Values
-
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 intoAuthenticationSessionModel
note to be available later in Authenticators, RequiredActions etc. Prefix is used to prevent collisions with internally used notes.
-
-
Constructor Detail
-
AuthorizationEndpoint
public AuthorizationEndpoint(KeycloakSession session, 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
-
register
public AuthorizationEndpoint register()
-
forgotCredentials
public AuthorizationEndpoint forgotCredentials()
-
-