Class ZosmfLogout


  • public class ZosmfLogout
    extends Object
    Provides z/OSMF authentication logout service

    z/OSMF REST API

    Version:
    5.0
    Author:
    Esteban Sandoval, Frank Giordano
    • Constructor Detail

      • ZosmfLogout

        public ZosmfLogout​(ZosConnection connection)
        ZosmfLogout constructor
        Parameters:
        connection - for connection information, see ZosConnection object
    • Method Detail

      • logout

        public Response logout​(kong.unirest.core.Cookie token)
                        throws ZosmfRequestException
        Request to log out of server and delete authentication cookie token
        Parameters:
        token - Cookie Object
        Returns:
        Response object
        Throws:
        ZosmfRequestException - request error state