Example usage for org.springframework.security.oauth.consumer OAuthConsumerSupport getUnauthorizedRequestToken

List of usage examples for org.springframework.security.oauth.consumer OAuthConsumerSupport getUnauthorizedRequestToken

Introduction

In this page you can find the example usage for org.springframework.security.oauth.consumer OAuthConsumerSupport getUnauthorizedRequestToken.

Prototype

OAuthConsumerToken getUnauthorizedRequestToken(ProtectedResourceDetails resource, String callback)
        throws OAuthRequestFailedException;

Source Link

Document

Get an unauthorized request token for a protected resource.

Usage

From source file:org.kuali.mobility.events.service.CalendarEventServiceImpl.java

private OAuthConsumerToken getRequestToken(OAuthConsumerSupport consumerSupport) {
    return consumerSupport.getUnauthorizedRequestToken(RESOURCE_ID, SERVER_URL_OAUTH_CALLBACK);
}