class LiveIdentity::IDCRL::Structs::IDCRL_STATUS_V1
Public Instance Methods
AuthRequired()
click to toggle source
# File lib/live_identity/idcrl/structs.rb, line 32 def AuthRequired self[:hrAuthRequired] end
AuthState()
click to toggle source
# File lib/live_identity/idcrl/structs.rb, line 28 def AuthState self[:hrAuthState] end
IsAuthenticated?()
click to toggle source
# File lib/live_identity/idcrl/structs.rb, line 55 def IsAuthenticated? RequestStatus() >= 0 && AuthState() >= 0 end
RequestStatus()
click to toggle source
# File lib/live_identity/idcrl/structs.rb, line 36 def RequestStatus self[:hrRequestStatus] end
WebFlowUrl()
click to toggle source
# File lib/live_identity/idcrl/structs.rb, line 40 def WebFlowUrl @WebFlowUrl ||= read_wide_string(self[:wszWebFlowUrl]) end
WebFlowUrl=(webFlowUrl)
click to toggle source
# File lib/live_identity/idcrl/structs.rb, line 44 def WebFlowUrl= (webFlowUrl) @WebFlowUrl = webFlowUrl self[:wszWebFlowUrl] = StringToWSTR(webFlowUrl) end
to_s()
click to toggle source
# File lib/live_identity/idcrl/structs.rb, line 49 def to_s "AuthState: #{WinCommon::Errors::HRESULT::GetNameCode(AuthState())}\n" + "AuthRequired: #{WinCommon::Errors::HRESULT::GetNameCode(AuthRequired())}\n" + "RequestStatus: #{WinCommon::Errors::HRESULT::GetNameCode(RequestStatus())}" end