# AccountLoginTrait


```
@Generated(value = ["GoogleHomePlatformCodegen"])
object AccountLoginTrait
```

<br />

*** ** * ** ***

Attributes for AccountLoginTrait.

## Summary

| ### Nested types |
|---|
| `@https://developers.home.google.com/reference/kotlin/javax/annotation/processing/Generated(value = ["GoogleHomePlatformCodegen"]) interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/AccountLoginTrait.Attributes : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Attributes for the AccountLogin cluster. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/AccountLoginTrait.Feature` |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/AccountLoginTrait.GetSetupPinCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Determine if the active user account of the given content app matches the active user account of the given commissionee, and if it does, return a setup PIN which can be used to establish a password-authenticated session with the commissionee. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/AccountLoginTrait.GetSetupPinCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the GetSetupPin command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/AccountLoginTrait.GetSetupPinCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/AccountLoginTrait.GetSetupPinCommand.Response : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Contains the setup PIN. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/AccountLoginTrait.GetSetupPinCommand.Response.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's response fields. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/AccountLoginTrait.LoggedOut : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Indicates that the current user account has logged out of the content app. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/AccountLoginTrait.LoginCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Allow the content app to assume the user account of the given commissionee by leveraging the setup PIN input by the user during the commissioning process. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/AccountLoginTrait.LoginCommand.OptionalArgs` Optional arguments for the command LoginCommand Request |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/AccountLoginTrait.LoginCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the Login command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/AccountLoginTrait.LoginCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/AccountLoginTrait.LogoutCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Instruct the content app to clear the current user account and end the user session. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/AccountLoginTrait.LogoutCommand.OptionalArgs` Optional arguments for the command LogoutCommand Request |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/AccountLoginTrait.LogoutCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the Logout command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/AccountLoginTrait.LogoutCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |

| ### Public properties |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/ClusterId` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/AccountLoginTrait#Id()` |

## Public properties

### Id

```
val Id: ClusterId
```