rena
rena

Reputation: 1278

Restrict Google App Engine Endpoints API access

How do I restrict Google App Engine Endpoints API access to only one email domain?

Upvotes: 1

Views: 458

Answers (1)

Romin
Romin

Reputation: 8806

You can inject the User object to any of the endpoint API Methods that you want. On successful authentication, the User object will be populated and you can access various methods like getEmail(), getAuthDomain(), etc to perform your check.

Take a look at :

Upvotes: 1

Related Questions