express-embed-mobile-sdk-android-release

//sdk/com.adobe.express.embedsdk/BaseAuthController

BaseAuthController

abstract class BaseAuthController(authStore: AuthStore, locale: String, var analyticsManager: AnalyticsManager, var performanceLogger: PerformanceLogger) : Function6<authStore: AuthStore, channelMessageListener: ChannelMessageListener, hostInfo: HostInfoExtended, locale: String, analyticsManager: AnalyticsManager, performanceLogger: PerformanceLogger, BaseAuthController>

Base abstract class for authentication controllers. Defines the common interface and functionality for managing authentication across both first-party and third-party integrations.

Inheritors

 
AuthController3p

Constructors

   
BaseAuthController
constructor(authStore: AuthStore, locale: String, analyticsManager: AnalyticsManager, performanceLogger: PerformanceLogger)

Properties

Name Summary
analyticsManager
var analyticsManager: AnalyticsManager
performanceLogger
var performanceLogger: PerformanceLogger

Functions

Name Summary
doesSupportSignInWorkflow
abstract fun doesSupportSignInWorkflow(): Boolean
Indicates whether this auth controller supports dedicated sign-in workflows.
getTargetUrl
abstract suspend fun getTargetUrl(targetInfo: TargetInfo, skipJumpCheck: Boolean): URL
Generates the target URL for launching workflows.
isSignInOnRequestEnabled
open fun isSignInOnRequestEnabled(): Boolean
Whether the host declared AuthMode.IMS_JUMP_ON_REQUEST at initialize(). Guards BaseAction’s SIGN_IN_REQUIRED handler so an embed can’t drive sign-in the host didn’t opt into. Always false for 3P — their AuthOption union has no jump-on-request mode.
refreshAuthOption
fun refreshAuthOption()
Refreshes authentication options by invoking the auth provider. Updates the auth store with the latest authentication configuration.
setAuthProvider
fun setAuthProvider(authProvider: AuthProvider)
Sets the authentication provider for this controller. The provider supplies AuthOption when authentication is needed.
shouldSkipJump
open fun shouldSkipJump(skipJumpCheck: Boolean): Boolean