Class AccessTokenAuthenticator

java.lang.Object
org.apache.drill.exec.store.http.oauth.AccessTokenAuthenticator
All Implemented Interfaces:
okhttp3.Authenticator

public class AccessTokenAuthenticator extends Object implements okhttp3.Authenticator
  • Nested Class Summary

    Nested classes/interfaces inherited from interface okhttp3.Authenticator

    okhttp3.Authenticator.Companion
  • Field Summary

    Fields inherited from interface okhttp3.Authenticator

    Companion, JAVA_NET_AUTHENTICATOR, NONE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    okhttp3.Request
    authenticate(okhttp3.Route route, okhttp3.Response response)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AccessTokenAuthenticator

      public AccessTokenAuthenticator(AccessTokenRepository accessTokenRepository)
  • Method Details

    • authenticate

      public okhttp3.Request authenticate(okhttp3.Route route, okhttp3.Response response)
      Specified by:
      authenticate in interface okhttp3.Authenticator