Class BearerHttpAuthentication

java.lang.Object
com.cloudogu.scmmanager.BearerHttpAuthentication
All Implemented Interfaces:
HttpAuthentication

public class BearerHttpAuthentication extends Object implements HttpAuthentication
  • Constructor Details

    • BearerHttpAuthentication

      public BearerHttpAuthentication(String accessToken)
  • Method Details

    • authenticate

      public void authenticate(okhttp3.Request.Builder requestBuilder)
      Specified by:
      authenticate in interface HttpAuthentication
    • authenticate

      public static void authenticate(okhttp3.Request.Builder requestBuilder, String accessToken)