SFSDKAuthErrorManager Class Reference

Inherits from NSObject
Declared in SFSDKAuthErrorManager.h

  networkErrorHandlerBlock

@property (nonatomic, copy) SFSDKErrorHandlerBlock networkErrorHandlerBlock

  connectedAppVersionMismatchErrorHandlerBlock

@property (nonatomic, copy) SFSDKErrorHandlerBlock connectedAppVersionMismatchErrorHandlerBlock

  invalidAuthCredentialsErrorHandlerBlock

@property (nonatomic, copy) SFSDKErrorHandlerBlock invalidAuthCredentialsErrorHandlerBlock

  hostConnectionErrorHandlerBlock

@property (nonatomic, copy) SFSDKErrorHandlerBlock hostConnectionErrorHandlerBlock

  genericErrorHandlerBlock

@property (nonatomic, copy) SFSDKErrorHandlerBlock genericErrorHandlerBlock

– processAuthError:authContext:options:

- (BOOL)processAuthError:(NSError *)error authContext:(SFSDKAuthSession *)session options:(NSDictionary *_Nullable)options

+ errorIsInvalidAuthCredentials:

Determines whether an error is due to invalid auth credentials.

+ (BOOL)errorIsInvalidAuthCredentials:(NSError *)error

Parameters

error

The error to check against an invalid credentials error.

Return Value

YES if the error is due to invalid credentials, NO otherwise.

Declared In

SFSDKAuthErrorManager.h