Class OAuth20CredentialImpl

    • Constructor Detail

      • OAuth20CredentialImpl

        public OAuth20CredentialImpl()
    • Method Detail

      • getAuthorizationHeader

        public String getAuthorizationHeader​(String resourceURI,
                                             String httpMethod)
        Description copied from interface: OAuthCredential
        Get Authorization Header for the OAuth 1.0a & OAuth 2.0 specification
        Specified by:
        getAuthorizationHeader in interface OAuthCredential
        Parameters:
        resourceURI - - protected resource that is being accessed
        httpMethod - - for ex: GET, PUT
        Returns:
        Authorization header for HTTP call.
      • getAccessToken

        protected org.apache.cxf.rs.security.oauth2.common.ClientAccessToken getAccessToken()
      • getClientId

        public String getClientId()
      • setClientId

        public void setClientId​(String clientId)
      • getClientSecret

        public String getClientSecret()
      • setClientSecret

        public void setClientSecret​(String clientSecret)
      • getRefreshToken

        public String getRefreshToken()
      • setRefreshToken

        public void setRefreshToken​(String refreshToken)
      • getAccessTokenURI

        public String getAccessTokenURI()
      • setAccessTokenURI

        public void setAccessTokenURI​(String accessTokenURI)
      • getAccessTokenString

        public String getAccessTokenString()
      • setAccessTokenString

        public void setAccessTokenString​(String accessTokenString)