
\begin{DoxyItemize}
\item {\bfseries Title\+:} Authenticate
\item {\bfseries Scope\+:} Authentication
\item {\bfseries Level\+:} User Goal
\item {\bfseries Actors\+:} Anonymous user
\item {\bfseries Brief\+:} Any not logged in user can authenticate to the service.
\end{DoxyItemize}


\begin{DoxyItemize}
\item {\bfseries Precondition\+:} Website opened
\item {\bfseries Main success scenario\+:} User successfully authenticates against the server. The websites changes its state to authenticated, which enables more features (e.\+g. creation of snippets).
\item {\bfseries Alternative scenario\+:} The authentication was not successful (e.\+g. wrong credentials). The user is prompted to check his credentials and retry.
\item {\bfseries Error scenario\+:} Technical problems prevent the authentication from succeeding (e.\+g. connection issues). The user is informed about the issue.
\item {\bfseries Postcondition\+:} Website is in authenticated state, meaning that all subsequent requests will use the authentication token to identify to the server.
\item {\bfseries Non-\/functional Constraints\+:}
\begin{DoxyItemize}
\item Security mechanism
\item Is precondition to use other functions 
\end{DoxyItemize}
\end{DoxyItemize}