ProfileService
Service for managing Gravatar profiles.
Parameters
The OkHttp client to use for making network requests. This client will be extended with Gravatar interceptors to set either API key or OAuth token.
Functions
Checks if the given email address is associated with the already authorized Gravatar account. This method throws any exception that occurs during the execution.
Checks if the given email address is associated with the already authorized Gravatar account. This method will catch any exception that occurs during the execution and return it as a GravatarResult.Failure.
Fetches a Gravatar profile for the given email address. This method throws any exception that occurs during the execution.
Fetches a Gravatar profile for the given hash. This method throws any exception that occurs during the execution.
Fetches a Gravatar profile for the given hash or username. This method throws any exception that occurs during the execution.
Fetches a Gravatar profile for the given username. This method throws any exception that occurs during the execution.
Fetches a Gravatar profile for the given username. This method will catch any exception that occurs during the execution and return it as a GravatarResult.Failure.
Fetches a Gravatar profile for the given email address. This method will catch any exception that occurs during the execution and return it as a GravatarResult.Failure.
Fetches a Gravatar profile for the given hash. This method will catch any exception that occurs during the execution and return it as a GravatarResult.Failure.
Fetches a Gravatar profile for the given hash or username. This method will catch any exception that occurs during the execution and return it as a GravatarResult.Failure.