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.
To specify a trusted certificate for https connections to the CAS server, use the optional Certificates argument.
CAS Connect( URL( URL ), Certificates( string ) );