Class OAuthIdentityProviderDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.NamedEntityDTO
-
- org.cyclos.model.ConfigurationEntityDTO
-
- org.cyclos.model.access.identityproviders.IdentityProviderDTO
-
- org.cyclos.model.access.identityproviders.OAuthIdentityProviderDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,IEntity,IInternalNamedEntity,INamedEntity
- Direct Known Subclasses:
OidcIdentityProviderDTO
public class OAuthIdentityProviderDTO extends IdentityProviderDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<String,OAuthIdentityProviderDTO>CLIENT_IDstatic BasicProperty<String,OAuthIdentityProviderDTO>CLIENT_SECRET-
Fields inherited from class org.cyclos.model.access.identityproviders.IdentityProviderDTO
BACKGROUND_COLOR, BORDER_COLOR, ENABLED, IMAGE, TEXT_COLOR, TYPE
-
Fields inherited from class org.cyclos.model.ConfigurationEntityDTO
DESCRIPTION, INTERNAL_NAME
-
Fields inherited from class org.cyclos.model.NamedEntityDTO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description OAuthIdentityProviderDTO()OAuthIdentityProviderDTO(Long id)OAuthIdentityProviderDTO(Property<T,? super OAuthIdentityProviderDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()StringgetClientId()StringgetClientSecret()voidsetClientId(String clientId)voidsetClientSecret(String clientSecret)-
Methods inherited from class org.cyclos.model.access.identityproviders.IdentityProviderDTO
getBackgroundColor, getBorderColor, getImage, getTextColor, getType, isEnabled, setBackgroundColor, setBorderColor, setEnabled, setImage, setTextColor, setType
-
Methods inherited from class org.cyclos.model.ConfigurationEntityDTO
getDescription, getInternalName, setDescription, setInternalName
-
Methods inherited from class org.cyclos.model.NamedEntityDTO
compareTo, getName, setName, toString
-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
Methods inherited from class org.cyclos.model.EntityModel
equals, getId, hashCode, setId
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
CLIENT_ID
public static final BasicProperty<String,OAuthIdentityProviderDTO> CLIENT_ID
-
CLIENT_SECRET
public static final BasicProperty<String,OAuthIdentityProviderDTO> CLIENT_SECRET
-
-
Constructor Detail
-
OAuthIdentityProviderDTO
public OAuthIdentityProviderDTO()
-
OAuthIdentityProviderDTO
public OAuthIdentityProviderDTO(Long id)
-
OAuthIdentityProviderDTO
public OAuthIdentityProviderDTO(Property<T,? super OAuthIdentityProviderDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classIdentityProviderDTO
-
getClientId
public String getClientId()
-
setClientId
public void setClientId(String clientId)
-
getClientSecret
public String getClientSecret()
-
setClientSecret
public void setClientSecret(String clientSecret)
-
className
public String className()
- Overrides:
classNamein classIdentityProviderDTO
-
-