SFAuthErrorHandlerList Class Reference
Inherits from | NSObject |
---|---|
Declared in | SFAuthErrorHandlerList.h |
Overview
Manages the authentication handler filter list, for processing authentication errors. Note that order of entries is important: the list will be processed serially, starting with the first item and ending with the last.
authHandlerArray
A readonly copy of the array of authentication error handlers.
@property (nonatomic, readonly) NSArray *authHandlerArray
Declared In
SFAuthErrorHandlerList.h
– addAuthErrorHandler:
Adds an authentication error handler to the end of the filter list. Note: Error handler names must be unique within the list, so if an error handler already exists with the given name, it will be removed before adding the new handler.
- (void)addAuthErrorHandler:(SFAuthErrorHandler *)errorHandler
Parameters
errorHandler |
The error handler to add to the list. |
---|
Declared In
SFAuthErrorHandlerList.h
– addAuthErrorHandler:atIndex:
Adds an authentication error handler at a specific index in the list. Note: Error handler names must be unique within the list, so if an error handler already exists with the given name, it will be removed before adding the new handler.
- (void)addAuthErrorHandler:(SFAuthErrorHandler *)errorHandler atIndex:(NSUInteger)index
Parameters
errorHandler |
The error handler to add to the list. |
---|---|
index |
The index at which to add the error handler. |
Declared In
SFAuthErrorHandlerList.h
– removeAuthErrorHandlerWithName:
Removes the error handler with the given name from the list. If no error handler exists in the list with the name, no action is taken.
- (void)removeAuthErrorHandlerWithName:(NSString *)errorHandlerName
Parameters
errorHandlerName |
The name of the error handler to remove. |
---|
Declared In
SFAuthErrorHandlerList.h
– removeAuthErrorHandler:
Removes the given error handler from the list. If the error handler cannot be found, no action is taken.
- (void)removeAuthErrorHandler:(SFAuthErrorHandler *)errorHandler
Parameters
errorHandler |
The error handler to remove. |
---|
Declared In
SFAuthErrorHandlerList.h
– authErrorHandlerInList:
Determines whether the given error handler is in the list.
- (BOOL)authErrorHandlerInList:(SFAuthErrorHandler *)errorHandler
Parameters
errorHandler |
The error handler to look for in the list. |
---|
Return Value
YES if the error handler is in the list, NO otherwise.
Declared In
SFAuthErrorHandlerList.h