Class OAuthClientPassword
-
- All Implemented Interfaces:
-
com.sap.cloud.mobile.foundation.model.AbstractOAuthClient
@Serializable() public final class OAuthClientPassword implements AbstractOAuthClient
OAuth client for password type configuration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
OAuthClientPassword.Builder
-
Field Summary
Fields Modifier and Type Field Description private final String
clientID
private final String
redirectURL
private final String
grantType
private final String
passcode
private final String
readonlypasscode
-
Constructor Summary
Constructors Constructor Description OAuthClientPassword(String clientID, String redirectURL, String grantType, String passcode, String readonlypasscode)
-
Method Summary
Modifier and Type Method Description String
getClientID()
String
getRedirectURL()
String
getGrantType()
final String
getPasscode()
final String
getReadonlypasscode()
String
toString()
final static OAuthClientPassword
createClientFromJsonString(String str)
The str might come from other sources, it will be different as the serializer generates, so we need to parse with json -
-
Method Detail
-
getClientID
String getClientID()
-
getRedirectURL
String getRedirectURL()
-
getGrantType
String getGrantType()
-
getPasscode
final String getPasscode()
-
getReadonlypasscode
final String getReadonlypasscode()
-
toString
String toString()
-
createClientFromJsonString
final static OAuthClientPassword createClientFromJsonString(String str)
The str might come from other sources, it will be different as the serializer generates, so we need to parse with json
-
-
-
-