public class

DIOAuthTask

extends AbstractAppTask
java.lang.Object
   ↳ com.microstrategy.web.tasks.AbstractBaseTask
     ↳ com.microstrategy.web.app.tasks.AbstractAppTask
       ↳ com.microstrategy.web.app.tasks.DIOAuthTask

Summary

Constants
String DBROLEID_BIGQUERY
String DBROLEID_DROPBOX
String DBROLEID_GOOGLEANALYTICS
String DBROLEID_GOOGLEDRIVE
String DBROLEID_SALESFORCE
String PARAM_AUTH_CODE
String PARAM_DBROLE_ID
String TASK_DESC
[Expand]
Inherited Constants
From class com.microstrategy.web.tasks.AbstractBaseTask
Fields
protected TaskParameterMetadata authCodeParam
protected TaskParameterMetadata dbRoleIDParam
[Expand]
Inherited Fields
From class com.microstrategy.web.tasks.AbstractBaseTask
Public Constructors
DIOAuthTask(String desc)
DIOAuthTask()
Public Methods
void processRequest(TaskRequestContext context, TaskOutput taskOutput)
The default implementation of this method of processRequest gets the Primary Content from the TaskOutput and invokes the processRequest(TaskRequestContext, MarkupOutput) version.
[Expand]
Inherited Methods
From class com.microstrategy.web.app.tasks.AbstractAppTask
From class com.microstrategy.web.tasks.AbstractBaseTask
From class java.lang.Object
From interface com.microstrategy.web.tasks.Task

Constants

public static final String DBROLEID_BIGQUERY

Constant Value: "021CDA5330A0437A8477B597796F2AC3"

public static final String DBROLEID_DROPBOX

Constant Value: "897B0012B9A24BF9AB297BA654F21482"

public static final String DBROLEID_GOOGLEANALYTICS

Constant Value: "1304214B5640429EBC5FA0820E64DEC4"

public static final String DBROLEID_GOOGLEDRIVE

Constant Value: "4FC38D1FC0E140EB8FCD2CBAA235E1DE"

public static final String DBROLEID_SALESFORCE

Constant Value: "AC41E217C55342DC871C511E77EBE4D0"

public static final String PARAM_AUTH_CODE

Constant Value: "authorizeCode"

public static final String PARAM_DBROLE_ID

Constant Value: "dbRoleID"

public static final String TASK_DESC

Constant Value: "This task do the OAuth based the OAuth url and code, and send OAuth tokens to iServer"

Fields

protected TaskParameterMetadata authCodeParam

protected TaskParameterMetadata dbRoleIDParam

Public Constructors

public DIOAuthTask (String desc)

public DIOAuthTask ()

Public Methods

public void processRequest (TaskRequestContext context, TaskOutput taskOutput)

The default implementation of this method of processRequest gets the Primary Content from the TaskOutput and invokes the processRequest(TaskRequestContext, MarkupOutput) version.

Parameters
context The TaskRequestContext object that maintains the state of the request.
taskOutput The TaskOutput that contains the output generated by the Task.
Throws
TaskException