Skip to content

Commit bac200f

Browse files
committed
account-registration: add ACCOUNTREQUIRED ISUPPORT token
Alternative to ircv3#492 Closes: ircv3/ircv3-ideas#73
1 parent a74e3b0 commit bac200f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

extensions/account-registration.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,19 @@ The only defined capability keys so far are:
7171
* `custom-account-name` - if present, the account name can be different
7272
from the user's current nickname
7373

74+
### ISUPPORT token
75+
76+
This specification also defines the `draft/ACCOUNTREQUIRED` ISUPPORT token. If
77+
present, it indicates that the connection to the server cannot be completed
78+
unless the clients authenticates, typically via SASL. Note, the absence of this
79+
token does not indicate that connection registration can be completed without
80+
authentication; it may be disallowed due to specific properties of the
81+
connection (e.g. an untrustworthy IP address), which will be indicated instead
82+
by `FAIL * ACCOUNT_REQUIRED`. If the capability value
83+
`draft/account-registration=before-connect` is advertised, clients should
84+
respond to both of these conditions by suggesting that the user register an
85+
account
86+
7487
### Commands
7588

7689
REGISTER <account> {<email> | "*"} <password>

0 commit comments

Comments
 (0)