public class OAuth2IdentityProviderConfig extends IdentityProviderModel
addReadTokenRoleOnCreate, ALLOWED_CLOCK_SKEW, linkOnly, SYNC_MODE
Constructor and Description |
---|
OAuth2IdentityProviderConfig() |
OAuth2IdentityProviderConfig(IdentityProviderModel model) |
Modifier and Type | Method and Description |
---|---|
String |
getAuthorizationUrl() |
String |
getClientAuthMethod() |
String |
getClientId() |
String |
getClientSecret() |
String |
getDefaultScope() |
String |
getForwardParameters() |
String |
getPrompt() |
String |
getTokenUrl() |
String |
getUserInfoUrl() |
boolean |
isBasicAuthentication() |
boolean |
isJWTAuthentication() |
boolean |
isLoginHint() |
boolean |
isUiLocales() |
void |
setAuthorizationUrl(String authorizationUrl) |
void |
setClientAuthMethod(String clientAuth) |
void |
setClientId(String clientId) |
void |
setClientSecret(String clientSecret) |
void |
setDefaultScope(String defaultScope) |
void |
setForwardParameters(String forwardParameters) |
void |
setLoginHint(boolean loginHint) |
void |
setTokenUrl(String tokenUrl) |
void |
setUiLocales(boolean uiLocales) |
void |
setUserInfoUrl(String userInfoUrl) |
void |
validate(RealmModel realm)
Validates this configuration.
|
getAlias, getConfig, getDisplayName, getFirstBrokerLoginFlowId, getInternalId, getPostBrokerLoginFlowId, getProviderId, getSyncMode, isAddReadTokenRoleOnCreate, isAuthenticateByDefault, isEnabled, isLinkOnly, isStoreToken, isTrustEmail, setAddReadTokenRoleOnCreate, setAlias, setAuthenticateByDefault, setConfig, setDisplayName, setEnabled, setFirstBrokerLoginFlowId, setInternalId, setLinkOnly, setPostBrokerLoginFlowId, setProviderId, setStoreToken, setSyncMode, setTrustEmail
public OAuth2IdentityProviderConfig(IdentityProviderModel model)
public OAuth2IdentityProviderConfig()
public String getAuthorizationUrl()
public void setAuthorizationUrl(String authorizationUrl)
public String getTokenUrl()
public void setTokenUrl(String tokenUrl)
public String getUserInfoUrl()
public void setUserInfoUrl(String userInfoUrl)
public String getClientId()
public void setClientId(String clientId)
public String getClientAuthMethod()
public void setClientAuthMethod(String clientAuth)
public String getClientSecret()
public void setClientSecret(String clientSecret)
public String getDefaultScope()
public void setDefaultScope(String defaultScope)
public boolean isLoginHint()
public void setLoginHint(boolean loginHint)
public boolean isJWTAuthentication()
public boolean isBasicAuthentication()
public boolean isUiLocales()
public void setUiLocales(boolean uiLocales)
public String getPrompt()
public String getForwardParameters()
public void setForwardParameters(String forwardParameters)
public void validate(RealmModel realm)
IdentityProviderModel
Validates this configuration.
Sub-classes can override this method in order to enforce provider specific validations.
validate
in class IdentityProviderModel
realm
- the realmCopyright © 2020 JBoss by Red Hat. All rights reserved.