Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tonisives committed Dec 1, 2023
1 parent b2cbc34 commit b1e0016
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 2 additions & 2 deletions hmkit-fleet/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ detekt {
}

dokkaHtml {
outputDirectory.set(file("$buildDir/dokka/html/v1"))
outputDirectory.set(file("$buildDir/dokka/html/v2"))
}

dokkaJavadoc {
outputDirectory.set(file("$buildDir/dokka/html/v1/javadoc"))
outputDirectory.set(file("$buildDir/dokka/html/v2/javadoc"))
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import okhttp3.OkHttpClient
* [HMKitPrivateKeyCredentials].
* @param environment The SDK environment. Default is Production.
* @param client Optionally, set the OkHttpClient to be used for network requests.
*
* [javadoc](https://highmobility.github.io/hmkit-fleet-v2/v2/javadoc/com/highmobility/hmkitfleet/HMKitConfiguration.html)
*/
class HMKitConfiguration private constructor(builder: Builder) {
val credentials = builder.credentials ?: throw IllegalArgumentException("credentials must be set")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ import java.util.Base64
/**
* The credentials to be used for the SDK. Choose from either [HMKitOAuthCredentials] or
* [HMKitPrivateKeyCredentials].
*
* [javadoc](https://highmobility.github.io/hmkit-fleet-v2/v2/javadoc/com/highmobility/hmkitfleet/HMKitCredentials.html)
*
*/
abstract class HMKitCredentials {
internal abstract fun getTokenRequestBody(jwtProvider: JwtProvider?): String
Expand All @@ -25,6 +28,8 @@ abstract class HMKitCredentials {

/**
* The OAuth credentials to be used for the SDK.
*
* [javadoc](https://highmobility.github.io/hmkit-fleet-v2/v2/javadoc/com/highmobility/hmkitfleet/HMKitOAuthCredentials.html)
*/
@Serializable
data class HMKitOAuthCredentials(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ import java.util.concurrent.CompletableFuture
* );
* ```
*
* Check out the [javadoc](https://highmobility.github.io/hmkit-fleet-v2/v1/javadoc/com/highmobility/hmkitfleet/HMKitFleet.html)
* [javadoc](https://highmobility.github.io/hmkit-fleet-v2/v2/javadoc/com/highmobility/hmkitfleet/HMKitFleet.html)
*
* Have a look at this relative link [here](/testmodule/com.example.app/index.html)
*/
class HMKitFleet constructor(
/**
Expand Down Expand Up @@ -144,6 +143,8 @@ class HMKitFleet constructor(

/**
* The Fleet SDK environment.
*
* [javadoc](https://highmobility.github.io/hmkit-fleet-v2/v2/javadoc/com/highmobility/hmkitfleet/HMKitFleet.Environment.html)
*/
enum class Environment {
PRODUCTION, SANDBOX;
Expand Down

0 comments on commit b1e0016

Please sign in to comment.