Class AuthHandler
java.lang.Object
de.chojo.jdautil.botlist.modules.shared.AuthHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauth(HttpRequest.Builder builder) static AuthHandlerSends the token as a bearer token in the Authorization header.name()static AuthHandlerstatic AuthHandlertoken()
-
Constructor Details
-
AuthHandler
public AuthHandler()
-
-
Method Details
-
of
-
bearer
Sends the token as a bearer token in the Authorization header.- Parameters:
token- token- Returns:
- auth handler
-
of
-
name
-
token
-
auth
-