-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
22 additions
and
10 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
implementation/common/src/main/java/io/smallrye/jwt/JsonProviderHolder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package io.smallrye.jwt; | ||
|
||
import jakarta.json.spi.JsonProvider; | ||
|
||
public final class JsonProviderHolder { | ||
|
||
private static final JsonProvider JSON_PROVIDER = JsonProvider.provider(); | ||
|
||
private JsonProviderHolder() { | ||
} | ||
|
||
public static JsonProvider jsonProvider() { | ||
return JSON_PROVIDER; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters