SFAuthErrorHandler Class Reference

Inherits from NSObject
Declared in SFAuthErrorHandler.h

Overview

Class to define a handler for authentication errors, which can be used in an error handling filter chain.

  name

The canonical name of the error handler.

@property (nonatomic, readonly) NSString *name

Declared In

SFAuthErrorHandler.h

  authContextEvalBlock

@property (nonatomic, readonly) SFAuthErrorHandlerContextEvalBlock authContextEvalBlock

– initWithName:authSessionBlock:

Designated initializer for SFAuthErrorHandler.

- (id)initWithName:(NSString *)name authSessionBlock:(SFAuthErrorHandlerContextEvalBlock)authContextEvalBlock

Parameters

name

The canonical name of the error handler.

authContextEvalBlock

The block to handle the error evaluation.

Declared In

SFAuthErrorHandler.h