2015-11-30 72 views
0

是否有人知道如何实施Auth0注册方法以使用电子邮件和密码注册新用户?Xamarin Android(C#) - 使用电子邮件和密码的Auth0注册方法

这是我迄今为止,但我卡住了。我不明白Auth0在其网站上的“自定义注册”代码。感谢您的帮助!

private Auth0.SDK.Auth0Client client = new Auth0.SDK.Auth0Client (
     "Test.auth0.com", 
     "bCJ1dfsnvGIsY0ixfQg2jg6jAtgNU656"); 

     string email = "[email protected]"; 
     string password = "blah"; 
     string connection = "Username-Password-Authentication"; 

      var user = await client.LoginAsync(
       connection: connection, 
       userName: email, 
       password: password, 
       withRefreshToken: false, 
       scope: "openid"); 

回答

相关问题