AuthenticationToken
Represents an OAuth token and its metadata.
            
                using System.ClientModel.Internal;
using System.Runtime.CompilerServices;
namespace System.ClientModel.Primitives
{
    [System.Runtime.CompilerServices.NullableContext(1)]
    [System.Runtime.CompilerServices.Nullable(0)]
    public class AuthenticationToken
    {
        public string TokenValue { get; }
        public string TokenType { get; }
        public DateTimeOffset? ExpiresOn { get; }
        public DateTimeOffset? RefreshOn { get; }
        public AuthenticationToken(string tokenValue, string tokenType, DateTimeOffset expiresOn, DateTimeOffset? refreshOn = default(DateTimeOffset?))
        {
            Argument.AssertNotNullOrEmpty(tokenValue, "tokenValue");
            TokenValue = tokenValue;
            TokenType = tokenType;
            ExpiresOn = expiresOn;
            RefreshOn = refreshOn;
        }
    }
}