Spaces:
Runtime error
Runtime error
Download src/SCM.Infrastructure/Security/JwtOptions.cs from rafaeldavila/scm-api: direct link, hf CLI and curl.
- Browser
- Download file 446 Bytes
-
https://huggingface.co/spaces/rafaeldavila/scm-api/resolve/main/src/SCM.Infrastructure/Security/JwtOptions.cs
- Command line
-
hf download hf://spaces/rafaeldavila/scm-api/src/SCM.Infrastructure/Security/JwtOptions.cs
-
curl -L -o JwtOptions.cs https://huggingface.co/spaces/rafaeldavila/scm-api/resolve/main/src/SCM.Infrastructure/Security/JwtOptions.cs
446 Bytes
| namespace SCM.Infrastructure.Security; | |
| /// <summary>Configurações de emissão/validação de JWT (seção "Jwt" do appsettings).</summary> | |
| public sealed class JwtOptions | |
| { | |
| public const string SectionName = "Jwt"; | |
| public string Issuer { get; set; } = string.Empty; | |
| public string Audience { get; set; } = string.Empty; | |
| public string SecretKey { get; set; } = string.Empty; | |
| public int ExpirationMinutes { get; set; } = 60; | |
| } | |