Class BasicAuth
-
-
Field Summary
Fields Modifier and Type Field Description private final String
type
-
Constructor Summary
Constructors Constructor Description BasicAuth(String type)
-
Method Summary
Modifier and Type Method Description final String
getType()
basic authentication type AuthMethod
getAuthMethod()
Get the authentication method type. String
toString()
Convert the information into a string format final static BasicAuth
createBasicAuthFromJsonString(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. final static BasicAuth
createBasicAuthFromMap(Map<String, String> map)
-
-
Method Detail
-
getType
final String getType()
basic authentication type
-
getAuthMethod
AuthMethod getAuthMethod()
Get the authentication method type.
-
toString
String toString()
Convert the information into a string format
-
createBasicAuthFromJsonString
final static BasicAuth createBasicAuthFromJsonString(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.
-
createBasicAuthFromMap
final static BasicAuth createBasicAuthFromMap(Map<String, String> map)
-
-
-
-