[BindServiceMethod(typeof(IdentityAwareProxyOAuthService), "BindService")]public abstract class IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceBase
Reference documentation and code samples for the Cloud Identity-Aware Proxy v1 API class IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceBase.
Base class for server-side implementations of IdentityAwareProxyOAuthService
public virtual Task<Brand> CreateBrand(CreateBrandRequest request, ServerCallContext context)
Constructs a new OAuth brand for the project if one does not exist.
The created brand is "internal only", meaning that OAuth clients created
under it only accept requests from users who belong to the same Google
Workspace organization as the project. The brand is created in an
un-reviewed status. NOTE: The "internal only" status can be manually
changed in the Google Cloud Console. Requires that a brand does not already
exist for the project, and that the specified support email is owned by the
caller.
public virtual Task<IdentityAwareProxyClient> CreateIdentityAwareProxyClient(CreateIdentityAwareProxyClientRequest request, ServerCallContext context)
Creates an Identity Aware Proxy (IAP) OAuth client. The client is owned
by IAP. Requires that the brand for the project exists and that it is
set for internal-only use.
public virtual Task<Empty> DeleteIdentityAwareProxyClient(DeleteIdentityAwareProxyClientRequest request, ServerCallContext context)
Deletes an Identity Aware Proxy (IAP) OAuth client. Useful for removing
obsolete clients, managing the number of clients in a given project, and
cleaning up after tests. Requires that the client is owned by IAP.
[[["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\u003eIdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceBase\u003c/code\u003e class, which is a base class for server-side implementations of the IdentityAwareProxyOAuthService in the Google Cloud Identity-Aware Proxy v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers a range of methods available within this class, such as \u003ccode\u003eCreateBrand\u003c/code\u003e, \u003ccode\u003eCreateIdentityAwareProxyClient\u003c/code\u003e, \u003ccode\u003eDeleteIdentityAwareProxyClient\u003c/code\u003e, \u003ccode\u003eGetBrand\u003c/code\u003e, \u003ccode\u003eGetIdentityAwareProxyClient\u003c/code\u003e, \u003ccode\u003eListBrands\u003c/code\u003e, \u003ccode\u003eListIdentityAwareProxyClients\u003c/code\u003e, and \u003ccode\u003eResetIdentityAwareProxyClientSecret\u003c/code\u003e, all of which deal with managing OAuth brands and clients.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is version 2.7.0, with older versions available as well, down to version 1.0.0 for users that need to access previous versions.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and includes methods like \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e, which are standard methods from the base object class.\u003c/p\u003e\n"],["\u003cp\u003eAll methods within this class take a request object and a \u003ccode\u003eServerCallContext\u003c/code\u003e as parameters, and all return a \u003ccode\u003eTask\u003c/code\u003e object that wraps the return value.\u003c/p\u003e\n"]]],[],null,["# Cloud Identity-Aware Proxy v1 API - Class IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceBase (2.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.8.0 (latest)](/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceBase)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Iap.V1/2.7.0/Google.Cloud.Iap.V1.IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceBase)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Iap.V1/2.6.0/Google.Cloud.Iap.V1.IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceBase)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Iap.V1/2.5.0/Google.Cloud.Iap.V1.IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceBase)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Iap.V1/2.4.0/Google.Cloud.Iap.V1.IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceBase)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Iap.V1/2.3.0/Google.Cloud.Iap.V1.IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceBase)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Iap.V1/2.2.0/Google.Cloud.Iap.V1.IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceBase)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Iap.V1/2.1.0/Google.Cloud.Iap.V1.IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceBase)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Iap.V1/2.0.0/Google.Cloud.Iap.V1.IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceBase)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Iap.V1/1.2.0/Google.Cloud.Iap.V1.IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceBase)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Iap.V1/1.1.0/Google.Cloud.Iap.V1.IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceBase)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Iap.V1/1.0.0/Google.Cloud.Iap.V1.IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceBase) \n\n [BindServiceMethod(typeof(IdentityAwareProxyOAuthService), \"BindService\")]\n public abstract class IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceBase\n\nReference documentation and code samples for the Cloud Identity-Aware Proxy v1 API class IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceBase.\n\nBase class for server-side implementations of IdentityAwareProxyOAuthService \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceBase \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Iap.V1](/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Iap.V1.dll\n\nMethods\n-------\n\n### CreateBrand(CreateBrandRequest, ServerCallContext)\n\n public virtual Task\u003cBrand\u003e CreateBrand(CreateBrandRequest request, ServerCallContext context)\n\nConstructs a new OAuth brand for the project if one does not exist.\nThe created brand is \"internal only\", meaning that OAuth clients created\nunder it only accept requests from users who belong to the same Google\nWorkspace organization as the project. The brand is created in an\nun-reviewed status. NOTE: The \"internal only\" status can be manually\nchanged in the Google Cloud Console. Requires that a brand does not already\nexist for the project, and that the specified support email is owned by the\ncaller.\n\n### CreateIdentityAwareProxyClient(CreateIdentityAwareProxyClientRequest, ServerCallContext)\n\n public virtual Task\u003cIdentityAwareProxyClient\u003e CreateIdentityAwareProxyClient(CreateIdentityAwareProxyClientRequest request, ServerCallContext context)\n\nCreates an Identity Aware Proxy (IAP) OAuth client. The client is owned\nby IAP. Requires that the brand for the project exists and that it is\nset for internal-only use.\n\n### DeleteIdentityAwareProxyClient(DeleteIdentityAwareProxyClientRequest, ServerCallContext)\n\n public virtual Task\u003cEmpty\u003e DeleteIdentityAwareProxyClient(DeleteIdentityAwareProxyClientRequest request, ServerCallContext context)\n\nDeletes an Identity Aware Proxy (IAP) OAuth client. Useful for removing\nobsolete clients, managing the number of clients in a given project, and\ncleaning up after tests. Requires that the client is owned by IAP.\n\n### GetBrand(GetBrandRequest, ServerCallContext)\n\n public virtual Task\u003cBrand\u003e GetBrand(GetBrandRequest request, ServerCallContext context)\n\nRetrieves the OAuth brand of the project.\n\n### GetIdentityAwareProxyClient(GetIdentityAwareProxyClientRequest, ServerCallContext)\n\n public virtual Task\u003cIdentityAwareProxyClient\u003e GetIdentityAwareProxyClient(GetIdentityAwareProxyClientRequest request, ServerCallContext context)\n\nRetrieves an Identity Aware Proxy (IAP) OAuth client.\nRequires that the client is owned by IAP.\n\n### ListBrands(ListBrandsRequest, ServerCallContext)\n\n public virtual Task\u003cListBrandsResponse\u003e ListBrands(ListBrandsRequest request, ServerCallContext context)\n\nLists the existing brands for the project.\n\n### ListIdentityAwareProxyClients(ListIdentityAwareProxyClientsRequest, ServerCallContext)\n\n public virtual Task\u003cListIdentityAwareProxyClientsResponse\u003e ListIdentityAwareProxyClients(ListIdentityAwareProxyClientsRequest request, ServerCallContext context)\n\nLists the existing clients for the brand.\n\n### ResetIdentityAwareProxyClientSecret(ResetIdentityAwareProxyClientSecretRequest, ServerCallContext)\n\n public virtual Task\u003cIdentityAwareProxyClient\u003e ResetIdentityAwareProxyClientSecret(ResetIdentityAwareProxyClientSecretRequest request, ServerCallContext context)\n\nResets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the\nsecret was compromised. Requires that the client is owned by IAP."]]