<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASDeliveredVerificationCodesManager",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "s:22AuthenticationServices35ASDeliveredVerificationCodesManagerC"
  },
  "title" : "ASDeliveredVerificationCodesManager"
}
-->

# ASDeliveredVerificationCodesManager

This class allows interacting with one-time codes delivered to the system.

```
class ASDeliveredVerificationCodesManager
```

## Overview

The codes may be delivered from many different sources, for example, email or SMS.

## Topics

### Structures

[`struct VerificationError`](/documentation/AuthenticationServices/ASDeliveredVerificationCodesManager/VerificationError)

### Initializers

[`init()`](/documentation/AuthenticationServices/ASDeliveredVerificationCodesManager/init())

### Instance Methods

[`func consumeOneTimeCode(ASVerificationCode) async throws`](/documentation/AuthenticationServices/ASDeliveredVerificationCodesManager/consumeOneTimeCode(_:))

Mark a one-time code as “consumed” by the current process.

[`func oneTimeCodes(preferredDuration: TimeInterval, anchor: ASPresentationAnchor) async throws -> some AsyncSequence<ASVerificationCode, any Error>`](/documentation/AuthenticationServices/ASDeliveredVerificationCodesManager/oneTimeCodes(preferredDuration:anchor:)-6x2k6)

Stream one-time codes received by the system.

[`func oneTimeCodes(preferredDuration: TimeInterval, anchor: ASPresentationAnchor) async throws -> some AsyncSequence<ASVerificationCode, any Error>`](/documentation/AuthenticationServices/ASDeliveredVerificationCodesManager/oneTimeCodes(preferredDuration:anchor:)-tyrg)

Stream one-time codes received by the system.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)