Class TokenAuthentication

    • Field Detail

      • AUTH_HEADER

        public static final String AUTH_HEADER
        Name of the header in the HTTP responses that carries the renewed authentication token.
        See Also:
        Constant Field Values
    • Method Detail

      • authenticate

        public com.squareup.okhttp.Request authenticate​(com.squareup.okhttp.Request unauthenticated)
        Description copied from interface: Authentication
        Authenticates the given request.
        Specified by:
        authenticate in interface Authentication
        Parameters:
        unauthenticated - The request to authenticate.
        Returns:
        The authenticated request.