Skip to content

Commit

Permalink
Add Javadoc since for WavefrontConfig.apiTokenType() (#4194)
Browse files Browse the repository at this point in the history
  • Loading branch information
izeye authored Oct 9, 2023
1 parent 3c49ea8 commit 8acebf2
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ default String source() {
});
}

/**
* API token type.
* @return API token type
* @since 1.12.0
*/
default TokenService.Type apiTokenType() {
return getEnum(this, TokenService.Type.class, "apiTokenType")
.invalidateWhen(tokenType -> tokenType == Type.NO_TOKEN && WavefrontMeterRegistry.isDirectToApi(this),
Expand Down

0 comments on commit 8acebf2

Please sign in to comment.