PageModel.Challenge 메서드

정의

오버로드

Challenge()

ChallengeResult을 만듭니다.

Challenge(AuthenticationProperties)

지정된 를 사용하여 ChallengeResultproperties만듭니다.

Challenge(String[])

ChallengeResult 지정된 인증 체계를 사용하여 을 만듭니다.

Challenge(AuthenticationProperties, String[])

ChallengeResult 지정된 인증 체계 및 를 사용하여 을 만듭니다properties.

Challenge()

Source:
PageModel.cs
Source:
PageModel.cs

ChallengeResult을 만듭니다.

public:
 virtual Microsoft::AspNetCore::Mvc::ChallengeResult ^ Challenge();
public virtual Microsoft.AspNetCore.Mvc.ChallengeResult Challenge ();
abstract member Challenge : unit -> Microsoft.AspNetCore.Mvc.ChallengeResult
override this.Challenge : unit -> Microsoft.AspNetCore.Mvc.ChallengeResult
Public Overridable Function Challenge () As ChallengeResult

반환

응답에 대해 만들어진 ChallengeResult 입니다.

설명

이 메서드의 동작은 사용 중인 에 IAuthenticationService 따라 달라집니다. Status401UnauthorizedStatus403Forbidden 는 가능성이 상태 결과 중 하나입니다.

적용 대상

Challenge(AuthenticationProperties)

Source:
PageModel.cs
Source:
PageModel.cs

지정된 를 사용하여 ChallengeResultproperties만듭니다.

public:
 virtual Microsoft::AspNetCore::Mvc::ChallengeResult ^ Challenge(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public virtual Microsoft.AspNetCore.Mvc.ChallengeResult Challenge (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
abstract member Challenge : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.ChallengeResult
override this.Challenge : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.ChallengeResult
Public Overridable Function Challenge (properties As AuthenticationProperties) As ChallengeResult

매개 변수

properties
AuthenticationProperties

AuthenticationProperties 인증 챌린지를 수행하는 데 사용됩니다.

반환

응답에 대해 만들어진 ChallengeResult 입니다.

설명

이 메서드의 동작은 사용 중인 에 IAuthenticationService 따라 달라집니다. Status401UnauthorizedStatus403Forbidden 는 가능성이 상태 결과 중 하나입니다.

적용 대상

Challenge(String[])

Source:
PageModel.cs
Source:
PageModel.cs

ChallengeResult 지정된 인증 체계를 사용하여 을 만듭니다.

public:
 virtual Microsoft::AspNetCore::Mvc::ChallengeResult ^ Challenge(... cli::array <System::String ^> ^ authenticationSchemes);
public virtual Microsoft.AspNetCore.Mvc.ChallengeResult Challenge (params string[] authenticationSchemes);
abstract member Challenge : string[] -> Microsoft.AspNetCore.Mvc.ChallengeResult
override this.Challenge : string[] -> Microsoft.AspNetCore.Mvc.ChallengeResult
Public Overridable Function Challenge (ParamArray authenticationSchemes As String()) As ChallengeResult

매개 변수

authenticationSchemes
String[]

이의를 제기할 인증 체계입니다.

반환

응답에 대해 만들어진 ChallengeResult 입니다.

설명

이 메서드의 동작은 사용 중인 에 IAuthenticationService 따라 달라집니다. Status401UnauthorizedStatus403Forbidden 는 가능성이 상태 결과 중 하나입니다.

적용 대상

Challenge(AuthenticationProperties, String[])

Source:
PageModel.cs
Source:
PageModel.cs

ChallengeResult 지정된 인증 체계 및 를 사용하여 을 만듭니다properties.

public:
 virtual Microsoft::AspNetCore::Mvc::ChallengeResult ^ Challenge(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, ... cli::array <System::String ^> ^ authenticationSchemes);
public virtual Microsoft.AspNetCore.Mvc.ChallengeResult Challenge (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, params string[] authenticationSchemes);
abstract member Challenge : Microsoft.AspNetCore.Authentication.AuthenticationProperties * string[] -> Microsoft.AspNetCore.Mvc.ChallengeResult
override this.Challenge : Microsoft.AspNetCore.Authentication.AuthenticationProperties * string[] -> Microsoft.AspNetCore.Mvc.ChallengeResult
Public Overridable Function Challenge (properties As AuthenticationProperties, ParamArray authenticationSchemes As String()) As ChallengeResult

매개 변수

properties
AuthenticationProperties

AuthenticationProperties 인증 챌린지를 수행하는 데 사용됩니다.

authenticationSchemes
String[]

이의를 제기할 인증 체계입니다.

반환

응답에 대해 만들어진 ChallengeResult 입니다.

설명

이 메서드의 동작은 사용 중인 에 IAuthenticationService 따라 달라집니다. Status401UnauthorizedStatus403Forbidden 는 가능성이 상태 결과 중 하나입니다.

적용 대상