forked from octokit/octokit.objc
-
Notifications
You must be signed in to change notification settings - Fork 0
OCTClient Properties
iRare Media edited this page Sep 22, 2013
·
2 revisions
The active user for this session.
This may be set regardless of whether the session is authenticated or unauthenticated, and will control which username is used for endpoints that require one. For example, this user's login will be used with -fetchUserEventsNotMatchingEtag:
.
@property (nonatomic, strong, readonly) OCTUser *user;
A BOOL value stating whether this client supports authenticated endpoints.
Note that this property does not specify whether the client has successfully authenticated with the server – only whether it will attempt to.
This will only be YES when created with +authenticatedClientWithUser:token:
.
@property (nonatomic, getter = isAuthenticated, readonly) BOOL authenticated;