Class DefaultApi20

  • All Implemented Interfaces:
    BaseApi<OAuth20Service>

    public abstract class DefaultApi20
    extends Object
    implements BaseApi<OAuth20Service>
    Default implementation of the OAuth protocol, version 2.0 This class is meant to be extended by concrete implementations of the API, providing the endpoints and endpoint-http-verbs. If your API adheres to the 2.0 protocol correctly, you just need to extend this class and define the getters for your endpoints. If your API does something a bit different, you can override the different extractors or services, in order to fine-tune the process. Please read the javadocs of the interfaces to get an idea of what to do.