Example usage for org.springframework.security.oauth2.client.token OAuth2AccessTokenSupport subclass-usage

List of usage examples for org.springframework.security.oauth2.client.token OAuth2AccessTokenSupport subclass-usage

Introduction

In this page you can find the example usage for org.springframework.security.oauth2.client.token OAuth2AccessTokenSupport subclass-usage.

Usage

From source file org.opentestsystem.shared.security.oauth.client.grant.samlbearer.SamlAssertionAccessTokenProvider.java

public class SamlAssertionAccessTokenProvider extends OAuth2AccessTokenSupport implements AccessTokenProvider {
    public static final String SAML2_BEARER_GRANT_TYPE = "urn:ietf:params:oauth:grant-type:saml2-bearer";
    private static final Logger LOGGER = LoggerFactory.getLogger(SamlAssertionAccessTokenProvider.class);

    public String getSamlAssertion() {
        String encodedStr = "";

From source file com.zhm.config.MyAuthorizationCodeAccessTokenProvider.java

/**
 * Provider for obtaining an oauth2 access token by using an authorization code.
 *
 * @author Ryan Heaton
 * @author Dave Syer
 */

From source file com.emergya.spring.security.oauth.google.GoogleAuthorizationCodeAccessTokenProvider.java

/**
 * Modified AuthorizationCodeAccessTokenProvider for obtaining an oauth2 access token by using an authorization code, using google
 * custom resource details.
 *
 * @author Ryan Heaton
 * @author Dave Syer