StoreOptions StoreOptions StoreOptions StoreOptions Class

Definition

Used for store specific options

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

Constructors

StoreOptions() StoreOptions() StoreOptions() StoreOptions()

Properties

MaxLengthForKeys MaxLengthForKeys MaxLengthForKeys 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 ProtectPersonalData ProtectPersonalData 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>.

Applies to