br.com.anteros.payment.api.common.AnterosOAuth2RestTemplate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Anteros-Payment-Api Show documentation
Show all versions of Anteros-Payment-Api Show documentation
Anteros Payment Integration Api for Java.
The newest version!
package br.com.anteros.payment.api.common;
import org.springframework.security.oauth2.client.OAuth2ClientContext;
import org.springframework.security.oauth2.client.OAuth2RestTemplate;
import org.springframework.security.oauth2.client.resource.OAuth2ProtectedResourceDetails;
public class AnterosOAuth2RestTemplate extends OAuth2RestTemplate {
private TypeOfEnviromment tpEnviromment;
public AnterosOAuth2RestTemplate(OAuth2ProtectedResourceDetails resource, OAuth2ClientContext context, TypeOfEnviromment tpEnviromment) {
super(resource, context);
this.tpEnviromment = tpEnviromment;
}
public AnterosOAuth2RestTemplate(OAuth2ProtectedResourceDetails resource, TypeOfEnviromment tpEnviromment) {
super(resource);
this.tpEnviromment = tpEnviromment;
}
public TypeOfEnviromment getTpEnviromment() {
return tpEnviromment;
}
public void setTpEnviromment(TypeOfEnviromment tpEnviromment) {
this.tpEnviromment = tpEnviromment;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy