public ChangeSuperusersToAdministrators( ISystemAuthenticationControl systemAuthenticationControl, IUpdateStoreCallback callback) { theSystemAuthenticationControl = systemAuthenticationControl; theCallback = callback; }
public ControlClientChangingSystemAuthentication() { // Authenticate with a user that has the VIEW_SECURITY and MODIFY_SECURITY permissions var session = Diffusion.Sessions.Principal("control").Password("password") // Use a secure channel because we're transferring sensitive information. .Open("wss://localhost:8443"); theSystemAuthenticationControl = session.GetSystemAuthenticationControlFeature(); }
public ControlClientChangingSystemAuthentication() { // Authenticate with a user that has the VIEW_SECURITY and MODIFY_SECURITY permissions var session = Diffusion.Sessions.Principal( "control" ).Password( "password" ) // Use a secure channel because we're transferring sensitive information. .Open( "wss://localhost:8443" ); theSystemAuthenticationControl = session.GetSystemAuthenticationControlFeature(); }
public ChangeSuperusersToAdministrators( ISystemAuthenticationControl systemAuthenticationControl, IUpdateStoreCallback callback ) { theSystemAuthenticationControl = systemAuthenticationControl; theCallback = callback; }