AppleWebFlow

The parts of Sign in with Apple on Android that are pure string work: building the authorize URL, and reading the callback your server bounced back. Platform-free on purpose — this is where the tests are, and it is identical whether the browser is a Custom Tab, an external browser, or a WebView you should not be using for OAuth.

Functions

Link copied to clipboard
fun begin(config: AppleSignInConfig, rawNonce: String, state: String): AppleWebPending
Link copied to clipboard
fun complete(pending: AppleWebPending, callbackUrl: String): SignInOutcome

Reads the deep link your server sent back. Accepts the parameters in the query or the fragment, because which one you get depends on how the bounce was written.