다음을 통해 공유


PageModel.Unauthorized 메서드

정의

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

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

반환

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

적용 대상