public class AuthOptions extends Object
SessionOptions as the authorization options for the session identity
or use to authorize other identities.| Constructor and Description |
|---|
AuthOptions()
Creates an
AuthOptions to specify no authorization should
be used. |
AuthOptions(AuthApplication application)
Creates an
AuthOptions object for Application Mode. |
AuthOptions(AuthToken token)
Creates an
AuthOptions object for Manual Token Mode. |
AuthOptions(AuthUser user)
Creates an
AuthOptions object for User Mode with the
Operating System Login(Domain\User), Active Directory, or Email. |
AuthOptions(AuthUser user,
AuthApplication application)
Creates an
AuthOptions object for User and Application Mode. |
public AuthOptions()
AuthOptions to specify no authorization should
be used.public AuthOptions(AuthUser user)
AuthOptions object for User Mode with the
Operating System Login(Domain\User), Active Directory, or Email.
The behavior is undefined when user is null or
created with AuthUser.createWithManualOptions(String, String).user - user-specific authorization option.public AuthOptions(AuthApplication application)
AuthOptions object for Application Mode.
The behavior is undefined when application is null.application - application-specific authorization option.public AuthOptions(AuthUser user, AuthApplication application)
AuthOptions object for User and Application Mode.
The behavior is undefined when either user or application
is null.user - user-specific authorization option.application - application-specific authorization option.public AuthOptions(AuthToken token)
AuthOptions object for Manual Token Mode.
The behavior is undefined when token is null.token - manually generated token.Copyright © 2021 Bloomberg L.P.. All rights reserved.