em-msn 0.4 → 0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/msn/soap/msn_get_contacts_template.xml +27 -0
- data/lib/msn/soap/msn_sso_template.xml +59 -0
- data/lib/msn/version.rb +1 -1
- metadata +7 -4
data/README.md
CHANGED
@@ -0,0 +1,27 @@
|
|
1
|
+
<?xml version='1.0' encoding='utf-8'?>
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
3
|
+
<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
4
|
+
<ABApplicationHeader xmlns="http://www.msn.com/webservices/AddressBook">
|
5
|
+
<ApplicationId xmlns="http://www.msn.com/webservices/AddressBook"><%= Msn::ApplicationId %></ApplicationId>
|
6
|
+
<IsMigration xmlns="http://www.msn.com/webservices/AddressBook">false</IsMigration>
|
7
|
+
<PartnerScenario xmlns="http://www.msn.com/webservices/AddressBook">Initial</PartnerScenario>
|
8
|
+
</ABApplicationHeader>
|
9
|
+
<ABAuthHeader xmlns="http://www.msn.com/webservices/AddressBook">
|
10
|
+
<ManagedGroupRequest xmlns="http://www.msn.com/webservices/AddressBook">false</ManagedGroupRequest>
|
11
|
+
<TicketToken><%= REXML::Text.normalize(@nexus.ticket_token) %></TicketToken>
|
12
|
+
</ABAuthHeader>
|
13
|
+
</soap:Header>
|
14
|
+
<soap:Body xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
15
|
+
<FindMembership xmlns="http://www.msn.com/webservices/AddressBook">
|
16
|
+
<serviceFilter xmlns="http://www.msn.com/webservices/AddressBook">
|
17
|
+
<Types xmlns="http://www.msn.com/webservices/AddressBook">
|
18
|
+
<ServiceType xmlns="http://www.msn.com/webservices/AddressBook">Messenger</ServiceType>
|
19
|
+
<ServiceType xmlns="http://www.msn.com/webservices/AddressBook">Invitation</ServiceType>
|
20
|
+
<ServiceType xmlns="http://www.msn.com/webservices/AddressBook">SocialNetwork</ServiceType>
|
21
|
+
<ServiceType xmlns="http://www.msn.com/webservices/AddressBook">Space</ServiceType>
|
22
|
+
<ServiceType xmlns="http://www.msn.com/webservices/AddressBook">Profile</ServiceType>
|
23
|
+
</Types>
|
24
|
+
</serviceFilter>
|
25
|
+
</FindMembership>
|
26
|
+
</soap:Body>
|
27
|
+
</soap:Envelope>
|
@@ -0,0 +1,59 @@
|
|
1
|
+
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"
|
2
|
+
xmlns:wsse="http://schemas.xmlsoap.org/ws/2003/06/secext"
|
3
|
+
xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion"
|
4
|
+
xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy"
|
5
|
+
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
|
6
|
+
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
|
7
|
+
xmlns:wssc="http://schemas.xmlsoap.org/ws/2004/04/sc"
|
8
|
+
xmlns:wst="http://schemas.xmlsoap.org/ws/2004/04/trust">
|
9
|
+
<Header>
|
10
|
+
<ps:AuthInfo
|
11
|
+
xmlns:ps="http://schemas.microsoft.com/Passport/SoapServices/PPCRL"
|
12
|
+
Id="PPAuthInfo">
|
13
|
+
<ps:HostingApp>{7108E71A-9926-4FCB-BCC9-9A9D3F32E423}</ps:HostingApp>
|
14
|
+
<ps:BinaryVersion>4</ps:BinaryVersion>
|
15
|
+
<ps:UIVersion>1</ps:UIVersion>
|
16
|
+
<ps:Cookies></ps:Cookies>
|
17
|
+
<ps:RequestParams>AQAAAAIAAABsYwQAAAAxMDMz</ps:RequestParams>
|
18
|
+
</ps:AuthInfo>
|
19
|
+
<wsse:Security>
|
20
|
+
<wsse:UsernameToken Id="user">
|
21
|
+
<wsse:Username><%= username %></wsse:Username>
|
22
|
+
<wsse:Password><%= password %></wsse:Password>
|
23
|
+
</wsse:UsernameToken>
|
24
|
+
</wsse:Security>
|
25
|
+
</Header>
|
26
|
+
<Body>
|
27
|
+
<ps:RequestMultipleSecurityTokens
|
28
|
+
xmlns:ps="http://schemas.microsoft.com/Passport/SoapServices/PPCRL"
|
29
|
+
Id="RSTS">
|
30
|
+
<wst:RequestSecurityToken Id="RST0">
|
31
|
+
<wst:RequestType>http://schemas.xmlsoap.org/ws/2004/04/security/trust/Issue</wst:RequestType>
|
32
|
+
<wsp:AppliesTo>
|
33
|
+
<wsa:EndpointReference>
|
34
|
+
<wsa:Address>http://Passport.NET/tb</wsa:Address>
|
35
|
+
</wsa:EndpointReference>
|
36
|
+
</wsp:AppliesTo>
|
37
|
+
</wst:RequestSecurityToken>
|
38
|
+
<wst:RequestSecurityToken Id="RST1">
|
39
|
+
<wst:RequestType>http://schemas.xmlsoap.org/ws/2004/04/security/trust/Issue</wst:RequestType>
|
40
|
+
<wsp:AppliesTo>
|
41
|
+
<wsa:EndpointReference>
|
42
|
+
<wsa:Address>messengerclear.live.com</wsa:Address>
|
43
|
+
</wsa:EndpointReference>
|
44
|
+
</wsp:AppliesTo>
|
45
|
+
<wsse:PolicyReference URI="<%= policy %>"></wsse:PolicyReference>
|
46
|
+
</wst:RequestSecurityToken>
|
47
|
+
<wst:RequestSecurityToken Id="RST2">
|
48
|
+
<wst:RequestType>http://schemas.xmlsoap.org/ws/2004/04/security/trust/Issue</wst:RequestType>
|
49
|
+
<wsp:AppliesTo>
|
50
|
+
<wsa:EndpointReference>
|
51
|
+
<wsa:Address>contacts.msn.com</wsa:Address>
|
52
|
+
</wsa:EndpointReference>
|
53
|
+
</wsp:AppliesTo>
|
54
|
+
<wsse:PolicyReference URI="MBI">
|
55
|
+
</wsse:PolicyReference>
|
56
|
+
</wst:RequestSecurityToken>
|
57
|
+
</ps:RequestMultipleSecurityTokens>
|
58
|
+
</Body>
|
59
|
+
</Envelope>
|
data/lib/msn/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: em-msn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.5'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -99,12 +99,14 @@ extra_rdoc_files:
|
|
99
99
|
- README.md
|
100
100
|
files:
|
101
101
|
- lib/em-msn.rb
|
102
|
+
- lib/msn/soap/msn_get_contacts_template.xml
|
103
|
+
- lib/msn/soap/msn_sso_template.xml
|
102
104
|
- lib/msn/authentication_error.rb
|
103
|
-
- lib/msn/
|
105
|
+
- lib/msn/challenge.rb
|
104
106
|
- lib/msn/contact.rb
|
105
|
-
- lib/msn/
|
107
|
+
- lib/msn/message.rb
|
106
108
|
- lib/msn/messenger.rb
|
107
|
-
- lib/msn/
|
109
|
+
- lib/msn/nexus.rb
|
108
110
|
- lib/msn/notification_server.rb
|
109
111
|
- lib/msn/protocol.rb
|
110
112
|
- lib/msn/switchboard.rb
|
@@ -136,3 +138,4 @@ signing_key:
|
|
136
138
|
specification_version: 3
|
137
139
|
summary: MSN client (EventMachine + Ruby)
|
138
140
|
test_files: []
|
141
|
+
has_rdoc:
|