C# Class Tailspin.Surveys.TokenStorage.TokenCacheLoggingExtensions

ILogger extensions for events which occur in the RedisTokenCache
ファイルを表示 Open project: Azure-Samples/guidance-identity-management-for-multitenant-apps

Public Methods

Method Description
ReadFromCacheFailed ( this logger, Exception exp ) : void
TokenCacheCleared ( this logger, string userId ) : void
TokensRetrievedFromStore ( this logger, string key ) : void
TokensWrittenToStore ( this logger, string clientId, string userId, string resource ) : void
WriteToCacheFailed ( this logger, Exception exp ) : void

Method Details

ReadFromCacheFailed() public static method

public static ReadFromCacheFailed ( this logger, Exception exp ) : void
logger this
exp System.Exception
return void

TokenCacheCleared() public static method

public static TokenCacheCleared ( this logger, string userId ) : void
logger this
userId string
return void

TokensRetrievedFromStore() public static method

public static TokensRetrievedFromStore ( this logger, string key ) : void
logger this
key string
return void

TokensWrittenToStore() public static method

public static TokensWrittenToStore ( this logger, string clientId, string userId, string resource ) : void
logger this
clientId string
userId string
resource string
return void

WriteToCacheFailed() public static method

public static WriteToCacheFailed ( this logger, Exception exp ) : void
logger this
exp System.Exception
return void