mirror of
https://github.com/TanelOrumaa/Estonian-ID-card-mobile-authenticator-POC.git
synced 2025-12-03 20:35:13 +02:00
MOB-23 setup for post request done, parameter viewModel added
This commit is contained in:
@@ -44,8 +44,10 @@ class MainActivity : AppCompatActivity() {
|
||||
private fun launchAuth(arg: String = "nothing") {
|
||||
val launchIntent = Intent()
|
||||
launchIntent.setClassName("com.tarkvaraprojekt.mobileauthapp", "com.tarkvaraprojekt.mobileauthapp.MainActivity")
|
||||
launchIntent.putExtra("auth", true)
|
||||
launchIntent.putExtra("nonce", arg) // Currently nothing
|
||||
launchIntent.putExtra("action", "auth")
|
||||
launchIntent.putExtra("challenge", "challengerValue")
|
||||
launchIntent.putExtra("authUrl", "authUrl is here")
|
||||
launchIntent.putExtra("mobile", true)
|
||||
authLauncher.launch(launchIntent)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user