Protocols/MSNP/Commands/USR

From NINA Wiki
Revision as of 18:45, 11 May 2022 by Animadoria (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
MSNP Protocol
IntroductionTermsClients
Reference
Error ListCommandsRelying Party SuiteSpotlife
Services
XMPPHTTP GatewayTabsActivities
Documentation
Development ToolsMSNP Grid
PolygamyURLs used by MSN
Documents
Protocol Versions
Version 21
Version 18
Version 16
Version 15
Version 14
Version 13
Version 12
Version 11
Version 9
Version 8
Version 2
MSNC
IntroductionP2PObject DescriptorDisplay PicturesFile Transfer
Scenarios
Microsoft Messenger for Mac
MSNP on WebTV (MSNTV)

USR - MSNP8-MSNP14

Dispatch Server/Notification server

This command is used to authenticate a client with the notification server. If the client is connected to a dispatch server, the initial USR command sent by the client will be replied with a XFR command by the server, followed by disconnection. The XFR will contain the address of a suitable notification server that the client should connect to, to continue authentication.

Initial USR sent to server

Description

USR trid TWN I passport

Parameters

Subsequent USR from server

The server will either respond with XFR to transfer you, or with USR to continue the authentication process.

Description

USR trid TWN S auth_string

Parameters

  • trid: Transaction ID
  • TWN: Name of authentication system (always "TWN")
  • S: Status of authentication (always "S" for subsequent)
  • auth_string: String used for Protocols/MSNP/Tweener authentication

Subsequent USR response to server

Description

USR trid TWN S ticket

Parameters

Final response from server

Description

USR trid OK account_name display_name verified 0

Parameters

Switchboard Server

Sent when authenticating with a switchboard you started yourself with the XFR command.

Sent to the SB

Description

USR trid accountname ticket

Parameters

  • trid: Transaction ID.
  • accountname: Your Passport account name.
  • ticket: The ticket your got from the XFR command on the NS.

Response from SB

Description

USR trid OK accountname friendlyname

Parameters

  • trid: Transaction ID.
  • OK: Authentication OK
  • accountname: Your Passport account name.
  • friendlyname: Your personal friendly name (May not always be synchronized with the NS value)


USR - MSNP15

Protocols/MSNP/MSNP15 uses "Single sign on" authentication scheme instead of tweener, which is what all previous protocols used.

See Protocols/MSNP/MSNP15/SSO for more information.