27 lines
861 B
C#
27 lines
861 B
C#
// Copyright (c) .NET Foundation. All rights reserved.
|
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
|
|
|
using System;
|
|
using Microsoft.IdentityModel.Tokens;
|
|
|
|
namespace Microsoft.AspNetCore.Authentication.WsFederation
|
|
{
|
|
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);
|
|
}
|
|
} |