Objective-C API Library Reference  4.3.0-42-g45f162a
 All Classes Functions Typedefs Properties Pages
Public Functions | Properties | List of all members
PWBasicAuthorizationInfo Class Reference

The PWBasicAuthorizationInfo class is an implementation of the PWAuthorizationInfo interface; it sets a basic authorization header.


(id) - initWithName:password:

Public Functions

(void) - setAuthorizationHeader:


NSString * name
NSString * password

Methods Descriptions

- (id) initWithName: (NSString *)  name
password: (NSString *)  password 

Initializes a new instance of PWBasicAuthorizationInfo with the specified name and password.

- (void) setAuthorizationHeader: (NSMutableURLRequest *)  request

Sets the authorization header for the specified request.

Implements PWAuthorizationInfo.

Properties Descriptions

- (NSString*) name

The name of the user being authenticated.

- (NSString*) password

The password of the user being authenticated.