public interface OctaneHttpClient
| Modifier and Type | Field and Description |
|---|---|
static String |
LWSSO_COOKIE_KEY |
static String |
OAUTH_AUTH_URL |
static String |
OAUTH_SIGNOUT_URL |
static String |
OCTANE_USER_COOKIE_KEY |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate()
Authenticate with the Octane server using an implementation of the
JSONAuthentication class. |
OctaneHttpResponse |
execute(OctaneHttpRequest octaneHttpRequest) |
void |
signOut()
Signs out and removes cookies
|
static final String OAUTH_AUTH_URL
static final String OAUTH_SIGNOUT_URL
static final String LWSSO_COOKIE_KEY
static final String OCTANE_USER_COOKIE_KEY
boolean authenticate()
JSONAuthentication class.
If basic authentication is being used then the authentication is an inherent part of execute and therefore
authentication does not need to be called explicitly. True will be returned in this casevoid signOut()
OctaneHttpResponse execute(OctaneHttpRequest octaneHttpRequest)
Copyright © 2021 Micro Focus. All rights reserved.