public class DisabledAuthenticator extends java.lang.Object implements RequestAuthenticator
RequestAuthenticator provides a no-op implementation. No authentication is added to requests that use
this implementation.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AUTHENTICATION_SCHEME |
AUTHORIZATION_HEADER| Constructor and Description |
|---|
DisabledAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(Request request)
Implementations of this operation will prepare the authentication information as expected by the Okta API server.
|
public static final java.lang.String AUTHENTICATION_SCHEME
public void authenticate(Request request) throws RequestAuthenticationException
RequestAuthenticatorauthenticate in interface RequestAuthenticatorrequest - the request that will be sent to Okta API server, it shall be modified by the implementating classes
in order to insert here the authentication informationRequestAuthenticationException - when the authentication request cannot be createdCopyright © 2018-2021 Okta. All Rights Reserved.