use of org.olat.login.oauth.OAuthLoginModule in project openolat by klemens.
the class TequilaApi method getAccessTokenEndpoint.
@Override
public String getAccessTokenEndpoint() {
OAuthLoginModule oauthModule = CoreSpringFactory.getImpl(OAuthLoginModule.class);
String endpoint = oauthModule.getTequilaOAuth2Endpoint();
if (!endpoint.endsWith("/")) {
endpoint += "/";
}
endpoint += "token";
return endpoint;
}
use of org.olat.login.oauth.OAuthLoginModule in project openolat by klemens.
the class ADFSApi method getAccessTokenEndpoint.
@Override
public String getAccessTokenEndpoint() {
OAuthLoginModule oauthModule = CoreSpringFactory.getImpl(OAuthLoginModule.class);
String endpoint = oauthModule.getAdfsOAuth2Endpoint();
if (!endpoint.endsWith("/")) {
endpoint += "/";
}
endpoint += "token";
return endpoint;
}
Aggregations