你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MobileServiceTokenAuthentication 类

定义

提供 OAuth 类型令牌身份验证方案。

public class MobileServiceTokenAuthentication : Microsoft.WindowsAzure.MobileServices.Internal.MobileServiceAuthentication
type MobileServiceTokenAuthentication = class
    inherit MobileServiceAuthentication
Public Class MobileServiceTokenAuthentication
Inherits MobileServiceAuthentication
继承
MobileServiceTokenAuthentication

构造函数

MobileServiceTokenAuthentication(MobileServiceClient, String, JObject, IDictionary<String,String>)

实例化 MobileServiceTokenAuthentication 的新实例。

字段

LoginAsyncDoneUriFragment

登录/完成终结点的相对 URI 片段。

(继承自 MobileServiceAuthentication)
LoginAsyncUriFragment

登录终结点的相对 URI 片段。

(继承自 MobileServiceAuthentication)
WindowsAzureActiveDirectoryRestApiPathName

服务 REST API 使用的 Azure Active Directory 身份验证提供程序的名称。

(继承自 MobileServiceAuthentication)

属性

Client

与此 MobileServiceClient 实例关联的 MobileServiceAuthentication

(继承自 MobileServiceAuthentication)
EndUri

用于身份验证的结束 URI。 此 URI 指示身份验证流已完成。 重定向到以 endUrl 开头的任何 URL 后,基于浏览器的控件必须停止导航并返回响应数据。

(继承自 MobileServiceAuthentication)
Parameters

提供程序特定的额外参数,作为查询字符串参数发送到登录终结点。

(继承自 MobileServiceAuthentication)
ProviderName

MobileServiceAuthentication 实例使用的身份验证提供程序的名称。

(继承自 MobileServiceAuthentication)
StartUri

用于身份验证的开始 URI。 基于浏览器的控件应首先导航到此 URI,以便启动配置流。

(继承自 MobileServiceAuthentication)

方法

LoginAsync()

使用此实例中的提供程序名称和可选令牌对象将用户登录到移动服务应用程序。

(继承自 MobileServiceAuthentication)
LoginAsyncOverride()

为现有令牌提供登录逻辑。

适用于