Provides an implementation for com.zerodeplibs.webpush.jwt.VAPIDJWTGenerator
utilizing FusionAuth JWT.
The recommended version of io.fusionauth:fusionauth-jwt is 4.0.0 or higher(The latest version is more desirable).
You can use this sub-module by adding the dependency to your pom.xml.
<dependency>
<groupId>com.zerodeplibs</groupId>
<artifactId>zerodep-web-push-java</artifactId>
<version>2.1.2</version>
</dependency>
<dependency>
<groupId>com.zerodeplibs</groupId>
<artifactId>zerodep-web-push-java-ext-jwt-fusionauth</artifactId>
<version>2.1.2</version>
<scope>runtime</scope>
</dependency>
By calling com.zerodeplibs.webpush.VAPIDKeyPairs#of(PrivateKeySource, PublicKeySource)
, the
implementation class provided by this sub-module is loaded automatically.
VAPIDKeyPairs.of(
PrivateKeySources.of..... ,
PublicKeySources.of.......
);
The implementations of this sub-module are thread-safe.