Package com.bloomberglp.blpapi
Class AuthOptions
java.lang.Object
com.bloomberglp.blpapi.AuthOptions
This class defines the authorization options which the user can set on
SessionOptions as
the authorization options for the session identity or use to authorize other identities.-
Constructor Summary
ConstructorsConstructorDescriptionCreates anAuthOptionsto specify no authorization should be used.AuthOptions(AuthApplication application) Creates anAuthOptionsobject for Application Mode.AuthOptions(AuthToken token) Creates anAuthOptionsobject for Manual Token Mode.AuthOptions(AuthUser user) Creates anAuthOptionsobject for User Mode with the Operating System Login(Domain\User), Active Directory, or Email.AuthOptions(AuthUser user, AuthApplication application) Creates anAuthOptionsobject for User and Application Mode. -
Method Summary
-
Constructor Details
-
AuthOptions
public AuthOptions()Creates anAuthOptionsto specify no authorization should be used. -
AuthOptions
Creates anAuthOptionsobject for User Mode with the Operating System Login(Domain\User), Active Directory, or Email. The behavior is undefined whenuserisnullor created withAuthUser.createWithManualOptions(String, String).- Parameters:
user- user-specific authorization option.
-
AuthOptions
Creates anAuthOptionsobject for Application Mode. The behavior is undefined whenapplicationisnull.- Parameters:
application- application-specific authorization option.
-
AuthOptions
Creates anAuthOptionsobject for User and Application Mode. The behavior is undefined when eitheruserorapplicationisnull.- Parameters:
user- user-specific authorization option.application- application-specific authorization option.
-
AuthOptions
Creates anAuthOptionsobject for Manual Token Mode. The behavior is undefined whentokenisnull.- Parameters:
token- manually generated token.
-