문제

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

도움이 되었습니까?

해결책

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 :

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top