Class AnonymousMaterial

    • Constructor Detail

      • AnonymousMaterial

        public AnonymousMaterial()
    • Method Detail

      • getCredentials

        @Nullable
        public @Nullable org.apache.hc.client5.http.auth.Credentials getCredentials()
        AnonymousMaterial does not provide authentication Credentials.
        Specified by:
        getCredentials in interface AuthMaterial
        Returns:
        Always null.
      • getToken

        @NotNull
        public @NotNull String getToken()
        Returns the raw String token, that shall be passed to the authorization Header.
        Specified by:
        getToken in interface AuthMaterial
        Returns:
        The raw String token, that shall be passed to the authorization Header.