OAuth 2.0 request URL for an authorization web page to allow the end user to authorize the application to
access their protected resources and that returns an authorization code, as specified inhttp://tools.ietf.org/html/rfc6749#section-4.1.
OAuth 2.0 request URL for an authorization web page to allow the end user to authorize the application to
access their protected resources, as specified inhttp://tools.ietf.org/html/rfc6749#section-3.1.
Google-specific implementation of the OAuth 2.0 URL for an authorization web page to allow the end user to
authorize the application to access their protected resources and that returns an authorization code, as
specified inhttps://developers.google.com/accounts/docs/OAuth2WebServer.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThis document details the OAuth 2.0 request classes within the Google.Apis.Auth.OAuth2.Requests namespace, including the latest version 1.69.0.\u003c/p\u003e\n"],["\u003cp\u003eIt includes various token and authorization request classes such as \u003ccode\u003eAuthorizationCodeRequestUrl\u003c/code\u003e, \u003ccode\u003eAuthorizationCodeTokenRequest\u003c/code\u003e, and \u003ccode\u003eRefreshTokenRequest\u003c/code\u003e that are used in the OAuth 2.0 flow.\u003c/p\u003e\n"],["\u003cp\u003eThere are specific implementations within the namespace such as \u003ccode\u003eGoogleAssertionTokenRequest\u003c/code\u003e and \u003ccode\u003eGoogleAuthorizationCodeRequestUrl\u003c/code\u003e which are tailored to Google's OAuth 2.0 service.\u003c/p\u003e\n"],["\u003cp\u003eThe document also covers the general \u003ccode\u003eTokenRequest\u003c/code\u003e class and its \u003ccode\u003eTokenRequestExtensions\u003c/code\u003e for handling access tokens, in addition to outlining available version histories.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation references standards and guides, including RFC6749 and Google's OAuth 2.0 documentation for service accounts and web server applications.\u003c/p\u003e\n"]]],[],null,["# Namespace Google.Apis.Auth.OAuth2.Requests (1.69.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.69.0 (latest)](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.OAuth2.Requests)\n- [1.68.0](/dotnet/docs/reference/Google.Apis/1.68.0/Google.Apis.Auth.OAuth2.Requests)\n- [1.60.0](/dotnet/docs/reference/Google.Apis/1.60.0/Google.Apis.Auth.OAuth2.Requests)\n- [1.59.0](/dotnet/docs/reference/Google.Apis/1.59.0/Google.Apis.Auth.OAuth2.Requests)\n- [1.55.0](/dotnet/docs/reference/Google.Apis/1.55.0/Google.Apis.Auth.OAuth2.Requests)\n- [1.50.0](/dotnet/docs/reference/Google.Apis/1.50.0/Google.Apis.Auth.OAuth2.Requests) \n\nClasses\n-------\n\n### [AuthorizationCodeRequestUrl](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.OAuth2.Requests.AuthorizationCodeRequestUrl)\n\nOAuth 2.0 request URL for an authorization web page to allow the end user to authorize the application to\naccess their protected resources and that returns an authorization code, as specified in\n\u003chttp://tools.ietf.org/html/rfc6749#section-4.1\u003e.\n\n### [AuthorizationCodeTokenRequest](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.OAuth2.Requests.AuthorizationCodeTokenRequest)\n\nOAuth 2.0 request for an access token using an authorization code as specified in\n\u003chttp://tools.ietf.org/html/rfc6749#section-4.1.3\u003e.\n\n### [AuthorizationRequestUrl](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.OAuth2.Requests.AuthorizationRequestUrl)\n\nOAuth 2.0 request URL for an authorization web page to allow the end user to authorize the application to\naccess their protected resources, as specified in \u003chttp://tools.ietf.org/html/rfc6749#section-3.1\u003e.\n\n### [GoogleAssertionTokenRequest](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.OAuth2.Requests.GoogleAssertionTokenRequest)\n\nService account assertion token request as specified in\n\u003chttps://developers.google.com/accounts/docs/OAuth2ServiceAccount#makingrequest\u003e.\n\n### [GoogleAuthorizationCodeRequestUrl](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.OAuth2.Requests.GoogleAuthorizationCodeRequestUrl)\n\nGoogle-specific implementation of the OAuth 2.0 URL for an authorization web page to allow the end user to\nauthorize the application to access their protected resources and that returns an authorization code, as\nspecified in \u003chttps://developers.google.com/accounts/docs/OAuth2WebServer\u003e.\n\n### [RefreshTokenRequest](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.OAuth2.Requests.RefreshTokenRequest)\n\nOAuth 2.0 request to refresh an access token using a refresh token as specified in\n\u003chttp://tools.ietf.org/html/rfc6749#section-6\u003e.\n\n### [TokenRequest](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.OAuth2.Requests.TokenRequest)\n\nOAuth 2.0 request for an access token as specified in \u003chttp://tools.ietf.org/html/rfc6749#section-4\u003e.\n\n### [TokenRequestExtenstions](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.OAuth2.Requests.TokenRequestExtenstions)\n\nExtension methods to [TokenRequest](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Auth.OAuth2.Requests.TokenRequest)."]]