Class OAuth
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOAuth.Builder
-
Field Summary
Fields Modifier and Type Field Description public final static StringGRANT_TYPEpublic final static StringGRANT_TYPE_AUTHORIZATION_CODEpublic final static StringGRANT_TYPE_PASSWORDpublic final static StringRESPONSE_TYPE_CODEprivate final OAuthConfigconfigprivate final BooleanrequireOtpprivate final Stringtype
-
Method Summary
Modifier and Type Method Description final OAuthConfiggetConfig()final BooleangetRequireOtp()final StringgetType()AuthMethodgetAuthMethod()Get the authentication method type. StringtoString()final static OAuthcreateAuthFromJsonString(String str)final static OAuthcreateAuthFromMap(Map<String, String> map, AppConfig.ContentFormat stringFormat)-
-
Method Detail
-
getConfig
final OAuthConfig getConfig()
-
getRequireOtp
final Boolean getRequireOtp()
-
getType
final String getType()
-
getAuthMethod
AuthMethod getAuthMethod()
Get the authentication method type.
-
toString
String toString()
-
createAuthFromJsonString
final static OAuth createAuthFromJsonString(String str)
-
createAuthFromMap
final static OAuth createAuthFromMap(Map<String, String> map, AppConfig.ContentFormat stringFormat)
-
-
-
-