Enum AuthFailAction (2.32.0)

publicenumAuthFailActionextendsEnum<AuthFailAction>implementsProtocolMessageEnum

Actions to take when the user is not logged in.

Protobuf enum google.appengine.v1.AuthFailAction

Implements

ProtocolMessageEnum

Static Fields

Name Description
AUTH_FAIL_ACTION_REDIRECT

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_REDIRECT = 1;

AUTH_FAIL_ACTION_REDIRECT_VALUE

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_REDIRECT = 1;

AUTH_FAIL_ACTION_UNAUTHORIZED

Rejects request with a 401 HTTP status code and an error message.

AUTH_FAIL_ACTION_UNAUTHORIZED = 2;

AUTH_FAIL_ACTION_UNAUTHORIZED_VALUE

Rejects request with a 401 HTTP status code and an error message.

AUTH_FAIL_ACTION_UNAUTHORIZED = 2;

AUTH_FAIL_ACTION_UNSPECIFIED

Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.

AUTH_FAIL_ACTION_UNSPECIFIED = 0;

AUTH_FAIL_ACTION_UNSPECIFIED_VALUE

Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.

AUTH_FAIL_ACTION_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.