<!--
{
  "availability" : [
    "iOS: 26.2.0 -",
    "iPadOS: 26.2.0 -",
    "macCatalyst: 26.2.0 -",
    "visionOS: 26.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASGeneratedPassword",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "c:objc(cs)ASGeneratedPassword"
  },
  "title" : "ASGeneratedPassword"
}
-->

# ASGeneratedPassword

```
class ASGeneratedPassword
```

## Topics

### Structures

[`struct Kind`](/documentation/AuthenticationServices/ASGeneratedPassword/Kind-swift.struct)

### Initializers

[`init?(coder: NSCoder)`](/documentation/AuthenticationServices/ASGeneratedPassword/init(coder:))

[`init(kind: ASGeneratedPassword.Kind, value: String)`](/documentation/AuthenticationServices/ASGeneratedPassword/init(kind:value:))

### Instance Properties

[`var kind: ASGeneratedPassword.Kind`](/documentation/AuthenticationServices/ASGeneratedPassword/kind-swift.property)

The kind of password that this represents.

[`var localizedName: String`](/documentation/AuthenticationServices/ASGeneratedPassword/localizedName)

The user-visible description of this password, derived from the kind.

[`var value: String`](/documentation/AuthenticationServices/ASGeneratedPassword/value)

The value of the password.

## Relationships

### Conforms To

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

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

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`NSCoding`](/documentation/Foundation/NSCoding)

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

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

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

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

[`NSCopying`](/documentation/Foundation/NSCopying)

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

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

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)