@@ -1,9 +1,10 @@ /* * Copyright (c) 2011, Florian Zeitz + * Copyright (c) 2016, Jonathan Schleifer * - * https://webkeks.org/git/?p=objxmpp.git + * https://heap.zone/git/?p=objxmpp.git * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice is present in all copies. * @@ -25,10 +26,12 @@ #endif #import "XMPPAuthenticator.h" @implementation XMPPAuthenticator +@synthesize authzid = _authzid, authcid = _authcid, password = _password; + - initWithAuthcid: (OFString*)authcid password: (OFString*)password { return [self initWithAuthzid: nil authcid: authcid @@ -60,40 +63,10 @@ [_password release]; [super dealloc]; } -- (void)setAuthzid: (OFString*)authzid -{ - OF_SETTER(_authzid, authzid, true, 1) -} - -- (OFString*)authzid -{ - OF_GETTER(_authzid, true) -} - -- (void)setAuthcid: (OFString*)authcid -{ - OF_SETTER(_authcid, authcid, true, 1) -} - -- (OFString*)authcid -{ - OF_GETTER(_authcid, true) -} - -- (void)setPassword: (OFString*)password -{ - OF_SETTER(_password, password, true, 1) -} - -- (OFString*)password -{ - OF_GETTER(_password, true) -} - - (OFDataArray*)initialMessage { return nil; }