diff options
Diffstat (limited to 'src/MumbleKit/MKConnection.h')
-rw-r--r-- | src/MumbleKit/MKConnection.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/MumbleKit/MKConnection.h b/src/MumbleKit/MKConnection.h index 4c67126..bf36bc4 100644 --- a/src/MumbleKit/MKConnection.h +++ b/src/MumbleKit/MKConnection.h @@ -431,8 +431,12 @@ typedef enum { * @param pass The password to authenticate with. If the specified username is that * of a registered user, the password will be treated as a user password. * Otherwise, it will be treated as a server password. + * + * @param tokens The initial set of access tokens for the user we are connecting as, in + * the form of an NSArray of NSStrings. + * This parameter may be nil if the user does not have any access tokens. */ -- (void) authenticateWithUsername:(NSString *)user password:(NSString *)pass; +- (void) authenticateWithUsername:(NSString *)user password:(NSString *)pass accessTokens:(NSArray *)tokens; ///---------------------- /// @name Message Handler |