52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
* @brief Initializes an already allocated XMPPAuthenticator with an authcid
* and password.
*
* @param authcid The authcid to authenticate with
* @param password The password to authenticate with
* @return A initialized XMPPAuthenticator
*/
- initWithAuthcid: (nullable OFString *)authcid
password: (nullable OFString *)password;
/*!
* @brief Initializes an already allocated XMPPSCRAMAuthenticator with an
* authzid, authcid and password.
*
* @param authzid The authzid to get authorization for
* @param authcid The authcid to authenticate with
* @param password The password to authenticate with
* @return A initialized XMPPAuthenticator
*/
- initWithAuthzid: (nullable OFString *)authzid
authcid: (nullable OFString *)authcid
password: (nullable OFString *)password OF_DESIGNATED_INITIALIZER;
/*!
* @brief Returns OFData containing the initial authentication message.
*
* @return An OFDataAray containing the initial authentication message
*/
- (nullable OFData *)initialMessage;
|
|
|
|
|
|
>
|
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
* @brief Initializes an already allocated XMPPAuthenticator with an authcid
* and password.
*
* @param authcid The authcid to authenticate with
* @param password The password to authenticate with
* @return A initialized XMPPAuthenticator
*/
- (instancetype)initWithAuthcid: (nullable OFString *)authcid
password: (nullable OFString *)password;
/*!
* @brief Initializes an already allocated XMPPSCRAMAuthenticator with an
* authzid, authcid and password.
*
* @param authzid The authzid to get authorization for
* @param authcid The authcid to authenticate with
* @param password The password to authenticate with
* @return A initialized XMPPAuthenticator
*/
- (instancetype)initWithAuthzid: (nullable OFString *)authzid
authcid: (nullable OFString *)authcid
password: (nullable OFString *)password
OF_DESIGNATED_INITIALIZER;
/*!
* @brief Returns OFData containing the initial authentication message.
*
* @return An OFDataAray containing the initial authentication message
*/
- (nullable OFData *)initialMessage;
|