Class VKontakte
Defines constants and helper methods that facilitate VKontakte functionality
Inheritance
System.Object
    
    
    
    Service<System.Object>
    ServiceWithInstrumentationBase<System.Object>
    
    VKontakte
  Implements
System.IDisposable
    
    
    
    
    
    
    
    
    
  Inherited Members
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: NFX.Web.Social
Assembly: NFX.Web.dll
Syntax
public class VKontakte : SocialNetwork, IApplicationComponent, IDisposable, IService, ILocalizedTimeProvider, IWebClientCaller, ISocialNetworkImplementation, ISocialNetwork, INamed, IConfigurable, IInstrumentable, IExternallyParameterized
  Fields
VK_PUB_SERVICE_URL
Declaration
public const string VK_PUB_SERVICE_URL = "https://www.vk.com"
  Field Value
| Type | Description | 
|---|---|
| System.String | 
Properties
ClientCode
Declaration
[Config]
public string ClientCode { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
ClientSecret
Declaration
[Config]
public string ClientSecret { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
CredentialsEntry
Specifies how service takes user credentials
Declaration
public override CredentialsEntryMethod CredentialsEntry { get; }
  Property Value
| Type | Description | 
|---|---|
| CredentialsEntryMethod | 
Overrides
Description
Returns service description
Declaration
public override string Description { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Overrides
ID
Globally uniquelly identifies social network architype
Declaration
public override sealed SocialNetID ID { get; }
  Property Value
| Type | Description | 
|---|---|
| SocialNetID | 
Overrides
Instance
Returns a singleton instance of the social network provider
Declaration
public static VKontakte Instance { get; }
  Property Value
| Type | Description | 
|---|---|
| VKontakte | 
ServiceURL
Returns the root public URL for the service
Declaration
public override string ServiceURL { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Overrides
Methods
CreateSocialUserInfo(Nullable<SocialUserInfoToken>)
Declaration
public override SocialUserInfo CreateSocialUserInfo(SocialUserInfoToken? existingToken = default (SocialUserInfoToken? ))
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<SocialUserInfoToken> | existingToken | 
Returns
| Type | Description | 
|---|---|
| SocialUserInfo | 
Overrides
DoObtainTokens(SocialUserInfo, JSONDataMap, String)
Declaration
protected override void DoObtainTokens(SocialUserInfo userInfo, JSONDataMap request, string returnPageURL)
  Parameters
| Type | Name | Description | 
|---|---|---|
| SocialUserInfo | userInfo | |
| JSONDataMap | request | |
| System.String | returnPageURL | 
Overrides
DoRetrieveLongTermTokens(SocialUserInfo)
Declaration
protected override void DoRetrieveLongTermTokens(SocialUserInfo userInfo)
  Parameters
| Type | Name | Description | 
|---|---|---|
| SocialUserInfo | userInfo | 
Overrides
DoRetrieveUserInfo(SocialUserInfo)
Declaration
protected override void DoRetrieveUserInfo(SocialUserInfo userInfo)
  Parameters
| Type | Name | Description | 
|---|---|---|
| SocialUserInfo | userInfo | 
Overrides
GetExternalLoginReference(String)
Declaration
public override string GetExternalLoginReference(string returnURL)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | returnURL | 
Returns
| Type | Description | 
|---|---|
| System.String | 
Overrides
Implements
      System.IDisposable