다음을 통해 공유


ControllerBase.Unauthorized 메서드

정의

오버로드

Unauthorized(Object)

Status401Unauthorized 응답을 생성하는 UnauthorizedObjectResult 만듭니다.

Unauthorized()

Status401Unauthorized 응답을 생성하는 UnauthorizedResult 만듭니다.

Unauthorized(Object)

Source:
ControllerBase.cs
Source:
ControllerBase.cs

Status401Unauthorized 응답을 생성하는 UnauthorizedObjectResult 만듭니다.

public:
 virtual Microsoft::AspNetCore::Mvc::UnauthorizedObjectResult ^ Unauthorized(System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.UnauthorizedObjectResult Unauthorized (object value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.UnauthorizedObjectResult Unauthorized (object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member Unauthorized : obj -> Microsoft.AspNetCore.Mvc.UnauthorizedObjectResult
override this.Unauthorized : obj -> Microsoft.AspNetCore.Mvc.UnauthorizedObjectResult
Public Overridable Function Unauthorized (value As Object) As UnauthorizedObjectResult

매개 변수

value
Object

반환

응답에 대해 만든 UnauthorizedObjectResult.

특성

적용 대상

Unauthorized()

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

Status401Unauthorized 응답을 생성하는 UnauthorizedResult 만듭니다.

public:
 virtual Microsoft::AspNetCore::Mvc::UnauthorizedResult ^ Unauthorized();
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.UnauthorizedResult Unauthorized ();
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member Unauthorized : unit -> Microsoft.AspNetCore.Mvc.UnauthorizedResult
override this.Unauthorized : unit -> Microsoft.AspNetCore.Mvc.UnauthorizedResult
Public Overridable Function Unauthorized () As UnauthorizedResult

반환

응답에 대해 만든 UnauthorizedResult.

특성

적용 대상