Enum AuthFailAction (2.54.0)

public enum AuthFailAction extends Enum<AuthFailAction> implements ProtocolMessageEnum

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()