public interface IAuthorizeHandler
| Modifier and Type | Method and Description |
|---|---|
default URI |
buildCallback(javax.ws.rs.core.UriInfo info,
AuthenticatorState state)
Build the callback.
|
javax.ws.rs.core.Response |
callback(AuthenticatorState s,
javax.servlet.http.HttpSession browserSession)
Handle a callback response from the IdP (Authenticator).
|
IAuthenticator |
getAuthenticator(AuthenticatorState state)
Provided a stored intermediate authenticator state, attempt to resolve
an instance of the associated authenticator implementation.
|
javax.ws.rs.core.Response |
handle(javax.servlet.http.HttpSession browserSession,
Authenticator auth,
URI redirect,
SortedMap<String,ApplicationScope> scopes,
String state)
Handle a specific authorization grant request.
|
javax.ws.rs.core.Response handle(javax.servlet.http.HttpSession browserSession,
Authenticator auth,
URI redirect,
SortedMap<String,ApplicationScope> scopes,
String state)
browserSession - The browser session, maintained via cookies.auth - The authenticator to use to process this
request.redirect - The redirect (already validated) to which
the response should be returned.scopes - The (validated) list of scopes requested by
the user.state - The client's requested state ID.javax.ws.rs.core.Response callback(AuthenticatorState s, javax.servlet.http.HttpSession browserSession)
s - The request state previously saved by the client.browserSession - The browser session, maintained via cookies.IAuthenticator getAuthenticator(AuthenticatorState state)
state - The state to resolve.default URI buildCallback(javax.ws.rs.core.UriInfo info, AuthenticatorState state)
info - URI/Request info, used to get the host context.state - The authenticator state.Copyright © 2018 krotscheck.net. All rights reserved.