Uses of Class
dev.jacrispys.JavaBot.api.exceptions.AuthorizationException
Packages that use AuthorizationException
-
Uses of AuthorizationException in dev.jacrispys.JavaBot.api.libs
Methods in dev.jacrispys.JavaBot.api.libs that throw AuthorizationException -
Uses of AuthorizationException in dev.jacrispys.JavaBot.api.libs.auth
Methods in dev.jacrispys.JavaBot.api.libs.auth that throw AuthorizationExceptionModifier and TypeMethodDescriptionstatic <T extends ClientConnection>
Tprotected boolean
TokenAuth.authorizeToken
(long userId, String authToken) Executes a DB query for the provided userId and authToken to see if a entry existsprotected <T extends ClientConnection>
TTokenAuth.createConnection
(long userId, String authToken) Protected method to create a instance/connection toAgentApi
protected boolean
TokenAuth.validateAuth
(long userId, String authToken) CallsTokenAuth.authorizeToken(long, String)
to search the database for a token