Class BasicAuth
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringtype
-
Constructor Summary
Constructors Constructor Description BasicAuth(String type)
-
Method Summary
Modifier and Type Method Description final StringgetType()basic authentication type AuthMethodgetAuthMethod()Get the authentication method type. StringtoString()Convert the information into a string format final static BasicAuthcreateBasicAuthFromJsonString(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 BasicAuthcreateBasicAuthFromMap(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)
-
-
-
-