LoginRequirement

Methods to restrict access to a URL based on login status.

Enums
LOGIN_UNSPECIFIED Not specified. LOGIN_OPTIONAL is assumed.
LOGIN_OPTIONAL Does not require that the user is signed in.
LOGIN_ADMIN If the user is not signed in, the authFailAction is taken. In addition, if the user is not an administrator for the application, they are given an error message regardless of authFailAction. If the user is an administrator, the handler proceeds.
LOGIN_REQUIRED If the user has signed in, the handler proceeds normally. Otherwise, the authFailAction is taken.
此页内容是否有用?请给出您的反馈和评价:

发送以下问题的反馈:

此网页
Stackdriver Logging
需要帮助?请访问我们的支持页面