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

br.com.anteros.security.spring.oauth2.AnterosSecurityAuthorizationCode Maven / Gradle / Ivy

There is a newer version: 2.0.20
Show newest version
package br.com.anteros.security.spring.oauth2;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.oauth2.common.exceptions.InvalidGrantException;
import org.springframework.security.oauth2.provider.OAuth2Authentication;
import org.springframework.security.oauth2.provider.code.AuthorizationCodeServices;
import org.springframework.stereotype.Component;

import br.com.anteros.security.store.SecurityDataStore;

@Component("authorizationCode")
public class AnterosSecurityAuthorizationCode implements AuthorizationCodeServices {
	
	@Autowired
	private SecurityDataStore securityDataStore;

	public String createAuthorizationCode(OAuth2Authentication authentication) {
		// TODO Auto-generated method stub
		return null;
	}

	public OAuth2Authentication consumeAuthorizationCode(String code) throws InvalidGrantException {
		// TODO Auto-generated method stub
		return null;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy