File: TestSecurityToken.cs
Web Access
Project: src\src\Security\Authentication\test\Microsoft.AspNetCore.Authentication.Test.csproj (Microsoft.AspNetCore.Authentication.Test)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using Microsoft.IdentityModel.Tokens;
 
namespace Microsoft.AspNetCore.Authentication;
 
internal class TestSecurityToken : SecurityToken
{
    public override string Id => "id";
 
    public override string Issuer => "issuer";
 
    public override SecurityKey SecurityKey => throw new NotImplementedException();
 
    public override SecurityKey SigningKey
    {
        get => throw new NotImplementedException();
        set => throw new NotImplementedException();
    }
 
    public override DateTime ValidFrom => new DateTime(2008, 3, 22);
 
    public override DateTime ValidTo => new DateTime(2017, 3, 22);
}