草庐IT

auth_user

全部标签

Android + App 引擎 : user. getUserID() 在端点中为空

我有一个带有GAE服务器的Android应用程序。我尝试按照developers.google.com上的描述对用户进行身份验证,我将用户参数添加到端点方法等。我得到一个不为null的用户,但此方法getUserId()返回null。它类似于这个,相当古老的问题:FunctionUser.getUserId()inCloudendpointapireturnsnullforauserobjectthatisnotnull但我仍然不知道如何解决它。你如何处理这个错误?你遇到过吗?在android客户端中,这是我所做的(简化):credentials=GoogleAccountCreden

Android View vs SurfaceView vs GLSurfaceView for 2D drawing app with Zoomable User Interface

我打算编写一个具有可缩放用户界面的2D绘图应用程序。使用该应用程序,用户应该能够转换(平移和缩放)绘制的路径(当然还有UI)。我假设最多同时有500条路径。现在,我想知道从哪个View开始(View、SurfaceView或GLSurfaceView)以提供可接受的性能。我阅读了几篇文章[1-6],包括onceonandroid开发者指南,但我仍然不能100%确定要使用哪个View。根据GoogleI/O2009(http://youtu.be/U4Bk5rmIpic?t=45m10s)的演示和自己的经验,Canvas(View和SurfaceView)在处理超过100条路径时似乎表现

java - Firebase Auth UI 的电子邮件验证

我在Android应用程序中使用firebaseauthUI(FirebaseUI-Android),用户可以在其中使用个人email、Facebook进行注册、number和Gmail帐户。我的问题是,当用户使用他的个人电子邮件ID注册时,我需要进行电子邮件验证。Listproviders=Arrays.asList(newAuthUI.IdpConfig.Builder(AuthUI.EMAIL_PROVIDER).build(),newAuthUI.IdpConfig.Builder(AuthUI.PHONE_VERIFICATION_PROVIDER).build(),newA

firebase - 在 beta 0.3.2 : incompatible block pointer 上使用 Firebase-auth 插件的 Flutter 的 Xcode 构建错误

这涉及flutter的firebase-auth插件。我在两台Mac计算机上运行相同的代码。我刚刚在后者上进行了全新安装,并在FirebaseAuthPlugin.m上出现构建错误:不兼容的block指针/Users/sergebesnard/Development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.5.9/ios/Classes/FirebaseAuthPlugin.m:69:53:Incompatibleblockpointertypessending'void(^)(FIRUser*__stron

firebase - 在 beta 0.3.2 : incompatible block pointer 上使用 Firebase-auth 插件的 Flutter 的 Xcode 构建错误

这涉及flutter的firebase-auth插件。我在两台Mac计算机上运行相同的代码。我刚刚在后者上进行了全新安装,并在FirebaseAuthPlugin.m上出现构建错误:不兼容的block指针/Users/sergebesnard/Development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.5.9/ios/Classes/FirebaseAuthPlugin.m:69:53:Incompatibleblockpointertypessending'void(^)(FIRUser*__stron

php - 通过 Auth Controller 保护 Assets /媒体文件夹?拉维尔 5.2

我有公共(public)/Assets/媒体/文件夹我可以像下面这样公开访问这个文件。http://localhost/myapp/public/Asset/Media/1/phpunit.xml同样,Asset/Media文件夹中还有其他文件夹正在运行中创建。这些子文件夹中也有许多文件,Assets/媒体文件夹中也有很多文件有没有什么办法,如果我尝试访问Assets/媒体文件夹中的任何文件或Assets/媒体文件夹的子文件夹中存在的任何文件,我应该被重定向到登录页面,因为没有完成身份验证?我的意思是,我可以使用Auth中间件来保护这个文件夹吗?如果是这样,如果我们必须从Android

android - [12728] :WARNING:android/base/files/IniFile. cpp :158:Failed to process . ini文件C :\Users\User_Name\. android\emu-update-last-check.ini 用于读取

在AndroidStudio上,我不断收到此警告:[12728]:WARNING:./android/base/files/IniFile.cpp:158:Failedtoprocess.inifileC:\Users\user_name.android\emu-update-last-check.iniforreading.我不知道这是什么意思。 最佳答案 在我的机器上,出于某种原因,我丢失了emu-update-last-check.ini文件。我在消息中列出的文件夹中创建了一个空文件,将其命名为emu-update-last-

android - Facebook 单点登录 : when user logs out of Facebook app, 如何退出我的应用程序?

Android版FacebookSDK让我大吃一惊——有效使用它非常具有挑战性。据我了解,这些是单点登录的规则:如果用户拥有Facebook应用并使用SDK登录第三方应用,则Facebook应用也会登录如果用户使用SDK注销第三方应用,Facebook应用仍处于登录状态(可能是最好的)如果用户退出Facebook应用,使用SDK的第三方应用不受影响有没有办法在使用FacebookSDK的Android应用程序中检查官方Facebook应用程序是否未登录到Android应用程序正在使用的同一帐户,如果是这样,请退出Android应用程序...换句话说,如果您进入Facebook应用程序并

android - firebase 错误 W/DynamiteModule : Local module descriptor class for com. 找不到 google.firebase.auth

我尝试基于登录/注册帐户构建应用。我创建了它的Firebase并通过电子邮件启用了身份验证。我添加了google-play-services.json文件。我加了applyplugin:'com.google.gms.google-services'compile'com.google.firebase:firebase-auth:10.0.1'在build.gridle(app)中然后在我添加的模块中classpath'com.google.gms:google-services:3.0.0'这是我的代码publicclasssplashscrextendsActivityimple

android - Firebase Auth Ui Google 登录 "Developer Error"

我有一个使用firebase和firebaseauthui库的项目。问题是我无法使用Google登录登录,当我尝试加载一两秒时,它只显示一条消息,提示“开发者错误”。我可以使用电子邮件和密码登录。这只是签名apk的问题,当我调试Google时,登录工作正常。在我的proguard-rules.pro中,我将minifyEnabled设置为false。我已将SHA-1添加到我的firebase项目并下载了正确的json文件。来自应用程序级别build.gradle的依赖blockdependencies{compilefileTree(dir:'libs',include:['*.jar