org.wso2.carbon.ml.rest.api

## Class LoginLogoutApiV10

- java.lang.Object
- - org.wso2.carbon.ml.rest.api.MLRestAPI
  - - org.wso2.carbon.ml.rest.api.LoginLogoutApiV10

-     public class LoginLogoutApiV10
      extends MLRestAPI

  WSO2 ML Login logout API. This is responsible for managing user sessions.

- - ### Field Summary

    - ### Fields inherited from class org.wso2.carbon.ml.rest.api.MLRestAPI

      `auditLog`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LoginLogoutApiV10()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `javax.ws.rs.core.Response` | `login()` Login
    `javax.ws.rs.core.Response` | `logout()` Logout.
    `javax.ws.rs.core.Response` | `options()` HTTP Options method implementation for analysis API.

    - ### Methods inherited from class org.wso2.carbon.ml.rest.api.MLRestAPI

      `getTenantID`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LoginLogoutApiV10

          public LoginLogoutApiV10()

  - ### Method Detail

    - #### options

          public javax.ws.rs.core.Response options()

      HTTP Options method implementation for analysis API.
      Returns:

    - #### login

          public javax.ws.rs.core.Response login()

      Login

    - #### logout

          public javax.ws.rs.core.Response logout()

      Logout.

Copyright © 2017 WSO2, Inc.. All rights reserved.