Interface AuthHeaderFactory

  • All Known Implementing Classes:
    OAuth2HeaderFactory, OAuth2HeaderFactory

    public interface AuthHeaderFactory
    Google services are authenticated using Http headers. Format and content of this header differs based on authentication mechanism. Implementors of this interface should choose provide the header for auth purposes.
    Author:
    fnguyen
    • Method Detail

      • refreshToken

        void refreshToken()
        Gets the authorization header. Typically performs the login (interaction with google services). Should be called only when necessary (first login, google session expires)
      • getAuthHeader

        String getAuthHeader()