//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ using System; using System.Runtime.Serialization; namespace System.IdentityModel.Tokens { /// /// Throw this exception when a received Security Token has expiration time in the past. /// [Serializable] public class SecurityTokenExpiredException : SecurityTokenValidationException { /// /// Initializes a new instance of /// public SecurityTokenExpiredException() : base(SR.GetString(SR.ID4181)) { } /// /// Initializes a new instance of /// public SecurityTokenExpiredException(string message) : base(message) { } /// /// Initializes a new instance of /// public SecurityTokenExpiredException(string message, Exception inner) : base(message, inner) { } /// /// Initializes a new instance of /// protected SecurityTokenExpiredException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }