---
title: "ASImportableCredential.totp(_:)"
framework: authenticationservices
role: symbol
role_heading: Case
path: "authenticationservices/asimportablecredential/totp(_:)"
---

# ASImportableCredential.totp(_:)

A time-based one-time password (TOTP) credential.

## Declaration

```swift
case totp(ASImportableCredential.TOTP)
```

## See Also

### Login credential types

- [ASImportableCredential.basicAuthentication(_:)](authenticationservices/asimportablecredential/basicauthentication(_:).md)
- [ASImportableCredential.BasicAuthentication](authenticationservices/asimportablecredential/basicauthentication.md)
- [ASImportableCredential.passkey(_:)](authenticationservices/asimportablecredential/passkey(_:).md)
- [ASImportableCredential.Passkey](authenticationservices/asimportablecredential/passkey.md)
- [ASImportableCredential.TOTP](authenticationservices/asimportablecredential/totp.md)
