Class AuthorizeConfirmationConfig
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<AuthorizeConfirmationConfig>
-
- com.atlassian.bitbucket.jenkins.internal.jenkins.oauth.servlet.AuthorizeConfirmationConfig
-
- All Implemented Interfaces:
Action
,Describable<AuthorizeConfirmationConfig>
,ModelObject
public class AuthorizeConfirmationConfig extends AbstractDescribableImpl<AuthorizeConfirmationConfig> implements Action
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AuthorizeConfirmationConfig.AuthorizeConfirmationConfigDescriptor
-
Field Summary
Fields Modifier and Type Field Description static String
ACCESS_REQUEST
static String
ALLOW_KEY
static String
DENY_KEY
static String
OAUTH_CALLBACK_PARAM
static String
OAUTH_TOKEN_PARAM
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doIndex(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
org.kohsuke.stapler.HttpResponse
doPerformSubmit(org.kohsuke.stapler.StaplerRequest request)
String
getAccessRequest()
String
getAuthenticatedUsername()
String
getCallback()
String
getConsumerName()
AuthorizeConfirmationConfig.AuthorizeConfirmationConfigDescriptor
getDescriptor()
String
getDisplayName()
String
getIconFileName()
String
getIconUrl()
String
getInstanceName()
String
getToken()
String
getUrlName()
boolean
isNoSecurity()
-
-
-
Field Detail
-
ACCESS_REQUEST
public static final String ACCESS_REQUEST
- See Also:
- Constant Field Values
-
ALLOW_KEY
public static final String ALLOW_KEY
- See Also:
- Constant Field Values
-
DENY_KEY
public static final String DENY_KEY
- See Also:
- Constant Field Values
-
OAUTH_TOKEN_PARAM
public static final String OAUTH_TOKEN_PARAM
- See Also:
- Constant Field Values
-
OAUTH_CALLBACK_PARAM
public static final String OAUTH_CALLBACK_PARAM
- See Also:
- Constant Field Values
-
-
Method Detail
-
doPerformSubmit
public org.kohsuke.stapler.HttpResponse doPerformSubmit(org.kohsuke.stapler.StaplerRequest request) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
getAccessRequest
public String getAccessRequest()
-
getAuthenticatedUsername
public String getAuthenticatedUsername()
-
getCallback
public String getCallback()
-
getConsumerName
public String getConsumerName()
-
getDescriptor
public AuthorizeConfirmationConfig.AuthorizeConfirmationConfigDescriptor getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<AuthorizeConfirmationConfig>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<AuthorizeConfirmationConfig>
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getIconFileName
@CheckForNull public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getIconUrl
public String getIconUrl()
-
getInstanceName
public String getInstanceName()
-
getToken
public String getToken()
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
isNoSecurity
public boolean isNoSecurity()
-
doIndex
public void doIndex(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
-