org.cloudfoundry.multiapps.controller.client.CloudFoundryTokenProvider Maven / Gradle / Ivy
package org.cloudfoundry.multiapps.controller.client;
import com.sap.cloudfoundry.client.facade.oauth2.OAuth2AccessTokenWithAdditionalInfo;
import com.sap.cloudfoundry.client.facade.oauth2.OAuthClient;
public class CloudFoundryTokenProvider implements TokenProvider {
private final OAuthClient client;
public CloudFoundryTokenProvider(OAuthClient client) {
this.client = client;
}
@Override
public OAuth2AccessTokenWithAdditionalInfo getToken() {
return client.getToken();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy