public class AuthorizationRequestHandler extends Object implements MuleContextAware, org.mule.runtime.api.lifecycle.Startable, org.mule.runtime.api.lifecycle.Stoppable
localAuthorizationUrl and redirects the user to the oauth authentication server authorization
url so the user can grant access to the resources to the mule application.| Modifier and Type | Field and Description |
|---|---|
static String |
OAUTH_STATE_ID_FLOW_VAR_NAME |
| Constructor and Description |
|---|
AuthorizationRequestHandler() |
| Modifier and Type | Method and Description |
|---|---|
AuthorizationCodeGrantType |
getOauthConfig() |
void |
init() |
void |
setMuleContext(MuleContext muleContext) |
void |
setOauthConfig(AuthorizationCodeGrantType oauthConfig) |
void |
start() |
void |
stop() |
public static final String OAUTH_STATE_ID_FLOW_VAR_NAME
public void init()
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionpublic void setMuleContext(MuleContext muleContext)
setMuleContext in interface MuleContextAwarepublic void setOauthConfig(AuthorizationCodeGrantType oauthConfig)
public AuthorizationCodeGrantType getOauthConfig()
public void start()
start in interface org.mule.runtime.api.lifecycle.Startablepublic void stop()
stop in interface org.mule.runtime.api.lifecycle.StoppableCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.