Thread-safe OAuth 2.0 authorization code flow that manages and persists end-user credentials.
This is designed to simplify the flow in which an end-user authorizes the application to access their protected
data, and then the application has access to their data based on an access token and a refresh token to refresh
that access token when it expires.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eGoogle.Apis.Auth.OAuth2.Flows\u003c/code\u003e namespace, covering various versions from 1.50.0 to the latest 1.69.0, along with links to specific version details.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAuthorizationCodeFlow\u003c/code\u003e class is a core component, providing a thread-safe implementation for managing and persisting end-user OAuth 2.0 credentials, using access tokens and refresh tokens.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGoogleAuthorizationCodeFlow\u003c/code\u003e and \u003ccode\u003ePkceGoogleAuthorizationCodeFlow\u003c/code\u003e classes are provided for Google-specific authorization flows, with the latter supporting PKCE (Proof Key for Code Exchange) for enhanced security.\u003c/p\u003e\n"],["\u003cp\u003eInterfaces like \u003ccode\u003eIAuthorizationCodeFlow\u003c/code\u003e and \u003ccode\u003eIPkceAuthorizationCodeFlow\u003c/code\u003e define the structure for authorization code flows and flows supporting PKCE, respectively.\u003c/p\u003e\n"],["\u003cp\u003eInitializer classes like \u003ccode\u003eAuthorizationCodeFlow.Initializer\u003c/code\u003e and \u003ccode\u003eGoogleAuthorizationCodeFlow.Initializer\u003c/code\u003e are used to help configure and customize authorization code flows.\u003c/p\u003e\n"]]],[],null,[]]