-
- BlackBerry Dynamics
- Runtime library for iOS applications
- 12.0.1.79
Go to the documentation of this file.
8 #import <Foundation/Foundation.h>
21 NS_ASSUME_NONNULL_BEGIN
91 - (void)onGDAuthTokenSuccess:(NSString*)gdAuthToken;
116 - (void)onGDAuthTokenFailure:(NSError*) authTokenError;
162 - (void)getGDAuthToken: (NSString*) challenge serverName:(nullable NSString*) serverName;
176 - (NSString *)getDynamicsSharedUserIDWithError:(NSError **)error;
206 - (BOOL) getEIDToken:(NSString *) clientID withScope:(NSString*) scope withResourceServer:(NSString*) resourceServer withRefresh:(BOOL) refresh withCompletion:(
BBDJWTCompletion) callback withError:(NSError**) error;
218 @property (nullable, weak, getter = getGDAuthDelegate, setter = setGDAuthDelegate:) id<GDAuthTokenDelegate>
gdAuthDelegate;
256 NS_ASSUME_NONNULL_END
BBDJWTStatusCode
Status codes from BlackBerry Enterprise Identity JWT request.
Definition: GDUtility.h:23
BlackBerry Dynamics utility for managing authentication tokens and identity.
Definition: GDUtility.h:127
@ BBDJWTAuthFailure
Client is not authorised to make this request.
Definition: GDUtility.h:46
@ BBDJWTMTDNotEnabled
MTD is not enabled (only for MTD related requests)
Definition: GDUtility.h:34
@ BBDJWTPendingActivation
Server has not yet updated to accept a recently enrolled authorisation.
Definition: GDUtility.h:51
@ BBDJWTServerUnreachable
Server not reachable or cannot establish a connection.
Definition: GDUtility.h:42
@ BBDJWTStatusUnknownError
A general error occurred not covered by other status codes.
Definition: GDUtility.h:30
@ BBDJWTStatusOK
Request successful.
Definition: GDUtility.h:26
NSString *const GDAuthTokenDomain
Error domain for the BlackBerry Dynamics authentication token mechanism.
void(^ BBDJWTCompletion)(NSString *JWT, BBDJWTStatusCode status, int error)
Completion Block definition for JWT retrieval.
Definition: GDUtility.h:65
@ BBDJWTServerError
Server responded with an error.
Definition: GDUtility.h:38
id< GDAuthTokenDelegate > gdAuthDelegate
Delegated event-handling.
Definition: GDUtility.h:218
@ GDAuthTokenErrRetry
An error occurred during token generation or communication.
Definition: GDUtility.h:249
@ GDAuthTokenErrNotSupported
The BlackBerry Dynamics server software installed at the enterprise doesn't support the authenticatio...
Definition: GDUtility.h:242
GDAuthTokenError
Definition: GDUtility.h:237
Delegate for handling the results of BlackBerry Dynamics authentication token requests.
Definition: GDUtility.h:75