Google Cloud Appengine Admin V1 Client - Class LoginRequirement (2.0.0-RC1)

Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class LoginRequirement.

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

Protobuf type google.appengine.v1.LoginRequirement

Namespace

Google \ Cloud \ AppEngine \ V1

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

LOGIN_UNSPECIFIED

Value: 0

Not specified. LOGIN_OPTIONAL is assumed.

Generated from protobuf enum LOGIN_UNSPECIFIED = 0;

LOGIN_OPTIONAL

Value: 1

Does not require that the user is signed in.

Generated from protobuf enum LOGIN_OPTIONAL = 1;

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.

Generated from protobuf enum LOGIN_ADMIN = 2;

LOGIN_REQUIRED

Value: 3

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

Generated from protobuf enum LOGIN_REQUIRED = 3;