public static interface V1Connector.IAuthenticationMethods
Modifier and Type | Method and Description |
---|---|
V1Connector.IsetProxyOrEndPointOrConnector |
withAccessToken(String accessToken)
Optional method for setting the access token for authentication.
|
V1Connector.IsetProxyOrEndPointOrConnector |
withOAuth2Token(String oauth2Token)
Optional method for setting the OAuth2 access token for authentication.
|
V1Connector.IsetProxyOrEndPointOrConnector |
withUsernameAndPassword(String username,
String password)
Optional method for setting the username and password for authentication.
|
V1Connector.IsetProxyOrEndPointOrConnector |
withWindowsIntegrated()
Optional method for setting the Windows Integrated Authentication credentials for authentication based on the
currently logged in user.
|
V1Connector.IsetProxyOrEndPointOrConnector withUsernameAndPassword(String username, String password) throws V1Exception
username
- Stringpassword
- StringV1Exception
- V1ExceptionV1Connector.IsetProxyOrEndPointOrConnector withWindowsIntegrated() throws V1Exception
V1Exception
- V1ExceptionV1Connector.IsetProxyOrEndPointOrConnector withAccessToken(String accessToken) throws V1Exception
accessToken
- The access token.V1Exception
- V1ExceptionV1Connector.IsetProxyOrEndPointOrConnector withOAuth2Token(String oauth2Token) throws V1Exception
oauth2Token
- StringV1Exception
- V1ExceptionCopyright © 2015 VersionOne, Inc.. All rights reserved.