# Cloud Identity-Aware Proxy v1 API - Class IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceBase (2.10.0)

2.10.0 (latest) 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0

    [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

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> IdentityAwareProxyOAuthService.IdentityAwareProxyOAuthServiceBase

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Iap.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1)

## Assembly

Google.Cloud.Iap.V1.dll

## Methods

### CreateBrand(CreateBrandRequest, ServerCallContext)

    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.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.CreateBrandRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.Brand` | The response to send back to the client (wrapped by a task). |

### CreateIdentityAwareProxyClient(CreateIdentityAwareProxyClientRequest, ServerCallContext)

    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.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.CreateIdentityAwareProxyClientRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.IdentityAwareProxyClient` | The response to send back to the client (wrapped by a task). |

### DeleteIdentityAwareProxyClient(DeleteIdentityAwareProxyClientRequest, ServerCallContext)

    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.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.DeleteIdentityAwareProxyClientRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.html` | The response to send back to the client (wrapped by a task). |

### GetBrand(GetBrandRequest, ServerCallContext)

    public virtual Task<Brand> GetBrand(GetBrandRequest request, ServerCallContext context)

Retrieves the OAuth brand of the project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.GetBrandRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.Brand` | The response to send back to the client (wrapped by a task). |

### GetIdentityAwareProxyClient(GetIdentityAwareProxyClientRequest, ServerCallContext)

    public virtual Task<IdentityAwareProxyClient> GetIdentityAwareProxyClient(GetIdentityAwareProxyClientRequest request, ServerCallContext context)

Retrieves an Identity Aware Proxy (IAP) OAuth client.
Requires that the client is owned by IAP.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.GetIdentityAwareProxyClientRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.IdentityAwareProxyClient` | The response to send back to the client (wrapped by a task). |

### ListBrands(ListBrandsRequest, ServerCallContext)

    public virtual Task<ListBrandsResponse> ListBrands(ListBrandsRequest request, ServerCallContext context)

Lists the existing brands for the project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.ListBrandsRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.ListBrandsResponse` | The response to send back to the client (wrapped by a task). |

### ListIdentityAwareProxyClients(ListIdentityAwareProxyClientsRequest, ServerCallContext)

    public virtual Task<ListIdentityAwareProxyClientsResponse> ListIdentityAwareProxyClients(ListIdentityAwareProxyClientsRequest request, ServerCallContext context)

Lists the existing clients for the brand.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.ListIdentityAwareProxyClientsRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.ListIdentityAwareProxyClientsResponse` | The response to send back to the client (wrapped by a task). |

### ResetIdentityAwareProxyClientSecret(ResetIdentityAwareProxyClientSecretRequest, ServerCallContext)

    public virtual Task<IdentityAwareProxyClient> ResetIdentityAwareProxyClientSecret(ResetIdentityAwareProxyClientSecretRequest request, ServerCallContext context)

Resets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the
secret was compromised. Requires that the client is owned by IAP.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.ResetIdentityAwareProxyClientSecretRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.IdentityAwareProxyClient` | The response to send back to the client (wrapped by a task). |