Package fr.gouv.vitam.ihmdemo.appserver

# Class LoginModel

java.lang.Object
fr.gouv.vitam.ihmdemo.appserver.LoginModel

public class LoginModel extends Object
Login Model class

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LoginModel(String userName, List<String> permissions, long sessionTimeout, String tokenCSRF)`
  Constructor

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<String>`
  `getPermissions()`
  `long`
  `getSessionTimeout()`
  `String`
  `getTokenCSRF()`
  `String`
  `getUserName()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### LoginModel

    public LoginModel(String userName, List<String> permissions, long sessionTimeout, String tokenCSRF)
    Constructor
    Parameters:
      `userName` - the user name
      `permissions` - list of permissions
      `sessionTimeout` - the session timeout as a long
      `tokenCSRF` - the csrf token

- ## Method Details

  - ### getUserName

    public String getUserName()
    Returns:
      userName

  - ### getPermissions

    public List<String> getPermissions()
    Returns:
      permissions

  - ### getSessionTimeout

    public long getSessionTimeout()
    Returns:
      sessionTimeout

  - ### getTokenCSRF

    public String getTokenCSRF()
    Returns:
      tokenCSRF