//
// Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License.
//
namespace Astral.Core.Options;
///
/// Jwt Authentication Configuration.
///
public class JwtOptions
{
///
/// Secret key.
///
public string SecretKey { get; set; }
///
/// Issuer.
///
public string Issuer { get; set; }
///
/// Audience.
///
public string Audience { get; set; }
///
/// Access token expiration.
///
public string AccessTokenExpiration { get; set; }
///
/// Refresh token expiration.
///
public string RefreshTokenExpiration { get; set; }
///
/// Validate issuer.
///
public bool ValidateIssuer { get; set; }
///
/// Validate audience.
///
public bool ValidateAudience { get; set; }
}