Using the [Authorize] attribute. AuthorizeAttribute will make sure if the user is authenticated or unauthenticated. Unauthorized error with HTTP status code 401 ...
確定! 回上一頁