class_docstr: Get a token based on supplied credentials (key/secret).
          Intended for use by users with key/secret credentials that wish to obtain a token
          for use with other services. Token will be limited by the same permissions that
          exist for the credentials used in this call.
  
  :param expiration_sec: Requested token expiration time in seconds. Not
      guaranteed,  might be overridden by the service
  :type expiration_sec: int
class_docstr_tok: ["Get","a","token","based","on","supplied","credentials","(","key\/secret",")",".","Intended","for","use","by","users","with","key\/secret","credentials","that","wish","to","obtain","a","token","for","use","with","other","services",".","Token","will","be","limited","by","the","same","permissions","that","exist","for","the","credentials","used","in","this","call",".",":","param","expiration_sec",":","Requested","token","expiration","time","in","seconds",".","Not","guaranteed",",","might","be","overridden","by","the","service",":","type","expiration_sec",":","int"]
code: def __init__(self, expiration_sec=None, **kwargs):
      super(LoginRequest, self).__init__(**kwargs)
      self.expiration_sec = expiration_sec
  
imports: from datetime import datetime
  import six
  from dateutil.parser import parse
  from ....backend_api.session import NonStrictDataModel, Request, Response, schema_property
label_desc: Use image node_id 1 to create a new LoginRequest object from inherited base classes: Request with example: obj = LoginRequest(expiration_sec)