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 classOAuthClientPassword.Builder
-
Field Summary
Fields Modifier and Type Field Description private final StringclientIDprivate final StringredirectURLprivate final StringgrantTypeprivate final Stringpasscodeprivate final Stringreadonlypasscode
-
Constructor Summary
Constructors Constructor Description OAuthClientPassword(String clientID, String redirectURL, String grantType, String passcode, String readonlypasscode)
-
Method Summary
Modifier and Type Method Description StringgetClientID()StringgetRedirectURL()StringgetGrantType()final StringgetPasscode()final StringgetReadonlypasscode()StringtoString()final static OAuthClientPasswordcreateClientFromJsonString(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
-
-
-
-