# App Engine Admin V1 API - Module Google::Cloud::AppEngine::V1::AuthFailAction (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::AuthFailAction.

Actions to take when the user is not logged in.

## Constants

### AUTH_FAIL_ACTION_UNSPECIFIED

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

### AUTH_FAIL_ACTION_REDIRECT

**value:** 1  
Redirects user to "accounts.google.com". The user is redirected back to the
application URL after signing in or creating an account.

### AUTH_FAIL_ACTION_UNAUTHORIZED

**value:** 2  
Rejects request with a `401` HTTP status code and an error
message.