C# Class PhoneApp1.AppContext

Exibir arquivo Open project: totobogy/ReadmillDotNet

Public Methods

Method Description
BuildReadmillLikeUri ( string highlightId ) : Uri
ResetTokenRefreshing ( ) : void

Reset the token refreshing flag to indicate that no actor is now in the process of refreshing the token.

TokenRefreshing ( ) : bool

This method is intended to be called by actors who discover that the token has been invalidated and needs to be refreshed. Only on actor needs to refresh the token so the first actor who calls is indicated that no one is refreshing the token yet.

Method Details

BuildReadmillLikeUri() public static method

public static BuildReadmillLikeUri ( string highlightId ) : Uri
highlightId string
return System.Uri

ResetTokenRefreshing() public static method

Reset the token refreshing flag to indicate that no actor is now in the process of refreshing the token.
public static ResetTokenRefreshing ( ) : void
return void

TokenRefreshing() public static method

This method is intended to be called by actors who discover that the token has been invalidated and needs to be refreshed. Only on actor needs to refresh the token so the first actor who calls is indicated that no one is refreshing the token yet.
public static TokenRefreshing ( ) : bool
return bool