Skip to content

Commit 988e492

Browse files
authored
Merge pull request #1 from avaje/feature/initial
Initial add
2 parents a521a3e + 52dbf8e commit 988e492

33 files changed

+1776
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.idea
2+
target
3+
.DS_Store
4+

avaje-oauth2-core/pom.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
<parent>
7+
<groupId>io.avaje</groupId>
8+
<artifactId>avaje-oauth2-parent</artifactId>
9+
<version>0.1</version>
10+
</parent>
11+
12+
<artifactId>avaje-oauth2-core</artifactId>
13+
14+
<dependencies>
15+
<dependency>
16+
<groupId>io.avaje</groupId>
17+
<artifactId>avaje-json-core</artifactId>
18+
<version>3.2</version>
19+
</dependency>
20+
<dependency>
21+
<groupId>io.avaje</groupId>
22+
<artifactId>avaje-http-client</artifactId>
23+
<version>3.1</version>
24+
</dependency>
25+
</dependencies>
26+
</project>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package io.avaje.oauth2.core.data;
2+
3+
public record AccessToken(
4+
String sub,
5+
String tokenUse,
6+
String scope,
7+
long authTime,
8+
String issuer,
9+
long expiredAt,
10+
long issuedAt,
11+
int version,
12+
String jti,
13+
String clientId) {
14+
}
15+

0 commit comments

Comments
 (0)