org.keycloak.models

## Interface UserSessionModel

- All Known Implementing Classes:
    UserSessionAdapter, UserSessionAdapter

      public interface UserSessionModel

  Author:
    Stian Thorgersen

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `associateClient(ClientModel client)`
    `List<ClientModel>` | `getClientAssociations()`
    `String` | `getId()`
    `String` | `getIpAddress()`
    `int` | `getLastSessionRefresh()`
    `int` | `getStarted()`
    `UserModel` | `getUser()`
    `void` | `removeAssociatedClient(ClientModel client)`
    `void` | `setId(String id)`
    `void` | `setIpAddress(String ipAddress)`
    `void` | `setLastSessionRefresh(int seconds)`
    `void` | `setStarted(int started)`
    `void` | `setUser(UserModel user)`

- - ### Method Detail

    - #### getId

          String getId()

    - #### setId

          void setId(String id)

    - #### getUser

          UserModel getUser()

    - #### setUser

          void setUser(UserModel user)

    - #### getIpAddress

          String getIpAddress()

    - #### setIpAddress

          void setIpAddress(String ipAddress)

    - #### getStarted

          int getStarted()

    - #### setStarted

          void setStarted(int started)

    - #### getLastSessionRefresh

          int getLastSessionRefresh()

    - #### setLastSessionRefresh

          void setLastSessionRefresh(int seconds)

    - #### associateClient

          void associateClient(ClientModel client)

    - #### getClientAssociations

          List<ClientModel> getClientAssociations()

    - #### removeAssociatedClient

          void removeAssociatedClient(ClientModel client)

Copyright © 2014. All Rights Reserved.