class LiveIdentity::IDCRL::Structs::AuthState
Public Instance Methods
ResultFlags()
click to toggle source
# File lib/live_identity/idcrl/structs.rb, line 262 def ResultFlags self[:dwResultFlags] end
ResultFlags=(resultFlags)
click to toggle source
# File lib/live_identity/idcrl/structs.rb, line 266 def ResultFlags= (resultFlags) self[:dwResultFlags] = resultFlags end
SessionKey()
click to toggle source
# File lib/live_identity/idcrl/structs.rb, line 270 def SessionKey @SessionKey ||= read_wide_string(self[:pbSessionKey]) unless self[:pbSessionKey].null? end
SessionKey=(sessionKey)
click to toggle source
# File lib/live_identity/idcrl/structs.rb, line 274 def SessionKey= (sessionKey) @SessionKey = sessionKey self[:pbSessionKey] = StringToWSTR(sessionKey) end
SessionKeyLength()
click to toggle source
# File lib/live_identity/idcrl/structs.rb, line 279 def SessionKeyLength self[:dwSessionKeyLength] end
SessionKeyLength=(sessionKeyLength)
click to toggle source
# File lib/live_identity/idcrl/structs.rb, line 283 def SessionKeyLength= (sessionKeyLength) self[:dwSessionKeyLength] = sessionKeyLength end
Token()
click to toggle source
# File lib/live_identity/idcrl/structs.rb, line 253 def Token @Token ||= read_wide_string(self[:szToken]) unless self[:szToken].null? end
Token=(token)
click to toggle source
# File lib/live_identity/idcrl/structs.rb, line 257 def Token= (token) @Token = token self[:szToken] = StringToWSTR(token) end
to_s()
click to toggle source
# File lib/live_identity/idcrl/structs.rb, line 287 def to_s "Token: #{Token()}\n" + "ResultFlags: #{ResultFlags()}\n" + "SessionKey: #{SessionKey()}\n" + "SessionKeyLength: #{SessionKeyLength()}" end