C# Class PhoneApp1.AppContext

Afficher le fichier Open project: totobogy/ReadmillDotNet

Méthodes publiques

Méthode 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 méthode

public static BuildReadmillLikeUri ( string highlightId ) : Uri
highlightId string
Résultat System.Uri

ResetTokenRefreshing() public static méthode

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

TokenRefreshing() public static méthode

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
Résultat bool