using System.ComponentModel.DataAnnotations;
namespace Connected.Security.Authentication
{
///
/// Represents the Single Sign On arguments.
///
///
/// Once users are successfully authenticated against the identity the
/// authentication token is returned by the .
/// This token can be later used by any client to perform authentication and get the user's identity.
///
public sealed class SsoAuthenticationArgs : AuthenticationArgs
{
///
/// The security token issued by the . The system
/// can match the user's identity based on this value. Tat means the token is unique
/// across the entire environment.
///
[Required]
[MaxLength(128)]
public string Token { get; init; }
}
}