// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.AspNet.Identity
{
///
/// Contains options for the .
///
public class DataProtectionTokenProviderOptions
{
///
/// Gets or sets the name of the .
///
///
/// The name of the .
///
public string Name { get; set; } = "DataProtectorTokenProvider";
///
/// Gets or sets the amount of time a generated token remains valid.
///
///
/// The amount of time a generated token remains valid.
///
public TimeSpan TokenLifespan { get; set; } = TimeSpan.FromDays(1);
}
}