ISocialNetworkImplementation MembersNFX Class Library

[This is preliminary documentation and is subject to change.]

The ISocialNetworkImplementation type exposes the following members.
Methods

  NameDescription
Public methodConfigure
Configures an entity from supplied config node
(Inherited from IConfigurable.)
Public methodCreateSocialUserInfo
Create an instance of social user info class. If parameters are null then creates new non-logged-in instance, otherwise, if parameters are set, then connects to network and tries to re-initializes SocialUser info with fresh data from the network (i.e. name, gender etc.) using the supplied net tokens, or throws if tokens are invalid (i.e. expired). This returned instance is usually stored in session for later use
(Inherited from ISocialNetwork.)
Public methodExternalGetParameter
Gets external parameter value returning true if parameter was found
(Inherited from IExternallyParameterized.)
Public methodExternalParametersForGroups
Gets names of supported external parameters or null if parameters are not supported in principle
(Inherited from IExternallyParameterized.)
Public methodExternalSetParameter
Sets external parameter value, true if parameter name was found and set succeeded
(Inherited from IExternallyParameterized.)
Public methodGetExternalLoginReference
Returns href to login via social system/site
(Inherited from ISocialNetwork.)
Public methodGetPicture
Returns user profile image or null if no image available. Picture kind specifies classification of pictures within profile i.e. "main", "small-icon" etc.
(Inherited from ISocialNetwork.)
Public methodGetPictureData
Returns user profile image data along with content type or null if no image available. Picture kind specifies classification of pictures within profile i.e. "main", "small-icon" etc.
(Inherited from ISocialNetwork.)
Public methodGetSpecifiedExternalLoginReference
Returns social service login URL for "two-stage" login networks. Currently twitter only requires this
(Inherited from ISocialNetwork.)
Public methodObtainTokensAndFillInfo
Fills user info with values from social network
(Inherited from ISocialNetwork.)
Public methodPostMessage
Post message to social network
(Inherited from ISocialNetwork.)
Public methodPrepareReturnURLParameter (Inherited from ISocialNetwork.)
Public methodRenewLongTermTokens
Refreshes long term tokens (if provider needs them). Should be used in scenario like background server-side token renew routine
(Inherited from ISocialNetwork.)
Public methodRetrieveUserInfo
Retrieves all user fields (e.g. screen name, email) but tokens.
(Inherited from ISocialNetwork.)
Back to Top
Properties

  NameDescription
Public propertyCanPost
Defines if a meeesage can be post to this social network
(Inherited from ISocialNetwork.)
Public propertyCredentialsEntry
Specifies how service takes user credentials
(Inherited from ISocialNetwork.)
Public propertyDescription
Provides social network description, this default implementation returns the name of the class
(Inherited from ISocialNetwork.)
Public propertyExternalParameters
Gets names/types of supported external parameters or null if parameters are not supported in principle
(Inherited from IExternallyParameterized.)
Public propertyID
Globally uniquelly identifies social network architype
(Inherited from ISocialNetwork.)
Public propertyInstrumentationEnabled
Turns on/off instrumentation
(Inherited from IInstrumentable.)
Public propertyName (Inherited from INamed.)
Public propertyRequiresSpecifiedExternalLoginReference
Specifies if this provider requires to obtain temporary token before redirecting to social network login page. Currently only Twitter requires this routine
(Inherited from ISocialNetwork.)
Public propertyServiceURL
Returns the root public URL for the service
(Inherited from ISocialNetwork.)
Back to Top
See Also