Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AuthCat - Class in net.nathcat.authcat
-
An integration for making requests to the AuthCat service.
- AuthCat() - Constructor for class net.nathcat.authcat.AuthCat
-
Create a new AuthCat instance using the default HTTP provider (SEHttpProvider).
- AuthCat(IHttpProvider) - Constructor for class net.nathcat.authcat.AuthCat
-
Create a new AuthCat instance with a custom HTTP provider.
- AuthResult - Class in net.nathcat.authcat
-
Contains interpreted data from an authentication request to AuthCat
- AuthResult() - Constructor for class net.nathcat.authcat.AuthResult
- AuthResult(JSONObject) - Constructor for class net.nathcat.authcat.AuthResult
B
- body - Variable in class net.nathcat.authcat.HttpResponse
C
- createAuthToken(JSONObject) - Method in class net.nathcat.authcat.AuthCat
-
Generate a quick auth token for a user
G
- get(String, Map<String, String>) - Method in interface net.nathcat.authcat.IHttpProvider
- get(String, Map<String, String>) - Method in class net.nathcat.authcat.SEHttpProvider
H
- HttpResponse - Class in net.nathcat.authcat
- HttpResponse(int, String) - Constructor for class net.nathcat.authcat.HttpResponse
I
- IHttpProvider - Interface in net.nathcat.authcat
-
An interface defining methods for making HTTP requests.
- InvalidResponse - Exception in net.nathcat.authcat.Exceptions
- InvalidResponse(int) - Constructor for exception net.nathcat.authcat.Exceptions.InvalidResponse
L
- loginWithCookie(String) - Method in class net.nathcat.authcat.AuthCat
N
- net.nathcat.authcat - package net.nathcat.authcat
- net.nathcat.authcat.Exceptions - package net.nathcat.authcat.Exceptions
P
- post(String, JSONObject, Map<String, String>) - Method in interface net.nathcat.authcat.IHttpProvider
- post(String, JSONObject, Map<String, String>) - Method in class net.nathcat.authcat.SEHttpProvider
R
- result - Variable in class net.nathcat.authcat.AuthResult
-
Whether or not the authentication request was successful
S
- SEHttpProvider - Class in net.nathcat.authcat
-
An implementation of IHttpProvider using the java.net.http package.
- SEHttpProvider() - Constructor for class net.nathcat.authcat.SEHttpProvider
- statusCode - Variable in class net.nathcat.authcat.HttpResponse
T
- tokenAuth(String) - Method in class net.nathcat.authcat.AuthCat
-
Use a quick auth token for authentication.
- toString() - Method in class net.nathcat.authcat.AuthResult
- toString() - Method in exception net.nathcat.authcat.Exceptions.InvalidResponse
- tryAuthenticate(JSONObject) - Method in class net.nathcat.authcat.AuthCat
-
Send an authentication request to AuthCat
- tryLogin(JSONObject) - Method in class net.nathcat.authcat.AuthCat
-
Call the authentication service from AuthCat.
U
- user - Variable in class net.nathcat.authcat.AuthResult
-
The user data returned by the service, if result = true, otherwise this field is null
- userSearch(JSONObject) - Method in class net.nathcat.authcat.AuthCat
-
Call the user search service
All Classes and Interfaces|All Packages|Serialized Form