21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
*/
#import <ObjFW/ObjFW.h>
#import "XMPPAuthenticator.h"
OF_ASSUME_NONNULL_BEGIN
/**
* \brief A class to authenticate using SASL EXTERNAL
*/
@interface XMPPEXTERNALAuth: XMPPAuthenticator
/**
* \brief Creates a new autoreleased XMPPEXTERNALAuth.
*
* \return A new autoreleased XMPPEXTERNALAuth
*/
+ (instancetype)EXTERNALAuth;
/**
* \brief Creates a new autoreleased XMPPEXTERNALAuth with an authzid.
*
* \param authzid The authzid to get authorization for
* \return A new autoreleased XMPPEXTERNALAuth
*/
+ (instancetype)EXTERNALAuthWithAuthzid: (nullable OFString *)authzid;
@end
OF_ASSUME_NONNULL_END
|
|
|
|
|
|
|
|
|
|
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
*/
#import <ObjFW/ObjFW.h>
#import "XMPPAuthenticator.h"
OF_ASSUME_NONNULL_BEGIN
/*!
* @brief A class to authenticate using SASL EXTERNAL
*/
@interface XMPPEXTERNALAuth: XMPPAuthenticator
/*!
* @brief Creates a new autoreleased XMPPEXTERNALAuth.
*
* @return A new autoreleased XMPPEXTERNALAuth
*/
+ (instancetype)EXTERNALAuth;
/*!
* @brief Creates a new autoreleased XMPPEXTERNALAuth with an authzid.
*
* @param authzid The authzid to get authorization for
* @return A new autoreleased XMPPEXTERNALAuth
*/
+ (instancetype)EXTERNALAuthWithAuthzid: (nullable OFString *)authzid;
@end
OF_ASSUME_NONNULL_END
|