Uses of Class
ch.autumo.commons.utils.web.AuthContext
-
Uses of AuthContext in ch.autumo.commons.utils.web
Modifier and TypeMethodDescriptionstatic AuthContext
AuthUtils.createAPIKeyAuthContext()
Create a simple auth context fro API key authentication.static AuthContext
AuthUtils.createBasicAuthContext
(org.apache.http.HttpHost authHost, String user, String password) Create a basic auth context.static AuthContext
AuthUtils.createDigestAuthContext
(org.apache.http.HttpHost authHost, String authUrl, String user, String password) Create a digest auth context.static AuthContext
AuthUtils.createNoAuthContext()
Create a simple auth context that needs no authentication.static AuthContext
AuthUtils.createOAuthContext
(org.apache.http.HttpHost authHost, String authUrl, String user, String password, String authMethod, String grantType, List<String[]> body) Create an OAuth auth context.Modifier and TypeMethodDescriptionstatic void
AuthUtils.revokeToken
(AuthContext authContext) Revoke token if possible.