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
ConstructorDescriptionCreates anAuthOptions
to specify no authorization should be used.AuthOptions
(AuthApplication application) Creates anAuthOptions
object for Application Mode.AuthOptions
(AuthToken token) Creates anAuthOptions
object for Manual Token Mode.AuthOptions
(AuthUser user) Creates anAuthOptions
object for User Mode with the Operating System Login(Domain\User), Active Directory, or Email.AuthOptions
(AuthUser user, AuthApplication application) Creates anAuthOptions
object for User and Application Mode. -
Method Summary
-
Constructor Details
-
AuthOptions
public AuthOptions()Creates anAuthOptions
to specify no authorization should be used. -
AuthOptions
Creates anAuthOptions
object for User Mode with the Operating System Login(Domain\User), Active Directory, or Email. The behavior is undefined whenuser
isnull
or created withAuthUser.createWithManualOptions(String, String)
.- Parameters:
user
- user-specific authorization option.
-
AuthOptions
Creates anAuthOptions
object for Application Mode. The behavior is undefined whenapplication
isnull
.- Parameters:
application
- application-specific authorization option.
-
AuthOptions
Creates anAuthOptions
object for User and Application Mode. The behavior is undefined when eitheruser
orapplication
isnull
.- Parameters:
user
- user-specific authorization option.application
- application-specific authorization option.
-
AuthOptions
Creates anAuthOptions
object for Manual Token Mode. The behavior is undefined whentoken
isnull
.- Parameters:
token
- manually generated token.
-