---
title: ASOneTimeCodeCredentialIdentity
framework: authenticationservices
role: symbol
role_heading: Class
path: authenticationservices/asonetimecodecredentialidentity
---

# ASOneTimeCodeCredentialIdentity

## Declaration

```swift
class ASOneTimeCodeCredentialIdentity
```

## Overview

Overview An ASOneTimeCodeCredentialIdentity is used to describe an identity that can use a service upon successful one-time code based authentication. Use this class to save entries into ASCredentialIdentityStore.

## Topics

### Initializers

- [init(coder:)](authenticationservices/asonetimecodecredentialidentity/init(coder:).md)
- [init(serviceIdentifier:label:recordIdentifier:)](authenticationservices/asonetimecodecredentialidentity/init(serviceidentifier:label:recordidentifier:).md)

### Instance Properties

- [label](authenticationservices/asonetimecodecredentialidentity/label.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [ASCredentialIdentity](authenticationservices/ascredentialidentity.md)
- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
