RedisXmlRepository Class

Definition

An XML repository backed by a Redis list entry.

public ref class RedisXmlRepository : Microsoft::AspNetCore::DataProtection::Repositories::IXmlRepository
public class RedisXmlRepository : Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository
type RedisXmlRepository = class
    interface IXmlRepository
Public Class RedisXmlRepository
Implements IXmlRepository
Inheritance
RedisXmlRepository
Implements

Constructors

RedisXmlRepository(Func<IDatabase>, RedisKey)

Creates a RedisXmlRepository with keys stored at the given directory.

Methods

GetAllElements()

Gets all top-level XML elements in the repository.

StoreElement(XElement, String)

Adds a top-level XML element to the repository.

Applies to