Contract

class Contract : ActivityResultContract<OAuthUserSignIn, String?>

An ActivityResultContract that takes a OAuthUserSignIn as input and returns a nullable string as output. The output string represents a redirect URI as the result of an OAuth user sign in prompt, or null if OAuth user sign in failed. This contract can be used to launch the OAuthUserSignInActivity for a result. See Getting a result from an activity for more details.

Since

200.2.0

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun createIntent(context: Context, input: OAuthUserSignIn): Intent
Link copied to clipboard
open fun getSynchronousResult(context: Context, input: OAuthUserSignIn): ActivityResultContract.SynchronousResult<String?>?
Link copied to clipboard
open override fun parseResult(resultCode: Int, intent: Intent?): String?