<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASCredentialRequestType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "c:@E@ASCredentialRequestType"
  },
  "title" : "ASCredentialRequestType"
}
-->

# ASCredentialRequestType

An enumeration that identifies different types of credentials that apps and websites can request.

```
enum ASCredentialRequestType
```

## Topics

### Credential types

[`ASCredentialRequestType.passkeyAssertion`](/documentation/AuthenticationServices/ASCredentialRequestType/passkeyAssertion)

The app or website is requesting a passkey assertion credential.

[`ASCredentialRequestType.passkeyRegistration`](/documentation/AuthenticationServices/ASCredentialRequestType/passkeyRegistration)

The app or website is requesting a passkey registration credential.

[`ASCredentialRequestType.password`](/documentation/AuthenticationServices/ASCredentialRequestType/password)

The app or website is requesting a password credential.

[`ASCredentialRequestType.oneTimeCode`](/documentation/AuthenticationServices/ASCredentialRequestType/oneTimeCode)

The app or website is requesting a one-time passcode.



---

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)