Xamarin身份验证更改密码

Xamarin身份验证更改密码,xamarin,xamarin.forms,xamarin.auth,Xamarin,Xamarin.forms,Xamarin.auth,我有一个使用的登录页面,我想加载更改密码页面 当加载更改密码页面时,我被重定向到登录页面,因为在web视图的新实例上,我没有登录。 因此,在打开更改密码页面之前,我需要使用令牌调用login,但我不知道在打开web视图的新实例时如何传递令牌。以下是我到目前为止的一些代码: \u authenticator=新的OAuth2Authenticator( clientId:appSetting[“clientId”], clientSecret:null, 范围:应用设置[“范围”], author

我有一个使用的登录页面,我想加载更改密码页面

当加载更改密码页面时,我被重定向到登录页面,因为在web视图的新实例上,我没有登录。 因此,在打开更改密码页面之前,我需要使用令牌调用login,但我不知道在打开web视图的新实例时如何传递令牌。以下是我到目前为止的一些代码:

\u authenticator=新的OAuth2Authenticator(
clientId:appSetting[“clientId”],
clientSecret:null,
范围:应用设置[“范围”],
authorizeUrl:新Uri(appSetting[“authorizeUrl”]),
重定向URL:新Uri($“{appSetting[“redirectUrl”]}://oauthredirect”),
accessTokenUrl:新Uri(appSetting[“accessTokenUrl”]),
正在使用NativeUI:false,
pkceSupport:_pkceSupport)
{
ShouldEncounterOnPageLoading=true,
ClearCookiesBeforeLogin=true
};
_authenticator.Completed+=OnAuthenticator已完成;
_authenticator.Error+=OnAuthorError;
OAuthauthenticationRhelper.AuthenticationState=\u验证器;
var presenter=new OAuthLoginPresenter();
presenter.Login(_authenticator);

一种方法是让web应用程序准备好通过查询字符串接收参数,然后在应用程序中通过查询字符串调用webview,并使用将要使用的参数

如何打开更改密码页面?你能发布那个代码吗?嗨,莱恩·史密斯,我用wait Launcher.OpenAsync打开我的页面