Source/NFX.Web/Social/SocialNetwork.cs
/// <summary>
/// Refreshes long term tokens (if provider needs them).
/// Should be used in scenario like background server-side token renew routine
/// </summary>
Refreshes long term tokens (if provider needs them).
Should be used in scenario like background server-side token renew routine
Refreshes long term tokens ( if provider needs them ) . Should be used in scenario like background server - side token renew routine
public void RenewLongTermTokens(SocialUserInfo userInfo)
        {
          if (userInfo.LoginState != SocialLoginState.TokenObtained)
            throw new NFXException(SocialStringConsts.INVALID_STATE_ERROR.Args(SocialLoginState.TokenObtained, userInfo.LoginState)
              + GetType().Name + ".RenewLongTermTokens");
          DoRetrieveLongTermTokens(userInfo);
          if (m_InstrumentationEnabled) Interlocked.Increment(ref m_stat_RenewLongTermToken);
        }
public void RenewLongTermTokens ( SocialUserInfo userInfo ) { if ( userInfo . LoginState != SocialLoginState . TokenObtained ) throw new NFXException ( SocialStringConsts . INVALID_STATE_ERROR . Args ( SocialLoginState . TokenObtained , userInfo . LoginState ) + GetType ( ) . Name + " " ) ; DoRetrieveLongTermTokens ( userInfo ) ; if ( m_InstrumentationEnabled ) Interlocked . Increment ( ref m_stat_RenewLongTermToken ) ; }
Refreshes long term tokens (if provider needs them).
Refreshes long term tokens ( if provider needs them ) .
userInfo
SocialUserInfo