Skip to content

Commit 64eed1e

Browse files
committed
First release
1 parent 9ccd524 commit 64eed1e

File tree

7 files changed

+48
-6
lines changed

7 files changed

+48
-6
lines changed

README.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,48 @@ Configuring the oauth2 server for any framework should be simple and understanda
66
It encourages to adapt to existing implementations instead the other way around.
77
## Frameworks
88
### Ktor
9+
Setup
10+
```xml
11+
<repositories>
12+
<repository>
13+
<id>myndocs-oauth2</id>
14+
<url>https://repo.myndocs.nl/repository/oauth2</url>
15+
</repository>
16+
</repositories>
17+
```
18+
```xml
19+
<dependency>
20+
<groupId>nl.myndocs</groupId>
21+
<artifactId>kotlin-oauth2-server-core</artifactId>
22+
<version>${myndocs.oauth.version}</version>
23+
</dependency>
24+
<dependency>
25+
<groupId>nl.myndocs</groupId>
26+
<artifactId>kotlin-oauth2-server-ktor</artifactId>
27+
<version>${myndocs.oauth.version}</version>
28+
</dependency>
29+
<dependency>
30+
<groupId>nl.myndocs</groupId>
31+
<artifactId>kotlin-oauth2-server-client-inmemory</artifactId>
32+
<version>${myndocs.oauth.version}</version>
33+
</dependency>
34+
<dependency>
35+
<groupId>nl.myndocs</groupId>
36+
<artifactId>kotlin-oauth2-server-identity-inmemory</artifactId>
37+
<version>${myndocs.oauth.version}</version>
38+
</dependency>
39+
<dependency>
40+
<groupId>nl.myndocs</groupId>
41+
<artifactId>kotlin-oauth2-server-token-store-inmemory</artifactId>
42+
<version>${myndocs.oauth.version}</version>
43+
</dependency>
44+
<dependency>
45+
<groupId>com.google.code.gson</groupId>
46+
<artifactId>gson</artifactId>
47+
<version>2.8.5</version>
48+
</dependency>
49+
```
50+
951
Basic setup for Ktor:
1052
```kotlin
1153
embeddedServer(Netty, 8080) {

kotlin-oauth2-server-client-inmemory/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>kotlin-oauth2-server</artifactId>
77
<groupId>nl.myndocs</groupId>
8-
<version>1.0-SNAPSHOT</version>
8+
<version>0.1.0</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

kotlin-oauth2-server-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>kotlin-oauth2-server</artifactId>
77
<groupId>nl.myndocs</groupId>
8-
<version>1.0-SNAPSHOT</version>
8+
<version>0.1.0</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

kotlin-oauth2-server-identity-inmemory/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>kotlin-oauth2-server</artifactId>
77
<groupId>nl.myndocs</groupId>
8-
<version>1.0-SNAPSHOT</version>
8+
<version>0.1.0</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

kotlin-oauth2-server-ktor/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>kotlin-oauth2-server</artifactId>
77
<groupId>nl.myndocs</groupId>
8-
<version>1.0-SNAPSHOT</version>
8+
<version>0.1.0</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

kotlin-oauth2-server-token-store-inmemory/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>kotlin-oauth2-server</artifactId>
77
<groupId>nl.myndocs</groupId>
8-
<version>1.0-SNAPSHOT</version>
8+
<version>0.1.0</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<groupId>nl.myndocs</groupId>
88
<artifactId>kotlin-oauth2-server</artifactId>
99
<packaging>pom</packaging>
10-
<version>1.0-SNAPSHOT</version>
10+
<version>0.1.0</version>
1111

1212
<properties>
1313
<kotlin.version>1.2.60</kotlin.version>

0 commit comments

Comments
 (0)