> ## Documentation Index
> Fetch the complete documentation index at: https://docs.seam.co/llms.txt
> Use this file to discover all available pages before exploring further.

# SeamCredential

> Represents a Seam access credential for display, selection, and management.

## Overview

```swift theme={null}
struct SeamCredential
```

Represents a Seam access credential for display, selection, and management.

***

## Initializers

### `init(id:isManaged:name:location:providerName:expiry:cardNumber:code:supportedUnlockProximities:errors:)`

```swift theme={null}
init(id: String, isManaged: Bool, name: String, location: String, providerName: String?, expiry: Date?, cardNumber: String?, code: String?, supportedUnlockProximities: [SeamUnlockProximity], errors: [SeamCredentialError])
```

***

## Instance Properties

### `cardNumber`

The card number associated with this credential, if any.

```swift theme={null}
let cardNumber: String?
```

### `code`

The code associated with this credential, if any.

```swift theme={null}
let code: String?
```

### `errors`

The list of errors currently affecting this credential.

```swift theme={null}
let errors: [SeamCredentialError]
```

### `expiry`

The expiration date of the credential, if available.

```swift theme={null}
let expiry: Date?
```

### `id`

The unique identifier for this credential.

```swift theme={null}
let id: String
```

### `isManaged`

Indicates whether this credential was created and managed by the Seam API (`true`) or was discovered directly through the provider integration (`false`).

```swift theme={null}
let isManaged: Bool
```

### `location`

The credential’s associated location.

```swift theme={null}
let location: String
```

### `name`

The display name associated with this credential.

```swift theme={null}
let name: String
```

### `providerName`

The third party provider (latch, salto space) associated with this credential, if any.

```swift theme={null}
let providerName: String?
```

### `supportedUnlockProximities`

The set of proximity levels this credential supports, ordered by preference.

```swift theme={null}
let supportedUnlockProximities: [SeamUnlockProximity]
```
