PendAndRedirectTo
constructor(navigatable: Navigatable, metadata: Map<String, String> = emptyMap(), displayHint: String? = null)(source)
Store the original navigation and redirect to a typed screen.
Parameters
navigatable
The screen or modal to redirect to
metadata
Arbitrary string key-value pairs stored with the pending navigation
displayHint
Optional human-readable hint shown during the auth flow
constructor(route: String, metadata: Map<String, String> = emptyMap(), displayHint: String? = null)(source)
Parameters
route
The route to redirect to when guard denies access
metadata
Arbitrary string key-value pairs stored with the pending navigation
displayHint
Optional human-readable hint shown during the auth flow