All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.icoderman.woocommerce.oauth.OAuthConfig Maven / Gradle / Ivy

There is a newer version: 1.4
Show newest version
package com.icoderman.woocommerce.oauth;

import java.util.Optional;

/**
 * OAuth Config class.
 * Contains OAuth related information, used later to create many new requests signatures.
 * 

* Optional parameters are returned as java.util.Optional type. */ public interface OAuthConfig { TimestampNonceFactory getTimestampNonceFactory(); SignatureMethod getSignatureMethod(); String getConsumerKey(); String getConsumerSecret(); Optional getTokenKey(); Optional getTokenSecret(); Optional getCallback(); Optional getVerifier(); Optional getScope(); Optional getRealm(); default OAuthSignatureBuilder buildSignature(HttpMethod method, String url) { return new OAuthSignatureBuilder(this, method, url); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy