All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.sqlserver.jdbc.SQLServerAccessTokenCallback Maven / Gradle / Ivy

There is a newer version: 12.8.1.jre11
Show newest version
package com.microsoft.sqlserver.jdbc;

/**
 * Provides SqlAuthenticationToken callback to be implemented by client code.
 */
public interface SQLServerAccessTokenCallback {

    /**
     * For an example of callback usage, look under the project's code samples.
     *
     * Returns the access token for the authentication request
     *
     * @param stsurl
     *        - Security token service URL.
     * @param spn
     *        - Service principal name.
     *
     * @return Returns a {@link SqlAuthenticationToken}.
     */
    SqlAuthenticationToken getAccessToken(String spn, String stsurl);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy