<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/SecAuthenticationType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@E@SecAuthenticationType"
  },
  "title" : "SecAuthenticationType"
}
-->

# SecAuthenticationType

The authentication type to use for an Internet password.

```
enum SecAuthenticationType
```

## Topics

### Constants

[`kSecAuthenticationTypeNTLM`](/documentation/Security/SecAuthenticationType/NTLM)

Specifies Windows NT LAN Manager authentication.

[`kSecAuthenticationTypeMSN`](/documentation/Security/SecAuthenticationType/MSN)

Specifies Microsoft Network default authentication.

[`kSecAuthenticationTypeDPA`](/documentation/Security/SecAuthenticationType/DPA)

Specifies Distributed Password authentication.

[`kSecAuthenticationTypeRPA`](/documentation/Security/SecAuthenticationType/RPA)

Specifies Remote Password authentication.

[`kSecAuthenticationTypeHTTPBasic`](/documentation/Security/SecAuthenticationType/httpBasic)

Specifies HTTP Basic authentication.

[`kSecAuthenticationTypeHTTPDigest`](/documentation/Security/SecAuthenticationType/httpDigest)

Specifies HTTP Digest Access authentication.

[`kSecAuthenticationTypeHTMLForm`](/documentation/Security/SecAuthenticationType/htmlForm)

Specifies HTML form based authentication.

[`kSecAuthenticationTypeDefault`](/documentation/Security/SecAuthenticationType/default)

Specifies the default authentication type.

[`kSecAuthenticationTypeAny`](/documentation/Security/SecAuthenticationType/any)

Specifies that any authentication type is acceptable.

## Relationships

### Conforms To

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Hashable`](/documentation/Swift/Hashable)

---

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)