# SourceCodeRepoAuthInfoProxy

- Module: [Aspire.Hosting.Azure.Provisioning.ContainerRegistry](/reference/api/typescript/aspire.hosting.azure.provisioning.containerregistry.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Represents the SourceCodeRepoAuthInfo Azure Provisioning model.

## Definition

```typescript
interface SourceCodeRepoAuthInfoProxy {
  expireInSeconds: BicepValueProxy | number;
  refreshToken: BicepValueProxy | string;
  scope: BicepValueProxy | string;
  token: BicepValueProxy | string;
  tokenType: BicepValueProxy | SourceCodeRepoAuthTokenType;
  clearExpireInSeconds(): void;
  clearRefreshToken(): void;
  clearScope(): void;
  clearToken(): void;
  clearTokenType(): void;
}
```

## Properties

- `expireInSeconds`: `BicepValueProxy | number` `get - set` -- Gets or sets the ExpireInSeconds provisioning property.
- `refreshToken`: `BicepValueProxy | string` `get - set` -- Gets or sets the RefreshToken provisioning property.
- `scope`: `BicepValueProxy | string` `get - set` -- Gets or sets the Scope provisioning property.
- `token`: `BicepValueProxy | string` `get - set` -- Gets or sets the Token provisioning property.
- `tokenType`: `BicepValueProxy | SourceCodeRepoAuthTokenType` `get - set` -- Gets or sets the TokenType provisioning property.

## Methods

- [clearExpireInSeconds](/reference/api/typescript/aspire.hosting.azure.provisioning.containerregistry/sourcecoderepoauthinfoproxy/clearexpireinseconds.md) -- `method` -- Clears the ExpireInSeconds provisioning property.
    ```typescript
  clearExpireInSeconds(): void
  ```
- [clearRefreshToken](/reference/api/typescript/aspire.hosting.azure.provisioning.containerregistry/sourcecoderepoauthinfoproxy/clearrefreshtoken.md) -- `method` -- Clears the RefreshToken provisioning property.
    ```typescript
  clearRefreshToken(): void
  ```
- [clearScope](/reference/api/typescript/aspire.hosting.azure.provisioning.containerregistry/sourcecoderepoauthinfoproxy/clearscope.md) -- `method` -- Clears the Scope provisioning property.
    ```typescript
  clearScope(): void
  ```
- [clearToken](/reference/api/typescript/aspire.hosting.azure.provisioning.containerregistry/sourcecoderepoauthinfoproxy/cleartoken.md) -- `method` -- Clears the Token provisioning property.
    ```typescript
  clearToken(): void
  ```
- [clearTokenType](/reference/api/typescript/aspire.hosting.azure.provisioning.containerregistry/sourcecoderepoauthinfoproxy/cleartokentype.md) -- `method` -- Clears the TokenType provisioning property.
    ```typescript
  clearTokenType(): void
  ```
