Android-cuttlefish cvd tool
Classes | Namespaces | Functions
oauth2_consent.h File Reference
#include <unistd.h>
#include <string>
#include <vector>
#include "cuttlefish/common/libs/utils/result.h"
#include "cuttlefish/host/libs/web/credential_source.h"
#include "cuttlefish/host/libs/web/http_client/http_client.h"
Include dependency graph for oauth2_consent.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cuttlefish::Oauth2ConsentRequest
 

Namespaces

namespace  cuttlefish
 

Functions

Result< std::unique_ptr< CredentialSource > > cuttlefish::Oauth2LoginLocal (HttpClient &http_client, const Oauth2ConsentRequest &request)
 
Result< std::unique_ptr< CredentialSource > > cuttlefish::Oauth2LoginSsh (HttpClient &http_client, const Oauth2ConsentRequest &request)
 
Result< std::unique_ptr< CredentialSource > > cuttlefish::CredentialForScopes (HttpClient &http_client, const std::vector< std::string > &scopes)