SQLServerAccessTokenCallback Interface
public interface SQLServerAccessTokenCallback
Provides SqlAuthenticationToken callback to be implemented by client code.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Sql |
getAccessToken(String spn, String stsurl)
For an example of callback usage, look under the project's code samples. |
Method Details
getAccessToken
public abstract SqlAuthenticationToken getAccessToken(String spn, String stsurl)
For an example of callback usage, look under the project's code samples. Returns the access token for the authentication request
Parameters:
- Service principal name.
- Security token service URL.
Returns: