Conforms to NSObject
Declared in NXOAuth2TrustDelegate.h

Overview

The delegate of the NXOAuth2Connection or the NXOAuth2Client can both optionally implement this protocol to ensure specific trust modes.

If a NXOAuth2Connection is created with a NXOAuth2Client set and both delegates conform to the NXOAuth2TrustDelegate protocol, the NXOAuth2Client’s delegate is used.

Tasks

Instance Methods

connection:trustModeForHostname:

Specifies Trust mode for the specific hostname. See NXOAuth2Constants.h for constants

- (NXOAuth2TrustMode)connection:(NXOAuth2Connection *)connection trustModeForHostname:(NSString *)hostname

Discussion

Specifies Trust mode for the specific hostname. See NXOAuth2Constants.h for constants

Declared In

NXOAuth2TrustDelegate.h

connection:trustedCertificatesForHostname:

Array of NSData objects that contains the trusted certificates for the hostname.

- (NSArray *)connection:(NXOAuth2Connection *)connection trustedCertificatesForHostname:(NSString *)hostname

Discussion

Array of NSData objects that contains the trusted certificates for the hostname.

Declared In

NXOAuth2TrustDelegate.h