[This is preliminary documentation and is subject to change.]
The ISocialNetworkImplementation type exposes the following members.Methods
Name | Description | |
---|---|---|
![]() | Configure |
Configures an entity from supplied config node
(Inherited from IConfigurable.) |
![]() | CreateSocialUserInfo |
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.) |
![]() | ExternalGetParameter |
Gets external parameter value returning true if parameter was found
(Inherited from IExternallyParameterized.) |
![]() | ExternalParametersForGroups |
Gets names of supported external parameters or null if parameters are not supported in principle
(Inherited from IExternallyParameterized.) |
![]() | ExternalSetParameter |
Sets external parameter value, true if parameter name was found and set succeeded
(Inherited from IExternallyParameterized.) |
![]() | GetExternalLoginReference |
Returns href to login via social system/site
(Inherited from ISocialNetwork.) |
![]() | GetPicture |
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.) |
![]() | GetPictureData |
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.) |
![]() | GetSpecifiedExternalLoginReference |
Returns social service login URL for "two-stage" login networks.
Currently twitter only requires this
(Inherited from ISocialNetwork.) |
![]() | ObtainTokensAndFillInfo |
Fills user info with values from social network
(Inherited from ISocialNetwork.) |
![]() | PostMessage |
Post message to social network
(Inherited from ISocialNetwork.) |
![]() | PrepareReturnURLParameter | (Inherited from ISocialNetwork.) |
![]() | RenewLongTermTokens |
Refreshes long term tokens (if provider needs them).
Should be used in scenario like background server-side token renew routine
(Inherited from ISocialNetwork.) |
![]() | RetrieveUserInfo |
Retrieves all user fields (e.g. screen name, email) but tokens.
(Inherited from ISocialNetwork.) |
Properties
Name | Description | |
---|---|---|
![]() | CanPost |
Defines if a meeesage can be post to this social network
(Inherited from ISocialNetwork.) |
![]() | CredentialsEntry |
Specifies how service takes user credentials
(Inherited from ISocialNetwork.) |
![]() | Description |
Provides social network description, this default implementation returns the name of the class
(Inherited from ISocialNetwork.) |
![]() | ExternalParameters |
Gets names/types of supported external parameters or null if parameters are not supported in principle
(Inherited from IExternallyParameterized.) |
![]() | ID |
Globally uniquelly identifies social network architype
(Inherited from ISocialNetwork.) |
![]() | InstrumentationEnabled |
Turns on/off instrumentation
(Inherited from IInstrumentable.) |
![]() | Name | (Inherited from INamed.) |
![]() | RequiresSpecifiedExternalLoginReference |
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.) |
![]() | ServiceURL |
Returns the root public URL for the service
(Inherited from ISocialNetwork.) |
See Also