Class APIKeyOnlyAuth
-
- All Implemented Interfaces:
@Serializable() public final class APIKeyOnlyAuth extends Auth
Represents the authentication type of 'apikeyonly' which is available in CF landscape.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringtype
-
Constructor Summary
Constructors Constructor Description APIKeyOnlyAuth(String type)
-
Method Summary
Modifier and Type Method Description final StringgetType()AuthMethodgetAuthMethod()Get the authentication method type. StringtoString()final static APIKeyOnlyAuthcreateAuthAPIKeyOnlyFromJsonString(String str)Parses the string manually, since it might come from discovery service or other sources, the properties in json might not be the same order as what serializer does. -
-
Method Detail
-
getType
final String getType()
-
getAuthMethod
AuthMethod getAuthMethod()
Get the authentication method type.
-
toString
String toString()
-
createAuthAPIKeyOnlyFromJsonString
final static APIKeyOnlyAuth createAuthAPIKeyOnlyFromJsonString(String str)
Parses the string manually, since it might come from discovery service or other sources, the properties in json might not be the same order as what serializer does.
-
-
-
-