You can show the login window and prompt the user to provide the URL for the CAS server and their login information.
CAS Connect( Prompt( "Never"|"Always"|"IfNeeded" ) );
To add the login details to the script, follow this example:
CAS Connect(URL(URL), Username(username), Password(password);
Information about the CAS server appears in the log after the user logs in.