Methods to restrict access to a URL based on login status.
Enums
Name
Description
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 `auth_fail_action` is taken. In addition, if the user is not an administrator for the application, they are given an error message regardless of `auth_fail_action`. If the user is an administrator, the handler proceeds.
LOGIN_REQUIRED
If the user has signed in, the handler proceeds normally. Otherwise, the auth_fail_action is taken.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-13 UTC."],[],[]]