我有一个向朋友发送消息的方法,如下:
public virtual void SendMessage(Identity identity)
{
var authent = new MvcAuthorizer
{
Credentials = new SessionStateCredentials()
{
ConsumerKey = ConsumerKey,
ConsumerSecret = ConsumerSecret,
OAuthToken = identity.Token.Token,
AccessToken = identity.Token.Secret
}
};
....
}
当我调试此方法时,令牌和密钥取它们的值,但 Auth 值为 null
我很抱歉我的英语不好,谢谢,