Package org.teiid

Interface OAuthCredential

    • Method Detail

      • getAuthorizationHeader

        String getAuthorizationHeader​(String resourceURI,
                                      String httpMethod)
        Get Authorization Header for the OAuth 1.0a & OAuth 2.0 specification
        Parameters:
        resourceURI - - protected resource that is being accessed
        httpMethod - - for ex: GET, PUT
        Returns:
        Authorization header for HTTP call.
      • getAuthrorizationProperty

        String getAuthrorizationProperty​(String key)
        Get Authorization Token properties by Name