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"]],[["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 covers the \u003ccode\u003eGoogle.Apis.Auth.OAuth2.Flows\u003c/code\u003e namespace, specifically for version 1.60.0, and includes links to other versions such as the latest 1.69.0 and previous versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAuthorizationCodeFlow\u003c/code\u003e class is a thread-safe implementation for managing and persisting end-user credentials during the OAuth 2.0 authorization code flow.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGoogleAuthorizationCodeFlow\u003c/code\u003e class is a specialized Google implementation of the authorization code flow, inheriting from \u003ccode\u003eAuthorizationCodeFlow\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eInitializer classes, \u003ccode\u003eAuthorizationCodeFlow.Initializer\u003c/code\u003e and \u003ccode\u003eGoogleAuthorizationCodeFlow.Initializer\u003c/code\u003e, are provided to aid in the setup of their respective flows.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIAuthorizationCodeFlow\u003c/code\u003e interface defines the contract for OAuth 2.0 authorization code flows, including managing and persisting end-user credentials.\u003c/p\u003e\n"]]],[],null,[]]