# HasApiKey

# HasApiKey


```
public interface HasApiKey<O extends Api.ApiOptions>
```

<br />

Known direct subclasses [AuthorizationClient](https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/AuthorizationClient.md.txt), [CredentialSavingClient](https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/CredentialSavingClient.md.txt), [GoogleApi](https://developers.google.com/android/reference/com/google/android/gms/common/api/GoogleApi.md.txt), [ModuleInstallClient](https://developers.google.com/android/reference/com/google/android/gms/common/moduleinstall/ModuleInstallClient.md.txt), [SignInClient](https://developers.google.com/android/reference/com/google/android/gms/auth/api/identity/SignInClient.md.txt)

|---|---|
| `AuthorizationClient` | A client for the authorization API. |
| `CredentialSavingClient` | A client for the Credential Saving API. |
| `GoogleApi` | Base class for Google API entry points. |
| `ModuleInstallClient` | Interface for module install APIs. |
| `SignInClient` | A client for the sign-in API. |

*** ** * ** ***

Anything that has an `ApiKey`.

This is used to allow `GoogleApi`-based clients to be exposed via interface instead of subclass. Those interfaces can be declared as extending this, and `GoogleApi`'s will automatically fulfill the interface.