public class OAuthConfig
extends java.lang.Object
implements java.io.Serializable
OAuth 2.0 configuration class.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
buttonText
The login button name displaying in the login interface Such as: QQ
|
java.lang.String |
clientID
The Appkey while applying for application.
|
java.lang.String |
clientSecret
The AppSecret while applying for application.
|
boolean |
enabled
Whether it is enabled or not.
|
int |
id
Configure ID
|
java.lang.String |
loginIcon
The login icon on the login interface.
|
java.lang.String |
loginType
The login type.
|
java.lang.String |
redirectDomain
The redirect domain.
|
Constructor and Description |
---|
OAuthConfig() |
OAuthConfig(OAuthConfig oAuthConfig) |
Modifier and Type | Method and Description |
---|---|
OAuthConfig |
copy() |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
public int id
Configure ID
public boolean enabled
Whether it is enabled or not.
public java.lang.String loginType
The login type.
public java.lang.String clientSecret
The AppSecret while applying for application.
public java.lang.String clientID
The Appkey while applying for application.
public java.lang.String redirectDomain
The redirect domain.
public java.lang.String buttonText
The login button name displaying in the login interface Such as: QQ
public java.lang.String loginIcon
The login icon on the login interface. e.g., twitter_login.png. Note: The icons are placed in jar (./staticFiles/img)
public OAuthConfig()
public OAuthConfig(OAuthConfig oAuthConfig)
public OAuthConfig copy()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object