StoreOptions Class

Definition

Used for store specific options

public ref class StoreOptions
public class StoreOptions
type StoreOptions = class
Public Class StoreOptions
Inheritance
StoreOptions

Constructors

StoreOptions()

Properties

MaxLengthForKeys

If set to a positive number, the default OnModelCreating will use this value as the max length for any properties used as keys, i.e. UserId, LoginProvider, ProviderKey.

ProtectPersonalData

If set to true, the store must protect all personally identifying data for a user. This will be enforced by requiring the store to implement IProtectedUserStore<TUser>.

SchemaVersion

The schema version for the store, the default is 0.0 which leaves it up to the store to determine what version should be used.

Applies to