mirror of
https://github.com/bitwarden/server
synced 2025-12-26 13:13:24 +00:00
17 lines
567 B
C#
17 lines
567 B
C#
using System;
|
|
using Microsoft.IdentityModel.Tokens;
|
|
|
|
namespace Bit.Core.Identity
|
|
{
|
|
public class JwtBearerIdentityOptions
|
|
{
|
|
public string Audience { get; set; }
|
|
public string Issuer { get; set; }
|
|
public SigningCredentials SigningCredentials { get; set; }
|
|
public TimeSpan? TokenLifetime { get; set; }
|
|
public TimeSpan? TwoFactorTokenLifetime { get; set; }
|
|
public string AuthenticationMethod { get; set; } = "Application";
|
|
public string TwoFactorAuthenticationMethod { get; set; } = "TwoFactor";
|
|
}
|
|
}
|