-
public class Auth
-
-
Field Summary
Fields Modifier and Type Field Description private Applicationapplicationprivate Function1<String, Unit>logCallbackprivate final StringseparatorLineprivate StringwxAppIdprivate StringwbAppKeyprivate StringwbUrlprivate StringwbScopeprivate StringxmAppIdprivate StringxmAppKeyprivate StringhwClientIDprivate StringhwClientSecretprivate StringhwApiKeyprivate StringhwCpIdprivate StringhwProductIdprivate StringhwAppIdpublic final static AuthINSTANCE
-
Method Summary
-
-
Method Detail
-
getMetaData
final String getMetaData(String key)
-
isInstalled
final Boolean isInstalled(String packageName, Intent intent)
-
withMore
final AuthBuildForMore withMore()
-
withGoogle
final AbsAuthBuildForGoogle withGoogle()
-
withQQ
final AbsAuthBuildForQQ withQQ()
-
withWB
final AbsAuthBuildForWB withWB()
-
withWX
final AbsAuthBuildForWX withWX()
-
withZFB
final AbsAuthBuildForZFB withZFB()
-
withHW
final AbsAuthBuildForHW withHW()
-
withXM
final AbsAuthBuildForXM withXM()
-
withYL
final AbsAuthBuildForYL withYL()
-
getApplication
final Application getApplication()
-
setApplication
final Unit setApplication(Application application)
-
getLogCallback
final Function1<String, Unit> getLogCallback()
-
setLogCallback
final Unit setLogCallback(Function1<String, Unit> logCallback)
-
getSeparatorLine
final String getSeparatorLine()
-
getWxAppId
final String getWxAppId()
-
setWxAppId
final Unit setWxAppId(String wxAppId)
-
getWbAppKey
final String getWbAppKey()
-
setWbAppKey
final Unit setWbAppKey(String wbAppKey)
-
getWbScope
final String getWbScope()
-
setWbScope
final Unit setWbScope(String wbScope)
-
getXmAppId
final String getXmAppId()
-
setXmAppId
final Unit setXmAppId(String xmAppId)
-
getXmAppKey
final String getXmAppKey()
-
setXmAppKey
final Unit setXmAppKey(String xmAppKey)
-
getHwClientID
final String getHwClientID()
agconnect-services.json 不包含密钥时使用的参数
-
setHwClientID
final Unit setHwClientID(String hwClientID)
agconnect-services.json 不包含密钥时使用的参数
-
getHwClientSecret
final String getHwClientSecret()
-
setHwClientSecret
final Unit setHwClientSecret(String hwClientSecret)
-
getHwApiKey
final String getHwApiKey()
-
setHwApiKey
final Unit setHwApiKey(String hwApiKey)
-
getHwProductId
final String getHwProductId()
-
setHwProductId
final Unit setHwProductId(String hwProductId)
-
getHwAppId
final String getHwAppId()
-
setHwAppId
final Unit setHwAppId(String hwAppId)
-
-
-
-