Description
A channel interface for SASL authentication channels that can save the credentials in the connection manager.
This interface is unlikely to be present for any SASL channels that are
more complex than a simple password prompt (e.g.
X-TELEPATHY-PASSWORD
or PLAIN
).
In practice, this interface should only be implemented by connection managers that implement the ConnectionManager.Interface.AccountStorage.DRAFT interface. To clear a password that has been saved in this manner, a client should call AccountStorage.DRAFT.ForgetCredentials on the Account.
Methods
StoreCredentials (b: Store) → nothing
Parameters
- Store — b
This method tells the connection manager whether to store the authentication response in order to allow the connection manager to sign-on automatically in the future.
If credentials have been stored in this way, the client SHOULD NOT attempt to store the credentials locally in a keyring.
This method MUST be called before AcceptSASL is called or it will have no effect.