login property

String? login
getter/setter pair

Level of login required to access this resource.

Defaults to optional. Possible string values are:

  • "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.

Implementation

core.String? login;