Class ZosmfLogout
- java.lang.Object
-
- zowe.client.sdk.zosmfauth.methods.ZosmfLogout
-
public class ZosmfLogout extends Object
Provides z/OSMF authentication logout service- Version:
- 3.0
- Author:
- Esteban Sandoval, Frank Giordano
-
-
Constructor Summary
Constructors Constructor Description ZosmfLogout(ZosConnection connection)
ZosmfLogout constructorZosmfLogout(ZosConnection connection, ZosmfRequest request)
Alternative Logout constructor with ZosmfRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
logout(kong.unirest.core.Cookie cookie)
Request to log out of server and delete authentication cookie token
-
-
-
Constructor Detail
-
ZosmfLogout
public ZosmfLogout(ZosConnection connection)
ZosmfLogout constructor- Parameters:
connection
- connection information, see ZosConnection object
-
ZosmfLogout
public ZosmfLogout(ZosConnection connection, ZosmfRequest request)
Alternative Logout constructor with ZosmfRequest object. This is mainly used for internal code unit testing with mockito, and it is not recommended to be used by the larger community.- Parameters:
connection
- connection information, see ZosConnection objectrequest
- any compatible ZoweRequest Interface object
-
-
Method Detail
-
logout
public Response logout(kong.unirest.core.Cookie cookie) throws ZosmfRequestException
Request to log out of server and delete authentication cookie token- Parameters:
cookie
- Cookie Object- Returns:
- Response object
- Throws:
ZosmfRequestException
- request error state
-
-