# androidx.wear.phone.interactions.authentication

# androidx.wear.phone.interactions.authentication

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/wear/phone/interactions/authentication/package-summary "View this page in Java")

## Interfaces

|-----------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------|
| [RemoteAuthRequestHandler](https://developer.android.com/reference/kotlin/androidx/wear/phone/interactions/authentication/RemoteAuthRequestHandler) | Interface for specifying how the service handles the remote auth requests. |

## Classes

|-------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|
| [CodeChallenge](https://developer.android.com/reference/kotlin/androidx/wear/phone/interactions/authentication/CodeChallenge)                         | Authorization code challenge.                                                               |
| [CodeVerifier](https://developer.android.com/reference/kotlin/androidx/wear/phone/interactions/authentication/CodeVerifier)                           | Authorisation code verifier.                                                                |
| [OAuthRequest](https://developer.android.com/reference/kotlin/androidx/wear/phone/interactions/authentication/OAuthRequest)                           | The OAuth request to be sent to the server to start the OAuth 2 authentication flow.        |
| [OAuthRequest.Builder](https://developer.android.com/reference/kotlin/androidx/wear/phone/interactions/authentication/OAuthRequest.Builder)           | Builder for constructing new instance of OAuth request.                                     |
| [OAuthResponse](https://developer.android.com/reference/kotlin/androidx/wear/phone/interactions/authentication/OAuthResponse)                         | The authentication response to be sent back to the client after completing the OAuth2 flow. |
| [OAuthResponse.Builder](https://developer.android.com/reference/kotlin/androidx/wear/phone/interactions/authentication/OAuthResponse.Builder)         | Builder for constructing new instance of authentication response.                           |
| [RemoteAuthClient](https://developer.android.com/reference/kotlin/androidx/wear/phone/interactions/authentication/RemoteAuthClient)                   | Provides a client for supporting remote authentication on Wear.                             |
| [RemoteAuthClient.Callback](https://developer.android.com/reference/kotlin/androidx/wear/phone/interactions/authentication/RemoteAuthClient.Callback) | This callback is notified when an async remote authentication request completes.            |
| [RemoteAuthService](https://developer.android.com/reference/kotlin/androidx/wear/phone/interactions/authentication/RemoteAuthService)                 |                                                                                             |