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

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

Introduction

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

Prototype

OAuthConsumerToken getAccessToken(OAuthConsumerToken requestToken, String verifier)
        throws OAuthRequestFailedException;

Source Link

Document

Get an access token for a protected resource.

Usage

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

private OAuthConsumerToken getAccessToken(OAuthConsumerToken requestToken, String requestTokenVerifier,
        OAuthConsumerSupport consumerSupport) {
    return consumerSupport.getAccessToken(requestToken, requestTokenVerifier);
}