C# Class Junior.Route.Routing.AntiCsrf.NonceRepositories.MemoryCacheNonceRepository

Inheritance: IAntiCsrfNonceRepository
Afficher le fichier Open project: nathan-alden/junior-route

Méthodes publiques

Méthode Description
AddAsync ( System.Guid sessionId, System.Guid nonce, System.DateTime createdUtcTimestamp, System.DateTime expiresUtcTimestamp ) : System.Threading.Tasks.Task
ExistsAsync ( System.Guid sessionId, System.Guid nonce, System.DateTime currentUtcTimestamp ) : Task
MemoryCacheNonceRepository ( IAntiCsrfConfiguration configuration ) : System

Private Methods

Méthode Description
GetCacheKey ( System.Guid sessionId, System.Guid nonce ) : string

Method Details

AddAsync() public méthode

public AddAsync ( System.Guid sessionId, System.Guid nonce, System.DateTime createdUtcTimestamp, System.DateTime expiresUtcTimestamp ) : System.Threading.Tasks.Task
sessionId System.Guid
nonce System.Guid
createdUtcTimestamp System.DateTime
expiresUtcTimestamp System.DateTime
Résultat System.Threading.Tasks.Task

ExistsAsync() public méthode

public ExistsAsync ( System.Guid sessionId, System.Guid nonce, System.DateTime currentUtcTimestamp ) : Task
sessionId System.Guid
nonce System.Guid
currentUtcTimestamp System.DateTime
Résultat Task

MemoryCacheNonceRepository() public méthode

public MemoryCacheNonceRepository ( IAntiCsrfConfiguration configuration ) : System
configuration IAntiCsrfConfiguration
Résultat System