mirror of
https://github.com/ditkrg/AuthorizationServerDemos.git
synced 2026-01-23 04:36:45 +00:00
21 lines
682 B
C#
21 lines
682 B
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
|
|
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
|
|
|
|
|
|
using System;
|
|
|
|
namespace IdentityServerHost.Quickstart.UI
|
|
{
|
|
public class AccountOptions
|
|
{
|
|
public static bool AllowLocalLogin = true;
|
|
public static bool AllowRememberLogin = true;
|
|
public static TimeSpan RememberMeLoginDuration = TimeSpan.FromDays(30);
|
|
|
|
public static bool ShowLogoutPrompt = true;
|
|
public static bool AutomaticRedirectAfterSignOut = true;
|
|
|
|
public static string InvalidCredentialsErrorMessage = "Invalid username or password";
|
|
}
|
|
}
|