Ejemplo n.º 1
0
        public TokenResponse DuplicateToken()
        {
            Pre.BreakIf(this.AcquireTime == DateTime.MinValue);

            return(new TokenResponse()
            {
                TokenType = this.TokenType,
                Expires = this.Expires,
                Scopes = this.Scopes,
                AccessToken = this.AccessToken,
                RefreshToken = this.RefreshToken,
                IdToken = this.IdToken,
                IsEncrypted = this.IsEncrypted,
                AcquireTime = this.AcquireTime,
            });
        }