Skip to content

Commit

Permalink
Merge pull request #233 from EarsKilla/master
Browse files Browse the repository at this point in the history
Fix and Token field
  • Loading branch information
inyutin-maxim committed May 14, 2016
2 parents 061024d + db32ad0 commit ece14e5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VkNet/Model/FriendList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ internal static FriendList FromJson(VkResponse response)
{
var list = new FriendList
{
Id = response["list_id"] ?? response["lid"],
Id = response["list_id"] ?? response["lid"] ?? response["id"],
Name = response["name"]
};

Expand Down
6 changes: 6 additions & 0 deletions VkNet/VkApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,12 @@ internal IBrowser Browser
private string AccessToken
{ get; set; }

/// <summary>
/// Токен для доступа к методам API
/// </summary>
public string Token
{ get { return AccessToken; } }

/// <summary>
/// Идентификатор пользователя, от имени которого была проведена авторизация.
/// Если авторизация не была произведена с использованием метода <see cref="Authorize(int,string,string,Settings,Func{string},long?,string)"/>,
Expand Down

0 comments on commit ece14e5

Please sign in to comment.