Skip to content

Commit daa6cbb

Browse files
committedFeb 3, 2014
changing 3LA/2LA diagram scales
1 parent 85a33c9 commit daa6cbb

File tree

4 files changed

+157
-157
lines changed

4 files changed

+157
-157
lines changed
 

‎auth-models.dia

2 Bytes
Binary file not shown.

‎book.tex

+4-4
Original file line numberDiff line numberDiff line change
@@ -1061,15 +1061,15 @@ \section{Authentication and Authorization}
10611061

10621062
\subsection{Two-Legged Authentication (2LA)}
10631063

1064+
As you can tell in Figure \ref{fig:twolegged}, the concept of Two-Legged Authentication (\emph{2LA}) is quite simple. Essentially, the Consumer needs a way to authenticate themselves with the API. Due to the stateless nature of HTTP, this authentication needs to be present with every request.
1065+
10641066
\begin{figure}[!htb]
10651067
\centering
1066-
\includegraphics[scale=.6]{images/two-legged.eps}
1068+
\includegraphics[width=60mm]{images/two-legged.eps}
10671069
\caption{Two-Legged Authentication (2LA)}
10681070
\label{fig:twolegged}
10691071
\end{figure}
10701072

1071-
As you can tell in Figure \ref{fig:twolegged}, the concept of Two-Legged Authentication (\emph{2LA}) is quite simple. Essentially, the Consumer needs a way to authenticate themselves with the API. Due to the stateless nature of HTTP, this authentication needs to be present with every request.
1072-
10731073
Modern websites make use of sessions for handling this state, where a session identifier is passed along with every request via cookie. With an API, you would never require the use of a cookie (they're typically difficult to work with programmatically), but the method we will use is conceptually similar.
10741074

10751075
\begin{quote}
@@ -1130,7 +1130,7 @@ \subsection{Three-Legged Authentication (3LA)}
11301130

11311131
\begin{figure}[!htb]
11321132
\centering
1133-
\includegraphics[scale=.6]{images/three-legged.eps}
1133+
\includegraphics[width=60mm]{images/three-legged.eps}
11341134
\caption{Three-Legged Authentication (3LA)}
11351135
\label{fig:threelegged}
11361136
\end{figure}

0 commit comments

Comments
 (0)
Please sign in to comment.