2024-10-11 15:40:21 -04:00
|
|
|
# Introduction
|
|
|
|
`INF` is a command introduced with [MSNP2](../versions/msnp2.md).
|
|
|
|
|
|
|
|
It is a Dispatch Server and Notification Server command, without either a request or response payload.
|
|
|
|
|
|
|
|
It specifies which authentication methods the client is allowed to use.
|
|
|
|
|
2024-10-26 06:56:17 -04:00
|
|
|
This command can only be sent once.
|
|
|
|
Any further uses of this command in the same session is Undefined Behaviour.
|
2024-10-11 15:40:21 -04:00
|
|
|
|
|
|
|
# Client/Request
|
|
|
|
`INF TrID`
|
|
|
|
|
|
|
|
# Server/Response
|
|
|
|
`INF TrID security-package {security-package ...}`
|
|
|
|
|
|
|
|
Where (unlikely multiple) `security-package` parameters being the avaliable authentication methods your client is allowed to use.
|
|
|
|
|
|
|
|
# Examples
|
|
|
|
|
|
|
|
## Two types supported
|
|
|
|
*This configuration is only supported in [MSNP2](../versions/msnp2.md).*
|
|
|
|
```
|
|
|
|
C: INF 1
|
|
|
|
S: INF 1 MD5 CTP
|
|
|
|
```
|
|
|
|
|
|
|
|
## One type supported
|
|
|
|
```
|
|
|
|
C: INF 2
|
|
|
|
S: INF 2 MD5
|
|
|
|
```
|
|
|
|
|
|
|
|
## Command removed
|
|
|
|
*Since [MSNP8](../versions/msnp8.md).*
|
|
|
|
```
|
|
|
|
C: INF 3
|
|
|
|
```
|
|
|
|
Server disconnects client.
|
|
|
|
|
|
|
|
# Known changes
|
2024-10-20 07:52:06 -04:00
|
|
|
* [MSNP3](../versions/msnp3.md): Removed `CTP` support.
|
|
|
|
* [MSNP8](../versions/msnp8.md). Removed. [USR](usr.md) always assumes the authentication method is `TWN`.
|