Skip to main content

ModelCenter APIs 2025 R2

ILoginCallback

Last update: 16.07.2025

interface ILoginCallback

Interface for handling login requests from ModelCenter.

Author

acook

Functions

Name Summary
loginSucceeded abstract fun loginSucceeded(uri: String, username: String, password: String, savePassword: Boolean)
Called when ModelCenter succeeds in authentication.
requestAuthCredentials abstract fun requestAuthCredentials(uri: String, isFailedAttempt: Boolean, username: ValueHolder<String>, password: ValueHolder<String>, savePassword: ValueHolder<Boolean>): Boolean
Called when ModelCenter needs to request a username and password.
verifySslWarning abstract fun verifySslWarning(uri: String): Boolean
Called when ModelCenter needs an SSL warning to be verified/accepted.

Connect with Ansys