November 2018
Intermediate to advanced
388 pages
9h 5m
English
As previously mentioned, the authentication service will have two APIs—one for issuing a JWT token following authentication of the user, and another to check the validity of the issued JWT token.
First, let's add the following dependencies to the authentication service:
<dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-stdlib-jdk8</artifactId> <version>${kotlin.version}</version> </dependency> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-test</artifactId> <version>${kotlin.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.sun.jersey</groupId> <artifactId>jersey-server</artifactId> <version>${jersey-server}</version> </dependency> ...Read now
Unlock full access