public class OAuth2Form extends AbstractAuthenticationForm implements OAuth2AccessTokenStatusChangeListener
Modifier and Type | Field and Description |
---|---|
static String |
ADVANCED_OPTIONS_BUTTON_NAME |
static String |
REFRESH_ACCESS_TOKEN_BUTTON_NAME |
CARD_BACKGROUND_COLOR, CARD_BORDER_COLOR, GROUP_SPACING, LABEL_COLUMN, RIGHTMOST_COLUMN, TOP_SPACING
Constructor and Description |
---|
OAuth2Form(OAuth2Profile profile,
AbstractXmlInspector inspector) |
Modifier and Type | Method and Description |
---|---|
protected JPanel |
buildUI() |
OAuth2Profile |
getProfile() |
void |
onAccessTokenStatusChanged(OAuth2Profile.AccessTokenStatus status) |
getComponent, setBackgroundColorOnPanel, setBorderAndBackgroundColorOnPanel, setBorderOnPanel
public static final String ADVANCED_OPTIONS_BUTTON_NAME
public static final String REFRESH_ACCESS_TOKEN_BUTTON_NAME
public OAuth2Form(OAuth2Profile profile, AbstractXmlInspector inspector)
public void onAccessTokenStatusChanged(@Nonnull OAuth2Profile.AccessTokenStatus status)
onAccessTokenStatusChanged
in interface OAuth2AccessTokenStatusChangeListener
status
- The new Access Token status@Nonnull public OAuth2Profile getProfile()
getProfile
in interface OAuth2AccessTokenStatusChangeListener
protected JPanel buildUI()
buildUI
in class AbstractAuthenticationForm
Copyright © 2019. All Rights Reserved.