Inherits from OIAPIGenericAuthenticator : NSObject
Declared in OIAPIUserAuthenticator.h
OIAPIUserAuthenticator.m

Overview

Class represent user authenticator. Authenticator is used for requests, which requires authorization.

Tasks

Other Methods

Other Methods

Class Methods

authenticatorWithEmail:password:uri:

Method create authenticator instance (OIAPIUserAuthenticator).

+ (OIAPIUserAuthenticator *)authenticatorWithEmail:(NSString *)email password:(NSString *)password uri:(NSURL *)uri

Parameters

email

User email.

password

User password.s

uri

Request uri.

Discussion

Method create authenticator instance (OIAPIUserAuthenticator).

Declared In

OIAPIUserAuthenticator.h

Instance Methods

authenticationValue

Method create authentication value(containing key and api client version) as NSString.

- (NSString *)authenticationValue

Return Value

key Authenticator key.

Discussion

Method create authentication value(containing key and api client version) as NSString.

Declared In

OIAPIGenericAuthenticator.h

initWithEmail:password:uri:

Initialization method create authenticator instance (OIAPIUserAuthenticator).

- (id)initWithEmail:(NSString *)email password:(NSString *)password uri:(NSURL *)uri

Parameters

email

User email.

password

User password.

uri

Request uri.

Discussion

Initialization method create authenticator instance (OIAPIUserAuthenticator).

Declared In

OIAPIUserAuthenticator.h