28 #ifndef INCLUDED_BLPAPI_AUTHOPTIONS 29 #define INCLUDED_BLPAPI_AUTHOPTIONS 179 class AuthApplication;
299 const char *propertyName);
309 const char *userId,
const char *ipAddress);
388 explicit AuthToken(
const char *tokenStr);
444 &d_handle_p, user.
handle()));
475 &d_handle_p, options.
handle()));
505 &d_handle_p, user.
handle()));
534 const char *propertyName)
548 const char *userId,
const char *ipAddress)
554 &
handle, userId, ipAddress));
581 &d_handle_p, app.
handle()));
592 d_handle_p, rhs.
handle()));
620 &d_handle_p, token.
handle()));
644 #endif // #ifdef __cplusplus 645 #endif // #ifndef INCLUDED_BLPAPI_AUTHOPTIONS BLPAPI_EXPORT int blpapi_AuthUser_createWithManualOptions(blpapi_AuthUser_t **user, const char *userId, const char *ipAddress)
struct blpapi_AuthUser blpapi_AuthUser_t
Definition: blpapi_types.h:206
Common definitions used by the library.
BLPAPI_EXPORT int blpapi_AuthOptions_create_default(blpapi_AuthOptions_t **options)
AuthToken & operator=(const AuthToken &rhs)
Definition: blpapi_authoptions.h:628
static AuthUser createWithLogonName()
Definition: blpapi_authoptions.h:521
Definition: blpapi_abstractsession.h:215
struct blpapi_AuthToken blpapi_AuthToken_t
Definition: blpapi_types.h:212
BLPAPI_EXPORT int blpapi_AuthUser_createWithActiveDirectoryProperty(blpapi_AuthUser_t **user, const char *propertyName)
#define BLPAPI_CALL(FUNCNAME)
Definition: blpapi_call.h:353
Definition: blpapi_authoptions.h:333
~AuthToken()
Definition: blpapi_authoptions.h:623
const blpapi_AuthToken_t * handle() const
Definition: blpapi_authoptions.h:636
Definition: blpapi_authoptions.h:194
const blpapi_AuthUser_t * handle() const
Definition: blpapi_authoptions.h:561
BLPAPI_EXPORT int blpapi_AuthOptions_create_forAppMode(blpapi_AuthOptions_t **options, const blpapi_AuthApplication_t *app)
~AuthApplication()
Definition: blpapi_authoptions.h:584
~AuthUser()
Definition: blpapi_authoptions.h:508
BLPAPI_EXPORT void blpapi_AuthToken_destroy(blpapi_AuthToken_t *token)
AuthOptions & operator=(const AuthOptions &rhs)
Definition: blpapi_authoptions.h:483
AuthUser & operator=(const AuthUser &rhs)
Definition: blpapi_authoptions.h:513
BLPAPI_EXPORT int blpapi_AuthApplication_duplicate(blpapi_AuthApplication_t **app, const blpapi_AuthApplication_t *dup)
blpapi_AuthOptions_t * handle() const
Definition: blpapi_authoptions.h:491
static void throwOnError(int errorCode)
Definition: blpapi_exception.h:526
AuthOptions()
Definition: blpapi_authoptions.h:434
BLPAPI_EXPORT int blpapi_AuthOptions_duplicate(blpapi_AuthOptions_t **options, const blpapi_AuthOptions_t *dup)
BLPAPI_EXPORT int blpapi_AuthApplication_copy(blpapi_AuthApplication_t *lhs, const blpapi_AuthApplication_t *rhs)
struct blpapi_AuthOptions blpapi_AuthOptions_t
Definition: blpapi_types.h:203
const blpapi_AuthApplication_t * handle() const
Definition: blpapi_authoptions.h:597
BLPAPI_EXPORT void blpapi_AuthApplication_destroy(blpapi_AuthApplication_t *app)
BLPAPI_EXPORT int blpapi_AuthOptions_create_forUserAndAppMode(blpapi_AuthOptions_t **options, const blpapi_AuthUser_t *user, const blpapi_AuthApplication_t *app)
BLPAPI_EXPORT void blpapi_AuthOptions_destroy(blpapi_AuthOptions_t *options)
static AuthUser createWithActiveDirectoryProperty(const char *propertyName)
Definition: blpapi_authoptions.h:533
BLPAPI_EXPORT int blpapi_AuthUser_duplicate(blpapi_AuthUser_t **user, const blpapi_AuthUser_t *dup)
BLPAPI_EXPORT int blpapi_AuthOptions_create_forUserMode(blpapi_AuthOptions_t **options, const blpapi_AuthUser_t *user)
static AuthUser createWithManualOptions(const char *userId, const char *ipAddress)
Definition: blpapi_authoptions.h:547
AuthApplication(const char *appName)
Definition: blpapi_authoptions.h:567
BLPAPI_EXPORT int blpapi_AuthUser_createWithLogonName(blpapi_AuthUser_t **user)
AuthToken(const char *tokenStr)
Definition: blpapi_authoptions.h:606
BLPAPI_EXPORT int blpapi_AuthOptions_copy(blpapi_AuthOptions_t *lhs, const blpapi_AuthOptions_t *rhs)
BLPAPI_EXPORT int blpapi_AuthUser_copy(blpapi_AuthUser_t *lhs, const blpapi_AuthUser_t *rhs)
BLPAPI_EXPORT int blpapi_AuthApplication_create(blpapi_AuthApplication_t **app, const char *appName)
Defines Exceptions that can be thrown by the blpapi library.
BLPAPI_EXPORT void blpapi_AuthUser_destroy(blpapi_AuthUser_t *user)
AuthUser(blpapi_AuthUser_t *handle)
Definition: blpapi_authoptions.h:497
#define BLPAPI_CALL_UNCHECKED(FUNCNAME)
Definition: blpapi_call.h:354
AuthApplication & operator=(const AuthApplication &rhs)
Definition: blpapi_authoptions.h:589
BLPAPI_EXPORT int blpapi_AuthToken_copy(blpapi_AuthToken_t *lhs, const blpapi_AuthToken_t *rhs)
~AuthOptions()
Definition: blpapi_authoptions.h:478
struct blpapi_AuthApplication blpapi_AuthApplication_t
Definition: blpapi_types.h:209
Definition: blpapi_authoptions.h:383
#define BLPAPI_EXPORT
Definition: blpapi_defs.h:171
BLPAPI_EXPORT int blpapi_AuthOptions_create_forToken(blpapi_AuthOptions_t **options, const blpapi_AuthToken_t *token)
Provide functions for dispatchtbl.
Definition: blpapi_authoptions.h:266
BLPAPI_EXPORT int blpapi_AuthToken_duplicate(blpapi_AuthToken_t **token, const blpapi_AuthToken_t *dup)
BLPAPI_EXPORT int blpapi_AuthToken_create(blpapi_AuthToken_t **token, const char *tokenStr)