AuthGrantType
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Rodzaj protokołu OAuth2 używany przez Google do prowadzenia użytkownika w celu zalogowania się w usłudze internetowej aplikacji.
Wartości w polu enum |
AUTH_GRANT_TYPE_UNSPECIFIED |
Nie określono. |
AUTH_CODE |
Przyznano kod autoryzacji. Wymaga podania adresu URL uwierzytelniania i adresu URL tokena. |
IMPLICIT |
Przyznawanie bezpośredniego kodu. Wymaga tylko podania adresu URL uwierzytelniania. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eOAuth2 grant types determine how Google guides users to sign in to your app's web service.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAUTH_CODE\u003c/code\u003e type requires providing both an authentication URL and an access token URL, while \u003ccode\u003eIMPLICIT\u003c/code\u003e only requires an authentication URL.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAUTH_GRANT_TYPE_UNSPECIFIED\u003c/code\u003e is a default, non-functional value.\u003c/p\u003e\n"]]],[],null,["# AuthGrantType\n\nThe OAuth2 grant type Google uses to guide the user to sign in to your App's web service.\n\n| Enums ||\n|-------------------------------|-------------------------------------------------------------------------------------------------|\n| `AUTH_GRANT_TYPE_UNSPECIFIED` | Unspecified. |\n| `AUTH_CODE` | Authorization code grant. Requires you to provide both authentication URL and access token URL. |\n| `IMPLICIT` | Implicit code grant. Only requires you to provide authentication URL. |"]]