# AuthTabIntent.AuthResult

Artifact: [androidx.browser:browser](https://developer.android.com/jetpack/androidx/releases/browser) [View Source](https://cs.android.com/search?q=file:androidx/browser/auth/AuthTabIntent.java+class:androidx.browser.auth.AuthTabIntent.AuthResult) Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/browser#1.9.0)

*** ** * ** ***


```
class AuthTabIntent.AuthResult
```

<br />

*** ** * ** ***

Class containing Auth Tab result data. This class must be the result type of the `https://developer.android.com/reference/kotlin/androidx/activity/result/ActivityResultCallback` passed to `https://developer.android.com/reference/kotlin/androidx/browser/auth/AuthTabIntent#registerActivityResultLauncher(androidx.activity.result.ActivityResultCaller,androidx.activity.result.ActivityResultCallback<androidx.browser.auth.AuthTabIntent.AuthResult>)`.

Valid \`resultCode\`s are RESULT_OK, RESULT_CANCELED, RESULT_VERIFICATION_FAILED and RESULT_VERIFICATION_TIMED_OUT.

## Summary

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/browser/auth/AuthTabIntent.AuthResult#resultCode()` Result code of the Auth Tab. |
| `https://developer.android.com/reference/android/net/Uri.html?` | `https://developer.android.com/reference/kotlin/androidx/browser/auth/AuthTabIntent.AuthResult#resultUri()` The `https://developer.android.com/reference/android/net/Uri.html` containing the Auth Tab result data. |

## Public properties

### resultCode

Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/browser#1.9.0)

```
val resultCode: Int
```

Result code of the Auth Tab. If an invalid or unknown code was returned by the Auth Tab, this will be RESULT_UNKNOWN_CODE.

### resultUri

Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/browser#1.9.0)

```
val resultUri: Uri?
```

The `https://developer.android.com/reference/android/net/Uri.html` containing the Auth Tab result data. Null if the \`resultCode\` isn't RESULT_OK.