Package org.pac4j.oauth.profile.facebook
Class FacebookInfo
java.lang.Object
org.pac4j.oauth.profile.facebook.FacebookInfo
- All Implemented Interfaces:
Serializable
This class represents a Facebook info (id + name + category + created_time).
- Since:
- 1.1.0
- Author:
- Jerome Leleu
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldcategory.Getter for the fieldcreatedTime.getId()Getter for the fieldid.getName()Getter for the fieldname.voidsetCategory(String category) Setter for the fieldcategory.voidsetCreatedTime(Date createdTime) Setter for the fieldcreatedTime.voidSetter for the fieldid.voidSetter for the fieldname.
-
Constructor Details
-
FacebookInfo
public FacebookInfo()
-
-
Method Details
-
getId
Getter for the field
id.- Returns:
- a
Stringobject
-
setId
Setter for the field
id.- Parameters:
id- aStringobject
-
getCategory
Getter for the field
category.- Returns:
- a
Stringobject
-
setCategory
Setter for the field
category.- Parameters:
category- aStringobject
-
getName
Getter for the field
name.- Returns:
- a
Stringobject
-
setName
Setter for the field
name.- Parameters:
name- aStringobject
-
getCreatedTime
Getter for the field
createdTime.- Returns:
- a
Dateobject
-
setCreatedTime
Setter for the field
createdTime.- Parameters:
createdTime- aDateobject
-