Class: Respoke::Response::SessionTokenId

Inherits:
Hashie::Mash
  • Object
show all
Includes:
Hashie::Extensions::Coercion
Defined in:
lib/respoke/response/session_token_id.rb

Overview

A response object for token requests.

Instance Attribute Summary collapse

Instance Attribute Details

#appIdString

App ID App-Token is associated with.

Returns:

  • (String)

    the current value of appId


15
16
17
# File 'lib/respoke/response/session_token_id.rb', line 15

def appId
  @appId
end

#createdAtDateTime

When the token request was made.

Returns:

  • (DateTime)

    the current value of createdAt


15
16
17
# File 'lib/respoke/response/session_token_id.rb', line 15

def createdAt
  @createdAt
end

#createTimeDateTime

When the token was created.

Returns:

  • (DateTime)

    the current value of createTime


15
16
17
# File 'lib/respoke/response/session_token_id.rb', line 15

def createTime
  @createTime
end

#endpointIdString

Endpoint ID App-Token is for.

Returns:

  • (String)

    the current value of endpointId


15
16
17
# File 'lib/respoke/response/session_token_id.rb', line 15

def endpointId
  @endpointId
end

#expiryTimeDateTime

When the token expires.

Returns:

  • (DateTime)

    the current value of expiryTime


15
16
17
# File 'lib/respoke/response/session_token_id.rb', line 15

def expiryTime
  @expiryTime
end

#roleIdString

Role ID App-Token is assigned.

Returns:

  • (String)

    the current value of roleId


15
16
17
# File 'lib/respoke/response/session_token_id.rb', line 15

def roleId
  @roleId
end

#tokenIdString

Token ID used to request an App-Token.

Returns:

  • (String)

    the current value of tokenId


15
16
17
# File 'lib/respoke/response/session_token_id.rb', line 15

def tokenId
  @tokenId
end

#ttlNumber

Number of seconds App-Token is valid for.

Returns:

  • (Number)

    the current value of ttl


15
16
17
# File 'lib/respoke/response/session_token_id.rb', line 15

def ttl
  @ttl
end