Enum LoginRequirement (2.27.0)

public enum LoginRequirement extends Enum<LoginRequirement> implements ProtocolMessageEnum

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

Protobuf enum google.appengine.v1.LoginRequirement

Implements

ProtocolMessageEnum

Static Fields

NameDescription
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_ADMIN = 2;

LOGIN_ADMIN_VALUE

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_ADMIN = 2;

LOGIN_OPTIONAL

Does not require that the user is signed in.

LOGIN_OPTIONAL = 1;

LOGIN_OPTIONAL_VALUE

Does not require that the user is signed in.

LOGIN_OPTIONAL = 1;

LOGIN_REQUIRED

If the user has signed in, the handler proceeds normally. Otherwise, the auth_fail_action is taken.

LOGIN_REQUIRED = 3;

LOGIN_REQUIRED_VALUE

If the user has signed in, the handler proceeds normally. Otherwise, the auth_fail_action is taken.

LOGIN_REQUIRED = 3;

LOGIN_UNSPECIFIED

Not specified. LOGIN_OPTIONAL is assumed.

LOGIN_UNSPECIFIED = 0;

LOGIN_UNSPECIFIED_VALUE

Not specified. LOGIN_OPTIONAL is assumed.

LOGIN_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()