Class OAuth
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
OAuth.Builder
-
Field Summary
Fields Modifier and Type Field Description public final static String
GRANT_TYPE
public final static String
GRANT_TYPE_AUTHORIZATION_CODE
public final static String
GRANT_TYPE_PASSWORD
public final static String
RESPONSE_TYPE_CODE
private final OAuthConfig
config
private final Boolean
requireOtp
private final String
type
-
Method Summary
Modifier and Type Method Description final OAuthConfig
getConfig()
final Boolean
getRequireOtp()
final String
getType()
AuthMethod
getAuthMethod()
Get the authentication method type. String
toString()
final static OAuth
createAuthFromJsonString(String str)
final static OAuth
createAuthFromMap(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)
-
-
-
-