Class ZosmfLogin
- java.lang.Object
-
- zowe.client.sdk.zosmfauth.methods.ZosmfLogin
-
public class ZosmfLogin extends Object
Provides z/OSMF authentication login and token service- Version:
- 5.0
- Author:
- Esteban Sandoval, Frank Giordano
-
-
Constructor Summary
Constructors Constructor Description ZosmfLogin(ZosConnection connection)ZosmfLogin constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZosmfLoginResponselogin()Request to log into the server and retrieve authentication tokens
-
-
-
Constructor Detail
-
ZosmfLogin
public ZosmfLogin(ZosConnection connection)
ZosmfLogin constructor- Parameters:
connection- for connection information, see ZosConnection object
-
-
Method Detail
-
login
public ZosmfLoginResponse login() throws ZosmfRequestException
Request to log into the server and retrieve authentication tokens- Returns:
- ZosmfLoginResponse object
- Throws:
ZosmfRequestException- request error state
-
-