OpenShift Java REST Client 8.1.1-SNAPSHOT
- java.lang.Object
-
- com.openshift.internal.restclient.okhttp.AuthenticatorInterceptor
-
- All Implemented Interfaces:
- IHttpConstants, okhttp3.Interceptor
public class AuthenticatorInterceptor
extends Object
implements okhttp3.Interceptor, IHttpConstants
Adds authorization means to every request. Authorizes and retrieves the token
if it's not present yet.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface okhttp3.Interceptor
okhttp3.Interceptor.Chain, okhttp3.Interceptor.Companion
-
Field Summary
-
Fields inherited from interface okhttp3.Interceptor
Companion
-
Fields inherited from interface com.openshift.restclient.http.IHttpConstants
AMPERSAND, AUTHORIZATION_BASIC, AUTHORIZATION_BEARER, COLON, COMMA, DEFAULT_READ_TIMEOUT, EQUALS, MEDIATYPE_ANY, MEDIATYPE_APPLICATION_FORMURLENCODED, MEDIATYPE_APPLICATION_JSON, MEDIATYPE_APPLICATION_OCTET_STREAM, MEDIATYPE_APPLICATION_XML, NO_TIMEOUT, POST, PROPERTY_ACCEPT, PROPERTY_ACCESS_TOKEN, PROPERTY_AUTHIV, PROPERTY_AUTHKEY, PROPERTY_AUTHORIZATION, PROPERTY_CONTENT_TYPE, PROPERTY_LOCATION, PROPERTY_ORIGIN, PROPERTY_USER_AGENT, PROPERTY_WWW_AUTHENTICATE, PUT, QUESTION_MARK, SEMICOLON, SLASH, SPACE, STATUS_BAD_REQUEST, STATUS_FORBIDDEN, STATUS_INTERNAL_SERVER_ERROR, STATUS_MOVED_PERMANENTLY, STATUS_MOVED_TEMPORARILY, STATUS_NORMAL_STOP, STATUS_NOT_FOUND, STATUS_OK, STATUS_UNAUTHORIZED, STATUS_UPGRADE_PROTOCOL, VERSION
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
OpenShift Java REST Client 8.1.1-SNAPSHOT
Copyright © 2020 Red Hat, Inc. All Rights Reserved.