Skip to content

Commit 47905dc

Browse files
committed
Make isAuthenticatedClient public.
1 parent dcf38c2 commit 47905dc

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

MatrixSDK/Utils/MXHTTPClient.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@ typedef NS_ENUM(NSUInteger, MXHTTPClientSSLPinningMode) {
131131
*/
132132
@property (nonatomic, copy) MXHTTPClientTokenProviderHandler tokenProviderHandler;
133133

134+
/**
135+
Whether or not the client is able to send authenticated requests.
136+
*/
137+
@property (nonatomic, readonly) BOOL isAuthenticatedClient;
138+
134139
#pragma mark - Public methods
135140
/**
136141
Create an instance to make requests to the server.

MatrixSDK/Utils/MXHTTPClient.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ @interface MXHTTPClient ()
7979
}
8080

8181
/**
82-
The access token used for authenticated requests.
82+
Whether or not the client should send authenticated requests by default.
8383
*/
8484
@property (nonatomic) BOOL isAuthenticatedClient;
8585

0 commit comments

Comments
 (0)