AuthenticationOptions.AddScheme 메서드

정의

오버로드

AddScheme(String, Action<AuthenticationSchemeBuilder>)

를 추가합니다 AuthenticationScheme.

AddScheme<THandler>(String, String)

를 추가합니다 AuthenticationScheme.

AddScheme(String, Action<AuthenticationSchemeBuilder>)

Source:
AuthenticationOptions.cs
Source:
AuthenticationOptions.cs

를 추가합니다 AuthenticationScheme.

public:
 void AddScheme(System::String ^ name, Action<Microsoft::AspNetCore::Authentication::AuthenticationSchemeBuilder ^> ^ configureBuilder);
public void AddScheme (string name, Action<Microsoft.AspNetCore.Authentication.AuthenticationSchemeBuilder> configureBuilder);
member this.AddScheme : string * Action<Microsoft.AspNetCore.Authentication.AuthenticationSchemeBuilder> -> unit
Public Sub AddScheme (name As String, configureBuilder As Action(Of AuthenticationSchemeBuilder))

매개 변수

name
String

추가되는 스키마의 이름입니다.

configureBuilder
Action<AuthenticationSchemeBuilder>

구성표를 구성합니다.

적용 대상

AddScheme<THandler>(String, String)

Source:
AuthenticationOptions.cs
Source:
AuthenticationOptions.cs

를 추가합니다 AuthenticationScheme.

public:
generic <typename THandler>
 where THandler : Microsoft::AspNetCore::Authentication::IAuthenticationHandler void AddScheme(System::String ^ name, System::String ^ displayName);
public void AddScheme<THandler> (string name, string displayName) where THandler : Microsoft.AspNetCore.Authentication.IAuthenticationHandler;
public void AddScheme<THandler> (string name, string? displayName) where THandler : Microsoft.AspNetCore.Authentication.IAuthenticationHandler;
member this.AddScheme : string * string -> unit (requires 'Handler :> Microsoft.AspNetCore.Authentication.IAuthenticationHandler)
Public Sub AddScheme(Of THandler As IAuthenticationHandler) (name As String, displayName As String)

형식 매개 변수

THandler

IAuthenticationHandler 스키마에 대한 책임이 있는 입니다.

매개 변수

name
String

추가되는 스키마의 이름입니다.

displayName
String

스키마의 표시 이름입니다.

적용 대상