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

org.springframework.social.partnercenter.security.AzureADServiceProvider Maven / Gradle / Ivy

Go to download

A provider extension for Spring Social to enable connectivity with Microsoft and an API binding for Microsoft's Partner Center API.

There is a newer version: 10.11.0
Show newest version
package org.springframework.social.partnercenter.security;

import org.springframework.social.ServiceProvider;
import org.springframework.social.oauth2.OAuth2Operations;

public interface AzureADServiceProvider extends ServiceProvider{
	/**
	 * Get the service interface for carrying out the "OAuth dance" with this provider.
	 * The result of the OAuth dance is an access token that can be used to obtain a {@link #getApi(String) API binding}.
	 * @return an {@link OAuth2Operations} for carrying out the "OAuth dance" with this provider.
	 */
	AzureADAuthOperations getAzureADAuthOperations();

	/**
	 * Returns an API interface allowing the client application to access protected resources on behalf of a user.
	 * @param accessToken the API access token
	 * @return a binding to the service provider's API
	 */
	T getApi(String accessToken);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy