RemoteAuthenticationOptions 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
包含 由 RemoteAuthenticationHandler<TOptions>使用的选项。
public ref class RemoteAuthenticationOptions : Microsoft::AspNetCore::Builder::AuthenticationOptions
	public class RemoteAuthenticationOptions : Microsoft.AspNetCore.Builder.AuthenticationOptions
	type RemoteAuthenticationOptions = class
    inherit AuthenticationOptions
	Public Class RemoteAuthenticationOptions
Inherits AuthenticationOptions
		- 继承
 
- 派生
 
构造函数
| RemoteAuthenticationOptions() | 
		 包含 由 RemoteAuthenticationHandler<TOptions>使用的选项。  | 
        	
字段
| Events | 
		 包含 由 RemoteAuthenticationHandler<TOptions>使用的选项。  | 
        	
属性
| AuthenticationScheme | 
		 选项中的 AuthenticationScheme 对应于特定身份验证方案的逻辑名称。 可以分配其他值,以便在一个管道中多次使用同一个身份验证中间件类型。 (继承自 AuthenticationOptions) | 
        	
| AutomaticAuthenticate | 
		 如果为 true,则身份验证中间件会更改传入的请求用户。 如果为 false,则身份验证中间件仅在 AuthenticationScheme 显式指示时才提供标识。 (继承自 AuthenticationOptions) | 
        	
| AutomaticChallenge | 
		 如果为 true,则身份验证中间件应处理自动质询。 如果为 false,则身份验证中间件仅在 AuthenticationScheme 显式指示时更改响应。 (继承自 AuthenticationOptions) | 
        	
| BackchannelHttpHandler | 
		 用于与远程标识提供者通信的 HttpMessageHandler。 除非值可以向下转换为 WebRequestHandler,否则不能在设置 BackchannelCertificateValidator 的同时设置此项。  | 
        	
| BackchannelTimeout | 
		 获取或设置与远程标识提供者的后通道通信的超时值(以毫秒为单位)。  | 
        	
| CallbackPath | 
		 应用程序的基路径内将返回用户代理的请求路径。 此请求到达时,中间件将处理此请求。  | 
        	
| ClaimsIssuer | 
		 获取或设置应用于创建的任何声明的颁发者 (继承自 AuthenticationOptions) | 
        	
| Description | 
		 为应用程序提供的有关身份验证类型的附加信息。 (继承自 AuthenticationOptions) | 
        	
| DisplayName | 
		 获取或设置用户可以在登录用户界面上显示的文本。  | 
        	
| RemoteAuthenticationTimeout | 
		 获取或设置默认) 完成身份验证流的时间限制 (15 分钟。  | 
        	
| SaveTokens | 
		 定义在成功授权后,是否应将访问和刷新令牌存储在 中 AuthenticationProperties 。
默认情况下,此属性设置为   | 
        	
| SignInScheme | 
		 获取或设置与在身份验证成功后负责保留用户标识的中间件对应的身份验证方案。 此值通常对应于在 Startup 类中注册的 Cookie 中间件。 如果省略 , SignInScheme 用作回退值。  | 
        	
| SystemClock | 
		 仅用于测试目的。 (继承自 AuthenticationOptions) |