# App Engine Admin V1 API - Module Google::Cloud::AppEngine::V1::LoginRequirement (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.1 0.5.0 0.4.0 0.3.6 Reference documentation and code samples for the App Engine Admin V1 API module Google::Cloud::AppEngine::V1::LoginRequirement.

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

## Constants

### LOGIN_UNSPECIFIED

**value:** 0  
Not specified. `LOGIN_OPTIONAL` is assumed.

### LOGIN_OPTIONAL

**value:** 1  
Does not require that the user is signed in.

### LOGIN_ADMIN

**value:** 2  
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

**value:** 3  
If the user has signed in, the handler proceeds normally. Otherwise, the
auth_fail_action is taken.