public class AuthConfigUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AuthConfigUtil.MyDomainAuthConfig
This class represents my domain auth config.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AUTH_CONFIG_COMPLETE_INTENT_ACTION |
static java.lang.String |
WAS_REQUEST_SUCCESSFUL_EXTRA |
Constructor and Description |
---|
AuthConfigUtil() |
Modifier and Type | Method and Description |
---|---|
static AuthConfigUtil.MyDomainAuthConfig |
getMyDomainAuthConfig(HttpAccess httpAccess,
java.lang.String loginUrl)
Returns the auth config associated with a my domain login endpoint.
|
static AuthConfigUtil.MyDomainAuthConfig |
getMyDomainAuthConfig(java.lang.String loginUrl)
Returns the auth config associated with a my domain login endpoint.
|
public static final java.lang.String AUTH_CONFIG_COMPLETE_INTENT_ACTION
public static final java.lang.String WAS_REQUEST_SUCCESSFUL_EXTRA
public static AuthConfigUtil.MyDomainAuthConfig getMyDomainAuthConfig(java.lang.String loginUrl)
loginUrl
- Login URL.public static AuthConfigUtil.MyDomainAuthConfig getMyDomainAuthConfig(HttpAccess httpAccess, java.lang.String loginUrl)
httpAccess
- The HTTP access to use for API integration. Defaults
to null to use the default HTTP access. This parameter is intended for
testing purposes only and should not be used in release builds.loginUrl
- Login URL.