Let $\mathcal{A}^n$ be an affine space of dimension $n$. For example, let's take $n=3$.
A line $\mathcal{s}$ of $\mathcal{A}^3$ is an affine subspace of dimension $1$, that is:
$\mathcal{s}=\{P \in \mathcal{A}_3 \text{ such that } \overrightarrow{AP} \in \langle u \rangle \}$.
Now, what is not clear to me is:
if we consider an Euclidean affine space $\mathcal{E}^3$, what is the (rigorous) definition of an oriented line?
First one has to define line segments and prove a lemma.
You might already have your favorite definition of a line segment in an affine space, here's just one possibility: For any $a \ne b$ in the affine space define the segment $[a,b]$ to be the set of points $p$ for which there exists $t \in [0,1]$ such that $p = a + t \cdot \overrightarrow{ab}$.
Lemma: For each line $s$ there exist exactly two total orders $\le$ such that for each $a<b$ in $s$ we have $[a,b] = \{x \in s \bigm| a \le x \le b\}$.
Once that lemma has been proved, an orientation of $s$ is a choice of one of those two total orders.